Home
last modified time | relevance | path

Searched refs:newArraySet (Results 1 – 18 of 18) sorted by relevance

/frameworks/base/services/core/java/com/android/server/pm/
DUserRestrictionsUtils.java74 final Set<String> ret = Sets.newArraySet(strings); in newSetWithUniqueCheck()
163 public static final Set<String> DEPRECATED_USER_RESTRICTIONS = Sets.newArraySet(
171 private static final Set<String> NON_PERSIST_USER_RESTRICTIONS = Sets.newArraySet(
179 private static final Set<String> MAIN_USER_ONLY_RESTRICTIONS = Sets.newArraySet(
200 private static final Set<String> DEVICE_OWNER_ONLY_RESTRICTIONS = Sets.newArraySet(
219 private static final Set<String> IMMUTABLE_BY_OWNERS = Sets.newArraySet(
229 private static final Set<String> GLOBAL_RESTRICTIONS = Sets.newArraySet(
247 Sets.newArraySet(
268 Sets.newArraySet(
277 Sets.newArraySet(
[all …]
DPackageInstallerService.java348 final ArraySet<File> unclaimedIcons = newArraySet( in systemReady()
420 final ArraySet<File> stagingDirs = newArraySet(stagingDir.listFiles(sStageFilter)); in getStagingDirsOnVolume()
424 stagingDirs.addAll(newArraySet(stagedSessionStagingDir.listFiles())); in getStagingDirsOnVolume()
1990 public static <E> ArraySet<E> newArraySet(E... elements) {
/frameworks/base/core/java/com/google/android/collect/
DSets.java105 public static <E> ArraySet<E> newArraySet() { in newArraySet() method in Sets
113 public static <E> ArraySet<E> newArraySet(E... elements) { in newArraySet() method in Sets
/frameworks/base/services/core/java/com/android/server/uri/
DUriPermissionOwner.java141 mReadPerms = Sets.newArraySet(); in addReadPermission()
150 mWritePerms = Sets.newArraySet(); in addWritePermission()
DUriPermission.java261 mReadOwners = Sets.newArraySet(); in addReadOwner()
287 mWriteOwners = Sets.newArraySet(); in addWriteOwner()
/frameworks/base/services/core/java/com/android/server/backup/
DSystemBackupAgent.java99 Sets.newArraySet(
111 Sets.newArraySet(ACCOUNT_MANAGER_HELPER, USAGE_STATS_HELPER, PREFERRED_HELPER,
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBatteryInputSuspendTest.java46 public static final Set<String> SUPPORTED_DEVICES = Sets.newArraySet(
/frameworks/base/services/backup/java/com/android/server/backup/utils/
DBackupEligibilityRules.java69 Sets.newArraySet(PACKAGE_MANAGER_SENTINEL, PLATFORM_PACKAGE_NAME);
76 Sets.newArraySet(WALLPAPER_PACKAGE, SETTINGS_PACKAGE));
/frameworks/base/services/tests/servicestests/src/com/android/server/companion/virtual/
DVirtualDeviceManagerServiceTest.java633 Sets.newArraySet(UID_2)); in getDeviceIdsForUid_differentUidOnDevice_returnsNull()
643 Sets.newArraySet(UID_1)); in getDeviceIdsForUid_oneUidOnDevice_returnsCorrectId()
655 Sets.newArraySet(UID_1, UID_2)); in getDeviceIdsForUid_twoUidsOnDevice_returnsCorrectId()
669 Sets.newArraySet(UID_1)); in getDeviceIdsForUid_twoDevicesUidOnOne_returnsCorrectId()
685 Sets.newArraySet(UID_1)); in getDeviceIdsForUid_twoDevicesUidOnBoth_returnsCorrectId()
687 Sets.newArraySet(UID_1, UID_2)); in getDeviceIdsForUid_twoDevicesUidOnBoth_returnsCorrectId()
700 mVdms.notifyRunningAppsChanged(mDeviceImpl.getDeviceId(), Sets.newArraySet(UID_1)); in getPreferredLocaleListForApp_keyboardAttached_returnLocaleHints()
709 mVdms.notifyRunningAppsChanged(mDeviceImpl.getDeviceId(), Sets.newArraySet(UID_1)); in getPreferredLocaleListForApp_noKeyboardAttached_nullLocaleHints()
743 mVdms.notifyRunningAppsChanged(mDeviceImpl.getDeviceId(), Sets.newArraySet(UID_1)); in getPreferredLocaleListForApp_appOnMultipleVD_localeOnFirstVDReturned()
744 mVdms.notifyRunningAppsChanged(secondDevice.getDeviceId(), Sets.newArraySet(UID_1)); in getPreferredLocaleListForApp_appOnMultipleVD_localeOnFirstVDReturned()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/
DEventListTest.java84 Sets.newArraySet(Event.TYPE_NOTIFICATION_OPENED), 0L, 999L); in testQueryEventsByType()
DEventHistoryImplTest.java146 Sets.newArraySet(Event.TYPE_SHARE_IMAGE), 0L, Long.MAX_VALUE); in testQuerySingleEventType()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DTaskSnapshotControllerTest.java112 Sets.newArraySet(closingWindow.mActivityRecord.getTask())); in testGetClosingApps_skipClosingAppsSnapshotTasks()
/frameworks/base/services/core/java/com/android/server/power/stats/
DPowerStatsSpan.java359 Set<String> neededSections = Sets.newArraySet(sectionTypes); in read()
/frameworks/base/services/core/java/com/android/server/wm/
DRecentsAnimationController.java211 final ArraySet<Task> tasks = Sets.newArraySet(task);
DActivityRecord.java3785 final ArraySet<Task> tasks = Sets.newArraySet(task); in finishIfPossible()
/frameworks/base/core/java/android/provider/
DContactsContract.java8544 return Sets.newArraySet(ADN_EF_TYPE, SDN_EF_TYPE, FDN_EF_TYPE); in getValidEfTypes()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsProvider.java1148 Set<String> restrictionNames = Sets.newArraySet(); in getRestrictionDiff()
1151 Set<String> diff = Sets.newArraySet(); in getRestrictionDiff()
/frameworks/base/services/
Dart-wear-profile18441 PLcom/android/server/pm/PackageInstallerService;->newArraySet([Ljava/lang/Object;)Landroid/util/Arr…