Home
last modified time | relevance | path

Searched refs:mPackages (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Settings/src/com/android/settings/fuelgauge/
DPowerUsageDetail.java133 private String[] mPackages; field in PowerUsageDetail
240 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 …]
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsMockResources.java26 private Map<Integer, String> mPackages = Maps.newHashMap(); field in ContactsMockResources
31 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()
DContactsMockPackageManager.java41 private List<PackageInfo> mPackages; field in ContactsMockPackageManager
61 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()
DMockPackageManager.java27 private final String[] mPackages; field in MockPackageManager
29 mPackages = packages; in MockPackageManager()
35 for (String pkg : mPackages) { in queryBroadcastReceivers()
52 return new String[] {mPackages[0]}; in getPackagesForUid()
/packages/providers/ApplicationsProvider/tests/src/com/android/providers/applications/
DMockPackageManager.java35 private List<ResolveInfo> mPackages = new ArrayList<ResolveInfo>(); field in MockPackageManager
46 return mPackages; in queryIntentActivities()
91 mPackages.add(packageInfo); in addPackage()
/packages/apps/Launcher2/src/com/android/launcher2/
DLauncherModel.java1996 String[] mPackages; field in LauncherModel.PackageUpdatedTask
2007 mPackages = packages; in PackageUpdatedTask()
2013 final String[] packages = mPackages; in run()