congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
MethodProxies$GetApplicationInfo.isVisiblePackage
Code IndexAdd Tabnine to your IDE (free)

How to use
isVisiblePackage
method
in
com.lody.virtual.client.hook.proxies.pm.MethodProxies$GetApplicationInfo

Best Java code snippets using com.lody.virtual.client.hook.proxies.pm.MethodProxies$GetApplicationInfo.isVisiblePackage (Showing top 3 results out of 315)

origin: android-hacker/VirtualXposed

@Override
public Object call(Object who, Method method, Object... args) throws Throwable {
  String pkg = (String) args[0];
  int flags = (int) args[1];
  if (getHostPkg().equals(pkg)) {
    return method.invoke(who, args);
  }
  int userId = VUserHandle.myUserId();
  ApplicationInfo info = VPackageManager.get().getApplicationInfo(pkg, flags, userId);
  if (info != null) {
    return info;
  }
  info = (ApplicationInfo) method.invoke(who, args);
  if (info == null || !isVisiblePackage(info)) {
    return null;
  }
  return info;
}
origin: darkskygit/VirtualApp

@Override
public Object call(Object who, Method method, Object... args) throws Throwable {
  String pkg = (String) args[0];
  int flags = (int) args[1];
  if (getHostPkg().equals(pkg)) {
    return method.invoke(who, args);
  }
  int userId = VUserHandle.myUserId();
  ApplicationInfo info = VPackageManager.get().getApplicationInfo(pkg, flags, userId);
  if (info != null) {
    return info;
  }
  info = (ApplicationInfo) method.invoke(who, args);
  if (info == null || !isVisiblePackage(info)) {
    return null;
  }
  return info;
}
origin: bzsome/VirtualApp-x326

@Override
public Object call(Object who, Method method, Object... args) throws Throwable {
  String pkg = (String) args[0];
  int flags = (int) args[1];
  if (getHostPkg().equals(pkg)) {
    return method.invoke(who, args);
  }
  int userId = VUserHandle.myUserId();
  ApplicationInfo info = VPackageManager.get().getApplicationInfo(pkg, flags, userId);
  if (info != null) {
    return info;
  }
  info = (ApplicationInfo) method.invoke(who, args);
  if (info == null || !isVisiblePackage(info)) {
    return null;
  }
  return info;
}
com.lody.virtual.client.hook.proxies.pmMethodProxies$GetApplicationInfoisVisiblePackage

Popular methods of MethodProxies$GetApplicationInfo

  • getHostPkg
  • isAppProcess

Popular in Java

  • Reading from database using SQL prepared statement
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • setRequestProperty (URLConnection)
  • scheduleAtFixedRate (Timer)
  • IOException (java.io)
    Signals a general, I/O-related error. Error details may be specified when calling the constructor, a
  • ResultSet (java.sql)
    An interface for an object which represents a database table entry, returned as the result of the qu
  • Map (java.util)
    A Map is a data structure consisting of a set of keys and values in which each key is mapped to a si
  • StringTokenizer (java.util)
    Breaks a string into tokens; new code should probably use String#split.> // Legacy code: StringTo
  • TimerTask (java.util)
    The TimerTask class represents a task to run at a specified time. The task may be run once or repeat
  • JCheckBox (javax.swing)
  • 14 Best Plugins for Eclipse
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