HomeSort by relevance Sort by last modified time
    Searched defs:mPackages (Results 1 - 20 of 20) sorted by null

  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
ContactsMockResources.java 27 private Map<Integer, String> mPackages = Maps.newHashMap();
32 mPackages.put(resId, packageName);
39 if (!mPackages.containsKey(resId)) {
42 return mPackages.get(resId) + ":" + mTypes.get(resId) + "/" + mEntries.get(resId);
47 if (!mPackages.containsKey(resId)) {
50 return mPackages.get(resId);
55 if (!mPackages.containsKey(resId)) {
63 if (!mPackages.containsKey(resId)) {
MockPackageManager.java 27 private final String[] mPackages;
29 mPackages = packages;
35 for (String pkg : mPackages) {
52 return new String[] {mPackages[0]};
ContactsMockPackageManager.java 38 private List<PackageInfo> mPackages;
58 if (mPackages != null) {
59 return new String[] { mPackages.get(0).packageName };
74 this.mPackages = packages;
79 return mPackages;
84 for (PackageInfo info : mPackages) {
  /frameworks/base/services/java/com/android/server/
AttributeCache.java 39 private final WeakHashMap<String, Package> mPackages =
79 mPackages.remove(packageName);
92 mPackages.clear();
99 Package pkg = mPackages.get(packageName);
121 mPackages.put(packageName, pkg);
BackupManagerService.java     [all...]
  /cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/
ApiCoverage.java 27 private final Map<String, ApiPackage> mPackages = new HashMap<String, ApiPackage>();
30 mPackages.put(pkg.getName(), pkg);
34 return mPackages.get(name);
38 return Collections.unmodifiableCollection(mPackages.values());
  /packages/providers/ApplicationsProvider/tests/src/com/android/providers/applications/
MockPackageManager.java 35 private List<ResolveInfo> mPackages = new ArrayList<ResolveInfo>();
46 return mPackages;
91 mPackages.add(packageInfo);
  /system/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) {
  /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;
95 mPackages.put(pInfo.name(), pInfo);
  /frameworks/base/services/java/com/android/server/am/
CompatModePackages.java 42 private final HashMap<String, Integer> mPackages = new HashMap<String, Integer>();
90 mPackages.put(pkg, modeInt);
113 return mPackages;
117 Integer flags = mPackages.get(packageName);
137 if (!mayCompat && mPackages.containsKey(packageName)) {
138 mPackages.remove(packageName);
193 mPackages.put(packageName, newFlags);
195 mPackages.remove(packageName);
287 mPackages.put(packageName, newFlags);
289 mPackages.remove(packageName)
    [all...]
  /sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/internal/repository/
LocalSdkParser.java 44 private Package[] mPackages;
57 return mPackages;
65 mPackages = null;
186 mPackages = packages.toArray(new Package[packages.size()]);
187 return mPackages;
SdkSource.java 66 private Package[] mPackages;
188 return mPackages;
193 mPackages = packages;
195 if (mPackages != null) {
197 Arrays.sort(mPackages, null);
503 if (mPackages == null || mPackages.length == 0) {
505 } else if (mPackages.length == 1) {
508 mDescription += String.format("\n%1$d packages found.", mPackages.length);
780 * a new mPackages array with them.
    [all...]
  /frameworks/base/tools/aapt/
ResourceTable.h 539 DefaultKeyedVector<String16, sp<Package> > mPackages;
  /external/doclava/src/com/google/doclava/
InfoBuilder.java     [all...]
  /frameworks/base/services/java/com/android/server/pm/
Settings.java 79 final HashMap<String, PackageSetting> mPackages =
172 return mPackages.get(name);
176 PackageSetting p = mPackages.get(pkgName);
186 PackageSetting p = mPackages.get(pkgName);
217 final PackageSetting p = mPackages.get(name);
259 PackageSetting p = mPackages.get(name);
272 mPackages.put(name, p);
325 PackageSetting p = mPackages.get(name);
490 // Utility method that adds a PackageSetting to mPackages and
494 mPackages.put(name, p)
    [all...]
PackageManagerService.java 258 // Used for priviledge escalation. MUST NOT BE CALLED WITH mPackages
296 final HashMap<String, PackageParser.Package> mPackages =
611 synchronized (mPackages) {
630 PackageSetting ps = mSettings.mPackages.get(ent.getKey());
647 synchronized (mPackages) {
735 synchronized (mPackages) {
744 synchronized (mPackages) {
    [all...]
  /packages/apps/Settings/src/com/android/settings/fuelgauge/
PowerUsageDetail.java 128 private String[] mPackages;
231 if (mPackages != null && mPackages.length > 0) {
234 mPackages[0], 0);
236 getActivity(), mPackages[0], mApp.flags);
257 args.putString(InstalledAppDetails.ARG_PACKAGE_NAME, mPackages[0]);
415 if (mPackages == null) return;
418 for (int i = 0; i < mPackages.length; i++) {
419 am.forceStopPackage(mPackages[i]);
432 if (mPackages == null || mUid < Process.FIRST_APPLICATION_UID)
    [all...]
  /packages/apps/Launcher2/src/com/android/launcher2/
LauncherModel.java     [all...]
  /frameworks/base/include/utils/
ResourceTypes.h     [all...]
  /frameworks/base/core/java/android/app/
ActivityThread.java 174 // These can be accessed by multiple threads; mPackages is the lock.
182 final HashMap<String, WeakReference<LoadedApk>> mPackages
494 synchronized (mPackages) {
    [all...]

Completed in 564 milliseconds