/frameworks/base/services/tests/servicestests/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 - 100) 31 … | ```plugged``` | | Sets charging state (```true```, ```false```) 32 …| ```powersave``` | | Sets power save mode (```true```, ```anything else… 35 …| ```fully``` | | Sets MCS state to fully connected (```true```, ```… 37 | | ```level``` | Sets wifi level (null or 0-4) 40 … | | ```level``` | Sets mobile signal strength level (null or 0-4) 41 …| ```carriernetworkchange``` | | Sets mobile signal icon to carrier network change … 42 | ```sims``` | | Sets the number of sims (1-8) 45 …| ```mode``` | | Sets the bars visual style (opaque, translucent, s… 47 …| ```volume``` | | Sets the icon in the volume slot (```silent```, ``… [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/theme/ |
D | ThemeOverlayManager.java | 27 import com.google.android.collect.Sets; 87 static final Set<String> SYSTEM_USER_CATEGORIES = Sets.newHashSet( 109 mTargetPackageToCategories.put(ANDROID_PACKAGE, Sets.newHashSet( in ThemeOverlayManager() 113 Sets.newHashSet(OVERLAY_CATEGORY_ICON_SYSUI)); in ThemeOverlayManager() 115 Sets.newHashSet(OVERLAY_CATEGORY_ICON_SETTINGS)); in ThemeOverlayManager() 117 Sets.newHashSet(OVERLAY_CATEGORY_ICON_LAUNCHER)); in ThemeOverlayManager() 119 Sets.newHashSet(OVERLAY_CATEGORY_ICON_THEME_PICKER)); in ThemeOverlayManager()
|
D | ThemeOverlayController.java | 40 import com.google.android.collect.Sets; 118 Set<UserHandle> userHandles = Sets.newHashSet(UserHandle.of(currentUser)); in updateThemeOverlays()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/bubbles/animation/ |
D | PhysicsAnimationLayoutTest.java | 38 import com.google.android.collect.Sets; 70 mTestableController.setAnimatedProperties(Sets.newHashSet( in setUp() 73 mTestableController.setChainedProperties(Sets.newHashSet(DynamicAnimation.TRANSLATION_X)); in setUp() 112 mTestableController.setChainedProperties(Sets.newHashSet()); in testUpdateValueNotChained() 143 mTestableController.setChainedProperties(Sets.newHashSet()); in testSetEndActions() 187 mTestableController.setChainedProperties(Sets.newHashSet()); in testRemoveEndListeners() 232 secondController.setAnimatedProperties(Sets.newHashSet( in testSetController() 234 secondController.setChainedProperties(Sets.newHashSet( in testSetController()
|
/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/uri/ |
D | UriPermissionOwner.java | 28 import com.google.android.collect.Sets; 109 mReadPerms = Sets.newArraySet(); in addReadPermission() 116 mWritePerms = Sets.newArraySet(); in addWritePermission()
|
D | UriPermission.java | 27 import com.google.android.collect.Sets; 257 mReadOwners = Sets.newArraySet(); in addReadOwner() 282 mWriteOwners = Sets.newArraySet(); in addWriteOwner()
|
/frameworks/base/services/tests/servicestests/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/pm/ |
D | UserRestrictionsUtils.java | 47 import com.google.android.collect.Sets; 69 final Set<String> ret = Sets.newArraySet(strings); in newSetWithUniqueCheck() 143 private static final Set<String> NON_PERSIST_USER_RESTRICTIONS = Sets.newArraySet( 151 private static final Set<String> PRIMARY_USER_ONLY_RESTRICTIONS = Sets.newArraySet( 172 private static final Set<String> DEVICE_OWNER_ONLY_RESTRICTIONS = Sets.newArraySet( 180 private static final Set<String> IMMUTABLE_BY_OWNERS = Sets.newArraySet( 190 private static final Set<String> GLOBAL_RESTRICTIONS = Sets.newArraySet( 203 private static final Set<String> DEFAULT_ENABLED_FOR_DEVICE_OWNERS = Sets.newArraySet( 214 private static final Set<String> DEFAULT_ENABLED_FOR_MANAGED_PROFILES = Sets.newArraySet( 221 private static final Set<String> PROFILE_GLOBAL_RESTRICTIONS = Sets.newArraySet(
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | TaskSnapshotControllerTest.java | 33 import com.google.android.collect.Sets; 88 Sets.newArraySet(closingWindow.mAppToken.getTask())); in testGetClosingApps_skipClosingAppsSnapshotTasks()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WakeupEvaluatorTest.java | 31 import com.google.android.collect.Sets; 156 Set<ScanResult> scanResults = Sets.newArraySet(savedScanResultLow, savedScanResultHigh); in findViableNetwork_returnsConnectableScanResultWithHighestRssi()
|
D | WakeupConfigStoreDataTest.java | 34 import com.google.android.collect.Sets; 139 Set<ScanResultMatchInfo> networks = Sets.newArraySet(network1, network2, network3); in deserializeSerializedData()
|
/frameworks/base/core/java/com/android/server/backup/ |
D | SystemBackupAgent.java | 34 import com.google.android.collect.Sets; 83 private static final Set<String> sEligibleForMultiUser = Sets.newArraySet(
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/theme/ |
D | ThemeOverlayManagerTest.java | 50 import com.google.common.collect.Sets; 81 private static final Set<UserHandle> TEST_USER_HANDLES = Sets.newHashSet(TEST_USER); 163 Set<UserHandle> userHandles = Sets.newHashSet(TEST_USER_HANDLES); in allCategoriesSpecified_enabledForAllUserHandles()
|
/frameworks/base/services/backup/java/com/android/server/backup/utils/ |
D | AppBackupUtils.java | 42 import com.google.android.collect.Sets; 53 Sets.newArraySet(PACKAGE_MANAGER_SENTINEL, PLATFORM_PACKAGE_NAME);
|
/frameworks/base/core/java/android/net/ |
D | NetworkPolicyManager.java | 42 import com.google.android.collect.Sets; 471 systemSignature = Sets.newHashSet( 480 final HashSet<Signature> packageSignature = Sets.newHashSet(
|
/frameworks/base/core/java/com/google/android/collect/ |
D | Sets.java | 33 public class Sets { class
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
D | NotificationRemoteInputManagerTest.java | 36 import com.google.android.collect.Sets; 139 Sets.newArraySet(mEntry)); in testNotificationWithRemoteInputActiveIsRemovedOnCollapse()
|
/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/packages/SystemUI/src/com/android/systemui/bubbles/animation/ |
D | ExpandedAnimationController.java | 35 import com.google.android.collect.Sets; 398 return Sets.newHashSet( in getAnimatedProperties()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | TaskSnapshotController.java | 50 import com.google.android.collect.Sets; 145 handleClosingApps(Sets.newArraySet(appWindowToken)); in notifyAppVisibilityChanged()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkStatsRecorder.java | 40 import com.google.android.collect.Sets; 208 final HashSet<String> unknownIfaces = Sets.newHashSet(); in recordSnapshotLocked()
|
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/ |
D | bitfield.rscript | 62 // Note: Sets through the exported type (NoBitfield)
|
/frameworks/base/core/java/android/accounts/ |
D | ChooseTypeAndAccountActivity.java | 19 import com.google.android.collect.Sets; 566 setOfRelevantAccountTypes = Sets.newHashSet(allowedAccountTypes); in getReleventAccountTypes()
|