Home
last modified time | relevance | path

Searched refs:assertEmpty (Results 1 – 23 of 23) sorted by relevance

/cts/tests/tests/view/src/android/view/inspector/cts/
DIntFlagMappingTest.java50 assertEmpty(mapping.get(0)); in testNonExclusiveFlags()
54 assertEmpty(mapping.get(4)); in testNonExclusiveFlags()
63 assertEmpty(mapping.get(0)); in testMutuallyExclusiveFlags()
66 assertEmpty(mapping.get(3)); in testMutuallyExclusiveFlags()
67 assertEmpty(mapping.get(4)); in testMutuallyExclusiveFlags()
77 assertEmpty(mapping.get(0)); in testMixedFlags()
80 assertEmpty(mapping.get(3)); in testMixedFlags()
98 private static void assertEmpty(Collection collection) { in assertEmpty() method in IntFlagMappingTest
/cts/tests/tests/companion/core/src/android/companion/cts/core/
DRetrieveAssociationsTest.kt25 import android.companion.cts.common.assertEmpty
51 assertEmpty(cdm.myAssociations) in <lambda>()
61 assertEmpty(cdm.myAssociations) in <lambda>()
66 assertEmpty(cdm.myAssociations) in <lambda>()
108 assertEmpty(cdm.myAssociations) in <lambda>()
114 assertEmpty(cdm.myAssociations) in test_getMyAssociations_otherPackages_NotIncluded()
127 assertEmpty(cdm.myAssociations) in test_getMyAssociations_otherPackages_NotIncluded()
160 assertEmpty(withShellPermissionIdentity { cdm.allAssociations }) in <lambda>()
173 assertEmpty(withShellPermissionIdentity { cdm.allAssociations }) in <lambda>()
DDisassociateTest.kt26 import android.companion.cts.common.assertEmpty
57 assertEmpty(cdm.myAssociations) in <lambda>()
90 assertEmpty(cdm.myAssociations) in test_disassociate_sameApp_multipleAssociations()
124 assertEmpty( in <lambda>()
133 assertEmpty( in test_disassociate_invalidId()
DLegacyDisassociateTest.kt24 import android.companion.cts.common.assertEmpty
70 assertEmpty(cdm.myAssociations) in <lambda>()
107 assertEmpty( in test_disassociate_invalidId()
DObservingDevicePresenceTest.kt27 import android.companion.cts.common.assertEmpty
69 assertEmpty(PrimaryCompanionService.connectedDevices) in test_observingDevicePresence_isOffByDefault()
70 assertEmpty(SecondaryCompanionService.connectedDevices) in test_observingDevicePresence_isOffByDefault()
163 assertEmpty(PrimaryCompanionService.connectedDevices) in test_stopObservingDevicePresence()
164 assertEmpty(SecondaryCompanionService.connectedDevices) in test_stopObservingDevicePresence()
DDeviceProfilesTest.kt19 import android.companion.cts.common.assertEmpty in <lambda>()
65 assertEmpty(callback.invocations) in <lambda>()
92 assertEmpty(callback.invocations) in <lambda>()
DAssociationRequestBuilderTest.kt22 import android.companion.cts.common.assertEmpty
52 assertEmpty(deviceFilters) in test_defaultValues()
DInactiveSelfManagedAssociationsRemovalTest.kt24 import android.companion.cts.common.assertEmpty
72 assertEmpty(cdm.myAssociations) in test_inactive_associations_removal()
DAssociateSelfManagedTest.kt26 import android.companion.cts.common.assertEmpty
62 assertEmpty(callback.invocations) in test_associate_selfManaged_requiresPermission()
DAssociationsChangedListenerTest.kt33 import android.companion.cts.common.assertEmpty in <lambda>()
103 assertEmpty(listener.invocations) in <lambda>()
DTransportsListenerTest.kt25 import android.companion.cts.common.assertEmpty in <lambda>()
156 assertEmpty(listener.invocations) in <lambda>()
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DCellBroadcastDataMigrationTest.java68 assertEmpty("Headless LegacyCellBroadcastContentProvider must have no activities", in testLegacyContentProvider()
72 assertEmpty("Headless LegacyCellBroadcastContentProvider must have no receivers", in testLegacyContentProvider()
74 assertEmpty("Headless LegacyCellBroadcastContentProvider must have no services", in testLegacyContentProvider()
78 private static <T> void assertEmpty(String message, T[] array) { in assertEmpty() method in CellBroadcastDataMigrationTest
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DAdoptableHostTest.java171 assertEmpty(getDevice().executeShellCommand("sm partition " + diskId + " private")); in testApps()
237 assertEmpty(getDevice().executeShellCommand("sm partition " + diskId + " private")); in verifyPrimaryInternal()
290 assertEmpty(getDevice().executeShellCommand("sm partition " + diskId + " private")); in verifyPrimaryPhysical()
327 assertEmpty(getDevice().executeShellCommand("sm partition " + diskId + " private")); in testPackageInstaller()
356 assertEmpty(getDevice().executeShellCommand("sm partition " + diskId + " private")); in testEjected()
397 assertEmpty(getDevice().executeShellCommand("pm list packages " + PKG)); in testEjected()
508 private static void assertEmpty(String str) { in assertEmpty() method in AdoptableHostTest
/cts/tests/mediaprovider/src/android/provider/cts/media/
DMediaStoreTest.java233 assertEmpty("Headless legacy MediaProvider must have no activities", in testLegacy()
237 assertEmpty("Headless legacy MediaProvider must have no receivers", in testLegacy()
239 assertEmpty("Headless legacy MediaProvider must have no services", in testLegacy()
296 private static <T> void assertEmpty(String message, T[] array) { in assertEmpty() method in MediaStoreTest
/cts/tests/tests/keystore/src/android/keystore/cts/
DKeyPairGeneratorTest.java410 MoreAsserts.assertEmpty(Arrays.asList(keyInfo.getSignaturePaddings())); in testGenerateHonorsRequestedAuthorizationsHelper()
471 MoreAsserts.assertEmpty(Arrays.asList(keyInfo.getBlockModes())); in testGenerate_EC_LegacySpec()
479 MoreAsserts.assertEmpty(Arrays.asList(keyInfo.getSignaturePaddings())); in testGenerate_EC_LegacySpec()
480 MoreAsserts.assertEmpty(Arrays.asList(keyInfo.getEncryptionPaddings())); in testGenerate_EC_LegacySpec()
518 MoreAsserts.assertEmpty(Arrays.asList(keyInfo.getBlockModes())); in testGenerate_EC_LegacySpec()
526 MoreAsserts.assertEmpty(Arrays.asList(keyInfo.getSignaturePaddings())); in testGenerate_EC_LegacySpec()
527 MoreAsserts.assertEmpty(Arrays.asList(keyInfo.getEncryptionPaddings())); in testGenerate_EC_LegacySpec()
564 MoreAsserts.assertEmpty(Arrays.asList(keyInfo.getBlockModes())); in testGenerate_EC_LegacySpec()
572 MoreAsserts.assertEmpty(Arrays.asList(keyInfo.getSignaturePaddings())); in testGenerate_EC_LegacySpec()
573 MoreAsserts.assertEmpty(Arrays.asList(keyInfo.getEncryptionPaddings())); in testGenerate_EC_LegacySpec()
[all …]
DKeyProtectionTest.java50 MoreAsserts.assertEmpty(Arrays.asList(spec.getBlockModes())); in testDefaults()
60 MoreAsserts.assertEmpty(Arrays.asList(spec.getEncryptionPaddings())); in testDefaults()
65 MoreAsserts.assertEmpty(Arrays.asList(spec.getSignaturePaddings())); in testDefaults()
DKeyGenParameterSpecTest.java65 MoreAsserts.assertEmpty(Arrays.asList(spec.getBlockModes())); in testDefaults()
79 MoreAsserts.assertEmpty(Arrays.asList(spec.getEncryptionPaddings())); in testDefaults()
85 MoreAsserts.assertEmpty(Arrays.asList(spec.getSignaturePaddings())); in testDefaults()
DSecretKeyFactoryTest.java141 MoreAsserts.assertEmpty(Arrays.asList(keyInfo.getSignaturePaddings())); in testGetKeySpecWithKeystoreKeyAndKeyInfoReflectsAllAuthorizations()
DKeyFactoryTest.java165 MoreAsserts.assertEmpty(Arrays.asList(keyInfo.getSignaturePaddings())); in testGetKeySpecWithKeystorePrivateKeyAndKeyInfoReflectsAllAuthorizations()
DKeyGeneratorTest.java761 MoreAsserts.assertEmpty(Arrays.asList(keyInfo.getSignaturePaddings())); in testGenerateHonorsRequestedAuthorizationsHelper()
/cts/tests/tests/companion/uiautomation/src/android/companion/cts/uiautomation/
DUiAutomationTestBase.kt47 import android.companion.cts.common.assertEmpty in <lambda>()
171 assertEmpty(callback.invocations) in <lambda>()
191 assertEmpty(cdm.myAssociations) in <lambda>()
223 assertEmpty(cdm.myAssociations) in <lambda>()
/cts/hostsidetests/devicepolicy/app/CorpOwnedManagedProfile/src/com/android/cts/comp/
DManagementTest.java82 MoreAsserts.assertEmpty(mDevicePolicyManager.getBindDeviceAdminTargetUsers( in testNoBindDeviceAdminTargetUsers()
/cts/tests/tests/companion/common/src/android/companion/cts/common/
DTestBase.kt90 assertEmpty(withShellPermissionIdentity { in base_setUp()
253 fun <T> assertEmpty(list: Collection<T>) = assertTrue("Collection is not empty") { list.isEmpty() } in <lambda>() method