Tabnine Logo
FakeDeviceMark
Code IndexAdd Tabnine to your IDE (free)

How to use
FakeDeviceMark
in
com.lody.virtual.helper.utils.marks

Best Java code snippets using com.lody.virtual.helper.utils.marks.FakeDeviceMark (Showing top 15 results out of 315)

origin: android-hacker/VirtualXposed

@FakeDeviceMark("fake device id.")
static class GetDeviceId extends StaticMethodProxy {
  public GetDeviceId() {
    super("getDeviceId");
  }
  @Override
  public Object call(Object who, Method method, Object... args) throws Throwable {
    return getDeviceInfo().deviceId;
  }
}
origin: android-hacker/VirtualXposed

  @FakeDeviceMark("fake MAC")
  private static class GetAddress extends StaticMethodProxy {

    GetAddress() {
      super("getAddress");
    }

    @Override
    public Object call(Object who, Method method, Object... args) throws Throwable {
      return getDeviceInfo().bluetoothMac;
    }
  }
}
origin: android-hacker/VirtualXposed

@FakeDeviceMark("fake device id")
static class GetDeviceId extends MethodProxy {
  @Override
  public String getMethodName() {
    return "getDeviceId";
  }
  @Override
  public Object call(Object who, Method method, Object... args) throws Throwable {
    return getDeviceInfo().deviceId;
  }
}
origin: android-hacker/VirtualXposed

@FakeDeviceMark("fake iccid")
static class GetIccSerialNumber extends MethodProxy {
  @Override
  public String getMethodName() {
    return "getIccSerialNumber";
  }
  @Override
  public Object call(Object who, Method method, Object... args) throws Throwable {
    return getDeviceInfo().iccId;
  }
}
origin: android-hacker/VirtualXposed

@FakeLocMark("Fake wifi bssid")
@FakeDeviceMark("fake wifi MAC")
private final class GetConnectionInfo extends MethodProxy {
  @Override
  public String getMethodName() {
    return "getConnectionInfo";
  }
  @Override
  public Object call(Object who, Method method, Object... args) throws Throwable {
    WifiInfo wifiInfo = (WifiInfo) method.invoke(who, args);
    if (isFakeLocationEnable()) {
      mirror.android.net.wifi.WifiInfo.mBSSID.set(wifiInfo, "00:00:00:00:00:00");
      mirror.android.net.wifi.WifiInfo.mMacAddress.set(wifiInfo, "00:00:00:00:00:00");
    }
    if (VASettings.Wifi.FAKE_WIFI_STATE) {
      return createWifiInfo();
    }
    if (wifiInfo != null) {
      mirror.android.net.wifi.WifiInfo.mMacAddress.set(wifiInfo, getDeviceInfo().wifiMac);
    }
    return wifiInfo;
  }
}
origin: darkskygit/VirtualApp

@FakeDeviceMark("fake iccid")
static class GetIccSerialNumber extends MethodProxy {
  @Override
  public String getMethodName() {
    return "getIccSerialNumber";
  }
  @Override
  public Object call(Object who, Method method, Object... args) throws Throwable {
    return getDeviceInfo().iccId;
  }
}
origin: bzsome/VirtualApp-x326

@FakeDeviceMark("fake iccid")
static class GetIccSerialNumber extends MethodProxy {
  @Override
  public String getMethodName() {
    return "getIccSerialNumber";
  }
  @Override
  public Object call(Object who, Method method, Object... args) throws Throwable {
    return getDeviceInfo().iccId;
  }
}
origin: darkskygit/VirtualApp

@FakeDeviceMark("fake device id.")
static class GetDeviceId extends StaticMethodProxy {
  public GetDeviceId() {
    super("getDeviceId");
  }
  @Override
  public Object call(Object who, Method method, Object... args) throws Throwable {
    return getDeviceInfo().deviceId;
  }
}
origin: bzsome/VirtualApp-x326

  @FakeDeviceMark("fake MAC")
  private static class GetAddress extends StaticMethodProxy {

    GetAddress() {
      super("getAddress");
    }

    @Override
    public Object call(Object who, Method method, Object... args) throws Throwable {
      return getDeviceInfo().bluetoothMac;
    }
  }
}
origin: bzsome/VirtualApp-x326

