Home
last modified time | relevance | path

Searched refs:isEmpty (Results 1 – 25 of 920) sorted by relevance

12345678910>>...37

/cts/tests/tests/appop/AppThatUsesAppOps/src/android/app/appops/cts/appthatusesappops/
DAppOpsUserService.kt105 assertThat(asyncNoted).isEmpty() in noteSyncOpFromNativeCode()
106 assertThat(noted).isEmpty() in noteSyncOpFromNativeCode()
110 assertThat(noted).isEmpty() in noteSyncOpFromNativeCode()
111 assertThat(selfNoted).isEmpty() in noteSyncOpFromNativeCode()
131 assertThat(noted).isEmpty() in noteSyncOpFromNativeCode()
132 assertThat(selfNoted).isEmpty() in noteSyncOpFromNativeCode()
144 assertThat(selfNoted).isEmpty() in noteSyncOpFromNativeCode()
145 assertThat(asyncNoted).isEmpty() in noteSyncOpFromNativeCode()
156 assertThat(selfNoted).isEmpty() in noteSyncOpFromNativeCode()
157 assertThat(asyncNoted).isEmpty() in noteSyncOpFromNativeCode()
[all …]
/cts/tests/tests/graphics/src/android/graphics/cts/
DPathTest.java79 assertTrue(path.isEmpty()); in testAddRect1()
82 assertFalse(path.isEmpty()); in testAddRect1()
88 assertTrue(path.isEmpty()); in testAddRect2()
90 assertFalse(path.isEmpty()); in testAddRect2()
103 assertTrue(path.isEmpty()); in testSet()
156 assertTrue(path.isEmpty()); in testRQuadTo()
158 assertFalse(path.isEmpty()); in testRQuadTo()
164 assertTrue(path.isEmpty()); in testTransform1()
168 assertFalse(dst.isEmpty()); in testTransform1()
174 assertTrue(path.isEmpty()); in testLineTo()
[all …]
DOutlineTest.java41 assertTrue(outline.isEmpty()); in testDefaults()
102 assertTrue(outline.isEmpty());
105 assertTrue(outline.isEmpty());
108 assertTrue(outline.isEmpty());
111 assertFalse(outline.isEmpty());
117 assertFalse(outline.isEmpty());
129 assertTrue(outline.isEmpty());
132 assertTrue(outline.isEmpty());
135 assertTrue(outline.isEmpty());
138 assertFalse(outline.isEmpty());
[all …]
/cts/tests/tests/hardware/src/android/hardware/biometrics/cts/
DBiometricManagerTest.java92 if (!TextUtils.isEmpty(biometricLabel) || !TextUtils.isEmpty(credentialLabel)) { in test_getButtonLabel_isDifferentForDistinctAuthTypes()
109 !TextUtils.isEmpty(biometricLabel) || !TextUtils.isEmpty(credentialLabel); in test_getButtonLabel_isNonEmptyIfPresentForSubAuthType()
112 isBiometricOrCredentialLabel = TextUtils.isEmpty(credentialLabel); in test_getButtonLabel_isNonEmptyIfPresentForSubAuthType()
114 isBiometricOrCredentialLabel = TextUtils.isEmpty(biometricOrCredentialLabel); in test_getButtonLabel_isNonEmptyIfPresentForSubAuthType()
127 if (!TextUtils.isEmpty(biometricMessage) || !TextUtils.isEmpty(credentialMessage)) { in test_getPromptMessage_isDifferentForDistinctAuthTypes()
140 if (!TextUtils.isEmpty(biometricMessage) || !TextUtils.isEmpty(bioOrCredMessage)) { in test_getPromptMessage_isDifferentForBiometricsIfCredentialAllowed()
158 TextUtils.isEmpty(mBiometricManager.getStrings(BIOMETRIC_WEAK).getSettingName())); in test_getSettingName_forBiometrics()
160 TextUtils.isEmpty(mBiometricManager.getStrings(BIOMETRIC_WEAK | DEVICE_CREDENTIAL) in test_getSettingName_forBiometrics()
176 TextUtils.isEmpty(mBiometricManager.getStrings(DEVICE_CREDENTIAL) in test_getSettingName_forCredential()
179 TextUtils.isEmpty(mBiometricManager.getStrings(BIOMETRIC_WEAK | DEVICE_CREDENTIAL) in test_getSettingName_forCredential()
/cts/hostsidetests/packagemanager/parsing/host/src/android/content/pm/parsing/cts/host/
DUsesSdkTest.kt65 assertThat(result.error).isEmpty() in defaultsNoTag()
80 assertThat(result.error).isEmpty() in defaultsWithTag()
95 assertThat(result.error).isEmpty() in missingMinDefaults()
110 assertThat(result.error).isEmpty() in missingTargetCoercedToMin()
130 assertThat(result.error).isEmpty() in takeAndroidTargetSdk()
148 assertThat(result.error).isEmpty() in emptyUsesSdk()
164 assertThat(result.error).isEmpty() in takeLastTargetSdk()
180 assertThat(result.error).isEmpty() in takeLastMinSdk()
201 assertThat(result.error).isEmpty() in takeLastExtensionSdk()
219 assertThat(result.error).isEmpty() in lastDeclarationOverridesAllPrevious()
[all …]
/cts/hostsidetests/shortcuts/deviceside/backup/publisher4old/src/android/content/pm/cts/shortcut/backup/publisher4/
DShortcutManagerPostBackupTest.java39 .isEmpty(); in testRestoredOnOldVersion()
105 .isEmpty(); in testBackupDisabled()
143 .isEmpty(); in testRestoreWrongKey()
178 .isEmpty(); in testRestoreNoManifestOnOldVersion()
181 .isEmpty(); in testRestoreNoManifestOnOldVersion()
195 .isEmpty(); in testRestoreNoManifestOnNewVersion()
198 .isEmpty(); in testRestoreNoManifestOnNewVersion()
211 assertWith(getManager().getDynamicShortcuts()).isEmpty(); in assertNoShortcuts()
212 assertWith(getManager().getManifestShortcuts()).isEmpty(); in assertNoShortcuts()
278 assertTrue(TextUtils.isEmpty(si.getLongLabel())); in testInvisibleIgnored()
/cts/tests/ondeviceintelligence/src/android/ondeviceintelligence/cts/
DOnDeviceIntelligenceServiceTest.java69 TextUtils.isEmpty(sanboxedServiceComponentName) && TextUtils.isEmpty( in bothServicesShouldBeConfiguredIfEitherIsNotEmpty()
72 if (!TextUtils.isEmpty(sanboxedServiceComponentName) || !TextUtils.isEmpty( in bothServicesShouldBeConfiguredIfEitherIsNotEmpty()
74 assertFalse(TextUtils.isEmpty(sanboxedServiceComponentName)); in bothServicesShouldBeConfiguredIfEitherIsNotEmpty()
75 assertFalse(TextUtils.isEmpty(intelligenceServiceComponentName)); in bothServicesShouldBeConfiguredIfEitherIsNotEmpty()
81 assumeFalse("Service not configured.", TextUtils.isEmpty(sanboxedServiceComponentName)); in sandboxedServiceConfiguredShouldBeIsolated()
/cts/tests/media/common/src/android/mediav2/common/cts/
DCodecAsyncHandler.java177 if (mCbInputQueue.isEmpty()) { in getInput()
195 if (mCbOutputQueue.isEmpty()) { in getOutput()
213 if (mCbInputQueue.isEmpty() && mCbOutputQueue.isEmpty()) { in getWork()
216 if (!mCbOutputQueue.isEmpty()) { in getWork()
231 boolean isEmpty = true; in isInputQueueEmpty()
234 isEmpty = mCbInputQueue.isEmpty(); in isInputQueueEmpty()
238 return isEmpty; in isInputQueueEmpty()
DCodecAsyncHandlerMultiAccessUnits.java99 if (mCbOutputQueue.isEmpty()) { in getOutputs()
118 if (mCbInputQueue.isEmpty() && mCbOutputQueue.isEmpty()) { in getWorkList()
121 if (!mCbOutputQueue.isEmpty()) { in getWorkList()
/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/
DTestSipDelegateConnection.java217 regState.getRegisteredFeatureTags().isEmpty()); in verifyRegistrationStateRegistered()
221 notRegistered.isEmpty()); in verifyRegistrationStateRegistered()
222 assertTrue(regState.getDeregisteringFeatureTags().isEmpty()); in verifyRegistrationStateRegistered()
223 assertTrue(regState.getDeregisteredFeatureTags().isEmpty()); in verifyRegistrationStateRegistered()
224 assertTrue(regState.getRegisteringFeatureTags().isEmpty()); in verifyRegistrationStateRegistered()
229 assertTrue(regState.getRegisteredFeatureTags().isEmpty()); in verifyRegistrationStateEmpty()
230 assertTrue(regState.getDeregisteringFeatureTags().isEmpty()); in verifyRegistrationStateEmpty()
231 assertTrue(regState.getDeregisteredFeatureTags().isEmpty()); in verifyRegistrationStateEmpty()
232 assertTrue(regState.getRegisteringFeatureTags().isEmpty()); in verifyRegistrationStateEmpty()
258 assertTrue(deniedTags.isEmpty()); in verifyNoneDenied()
[all …]
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DCliIntentExtra.java36 if (TextUtils.isEmpty(option)) { in CliIntentExtra()
39 if (TextUtils.isEmpty(key)) { in CliIntentExtra()
42 if (TextUtils.isEmpty(value)) { in CliIntentExtra()
/cts/hostsidetests/shortcuts/deviceside/backup/launcher1/src/android/content/pm/cts/shortcut/backup/launcher1/
DShortcutManagerPostBackupTest.java32 assertWith(getPackageShortcuts(ShortcutManagerPreBackupTest.PUBLISHER1_PKG)).isEmpty(); in testWithUninstall_beforeAppRestore()
33 assertWith(getPackageShortcuts(ShortcutManagerPreBackupTest.PUBLISHER2_PKG)).isEmpty(); in testWithUninstall_beforeAppRestore()
34 assertWith(getPackageShortcuts(ShortcutManagerPreBackupTest.PUBLISHER3_PKG)).isEmpty(); in testWithUninstall_beforeAppRestore()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DSuspendPackageTest.java45 assertWithMessage("packages not suspended").that(notHandled).isEmpty(); in testSetPackagesSuspended()
59 assertWithMessage("notHandlePackages").that(notHandledPackages).isEmpty(); in testSetPackagesSuspendedWithPackageManager()
68 assertWithMessage("packages not handled").that(notHandled).isEmpty(); in testSetPackagesNotSuspendedWithPackageManager()
78 assertWithMessage("packages not suspended").that(notHandled).isEmpty(); in testSetPackagesNotSuspended()
97 if (exemptApps.isEmpty()) { in testSuspendNotSuspendablePackages()
/cts/tests/tests/graphics/src/android/graphics/drawable/shapes/cts/
DRoundRectShapeTest.java118 assertTrue(outline.isEmpty()); in testGetOutline()
124 assertFalse(outline.isEmpty()); in testGetOutline()
135 assertTrue(outline.isEmpty()); in testGetOutline()
141 assertFalse(outline.isEmpty()); in testGetOutline()
152 assertTrue(outline.isEmpty()); in testGetOutline()
158 assertFalse(outline.isEmpty()); in testGetOutline()
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/media/
DHdrCapabilitiesTests.java72 assertFalse(atoms.isEmpty()); in fetchIsHdrOutputControlSupportedFromMetrics()
101 assertFalse(atoms.isEmpty()); in testForceHdrFormat()
114 assertFalse(atoms.isEmpty()); in testForceHdrFormat()
130 assertFalse(atoms.isEmpty()); in testHasUserDisabledHdrConversion()
140 assertFalse(atoms.isEmpty()); in testHasUserDisabledHdrConversion()
149 assertFalse(atoms.isEmpty()); in testHasUserDisabledHdrConversion()
181 assertFalse(atoms.isEmpty()); in testDeviceHdrOutputCapabilities()
216 assertFalse(atoms.isEmpty()); in testHas4k30DolbyVisionIssue()
/cts/tests/tests/security/src/android/security/cts/
DCVE_2022_20485.java113 if (checkName && !TextUtils.isEmpty(fromParcel.getName())) { in testNullableFields()
230 .that(violations.isEmpty()) in testPocCVE_2022_20478()
250 .that(violations.isEmpty()) in testPocCVE_2022_20479()
273 .that(violations.isEmpty()) in testPocCVE_2022_20480()
295 .that(violations.isEmpty()) in testPocCVE_2022_20484()
317 .that(violations.isEmpty()) in testPocCVE_2022_20485()
339 .that(violations.isEmpty()) in testPocCVE_2022_20486()
357 .that(violations.isEmpty()) in testPocCVE_2022_20487()
379 .that(violations.isEmpty()) in testPocCVE_2022_20488()
397 .that(violations.isEmpty()) in testPocCVE_2022_20491()
/cts/tests/tests/os/src/android/os/cts/
DSystemConfigTest.java56 TextUtils.isEmpty(app)); in testGetDisabledUntilUsedPreinstalledCarrierApps()
72 TextUtils.isEmpty(app)); in testGetDisabledUntilUsedPreinstalledCarrierAssociatedApps()
77 TextUtils.isEmpty(helperApp)); in testGetDisabledUntilUsedPreinstalledCarrierAssociatedApps()
/cts/hostsidetests/shortcuts/deviceside/backup/publisher1/src/android/content/pm/cts/shortcut/backup/publisher1/
DShortcutManagerPostBackupTest.java25 .isEmpty(); in testWithUninstall()
43 .isEmpty(); in testWithNoUninstall()
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/statsd/
DUidAtomTests.java177 if (!atoms.isEmpty()) { in testLmkKillOccurred()
583 assertThat(pictureInPictureStateChangedData).isEmpty(); in testPictureInPictureState()
768 assertThat(attrChain.get(1).getTag()).isEmpty();
806 assertThat(atom.getRepeatedIntFieldList()).isEmpty();
807 assertThat(atom.getRepeatedLongFieldList()).isEmpty();
808 assertThat(atom.getRepeatedFloatFieldList()).isEmpty();
809 assertThat(atom.getRepeatedStringFieldList()).isEmpty();
810 assertThat(atom.getRepeatedBooleanFieldList()).isEmpty();
811 assertThat(atom.getRepeatedEnumFieldList()).isEmpty();
819 assertThat(attrChain.get(0).getTag()).isEmpty();
[all …]
/cts/tests/tests/shortcutmanager/src/android/content/pm/cts/shortcutmanager/
DShortcutManagerClientApiTest.java279 .isEmpty(); in testSetDynamicShortcuts()
281 .isEmpty(); in testSetDynamicShortcuts()
299 .isEmpty(); in testSetDynamicShortcuts()
301 .isEmpty(); in testSetDynamicShortcuts()
320 .isEmpty(); in testSetDynamicShortcuts()
322 .isEmpty(); in testSetDynamicShortcuts()
339 .isEmpty(); in testSetDynamicShortcuts()
341 .isEmpty(); in testSetDynamicShortcuts()
350 .isEmpty(); in testSetDynamicShortcuts()
352 .isEmpty(); in testSetDynamicShortcuts()
[all …]
/cts/tests/location/location_none/src/android/location/cts/none/
DLocationDisabledAppOpsTest.java110 if (!bypassedNoteOps.isEmpty()) { in testLocationAppOpIsIgnoredForAppsWhenLocationIsDisabled()
113 if (!bypassedCheckOps.isEmpty()) { in testLocationAppOpIsIgnoredForAppsWhenLocationIsDisabled()
114 msg += (msg.isEmpty() ? "" : "\n\n") in testLocationAppOpIsIgnoredForAppsWhenLocationIsDisabled()
117 if (!msg.isEmpty()) { in testLocationAppOpIsIgnoredForAppsWhenLocationIsDisabled()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-0441/src/android/security/cts/CVE_2021_0441/
DDeviceTest.java83 assumeFalse(objectsAlertTitle.isEmpty() && objectsMessage.isEmpty()); in testCVE_2021_0441()
85 if (!objectsAlertTitle.isEmpty() && objectsMessage.isEmpty()) { in testCVE_2021_0441()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/performance/
DCameraTestInstrumentation.java70 if (keys.isEmpty()) { in sendStatus()
92 if ((message == null) || (message.isEmpty()) || (values == null) || in sendStatus()
93 (values.length == 0) || (source == null) || (source.isEmpty())) { in sendStatus()
/cts/common/device-side/bedstead/queryable/src/main/java/com/android/queryable/
DQueryable.java40 return Arrays.stream(queryStrings).filter(i -> i != null && !i.isEmpty()) in joinQueryStrings()
50 return queryStrings.stream().filter(i -> i != null && !i.isEmpty()) in joinQueryStrings()
/cts/tests/tests/media/bettertogether/src/android/media/bettertogether/cts/
DResourceReleaser.java63 while (!mPendingRunnables.isEmpty()) { in after()
73 .isEmpty(); in after()

12345678910>>...37