/frameworks/base/services/tests/mockingservicestests/src/com/android/server/backup/utils/ |
D | SparseArrayUtilsTest.java | 27 import com.google.android.collect.Sets; 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/packages/SystemUI/docs/ |
D | demo_mode.md | 30 | | ```level``` | | Sets the battery level (0 … 31 | | ```plugged``` | | Sets charging state (```tr… 32 | | ```powersave``` | | Sets power save mode (```t… 35 | | ```fully``` | | Sets MCS state to fully co… 37 | | | ```level``` | Sets wifi level (null or 0… 40 | | | ```level``` | Sets mobile signal strengt… 43 | | | ```level``` | Sets satellite signal stre… 44 | | ```carriernetworkchange``` | | Sets mobile signal icon to… 45 | | ```sims``` | | Sets the number of sims (1… 48 | | ```mode``` | | Sets the bars visual style… [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/ |
D | WeaverBasedSyntheticPasswordTests.java | 12 import com.google.android.collect.Sets; 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 | 31 import com.google.android.collect.Sets; 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 | 40 import com.google.android.collect.Sets; 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/tests/coretests/src/android/widget/listview/ |
D | ListInterleaveFocusables.java | 24 import com.google.android.collect.Sets; 33 private Set<Integer> mFocusablePositions = Sets.newHashSet(1, 3, 6);
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | UserRestrictionsUtils.java | 51 import com.google.android.collect.Sets; 74 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( [all …]
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/bubbles/animation/ |
D | PhysicsAnimationLayoutTest.java | 38 import com.google.android.collect.Sets; 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 | 30 import com.google.android.collect.Sets; 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 | 26 import com.google.android.collect.Sets; 69 writePermanentJournalPackages(Sets.newHashSet(GOOGLE_PHOTOS, GMAIL)); in constructor_loadsAnyPreviousJournalFromDisk() 106 .isEqualTo(Sets.newHashSet(GOOGLE_PHOTOS, GMAIL)); in getPackagesCopy_returnsTheCurrentState()
|
/frameworks/base/services/core/java/com/android/server/uri/ |
D | UriPermissionOwner.java | 30 import com.google.android.collect.Sets; 141 mReadPerms = Sets.newArraySet(); in addReadPermission() 150 mWritePerms = Sets.newArraySet(); in addWritePermission()
|
D | UriPermission.java | 28 import com.google.android.collect.Sets; 261 mReadOwners = Sets.newArraySet(); in addReadOwner() 287 mWriteOwners = Sets.newArraySet(); in addWriteOwner()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | BatteryInputSuspendTest.java | 34 import com.google.android.collect.Sets; 46 public static final Set<String> SUPPORTED_DEVICES = Sets.newArraySet(
|
/frameworks/base/services/core/java/com/android/server/backup/ |
D | SystemBackupAgent.java | 40 import com.google.android.collect.Sets; 99 Sets.newArraySet( 111 Sets.newArraySet(ACCOUNT_MANAGER_HELPER, USAGE_STATS_HELPER, PREFERRED_HELPER,
|
/frameworks/hardware/interfaces/automotive/display/1.0/ |
D | IAutomotiveDisplayProxyService.hal | 33 * Sets the ANativeWindow, which is associated with the 43 * Sets the ANativeWindow, which is associated with the
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/theme/ |
D | ThemeOverlayApplierTest.java | 58 import com.google.common.collect.Sets; 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/services/tests/servicestests/src/com/android/server/people/data/ |
D | EventListTest.java | 23 import com.google.android.collect.Sets; 84 Sets.newArraySet(Event.TYPE_NOTIFICATION_OPENED), 0L, 999L); in testQueryEventsByType()
|
D | EventHistoryImplTest.java | 31 import com.google.android.collect.Sets; 146 Sets.newArraySet(Event.TYPE_SHARE_IMAGE), 0L, Long.MAX_VALUE); in testQuerySingleEventType()
|
/frameworks/base/services/backup/java/com/android/server/backup/utils/ |
D | BackupEligibilityRules.java | 52 import com.google.android.collect.Sets; 69 Sets.newArraySet(PACKAGE_MANAGER_SENTINEL, PLATFORM_PACKAGE_NAME); 76 Sets.newArraySet(WALLPAPER_PACKAGE, SETTINGS_PACKAGE));
|
/frameworks/base/core/java/com/google/android/collect/ |
D | Sets.java | 35 public class Sets { class
|
/frameworks/base/services/tests/servicestests/src/com/android/server/companion/virtual/ |
D | VirtualDeviceManagerServiceTest.java | 128 import com.google.android.collect.Sets; 633 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() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/signedconfig/ |
D | SignedConfigTest.java | 30 import com.google.common.collect.Sets; 50 return Sets.newHashSet(values); in setOf()
|
/frameworks/base/core/java/android/net/ |
D | NetworkPolicyManager.java | 52 import com.google.android.collect.Sets; 742 systemSignature = Sets.newHashSet( 751 final HashSet<Signature> packageSignature = Sets.newHashSet(
|
/frameworks/base/packages/SystemUI/aconfig/ |
D | accessibility.aconfig | 26 description: "Sets up animations for tucking/untucking and adjusts clipbounds."
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | TaskSnapshotControllerTest.java | 54 import com.google.android.collect.Sets; 112 Sets.newArraySet(closingWindow.mActivityRecord.getTask())); in testGetClosingApps_skipClosingAppsSnapshotTasks()
|