Tabnine Logo
VPackageManagerService.generatePackageInfo
Code IndexAdd Tabnine to your IDE (free)

How to use
generatePackageInfo
method
in
com.lody.virtual.server.pm.VPackageManagerService

Best Java code snippets using com.lody.virtual.server.pm.VPackageManagerService.generatePackageInfo (Showing top 5 results out of 315)

origin: android-hacker/VirtualXposed

@Override
public PackageInfo getPackageInfo(String packageName, int flags, int userId) {
  checkUserId(userId);
  synchronized (mPackages) {
    VPackage p = mPackages.get(packageName);
    if (p != null) {
      PackageSetting ps = (PackageSetting) p.mExtras;
      return generatePackageInfo(p, ps, flags, userId);
    }
  }
  return null;
}
origin: android-hacker/VirtualXposed

@Override
public VParceledListSlice<PackageInfo> getInstalledPackages(int flags, int userId) {
  checkUserId(userId);
  ArrayList<PackageInfo> pkgList = new ArrayList<>(mPackages.size());
  synchronized (mPackages) {
    for (VPackage p : mPackages.values()) {
      PackageSetting ps = (PackageSetting) p.mExtras;
      PackageInfo info = generatePackageInfo(p, ps, flags, userId);
      if (info != null) {
        pkgList.add(info);
      }
    }
  }
  return new VParceledListSlice<>(pkgList);
}
origin: darkskygit/VirtualApp

@Override
public PackageInfo getPackageInfo(String packageName, int flags, int userId) {
  checkUserId(userId);
  synchronized (mPackages) {
    VPackage p = mPackages.get(packageName);
    if (p != null) {
      PackageSetting ps = (PackageSetting) p.mExtras;
      return generatePackageInfo(p, ps, flags, userId);
    }
  }
  return null;
}
origin: bzsome/VirtualApp-x326

@Override
public PackageInfo getPackageInfo(String packageName, int flags, int userId) {
  checkUserId(userId);
  synchronized (mPackages) {
    VPackage p = mPackages.get(packageName);
    if (p != null) {
      PackageSetting ps = (PackageSetting) p.mExtras;
      return generatePackageInfo(p, ps, flags, userId);
    }
  }
  return null;
}
origin: bzsome/VirtualApp-x326

@Override
public VParceledListSlice<PackageInfo> getInstalledPackages(int flags, int userId) {
  checkUserId(userId);
  ArrayList<PackageInfo> pkgList = new ArrayList<>(mPackages.size());
  synchronized (mPackages) {
    for (VPackage p : mPackages.values()) {
      PackageSetting ps = (PackageSetting) p.mExtras;
      PackageInfo info = generatePackageInfo(p, ps, flags, userId);
      if (info != null) {
        pkgList.add(info);
      }
    }
  }
  return new VParceledListSlice<>(pkgList);
}
com.lody.virtual.server.pmVPackageManagerServicegeneratePackageInfo

Popular methods of VPackageManagerService

  • <init>
  • analyzePackageLocked
  • checkUserId
  • chooseBestActivity
  • cleanUpUser
  • createNewUser
  • deletePackageLocked
  • findPreferredActivity
  • get
  • getActivityInfo
  • getApplicationInfo
  • getProviderInfo
  • getApplicationInfo,
  • getProviderInfo,
  • getReceiverInfo,
  • getServiceInfo,
  • queryIntentActivities,
  • queryIntentServices,
  • systemReady,
  • updateFlagsNought,
  • getNameForUid

Popular in Java

  • Reading from database using SQL prepared statement
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • getResourceAsStream (ClassLoader)
  • findViewById (Activity)
  • Deque (java.util)
    A linear collection that supports element insertion and removal at both ends. The name deque is shor
  • HashMap (java.util)
    HashMap is an implementation of Map. All optional operations are supported.All elements are permitte
  • ReentrantLock (java.util.concurrent.locks)
    A reentrant mutual exclusion Lock with the same basic behavior and semantics as the implicit monitor
  • HttpServlet (javax.servlet.http)
    Provides an abstract class to be subclassed to create an HTTP servlet suitable for a Web site. A sub
  • Response (javax.ws.rs.core)
    Defines the contract between a returned instance and the runtime when an application needs to provid
  • IsNull (org.hamcrest.core)
    Is the value null?
  • Top 17 Free Sublime Text Plugins
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