Home
last modified time | relevance | path

Searched refs:setOf (Results 1 – 21 of 21) sorted by relevance

/cts/tests/tests/view/src/android/view/inspector/cts/
DIntFlagMappingTest.java51 assertEquals(setOf("ONE"), mapping.get(1)); in testNonExclusiveFlags()
52 assertEquals(setOf("TWO"), mapping.get(2)); in testNonExclusiveFlags()
53 assertEquals(setOf("ONE", "TWO"), mapping.get(3)); in testNonExclusiveFlags()
64 assertEquals(setOf("ONE"), mapping.get(1)); in testMutuallyExclusiveFlags()
65 assertEquals(setOf("TWO"), mapping.get(2)); in testMutuallyExclusiveFlags()
78 assertEquals(setOf("ONE"), mapping.get(1)); in testMixedFlags()
79 assertEquals(setOf("TWO"), mapping.get(2)); in testMixedFlags()
81 assertEquals(setOf("FOUR"), mapping.get(4)); in testMixedFlags()
82 assertEquals(setOf("ONE", "FOUR"), mapping.get(5)); in testMixedFlags()
83 assertEquals(setOf("TWO", "FOUR"), mapping.get(6)); in testMixedFlags()
[all …]
/cts/tests/tests/companion/core/src/android/companion/cts/core/
DRetrieveAssociationsTest.kt56 expected = setOf( in <lambda>()
71 expected = setOf( in <lambda>()
78 expected = setOf( in <lambda>()
86 expected = setOf( in <lambda>()
95 expected = setOf( in <lambda>()
103 expected = setOf( in <lambda>()
119 expected = setOf(targetApp.packageName to MAC_ADDRESS_B)) in test_getMyAssociations_otherPackages_NotIncluded()
124 expected = setOf(targetApp.packageName to MAC_ADDRESS_B)) in test_getMyAssociations_otherPackages_NotIncluded()
155 expected = setOf( in <lambda>()
168 expected = setOf( in <lambda>()
[all …]
DLegacyDisassociateTest.kt48 expected = setOf( in <lambda>()
57 expected = setOf( in <lambda>()
65 expected = setOf( in <lambda>()
78 expected = setOf( in <lambda>()
88 expected = setOf( in <lambda>()
100 expected = setOf( in <lambda>()
DDisassociateTest.kt53 expected = setOf(packageName to MAC_ADDRESS_A) in <lambda>()
67 expected = setOf( in test_disassociate_sameApp_multipleAssociations()
77 expected = setOf( in test_disassociate_sameApp_multipleAssociations()
86 expected = setOf(packageName to MAC_ADDRESS_C) in test_disassociate_sameApp_multipleAssociations()
98 expected = setOf(packageName to MAC_ADDRESS_A) in <lambda>()
114 expected = setOf(packageName to MAC_ADDRESS_A) in <lambda>()
DAssociationsCleanUpTest.kt51 expected = setOf( in <lambda>()
64 expected = setOf( in <lambda>()
77 expected = setOf( in <lambda>()
90 expected = setOf( in <lambda>()
DInactiveSelfManagedAssociationsRemovalTest.kt104 expected = setOf( in <lambda>()
136 expected = setOf( in test_active_associations_do_not_get_removed()
DObservingDeviceUuidEventTest.kt146 expected = setOf(UUID_A) in test_startObservingDeviceUuidPresence_multiDevices()
158 expected = setOf(UUID_A, UUID_B) in test_startObservingDeviceUuidPresence_multiDevices()
170 expected = setOf(UUID_A) in test_startObservingDeviceUuidPresence_multiDevices()
DSelfPresenceReportingTest.kt109 expected = setOf(idA) in test_selfReporting_multipleDevices_multipleServices()
120 expected = setOf(idA, idB) in test_selfReporting_multipleDevices_multipleServices()
DObservingDevicePresenceTest.kt232 expected = setOf(idA) in test_startObservingDevicePresence_multipleDevices()
245 expected = setOf(idA, idB) in test_startObservingDevicePresence_multipleDevices()
DDeviceProfilesTest.kt116 val UNSUPPORTED_PROFILES = setOf( in <lambda>()
/cts/tests/tests/packageinstaller/install/src/android/packageinstaller/install/cts/
DInstallPreVerifiedDomainsTest.kt37 private val testDomains = setOf("com.foo", "com.bar")
48 createSessionWithPreVerifiedDomains(setOf()) in testSetPreVerifiedDomainsWithEmpty()
/cts/tests/tests/systemui/src/android/systemui/cts/tv/
DTvTestBase.kt95 flags: Set<Int> = setOf(), in onSetUp()
118 flags: Set<Int> = setOf(), in sendBroadcast()
138 flags: Set<Int> = setOf(), in composeAmShellCommand()
/cts/tests/tests/tools/processors/view_inspector/src/android/processor/view/inspector/cts/
DPlatformInspectableProcessorTest.java491 assertEquals(setOf("ONE"), mPropertyReader.getIntFlag("value")); in testIntFlag()
495 assertEquals(setOf("TWO"), mPropertyReader.getIntFlag("value")); in testIntFlag()
499 assertEquals(setOf("THREE"), mPropertyReader.getIntFlag("value")); in testIntFlag()
503 assertEquals(setOf("FOUR"), mPropertyReader.getIntFlag("value")); in testIntFlag()
507 assertEquals(setOf("FOUR", "ONE"), mPropertyReader.getIntFlag("value")); in testIntFlag()
779 private static <T> Set<T> setOf(T... items) { in setOf() method in PlatformInspectableProcessorTest
/cts/tests/tests/companion/common/src/android/companion/cts/common/
DConstants.kt17 val DEVICE_PROFILES = setOf(
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/devicepolicy/
DDevicePolicy.kt614 val activeAdmins = devicePolicyManager(user).activeAdmins ?: return setOf() in <lambda>()
739 return if (configurations == null) setOf() else java.util.Set.copyOf(configurations) in <lambda>()
/cts/common/device-side/bedstead/modules/enterprise/src/test/kotlin/com/android/bedstead/enterprise/
DEnterpriseAnnotationExecutorTest.kt216 setOf(Build.VERSION.SDK_INT, Build.VERSION_CODES.CUR_DEVELOPMENT) in ensureHasDeviceOwnerAnnotation_noQuerySpecified_setsDefaultRemoteDpc()
235 ).isIn(setOf(Build.VERSION.SDK_INT, Build.VERSION_CODES.CUR_DEVELOPMENT)) in ensureHasProfileOwnerAnnotation_noQuerySpecified_setsDefaultRemoteDpc()
/cts/tests/input/src/android/input/cts/
DVelocityTrackerTest.kt225 setOf(MotionEvent.AXIS_X, MotionEvent.AXIS_Y, MotionEvent.AXIS_SCROLL) in testIsAxisSupported()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/
DNotificationHidingVerifierActivity.kt104 .setCategories(setOf(Notification.CATEGORY_MESSAGE)) in <lambda>()
/cts/tests/tests/hibernation/src/android/hibernation/cts/
DAppHibernationIntegrationTest.kt283 setOf(APK_PACKAGE_NAME_S_APP)) in <lambda>()
/cts/tests/tests/content/src/android/content/pm/cts/
DPackageManagerShellCommandMultiUserTest.kt1185 val mimeTypes1 = setOf("text/*") in testUpdateMimeGroup_changed()
1209 val mimeTypes2 = setOf("text/plain") in testUpdateMimeGroup_changed()
/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DLockTaskTest.kt1268 RoleAuthority(setOf(PolicyEngineUtils.FINANCED_DEVICE_CONTROLLER_ROLE)), in <lambda>()