@FakeDeviceMark("fake device id.")
static class GetDeviceId extends StaticMethodProxy {
  public GetDeviceId() {
    super("getDeviceId");
  }
  @Override
  public Object call(Object who, Method method, Object... args) throws Throwable {
    return getDeviceInfo().deviceId;
  }
}
origin: darkskygit/VirtualApp

  @FakeDeviceMark("fake MAC")
  private static class GetAddress extends StaticMethodProxy {

    GetAddress() {
      super("getAddress");
    }

    @Override
    public Object call(Object who, Method method, Object... args) throws Throwable {
      return getDeviceInfo().bluetoothMac;
    }
  }
}
origin: darkskygit/VirtualApp

@FakeDeviceMark("fake device id")
static class GetDeviceId extends MethodProxy {
  @Override
  public String getMethodName() {
    return "getDeviceId";
  }
  @Override
  public Object call(Object who, Method method, Object... args) throws Throwable {
    return getDeviceInfo().deviceId;
  }
}
origin: bzsome/VirtualApp-x326

@FakeDeviceMark("fake device id")
static class GetDeviceId extends MethodProxy {
  @Override
  public String getMethodName() {
    return "getDeviceId";
  }
  @Override
  public Object call(Object who, Method method, Object... args) throws Throwable {
    return getDeviceInfo().deviceId;
  }
}
origin: darkskygit/VirtualApp

@FakeLocMark("Fake wifi bssid")
@FakeDeviceMark("fake wifi MAC")
private final class GetConnectionInfo extends MethodProxy {
  @Override
  public String getMethodName() {
    return "getConnectionInfo";
  }
  @Override
  public Object call(Object who, Method method, Object... args) throws Throwable {
    WifiInfo wifiInfo = (WifiInfo) method.invoke(who, args);
    if (isFakeLocationEnable()) {
      mirror.android.net.wifi.WifiInfo.mBSSID.set(wifiInfo, "00:00:00:00:00:00");
      mirror.android.net.wifi.WifiInfo.mMacAddress.set(wifiInfo, "00:00:00:00:00:00");
    }
    if (VASettings.Wifi.FAKE_WIFI_STATE) {
      return createWifiInfo();
    }
    if (wifiInfo != null) {
      mirror.android.net.wifi.WifiInfo.mMacAddress.set(wifiInfo, getDeviceInfo().wifiMac);
    }
    return wifiInfo;
  }
}
origin: bzsome/VirtualApp-x326

@FakeLocMark("Fake wifi bssid")
@FakeDeviceMark("fake wifi MAC")
private final class GetConnectionInfo extends MethodProxy {
  @Override
  public String getMethodName() {
    return "getConnectionInfo";
  }
  @Override
  public Object call(Object who, Method method, Object... args) throws Throwable {
    WifiInfo wifiInfo = (WifiInfo) method.invoke(who, args);
    if (isFakeLocationEnable()) {
      mirror.android.net.wifi.WifiInfo.mBSSID.set(wifiInfo, "00:00:00:00:00:00");
      mirror.android.net.wifi.WifiInfo.mMacAddress.set(wifiInfo, "00:00:00:00:00:00");
    }
    if (VASettings.Wifi.FAKE_WIFI_STATE) {
      return createWifiInfo();
    }
    if (wifiInfo != null) {
      mirror.android.net.wifi.WifiInfo.mMacAddress.set(wifiInfo, getDeviceInfo().wifiMac);
    }
    return wifiInfo;
  }
}
com.lody.virtual.helper.utils.marksFakeDeviceMark

Most used methods

  • <init>

Popular in Java

  • Updating database using SQL prepared statement
  • putExtra (Intent)
  • onCreateOptionsMenu (Activity)
  • runOnUiThread (Activity)
  • ServerSocket (java.net)
    This class represents a server-side socket that waits for incoming client connections. A ServerSocke
  • Permission (java.security)
    Legacy security code; do not use.
  • SecureRandom (java.security)
    This class generates cryptographically secure pseudo-random numbers. It is best to invoke SecureRand
  • SQLException (java.sql)
    An exception that indicates a failed JDBC operation. It provides the following information about pro
  • Calendar (java.util)
    Calendar is an abstract base class for converting between a Date object and a set of integer fields
  • BlockingQueue (java.util.concurrent)
    A java.util.Queue that additionally supports operations that wait for the queue to become non-empty
  • Sublime Text for Python
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now