Home
last modified time | relevance | path

Searched refs:mApps (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/tools/powermodel/src/com/android/powermodel/
DActivityReport.java32 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()
DPowerReport.java30 private AppList<AppPower> mApps; field in PowerReport
44 return mApps.getAllApps(); in getAllApps()
48 return mApps.getRegularApps(); in getRegularApps()
52 return mApps.findApp(pkg); in findApp()
56 return mApps.findApp(specialApp); in findApp()
80 private AppList.Builder mApps = new AppList.Builder(); field in PowerReport.Builder
88 report.mApps = mApps.build(); in build()
90 for (AppPower app: report.mApps.getAllApps()) { in build()
98 mApps.put(app.getAttribution(), app); in add()
DAppList.java57 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()
DRawBatteryStats.java66 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/
DPermissionMonitor.java100 private final Map<Integer, Boolean> mApps = new HashMap<>(); field in PermissionMonitor
178 Boolean permission = mApps.get(uid); in startMonitoring()
182 mApps.put(uid, hasRestrictedPermission); in startMonitoring()
212 log("Users: " + mUsers.size() + ", Apps: " + mApps.size()); in startMonitoring()
213 update(mUsers, mApps, true); in startMonitoring()
251 return mApps.containsKey(uid); in hasUseBackgroundNetworksPermission()
301 update(users, mApps, true); in onUserAdded()
320 update(users, mApps, false); in onUserRemoved()
368 final Boolean permission = highestPermissionForUid(mApps.get(uid), packageName, uid); in onPackageAdded()
369 if (permission != mApps.get(uid)) { in onPackageAdded()
[all …]
/frameworks/base/services/core/java/com/android/server/appbinding/
DAppBindingService.java87 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/
DNfcActivityManager.java52 final List<NfcApplicationState> mApps; // Application(s) that have NFC state. Usually one field in NfcActivityManager
81 for (NfcApplicationState appState : mApps) { in findAppState()
93 mApps.add(appState); in registerApplication()
202 mApps = new ArrayList<NfcApplicationState>(1); // Android VM usually has 1 app in NfcActivityManager()
/frameworks/base/tests/net/java/com/android/server/connectivity/
DPermissionMonitorTest.java315 private final HashMap<Integer, Boolean> mApps = new HashMap<>(); field in PermissionMonitorTest.NetdMonitor
328 mApps.put(uid, isSystem); in NetdMonitor()
342 mApps.remove(uid); in NetdMonitor()
352 if (!mApps.containsKey(uid)) { in expectPermission()
355 if (mApps.get(uid) != permission) { in expectPermission()
366 if (mApps.containsKey(uid)) { in expectNoPermission()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt48139 Landroid/nfc/NfcActivityManager;->mApps:Ljava/util/List;