Home
last modified time | relevance | path

Searched refs:empty (Results 1 – 25 of 80) sorted by relevance

1234

/cts/tests/appsearch/src/com/android/cts/appsearch/external/app/
DJoinSpecCtsTest.java53 SearchSpec empty = new SearchSpec.Builder().build(); in testDefaultNestedSearchSpec() local
56 assertThat(joinSpec.getNestedSearchSpec().getJoinSpec()).isEqualTo(empty.getJoinSpec()); in testDefaultNestedSearchSpec()
57 assertThat(joinSpec.getNestedSearchSpec().getOrder()).isEqualTo(empty.getOrder()); in testDefaultNestedSearchSpec()
59 .isEqualTo(empty.getRankingStrategy()); in testDefaultNestedSearchSpec()
61 .isEqualTo(empty.getFilterPackageNames()); in testDefaultNestedSearchSpec()
63 .isEqualTo(empty.getFilterSchemas()); in testDefaultNestedSearchSpec()
65 .isEqualTo(empty.getFilterNamespaces()); in testDefaultNestedSearchSpec()
/cts/tests/autofillservice/src/android/autofillservice/cts/activities/
DEmptyActivity.java39 setContentView(R.layout.empty); in onCreate()
40 mEmptyView = findViewById(R.id.empty); in onCreate()
/cts/hostsidetests/backup/src/android/cts/backup/
DMultiUserBackupStateTest.java43 private Optional<Integer> mProfileUserId = Optional.empty();
68 mProfileUserId = Optional.empty(); in tearDown()
91 mProfileUserId = Optional.empty(); in testBackupDeactivatedWhenUserIsRemoved()
DProfileSerialNumberHostSideTest.java45 private Optional<Integer> mProfileUserId = Optional.empty();
67 mProfileUserId = Optional.empty(); in tearDown()
DProfileFullBackupRestoreHostSideTest.java39 private Optional<Integer> mProfileUserId = Optional.empty();
75 mProfileUserId = Optional.empty(); in tearDown()
DAutoRestoreHostSideTest.java44 private Optional<Boolean> mWasAutoRestoreEnabled = Optional.empty();
64 mWasAutoRestoreEnabled = Optional.empty(); in tearDown()
DProfileKeyValueBackupRestoreHostSideTest.java47 private Optional<Integer> mProfileUserId = Optional.empty();
83 mProfileUserId = Optional.empty(); in tearDown()
/cts/tests/credentials/src/android/credentials/cts/
DCtsCredentialProviderServiceDeviceTest.java213 Bundle empty = new Bundle(); in testGetPasswordCredentialRequest_serviceSetUp_onErrorInvokedForEmptyResponse() local
215 new GetCredentialRequest.Builder(empty) in testGetPasswordCredentialRequest_serviceSetUp_onErrorInvokedForEmptyResponse()
217 new CredentialOption.Builder(PASSWORD_CREDENTIAL_TYPE, empty, empty) in testGetPasswordCredentialRequest_serviceSetUp_onErrorInvokedForEmptyResponse()
255 Bundle empty = new Bundle(); in testGetPasswordCredentialRequest_invalidAllowedProviders_onErrorForEmptyResponse() local
257 new GetCredentialRequest.Builder(empty) in testGetPasswordCredentialRequest_invalidAllowedProviders_onErrorForEmptyResponse()
259 new CredentialOption.Builder(PASSWORD_CREDENTIAL_TYPE, empty, empty) in testGetPasswordCredentialRequest_invalidAllowedProviders_onErrorForEmptyResponse()
301 Bundle empty = new Bundle(); in testGetPasswordCredentialRequest_validAllowedProviders_onErrorForEmptyResponse() local
303 new GetCredentialRequest.Builder(empty) in testGetPasswordCredentialRequest_validAllowedProviders_onErrorForEmptyResponse()
305 new CredentialOption.Builder(PASSWORD_CREDENTIAL_TYPE, empty, empty) in testGetPasswordCredentialRequest_validAllowedProviders_onErrorForEmptyResponse()
380 Bundle empty = new Bundle(); in prepareGetPasswordCredentialRequest_serviceSetUp_onErrorInvokedForEmptyResponse() local
[all …]
/cts/tests/tests/os/src/android/os/cts/
DLocaleListTest.java104 final LocaleList empty = new LocaleList(); in testIndexOf() local
105 assertEquals(-1, empty.indexOf(Locale.US)); in testIndexOf()
118 final LocaleList empty = new LocaleList(); in testEquals() local
126 assertFalse(empty.equals(null)); in testEquals()
129 assertFalse(empty.equals(new Object())); in testEquals()
131 assertTrue(empty.equals(empty)); in testEquals()
134 assertFalse(empty.equals(oneMember)); in testEquals()
139 assertTrue(empty.equals(anotherEmpty)); in testEquals()
144 final LocaleList empty = new LocaleList(); in testHashCode() local
150 assertEquals(empty.hashCode(), anotherEmpty.hashCode()); in testHashCode()
[all …]
/cts/libs/json/src/com/android/json/stream/
DJsonWriter.java218 private JsonWriter open(JsonScope empty, String openBracket) throws IOException { in open() argument
220 mStack.add(empty); in open()
229 private JsonWriter close(JsonScope empty, JsonScope nonempty, String closeBracket) in close() argument
232 if (context != nonempty && context != empty) { in close()
/cts/tests/media/jni/
DNativeExtractorUnitTest.cpp187 AMediaFormat* empty = AMediaFormat_new(); in nativeTestIfGetFileFormatSucceedsBeforeSetDataSource() local
191 strcmp(AMediaFormat_toString(empty), AMediaFormat_toString(format)) != 0) { in nativeTestIfGetFileFormatSucceedsBeforeSetDataSource()
196 AMediaFormat_delete(empty); in nativeTestIfGetFileFormatSucceedsBeforeSetDataSource()
424 AMediaFormat* empty = AMediaFormat_new(); in nativeTestGetTrackFormatBeforeSetDataSource() local
427 strcmp(AMediaFormat_toString(empty), AMediaFormat_toString(format)) != 0) { in nativeTestGetTrackFormatBeforeSetDataSource()
432 AMediaFormat_delete(empty); in nativeTestGetTrackFormatBeforeSetDataSource()
445 AMediaFormat* empty = AMediaFormat_new(); in nativeTestGetTrackFormatForInvalidIndex() local
447 strcmp(AMediaFormat_toString(empty), AMediaFormat_toString(format)) != 0) { in nativeTestGetTrackFormatForInvalidIndex()
453 AMediaFormat_delete(empty); in nativeTestGetTrackFormatForInvalidIndex()
/cts/hostsidetests/packagemanager/dynamicmime/test/src/android/dynamicmime/testapp/util/
DIntentsResolutionHelper.java22 import static org.hamcrest.Matchers.empty;
64 assertThat("Missing match for " + mIntent, resolvedActivities, not(empty())); in getAny()
/cts/tests/tests/view/jni/
Dandroid_view_cts_InputDeviceKeyLayoutMapTest.cpp43 if (line.empty() || line[0] == '#') { in loadGenericKl()
63 if (!flags.empty()) { in loadGenericKl()
/cts/tests/tests/voiceinteraction/common/src/android/voiceinteraction/common/
DUtils.java393 boolean empty = true; in toBundleString()
395 empty = false; in toBundleString()
401 empty = false; in toBundleString()
406 empty = false; in toBundleString()
414 return empty ? "empty_bundle" : buf.append(']').toString(); in toBundleString()
/cts/common/device-side/interactive/src/main/java/com/android/interactive/
DAutomatingStep.java44 return Optional.empty(); in validate()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DPreferredMixerAttributesTestActivity.java115 R.string.empty, in detectUsbDeviceConnectionAndRunTest()
116 R.string.empty, in detectUsbDeviceConnectionAndRunTest()
122 R.string.empty, in detectUsbDeviceConnectionAndRunTest()
213 R.string.empty, in displayTestResult()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/streamquality/
DStreamingVideoActivity.java145 TextView empty = (TextView) findViewById(android.R.id.empty); in onCreate() local
146 empty.setText(R.string.sv_no_data); in onCreate()
/cts/tests/tests/theme/src/android/theme/cts/
DDeviceDefaultActivity.java40 setContentView(R.layout.empty); in onCreate()
/cts/tests/tests/security/native/verified_boot/
DVerifiedBootTest.cpp130 if (hash_alg.empty()) in TEST()
153 android::base::GetProperty("ro.product.cpu.abilist64", "").empty()) in TEST()
/cts/tests/framework/base/windowmanager/src/android/server/wm/intent/
DLaunchSequence.java107 return new ConsecutiveLaunch(this, intent, false, Optional.empty()); in append()
126 return new ConsecutiveLaunch(this, intent, true, Optional.empty()); in act()
/cts/hostsidetests/appsecurity/test-apps/KeyRotationTest/src/android/appsecurity/cts/keyrotationtest/utils/
DSignatureUtils.java41 return Optional.empty(); in computeSha256Digest()
/cts/common/device-side/interactive/src/main/java/com/android/interactive/steps/
DActAndWaitStep.java53 return mChecker.get() ? Optional.of(Nothing.NOTHING) : Optional.empty(); in validate()
DCompositionStep.java42 return mPassed ? Optional.of(Nothing.NOTHING) : Optional.empty(); in getValue()
/cts/tests/tests/media/projection/src/android/media/projection/cts/
DMediaProjectionCustomIntentActivity.java45 mProvidedScreenCaptureIntent = Optional.empty(); in onCreate()
/cts/hostsidetests/securitybulletin/utils/binary_loader_utils/src/
Dbinary_loader.cpp21 if (!absoluteBinPath.empty()) { in BinaryLoader()

1234