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.java92 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()
269 return mApps.containsKey(uid); in hasUseBackgroundNetworksPermission()
319 update(users, mApps, true); in onUserAdded()
338 update(users, mApps, false); in onUserRemoved()
371 final Boolean permission = highestPermissionForUid(mApps.get(uid), packageName); in onPackageAdded()
372 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.java53 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/
DPermissionMonitorTest.java356 private final HashMap<Integer, Boolean> mApps = new HashMap<>(); field in PermissionMonitorTest.NetdMonitor
369 mApps.put(uid, isSystem); in NetdMonitor()
383 mApps.remove(uid); in NetdMonitor()
393 if (!mApps.containsKey(uid)) { in expectPermission()
396 if (mApps.get(uid) != permission) { in expectPermission()
407 if (mApps.containsKey(uid)) { in expectNoPermission()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt51613 Landroid/nfc/NfcActivityManager;->mApps:Ljava/util/List;