/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
ContactsMockResources.java | 26 private Map<Integer, String> mPackages = Maps.newHashMap(); 31 mPackages.put(resId, packageName); 38 if (!mPackages.containsKey(resId)) { 41 return mPackages.get(resId) + ":" + mTypes.get(resId) + "/" + mEntries.get(resId); 46 if (!mPackages.containsKey(resId)) { 49 return mPackages.get(resId); 54 if (!mPackages.containsKey(resId)) { 62 if (!mPackages.containsKey(resId)) {
|
ContactsMockPackageManager.java | 41 private List<PackageInfo> mPackages; 61 if (mPackages != null) { 62 return new String[] { mPackages.get(0).packageName }; 77 this.mPackages = packages; 82 return mPackages; 87 for (PackageInfo info : mPackages) { 103 if (mPackages == null) return ret; 104 for (PackageInfo packageInfo : mPackages) {
|
MockPackageManager.java | 27 private final String[] mPackages; 29 mPackages = packages; 35 for (String pkg : mPackages) { 52 return new String[] {mPackages[0]};
|
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/ |
ApiCoverage.java | 28 private final Map<String, ApiPackage> mPackages = new HashMap<String, ApiPackage>(); 31 mPackages.put(pkg.getName(), pkg); 35 return mPackages.get(name); 39 return Collections.unmodifiableCollection(mPackages.values()); 43 for (Map.Entry<String, ApiPackage> entry : mPackages.entrySet()) {
|
/external/doclava/src/com/google/doclava/apicheck/ |
ApiInfo.java | 28 private HashMap<String, PackageInfo> mPackages 59 for (PackageInfo pInfo : mPackages.values()) { 69 for (PackageInfo pInfo : otherApi.mPackages.values()) { 70 if (!mPackages.containsKey(pInfo.name())) { 79 return mPackages; 96 mPackages.put(pInfo.name(), pInfo);
|
/frameworks/base/services/java/com/android/server/ |
AttributeCache.java | 40 private final WeakHashMap<String, Package> mPackages = 80 mPackages.remove(packageName); 93 mPackages.clear(); 100 Package pkg = mPackages.get(packageName); 123 mPackages.put(packageName, pkg);
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
PowerUsageDetail.java | 136 private String[] mPackages; 244 if (mPackages != null && mPackages.length > 0) { 247 mPackages[0], 0); 249 getActivity(), mPackages[0], mApp.flags); 270 args.putString(InstalledAppDetails.ARG_PACKAGE_NAME, mPackages[0]); 433 if (mPackages == null) return; 436 for (int i = 0; i < mPackages.length; i++) { 437 am.forceStopPackage(mPackages[i]); 450 if (mPackages == null || mUid < Process.FIRST_APPLICATION_UID) [all...] |
BatterySipper.java | 63 String[] mPackages; 119 return mPackages; 178 mPackages = pm.getPackagesForUid(uid); 179 if (mPackages == null) { 184 String[] packageLabels = new String[mPackages.length]; 185 System.arraycopy(mPackages, 0, packageLabels, 0, mPackages.length); 199 defaultPackageName = mPackages[i]; 212 for (String pkgName : mPackages) {
|
/packages/apps/Settings/src/com/android/settings/applications/ |
ProcStatsEntry.java | 39 final ArrayList<String> mPackages = new ArrayList<String>(); 62 mPackages.add(packageName); 77 in.readStringList(mPackages); 98 mPackages.add(packageName); 105 if (mPackages.size() == 1) { 106 if (DEBUG) Log.d(TAG, "Eval pkg of " + mName + ": single pkg " + mPackages.get(0)); 107 mBestTargetPackage = mPackages.get(0); 111 for (int ipkg=0; ipkg<mPackages.size(); ipkg++) { 112 ProcessStats.PackageState pkgState = stats.mPackages.get(mPackages.get(ipkg), mUid) [all...] |
ProcessStatsUi.java | 468 for (int ipkg=0, N=mStats.mPackages.getMap().size(); ipkg<N; ipkg++) { 470 = mStats.mPackages.getMap().valueAt(ipkg); 505 for (int ip=0, N=mStats.mPackages.getMap().size(); ip<N; ip++) { 506 SparseArray<ProcessStats.PackageState> uids = mStats.mPackages.getMap().valueAt(ip);
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
FilterFactory.java | 36 private HashSet<String> mPackages = new HashSet<String>(); 85 mPackages.add(packageName); 93 for (String packageName : mPackages) {
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
FilterFactory.java | 30 private HashSet<String> mPackages = new HashSet<String>(); 80 mPackages.add(packageName); 126 for (String packageName : mPackages) {
|
/frameworks/base/services/java/com/android/server/am/ |
CompatModePackages.java | 40 private final HashMap<String, Integer> mPackages = new HashMap<String, Integer>(); 88 mPackages.put(pkg, modeInt); 111 return mPackages; 115 Integer flags = mPackages.get(packageName); 135 if (!mayCompat && mPackages.containsKey(packageName)) { 136 mPackages.remove(packageName); 191 mPackages.put(packageName, newFlags); 193 mPackages.remove(packageName); 285 mPackages.put(packageName, newFlags); 287 mPackages.remove(packageName) [all...] |
ProcessStatsService.java | 141 = mProcessStats.mPackages.getMap(); 298 = stats.mPackages.getMap(); [all...] |
/frameworks/base/services/java/com/android/server/pm/ |
KeySetManager.java | 59 private final Map<String, PackageSetting> mPackages; 69 mPackages = packages; 85 PackageSetting pkg = mPackages.get(packageName); 110 PackageSetting pkg = mPackages.get(packageName); 139 PackageSetting pkg = mPackages.get(packageName); 196 PackageSetting p = mPackages.get(packageName); 215 PackageSetting p = mPackages.get(packageName); 346 for (String pkgName : mPackages.keySet()) { 372 for (String pkgName : mPackages.keySet()) { 373 PackageSetting p = mPackages.get(pkgName) [all...] |
PackageManagerService.java | 297 // Used for privilege escalation. MUST NOT BE CALLED WITH mPackages 335 final HashMap<String, PackageParser.Package> mPackages = 728 synchronized (mPackages) { 751 PackageSetting ps = mSettings.mPackages.get(ent.getKey()); 773 synchronized (mPackages) { [all...] |
Settings.java | 123 final HashMap<String, PackageSetting> mPackages = 190 public final KeySetManager mKeySetManager = new KeySetManager(mPackages); 225 return mPackages.get(name); 229 PackageSetting p = mPackages.get(pkgName); 239 PackageSetting p = mPackages.get(pkgName); 266 final PackageSetting p = mPackages.get(name); 316 PackageSetting p = mPackages.get(name); 329 mPackages.put(name, p); 396 PackageSetting p = mPackages.get(name); 604 // Utility method that adds a PackageSetting to mPackages an [all...] |
/frameworks/base/libs/androidfw/ |
ResourceTypes.cpp | [all...] |
/frameworks/base/core/java/com/android/internal/app/ |
ProcessStats.java | 192 public final ProcessMap<PackageState> mPackages = new ProcessMap<PackageState>(); 230 ArrayMap<String, SparseArray<PackageState>> pkgMap = other.mPackages.getMap(); [all...] |
/frameworks/base/tools/aapt/ |
ResourceTable.cpp | [all...] |
ResourceTable.h | 544 DefaultKeyedVector<String16, sp<Package> > mPackages;
|
/external/doclava/src/com/google/doclava/ |
InfoBuilder.java | [all...] |
/frameworks/base/core/java/android/app/ |
ActivityThread.java | 193 // These can be accessed by multiple threads; mPackages is the lock. 201 final ArrayMap<String, WeakReference<LoadedApk>> mPackages [all...] |
/packages/apps/Launcher2/src/com/android/launcher2/ |
LauncherModel.java | [all...] |
/frameworks/base/include/androidfw/ |
ResourceTypes.h | [all...] |