Home
last modified time | relevance | path

Searched refs:numApps (Results 1 – 15 of 15) sorted by relevance

/packages/modules/AppSearch/testing/appsindexertests/src/com/android/server/appsearch/appsindexer/
DTestUtils.java130 public static List<PackageInfo> createFakePackageInfos(int numApps) { in createFakePackageInfos() argument
132 for (int i = 0; i < numApps; i++) { in createFakePackageInfos()
166 public static List<ResolveInfo> createFakeResolveInfos(int numApps) { in createFakeResolveInfos() argument
168 for (int i = 0; i < numApps; i++) { in createFakeResolveInfos()
285 public static List<MobileApplication> createMobileApplications(int numApps) { in createMobileApplications() argument
287 for (int i = 0; i < numApps; i++) { in createMobileApplications()
306 public static List<PackageIdentifier> createMockPackageIdentifiers(int numApps) { in createMockPackageIdentifiers() argument
308 for (int i = 0; i < numApps; i++) { in createMockPackageIdentifiers()
/packages/apps/Settings/src/com/android/settings/location/
DTopLevelLocationPreferenceController.java66 void setLocationAppCount(int numApps) { in setLocationAppCount() argument
67 sSummary = StringUtil.getIcuPluralsString(mContext, numApps, in setLocationAppCount()
101 (numApps) -> { in updateState()
102 mNumTotalLoading += numApps; in updateState()
DAppLocationPermissionPreferenceController.java128 (numApps) -> { in updateState()
129 mNumTotalLoading += numApps; in updateState()
137 (numApps) -> { in updateState()
138 mNumHasLocationLoading += numApps; in updateState()
/packages/apps/Car/Settings/src/com/android/car/settings/privacy/
DManageCameraPermissionsPreferenceController.java111 (numApps) -> { in updateState()
112 mNumTotal += numApps; in updateState()
120 (numApps) -> { in updateState()
121 mNumHasAccess += numApps; in updateState()
DManageMicPermissionsPreferenceController.java128 (numApps) -> { in updateState()
129 mNumTotal += numApps; in updateState()
137 (numApps) -> { in updateState()
138 mNumHasAccess += numApps; in updateState()
/packages/apps/Settings/src/com/android/settings/applications/
DProcessStatsSummary.java141 int numApps = mStatsManager.getEntries().size(); in refreshUi() local
146 arguments.put("count", numApps); in refreshUi()
/packages/modules/Permission/tests/cts/permission/src/android/permission/cts/
DPermissionControllerTest.java492 CompletableFuture<Integer> numApps = new CompletableFuture<>(); in countPermissionAppsGranted() local
495 COUNT_ONLY_WHEN_GRANTED, numApps::complete, null); in countPermissionAppsGranted()
499 assertThat(numApps.get()).isAtLeast(1); in countPermissionAppsGranted()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/rtt/
DRttMetricsTest.java577 int numApps, int histogramNumRequestsPerAppLength, in checkPeerStats() argument
583 collector.checkThat(msgPrefix + ": numApps", log.numApps, equalTo(numApps)); in checkPeerStats()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/model/
DPermissionAppsViewModel.kt369 val numApps: Int = appPermissionUsages.size in <lambda>() constant
370 for (appIndex in 0 until numApps) { in <lambda>()
DAppPermissionGroupsViewModel.kt409 val numApps: Int = appPermissionUsages.size in <lambda>() constant
410 for (appIndex in 0 until numApps) { in <lambda>()
/packages/modules/Wifi/service/java/com/android/server/wifi/rtt/
DRttMetrics.java318 peerLog.numApps = peerInfo.perUidInfo.size(); in consolidatePeerType()
/packages/modules/Wifi/service/java/com/android/server/wifi/aware/
DWifiAwareMetrics.java586 log.numApps = mAttachDataByUid.size(); in consolidateProto()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/aware/
DWifiAwareMetricsTest.java318 collector.checkThat("numApps", log.numApps, equalTo(2)); in testAttachSessionMetrics()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiMetricsTest.java5267 assertEquals(1, mDecodedProto.wifiNetworkRequestApiLog.numApps); in testWifiNetworkRequestApiLog()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiMetrics.java8050 mWifiNetworkRequestApiLog.numApps++;