Tabnine Logo
VPackageManager.getServiceInfo
Code IndexAdd Tabnine to your IDE (free)

How to use
getServiceInfo
method
in
com.lody.virtual.client.ipc.VPackageManager

Best Java code snippets using com.lody.virtual.client.ipc.VPackageManager.getServiceInfo (Showing top 3 results out of 315)

origin: android-hacker/VirtualXposed

@Override
public Object call(Object who, Method method, Object... args) throws Throwable {
  ComponentName componentName = (ComponentName) args[0];
  int flags = (int) args[1];
  int userId = VUserHandle.myUserId();
  ServiceInfo info = VPackageManager.get().getServiceInfo(componentName, flags, userId);
  if (info != null) {
    return info;
  }
  info = (ServiceInfo) method.invoke(who, args);
  if (info == null || !isVisiblePackage(info.applicationInfo)) {
    return null;
  }
  return info;
}
origin: darkskygit/VirtualApp

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

@Override
public Object call(Object who, Method method, Object... args) throws Throwable {
  ComponentName componentName = (ComponentName) args[0];
  int flags = (int) args[1];
  int userId = VUserHandle.myUserId();
  ServiceInfo info = VPackageManager.get().getServiceInfo(componentName, flags, userId);
  if (info != null) {
    return info;
  }
  info = (ServiceInfo) method.invoke(who, args);
  if (info == null || !isVisiblePackage(info.applicationInfo)) {
    return null;
  }
  return info;
}
com.lody.virtual.client.ipcVPackageManagergetServiceInfo

Popular methods of VPackageManager

  • activitySupportsIntent
  • checkPermission
  • get
  • getActivityInfo
  • getApplicationInfo
  • getInstalledApplications
  • getInstalledPackages
  • getNameForUid
  • getPackageInfo
  • getPackageInstaller
  • getPackageUid
  • getPackagesForUid
  • getPackageUid,
  • getPackagesForUid,
  • getPermissionGroupInfo,
  • getProviderInfo,
  • getReceiverInfo,
  • queryContentProviders,
  • queryIntentActivities,
  • queryIntentContentProviders,
  • queryIntentReceivers

Popular in Java

  • Reading from database using SQL prepared statement
  • getContentResolver (Context)
  • runOnUiThread (Activity)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • Comparator (java.util)
    A Comparator is used to compare two objects to determine their ordering with respect to each other.
  • LinkedHashMap (java.util)
    LinkedHashMap is an implementation of Map that guarantees iteration order. All optional operations a
  • JOptionPane (javax.swing)
  • Response (javax.ws.rs.core)
    Defines the contract between a returned instance and the runtime when an application needs to provid
  • Get (org.apache.hadoop.hbase.client)
    Used to perform Get operations on a single row. To get everything for a row, instantiate a Get objec
  • Project (org.apache.tools.ant)
    Central representation of an Ant project. This class defines an Ant project with all of its targets,
  • Top Sublime Text plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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