Searched refs:mPackages (Results 1 – 6 of 6) sorted by relevance
133 private String[] mPackages; field in PowerUsageDetail240 if (mPackages != null && mPackages.length > 0) { in createDetails()243 mPackages[0], 0); in createDetails()245 getActivity(), mPackages[0], mApp.flags); in createDetails()266 args.putString(InstalledAppDetails.ARG_PACKAGE_NAME, mPackages[0]); in startApplicationDetailsActivity()426 if (mPackages == null) return; in killProcesses()429 for (int i = 0; i < mPackages.length; i++) { in killProcesses()430 am.forceStopPackage(mPackages[i]); in killProcesses()443 if (mPackages == null || mUid < Process.FIRST_APPLICATION_UID) { in checkForceStop()447 for (int i = 0; i < mPackages.length; i++) { in checkForceStop()[all …]
26 private Map<Integer, String> mPackages = Maps.newHashMap(); field in ContactsMockResources31 mPackages.put(resId, packageName); in addResource()38 if (!mPackages.containsKey(resId)) { in getResourceName()41 return mPackages.get(resId) + ":" + mTypes.get(resId) + "/" + mEntries.get(resId); in getResourceName()46 if (!mPackages.containsKey(resId)) { in getResourcePackageName()49 return mPackages.get(resId); in getResourcePackageName()54 if (!mPackages.containsKey(resId)) { in getResourceTypeName()62 if (!mPackages.containsKey(resId)) { in getResourceEntryName()
41 private List<PackageInfo> mPackages; field in ContactsMockPackageManager61 if (mPackages != null) { in getPackagesForUid()62 return new String[] { mPackages.get(0).packageName }; in getPackagesForUid()77 this.mPackages = packages; in setInstalledPackages()82 return mPackages; in getInstalledPackages()87 for (PackageInfo info : mPackages) { in getPackageInfo()103 if (mPackages == null) return ret; in queryContentProviders()104 for (PackageInfo packageInfo : mPackages) { in queryContentProviders()
27 private final String[] mPackages; field in MockPackageManager29 mPackages = packages; in MockPackageManager()35 for (String pkg : mPackages) { in queryBroadcastReceivers()52 return new String[] {mPackages[0]}; in getPackagesForUid()
35 private List<ResolveInfo> mPackages = new ArrayList<ResolveInfo>(); field in MockPackageManager46 return mPackages; in queryIntentActivities()91 mPackages.add(packageInfo); in addPackage()
1996 String[] mPackages; field in LauncherModel.PackageUpdatedTask2007 mPackages = packages; in PackageUpdatedTask()2013 final String[] packages = mPackages; in run()