/frameworks/base/services/tests/mockingservicestests/src/com/android/server/backup/utils/ |
D | SparseArrayUtilsTest.java | 41 sparseArray.append(12, Sets.newHashSet("a", "b", "c")); in union_mergesSets() 42 sparseArray.append(45, Sets.newHashSet("d", "e")); in union_mergesSets() 43 sparseArray.append(46, Sets.newHashSet()); in union_mergesSets() 44 sparseArray.append(66, Sets.newHashSet("a", "e", "f")); in union_mergesSets() 47 Sets.newHashSet("a", "b", "c", "d", "e", "f")); in union_mergesSets() 54 assertThat(SparseArrayUtils.union(sparseArray)).isEqualTo(Sets.newHashSet()); in union_returnsEmptySetForEmptyList()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/ |
D | WeaverBasedSyntheticPasswordTests.java | 37 assertEquals(Sets.newHashSet(), mPasswordSlotManager.getUsedSlots()); in testFrpWeaverSlotNotReused() 41 assertEquals(Sets.newHashSet(1), mPasswordSlotManager.getUsedSlots()); in testFrpWeaverSlotNotReused() 53 assertEquals(Sets.newHashSet(), mPasswordSlotManager.getUsedSlots()); in testFrpWeaverSlotReused() 57 assertEquals(Sets.newHashSet(0), mPasswordSlotManager.getUsedSlots()); in testFrpWeaverSlotReused()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/backup/internal/ |
D | LifecycleOperationStorageTest.java | 54 private static final Set<String> MULTIPLE_PKG = Sets.newHashSet(PKG_FOO); 55 private static final Set<String> MULTIPLE_PKGS_1 = Sets.newHashSet(PKG_FOO, PKG_BAR); 56 private static final Set<String> MULTIPLE_PKGS_2 = Sets.newHashSet(PKG_BAR, PKG_BAZ); 91 assertThat(typeWaitTokens).isEqualTo(Sets.newHashSet(TOKEN_1, TOKEN_2)); in testRegisterOperation_multipleOperations() 120 assertThat(tokensBar).isEqualTo(Sets.newHashSet(TOKEN_1, TOKEN_2)); in testRegisterOperationForPackages_multiplePackage() 192 return Sets.newHashSet(val); in only()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/theme/ |
D | ThemeOverlayApplier.java | 132 static final Set<String> SYSTEM_USER_CATEGORIES = Sets.newHashSet( 163 mTargetPackageToCategories.put(ANDROID_PACKAGE, Sets.newHashSet( in ThemeOverlayApplier() 169 Sets.newHashSet(OVERLAY_CATEGORY_ICON_SYSUI)); in ThemeOverlayApplier() 171 Sets.newHashSet(OVERLAY_CATEGORY_ICON_SETTINGS)); in ThemeOverlayApplier() 173 Sets.newHashSet(OVERLAY_CATEGORY_ICON_LAUNCHER)); in ThemeOverlayApplier() 175 Sets.newHashSet(OVERLAY_CATEGORY_ICON_THEME_PICKER)); in ThemeOverlayApplier()
|
/frameworks/base/core/java/com/google/android/collect/ |
D | Sets.java | 49 public static <K> HashSet<K> newHashSet() { in newHashSet() method in Sets 71 public static <E> HashSet<E> newHashSet(E... elements) { in newHashSet() method in Sets
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/bubbles/animation/ |
D | PhysicsAnimationLayoutTest.java | 70 mTestableController.setAnimatedProperties(Sets.newHashSet( in setUp() 74 mTestableController.setChainedProperties(Sets.newHashSet(DynamicAnimation.TRANSLATION_X)); in setUp() 113 mTestableController.setChainedProperties(Sets.newHashSet()); in testUpdateValueNotChained() 144 mTestableController.setChainedProperties(Sets.newHashSet()); in testSetEndActions() 188 mTestableController.setChainedProperties(Sets.newHashSet()); in testRemoveEndListeners() 233 secondController.setAnimatedProperties(Sets.newHashSet( in testSetController() 235 secondController.setChainedProperties(Sets.newHashSet( in testSetController()
|
/frameworks/base/services/backup/java/com/android/server/backup/internal/ |
D | LifecycleOperationStorage.java | 93 registerOperationForPackages(token, initialState, Sets.newHashSet(), task, type); in registerOperation() 157 Set<Integer> result = Sets.newHashSet(); in operationTokensForPackage() 168 Set<Integer> tokens = Sets.newHashSet(); in operationTokensForOpType() 184 Set<Integer> tokens = Sets.newHashSet(); in operationTokensForOpState()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/backup/ |
D | ProcessedPackagesJournalTest.java | 69 writePermanentJournalPackages(Sets.newHashSet(GOOGLE_PHOTOS, GMAIL)); in constructor_loadsAnyPreviousJournalFromDisk() 106 .isEqualTo(Sets.newHashSet(GOOGLE_PHOTOS, GMAIL)); in getPackagesCopy_returnsTheCurrentState()
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
D | ListInterleaveFocusables.java | 33 private Set<Integer> mFocusablePositions = Sets.newHashSet(1, 3, 6);
|
/frameworks/base/services/tests/servicestests/src/com/android/server/am/ |
D | UserControllerTest.java | 46 import static com.google.android.collect.Sets.newHashSet; 180 private static final Set<Integer> START_FOREGROUND_USER_MESSAGE_CODES = newHashSet( 186 private static final Set<Integer> START_BACKGROUND_USER_MESSAGE_CODES = newHashSet( 651 assertEquals(newHashSet(SYSTEM_USER_ID, TEST_USER_ID, TEST_USER_ID1, TEST_USER_ID2), in testScheduleStopOfBackgroundUser_startInBackground() 655 assertEquals(newHashSet(SYSTEM_USER_ID, TEST_USER_ID1, TEST_USER_ID2), in testScheduleStopOfBackgroundUser_startInBackground() 659 assertEquals(newHashSet(SYSTEM_USER_ID, TEST_USER_ID2), in testScheduleStopOfBackgroundUser_startInBackground() 667 assertEquals(newHashSet(SYSTEM_USER_ID, TEST_USER_ID2, TEST_USER_ID3), in testScheduleStopOfBackgroundUser_startInBackground() 671 assertEquals(newHashSet(SYSTEM_USER_ID, TEST_USER_ID2), in testScheduleStopOfBackgroundUser_startInBackground() 826 assertEquals(newHashSet( in testStoppingExcessRunningUsersAfterSwitch_currentProfileNotStopped() 836 assertEquals(newHashSet( in testStoppingExcessRunningUsersAfterSwitch_currentProfileNotStopped() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/theme/ |
D | ThemeOverlayApplierTest.java | 92 Sets.newHashSet(TEST_USER_MANAGED_PROFILE); 209 Set<UserHandle> userHandles = Sets.newHashSet(TEST_USER_HANDLES); in allCategoriesSpecified_enabledForAllUserHandles() 226 Set<UserHandle> userHandles = Sets.newHashSet(TEST_USER_HANDLES); in enablesOverlays_onlyIfItExistsForUser()
|
/frameworks/base/packages/SettingsProvider/test/src/android/provider/ |
D | SettingsBackupTest.java | 21 import static com.google.android.collect.Sets.newHashSet; 59 newHashSet( 638 newHashSet( 811 newHashSet(SystemSettings.SETTINGS_TO_BACKUP), in systemSettingsBackedUpOrDenied() 821 newHashSet(GlobalSettings.SETTINGS_TO_BACKUP), in globalSettingsBackedUpOrDenied() 835 newHashSet( in secureSettingsBackedUpOrDenied() 897 newHashSet( in getBackUpDenyListSystemSettings()
|
/frameworks/base/core/java/android/net/ |
D | NetworkPolicyManager.java | 742 systemSignature = Sets.newHashSet( 751 final HashSet<Signature> packageSignature = Sets.newHashSet(
|
/frameworks/base/services/tests/servicestests/src/com/android/server/signedconfig/ |
D | SignedConfigTest.java | 50 return Sets.newHashSet(values); in setOf()
|
/frameworks/base/services/backup/java/com/android/server/backup/fullbackup/ |
D | PerformFullTransportBackupTask.java | 274 Set<String> packageNames = Sets.newHashSet(); in PerformFullTransportBackupTask() 869 Set<String> packages = Sets.newHashSet(packageName); in registerTask()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/animation/ |
D | ExpandedAnimationController.java | 513 return Sets.newHashSet( in getAnimatedProperties()
|
D | StackAnimationController.java | 667 return Sets.newHashSet( in getAnimatedProperties()
|
/frameworks/base/core/java/android/accounts/ |
D | ChooseTypeAndAccountActivity.java | 561 setOfRelevantAccountTypes = Sets.newHashSet(allowedAccountTypes); in getReleventAccountTypes()
|
/frameworks/base/services/core/java/com/android/server/ambientcontext/ |
D | AmbientContextManagerService.java | 70 private static final Set<Integer> DEFAULT_EVENT_SET = Sets.newHashSet(
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | AudioDeviceInventory.java | 2460 Sets.newHashSet(DEVICE_OUT_HEARING_AID)) != null; 2487 DeviceInfo di = getFirstConnectedDeviceOfTypes(Sets.newHashSet(type)); 3000 Sets.newHashSet(AudioSystem.DEVICE_OUT_BLUETOOTH_A2DP))) {
|
/frameworks/base/media/java/android/mtp/ |
D | MtpDatabase.java | 311 }, subDirectories == null ? null : Sets.newHashSet(subDirectories)); in MtpDatabase()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | RecentTasks.java | 705 final Set<String> packageNames = Sets.newHashSet(packages); in onPackagesSuspendedChanged()
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
D | UserBackupManagerService.java | 2541 return Sets.newHashSet(PACKAGE_MANAGER_SENTINEL); in dataChangedTargets()
|
/frameworks/base/services/core/java/com/android/server/accounts/ |
D | AccountManagerService.java | 1201 HashSet<String> obsoleteAuthType = Sets.newHashSet(); in validateAccountsInternal()
|
/frameworks/base/boot/ |
D | boot-image-profile.txt | 22303 HSPLcom/google/android/collect/Sets;->newHashSet()Ljava/util/HashSet; 22304 HSPLcom/google/android/collect/Sets;->newHashSet([Ljava/lang/Object;)Ljava/util/HashSet;
|