/packages/modules/AppSearch/testing/contactsindexertests/src/com/android/server/appsearch/contactsindexer/appsearchtypes/ |
D | ContactPointTest.java | 36 List<String> appIds = ImmutableList.of("appId1", "appId2", "appId3"); in testBuilder() local 49 for (String appId : appIds) { in testBuilder() 59 assertThat(contactPoint.getAppIds()).asList().isEqualTo(appIds); in testBuilder()
|
/packages/modules/Virtualization/java/service/src/com/android/system/virtualmachine/ |
D | SecretkeeperJobService.java | 155 public boolean[] doAppsExist(int userId, int[] appIds) { in doAppsExist() argument 169 boolean[] results = new boolean[appIds.length]; in doAppsExist() 170 for (int i = 0; i < appIds.length; i++) { in doAppsExist() 171 results[i] = Arrays.binarySearch(currentAppIds, appIds[i]) >= 0; in doAppsExist()
|
/packages/modules/AppSearch/testing/appsindexertests/src/com/android/server/appsearch/appsindexer/ |
D | AppsIndexerUserInstanceTest.java | 365 Map<String, Long> appIds = searchHelper.getAppsFromAppSearch(); in testUpdate() local 366 assertThat(appIds.size()).isEqualTo(docCount); in testUpdate() 400 Map<String, Long> appIds = searchHelper.getAppsFromAppSearch(); in testUpdate_insertedAndDeletedApps() local 401 assertThat(appIds.size()).isEqualTo(10); in testUpdate_insertedAndDeletedApps() 409 appIds = searchHelper.getAppsFromAppSearch(); in testUpdate_insertedAndDeletedApps() 410 assertThat(appIds.size()).isEqualTo(6); in testUpdate_insertedAndDeletedApps() 411 assertThat(appIds.keySet()) in testUpdate_insertedAndDeletedApps() 682 Map<String, Long> appIds = searchHelper.getAppsFromAppSearch(); in testConcurrentUpdates_updatesDoNotInterfereWithEachOther() local 683 assertThat(appIds.size()).isEqualTo(250); in testConcurrentUpdates_updatesDoNotInterfereWithEachOther()
|
/packages/modules/Connectivity/service/src/com/android/server/connectivity/ |
D | PermissionMonitor.java | 381 final SparseIntArray appIds = new SparseIntArray(); in makeAppIdsTrafficPermForAllUsers() local 388 appIds.put(appId, appIds.get(appId) | permission); in makeAppIdsTrafficPermForAllUsers() 391 return appIds; in makeAppIdsTrafficPermForAllUsers() 602 final SparseIntArray appIds = makeAppIdsTrafficPermForAllUsers(); in onUserAdded() local 603 sendAppIdsTrafficPermission(appIds); in onUserAdded() 636 final SparseIntArray appIds = makeAppIdsTrafficPermForAllUsers(); in onUserRemoved() local 648 if (appIds.indexOfKey(appId) < 0) { in onUserRemoved() 649 appIds.put(appId, PERMISSION_UNINSTALLED); in onUserRemoved() 652 sendAppIdsTrafficPermission(appIds); in onUserRemoved() 1062 private Set<Integer> intersectUids(Set<UidRange> ranges, Set<Integer> appIds) { in intersectUids() argument [all …]
|
/packages/modules/Virtualization/virtualizationservice/aidl/android/system/virtualizationmaintenance/ |
D | IVirtualizationReconciliationCallback.aidl | 42 boolean[] doAppsExist(int userId, in int[] appIds); in doAppsExist() argument
|
/packages/apps/Launcher3/src/com/android/launcher3/model/ |
D | ModelDbController.java | 446 IntArray appIds = LauncherDbUtils.queryIntArray(false, db, TABLE_NAME, in deleteUnparentedApps() local 448 if (!appIds.isEmpty()) { in deleteUnparentedApps() 450 _ID, appIds), null); in deleteUnparentedApps() 453 return appIds; in deleteUnparentedApps()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/gatt/ |
D | ContextMap.java | 306 List<Integer> appIds = new ArrayList(); in getAllAppsIds() local 309 appIds.add(entry.id); in getAllAppsIds() 312 return appIds; in getAllAppsIds()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/gatt/ |
D | GattServiceTest.java | 632 List<Integer> appIds = new ArrayList<>(); in unregAll() local 633 appIds.add(appId); in unregAll() 634 doReturn(appIds).when(mClientMap).getAllAppsIds(); in unregAll()
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/ |
D | PermissionMonitorTest.java | 621 public void expectTrafficPerm(int permission, Integer... appIds) { in expectTrafficPerm() argument 622 for (final int appId : appIds) { in expectTrafficPerm() 680 public void expectNetworkPerm(int permission, UserHandle[] users, int... appIds) { in expectNetworkPerm() argument 682 for (final int appId : appIds) { in expectNetworkPerm() 705 public void expectNoNetworkPerm(UserHandle[] users, int... appIds) { in expectNoNetworkPerm() argument 707 for (final int appId : appIds) { in expectNoNetworkPerm()
|