Searched refs:mApps (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/tools/powermodel/src/com/android/powermodel/ |
D | ActivityReport.java | 32 private AppList<AppActivity> mApps; field in ActivityReport 35 return mApps.getAllApps(); in getAllApps() 39 return mApps.getRegularApps(); in getRegularApps() 43 return mApps.findApp(pkg); in findApp() 47 return mApps.findApp(specialApp); in findApp() 57 final AppActivity global = mApps.findApp(SpecialApp.GLOBAL); in findGlobalComponent() 65 private AppList.Builder<AppActivity,AppActivity.Builder> mApps = new AppList.Builder(); field in ActivityReport.Builder 72 result.mApps = mApps.build(); in build() 83 AppActivity.Builder app = mApps.get(activity.attribution); in addActivity() 87 mApps.put(activity.attribution, app); in addActivity()
|
D | AppList.java | 57 private final HashMap<AttributionKey,BUILDER> mApps = new HashMap(); field in AppList.Builder 67 for (AppInfo.Builder<APP> app: mApps.values()) { in build() 84 return mApps.get(attribution); in get() 88 return mApps.put(attribution, app); in put()
|
D | RawBatteryStats.java | 66 private ImmutableSet<AttributionKey> mApps; field in RawBatteryStats 924 return mApps; in getApps() 1119 mApps = ImmutableSet.copyOf(result); in indexApps()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | PermissionMonitor.java | 92 private final Map<Integer, Boolean> mApps = new HashMap<>(); field in PermissionMonitor 175 Boolean permission = mApps.get(uid); in startMonitoring() 179 mApps.put(uid, hasRestrictedPermission); in startMonitoring() 211 log("Users: " + mUsers.size() + ", Apps: " + mApps.size()); in startMonitoring() 212 update(mUsers, mApps, true); in startMonitoring() 334 update(users, mApps, true); in onUserAdded() 353 update(users, mApps, false); in onUserRemoved() 386 final Boolean permission = highestPermissionForUid(mApps.get(uid), packageName); in onPackageAdded() 387 if (permission != mApps.get(uid)) { in onPackageAdded() 388 mApps.put(uid, permission); in onPackageAdded() [all …]
|
/frameworks/base/services/core/java/com/android/server/appbinding/ |
D | AppBindingService.java | 87 private final ArrayList<AppServiceFinder> mApps = new ArrayList<>(); field in AppBindingService 150 mApps.add(new CarrierMessagingClientServiceFinder(context, this::onAppChanged, mHandler)); in AppBindingService() 157 for (int i = 0; i < mApps.size(); i++) { in forAllAppsLocked() 158 consumer.accept(mApps.get(i)); in forAllAppsLocked() 331 for (int i = 0; i < mApps.size(); i++) { in findFinderLocked() 332 final AppServiceFinder app = mApps.get(i); in findFinderLocked() 379 for (int i = 0; i < mApps.size(); i++) { in bindServicesLocked() 380 final AppServiceFinder app = mApps.get(i); in bindServicesLocked()
|
/frameworks/base/core/java/android/nfc/ |
D | NfcActivityManager.java | 53 final List<NfcApplicationState> mApps; // Application(s) that have NFC state. Usually one field in NfcActivityManager 82 for (NfcApplicationState appState : mApps) { in findAppState() 94 mApps.add(appState); in registerApplication() 203 mApps = new ArrayList<NfcApplicationState>(1); // Android VM usually has 1 app in NfcActivityManager()
|
/frameworks/base/tests/net/java/com/android/server/connectivity/ |
D | PermissionMonitorTest.java | 285 private final HashMap<Integer, Boolean> mApps = new HashMap<>(); field in PermissionMonitorTest.NetdMonitor 298 mApps.put(uid, isSystem); in NetdMonitor() 312 mApps.remove(uid); in NetdMonitor() 322 if (!mApps.containsKey(uid)) { in expectPermission() 325 if (mApps.get(uid) != permission) { in expectPermission() 336 if (mApps.containsKey(uid)) { in expectNoPermission()
|