Home
last modified time | relevance | path

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

12345678910>>...41

/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.java74 assertTrue(path.isEmpty()); in testAddRect1()
77 assertFalse(path.isEmpty()); in testAddRect1()
83 assertTrue(path.isEmpty()); in testAddRect2()
85 assertFalse(path.isEmpty()); in testAddRect2()
98 assertTrue(path.isEmpty()); in testSet()
151 assertTrue(path.isEmpty()); in testRQuadTo()
153 assertFalse(path.isEmpty()); in testRQuadTo()
159 assertTrue(path.isEmpty()); in testTransform1()
163 assertFalse(dst.isEmpty()); in testTransform1()
169 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.java89 if (!TextUtils.isEmpty(biometricLabel) || !TextUtils.isEmpty(credentialLabel)) { in test_getButtonLabel_isDifferentForDistinctAuthTypes()
106 !TextUtils.isEmpty(biometricLabel) || !TextUtils.isEmpty(credentialLabel); in test_getButtonLabel_isNonEmptyIfPresentForSubAuthType()
109 isBiometricOrCredentialLabel = TextUtils.isEmpty(credentialLabel); in test_getButtonLabel_isNonEmptyIfPresentForSubAuthType()
111 isBiometricOrCredentialLabel = TextUtils.isEmpty(biometricOrCredentialLabel); in test_getButtonLabel_isNonEmptyIfPresentForSubAuthType()
124 if (!TextUtils.isEmpty(biometricMessage) || !TextUtils.isEmpty(credentialMessage)) { in test_getPromptMessage_isDifferentForDistinctAuthTypes()
137 if (!TextUtils.isEmpty(biometricMessage) || !TextUtils.isEmpty(bioOrCredMessage)) { in test_getPromptMessage_isDifferentForBiometricsIfCredentialAllowed()
155 TextUtils.isEmpty(mBiometricManager.getStrings(BIOMETRIC_WEAK).getSettingName())); in test_getSettingName_forBiometrics()
157 TextUtils.isEmpty(mBiometricManager.getStrings(BIOMETRIC_WEAK | DEVICE_CREDENTIAL) in test_getSettingName_forBiometrics()
173 TextUtils.isEmpty(mBiometricManager.getStrings(DEVICE_CREDENTIAL) in test_getSettingName_forCredential()
176 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/tests/ondeviceintelligence/src/android/ondeviceintelligence/cts/
DOnDeviceIntelligenceServiceTest.java81 TextUtils.isEmpty(sanboxedServiceComponentName) && TextUtils.isEmpty( in bothServicesShouldBeConfiguredIfEitherIsNotEmpty()
84 if (!TextUtils.isEmpty(sanboxedServiceComponentName) || !TextUtils.isEmpty( in bothServicesShouldBeConfiguredIfEitherIsNotEmpty()
86 assertFalse(TextUtils.isEmpty(sanboxedServiceComponentName)); in bothServicesShouldBeConfiguredIfEitherIsNotEmpty()
87 assertFalse(TextUtils.isEmpty(intelligenceServiceComponentName)); in bothServicesShouldBeConfiguredIfEitherIsNotEmpty()
93 assumeFalse("Service not configured.", TextUtils.isEmpty(sanboxedServiceComponentName)); in sandboxedServiceConfiguredShouldBeIsolated()
/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/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/media/common/src/android/mediav2/common/cts/
DCodecAsyncHandler.java208 if (mCbInputQueue.isEmpty()) { in getInput()
226 if (mCbOutputQueue.isEmpty()) { in getOutput()
244 if (mCbInputQueue.isEmpty() && mCbOutputQueue.isEmpty()) { in getWork()
247 if (!mCbOutputQueue.isEmpty()) { in getWork()
262 boolean isEmpty = true; in isInputQueueEmpty()
265 isEmpty = mCbInputQueue.isEmpty(); in isInputQueueEmpty()
269 return isEmpty; in isInputQueueEmpty()
DCodecAsyncHandlerMultiAccessUnits.java101 if (mCbOutputQueue.isEmpty()) { in getOutputs()
120 if (mCbInputQueue.isEmpty() && mCbOutputQueue.isEmpty()) { in getWorkList()
123 if (!mCbOutputQueue.isEmpty()) { in getWorkList()
/cts/tests/tests/security/src/android/security/cts/BUG_383328827/
DBUG_383328827.java50 boolean isEmpty = pocOutput.trim().isEmpty(); in testPocBug_383328827()
53 .that(isEmpty) in testPocBug_383328827()
/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/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/hostsidetests/shortcuts/deviceside/backup/publisher1/src/android/content/pm/cts/shortcut/backup/publisher1/
DShortcutManagerPostBackupTest.java25 .isEmpty(); in testWithUninstall()
43 .isEmpty(); in testWithNoUninstall()
/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/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/device/
DDevice.java79 .validate(String::isEmpty) in wakeUp()
95 .validate(String::isEmpty) in sleep()
110 .validate(String::isEmpty) in unlock()
126 .validate(String::isEmpty) in keepScreenOn()
/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()

12345678910>>...41