/packages/modules/AppSearch/testing/appsindexertests/src/com/android/server/appsearch/appsindexer/ |
D | TestUtils.java | 130 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/ |
D | TopLevelLocationPreferenceController.java | 66 void setLocationAppCount(int numApps) { in setLocationAppCount() argument 67 sSummary = StringUtil.getIcuPluralsString(mContext, numApps, in setLocationAppCount() 101 (numApps) -> { in updateState() 102 mNumTotalLoading += numApps; in updateState()
|
D | AppLocationPermissionPreferenceController.java | 128 (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/ |
D | ManageCameraPermissionsPreferenceController.java | 111 (numApps) -> { in updateState() 112 mNumTotal += numApps; in updateState() 120 (numApps) -> { in updateState() 121 mNumHasAccess += numApps; in updateState()
|
D | ManageMicPermissionsPreferenceController.java | 128 (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/ |
D | ProcessStatsSummary.java | 141 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/ |
D | PermissionControllerTest.java | 492 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/ |
D | RttMetricsTest.java | 577 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/ |
D | PermissionAppsViewModel.kt | 369 val numApps: Int = appPermissionUsages.size in <lambda>() constant 370 for (appIndex in 0 until numApps) { in <lambda>()
|
D | AppPermissionGroupsViewModel.kt | 409 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/ |
D | RttMetrics.java | 318 peerLog.numApps = peerInfo.perUidInfo.size(); in consolidatePeerType()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/aware/ |
D | WifiAwareMetrics.java | 586 log.numApps = mAttachDataByUid.size(); in consolidateProto()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/aware/ |
D | WifiAwareMetricsTest.java | 318 collector.checkThat("numApps", log.numApps, equalTo(2)); in testAttachSessionMetrics()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | WifiMetricsTest.java | 5267 assertEquals(1, mDecodedProto.wifiNetworkRequestApiLog.numApps); in testWifiNetworkRequestApiLog()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | WifiMetrics.java | 8050 mWifiNetworkRequestApiLog.numApps++;
|