Home
last modified time | relevance | path

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

123

/cts/tests/tests/os/src/android/os/cts/
DLocaleListTest.java106 final LocaleList empty = new LocaleList(); in testIndexOf() local
107 assertEquals(-1, empty.indexOf(Locale.US)); in testIndexOf()
120 final LocaleList empty = new LocaleList(); in testEquals() local
128 assertFalse(empty.equals(null)); in testEquals()
131 assertFalse(empty.equals(new Object())); in testEquals()
133 assertTrue(empty.equals(empty)); in testEquals()
136 assertFalse(empty.equals(oneMember)); in testEquals()
141 assertTrue(empty.equals(anotherEmpty)); in testEquals()
146 final LocaleList empty = new LocaleList(); in testHashCode() local
152 assertEquals(empty.hashCode(), anotherEmpty.hashCode()); in testHashCode()
[all …]
/cts/tests/tests/voiceinteraction/common/src/android/voiceinteraction/common/
DUtils.java126 boolean empty = true; in toBundleString()
128 empty = false; in toBundleString()
134 empty = false; in toBundleString()
139 empty = false; in toBundleString()
147 return empty ? "empty_bundle" : buf.append(']').toString(); in toBundleString()
/cts/hostsidetests/backup/src/android/cts/backup/
DMultiUserBackupStateTest.java39 private Optional<Integer> mProfileUserId = Optional.empty();
58 mProfileUserId = Optional.empty(); in tearDown()
81 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()
DRestoreSessionHostSideTest.java53 private Optional<String> mOldTransport = Optional.empty();
69 mOldTransport = Optional.empty(); in tearDown()
DProfileKeyValueBackupRestoreHostSideTest.java47 private Optional<Integer> mProfileUserId = Optional.empty();
83 mProfileUserId = Optional.empty(); in tearDown()
DProfileScheduledJobHostSideTest.java68 private Optional<Integer> mProfileUserId = Optional.empty();
91 mProfileUserId = Optional.empty(); in tearDown()
DParallelUserBackupRestoreHostSideTest.java58 private Optional<Integer> mProfileUserId = Optional.empty();
88 mProfileUserId = Optional.empty(); in tearDown()
DBaseMultiUserBackupHostSideTest.java65 private Optional<Integer> mInitialUser = Optional.empty();
93 mInitialUser = Optional.empty(); in tearDown()
/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()
348 AMediaFormat* empty = AMediaFormat_new(); in nativeTestGetTrackFormatBeforeSetDataSource() local
351 strcmp(AMediaFormat_toString(empty), AMediaFormat_toString(format)) != 0) { in nativeTestGetTrackFormatBeforeSetDataSource()
356 AMediaFormat_delete(empty); in nativeTestGetTrackFormatBeforeSetDataSource()
369 AMediaFormat* empty = AMediaFormat_new(); in nativeTestGetTrackFormatForInvalidIndex() local
371 strcmp(AMediaFormat_toString(empty), AMediaFormat_toString(format)) != 0) { in nativeTestGetTrackFormatForInvalidIndex()
377 AMediaFormat_delete(empty); in nativeTestGetTrackFormatForInvalidIndex()
DNativeCodecTestBase.cpp85 if (mCbInputQueue.empty()) { in getInput()
100 if (mCbOutputQueue.empty()) { in getOutput()
115 if (mCbInputQueue.empty() && mCbOutputQueue.empty()) { in getWork()
118 if (!mCbOutputQueue.empty()) { in getWork()
134 return mCbInputQueue.empty(); in isInputQueueEmpty()
/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/autofillservice/src/android/autofillservice/cts/
DEmptyActivity.java38 setContentView(R.layout.empty); in onCreate()
39 mEmptyView = findViewById(R.id.empty); in onCreate()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/streamquality/
DStreamingVideoActivity.java155 TextView empty = (TextView) findViewById(android.R.id.empty); in onCreate() local
156 empty.setText(R.string.sv_no_data); in onCreate()
/cts/hostsidetests/jvmti/base/jni/
Dtracking.cpp95 is_empty = gCollection.empty(); in Java_android_jvmti_cts_JvmtiTrackingTest_getAndResetAllocationTrackingString()
101 if (result.empty()) { in Java_android_jvmti_cts_JvmtiTrackingTest_getAndResetAllocationTrackingString()
/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/tests/tests/jni/libjnitest/
Dandroid_jni_cts_LinkerNamespacesTest.cpp116 bool loaded_in_native = error.empty(); in load_library()
182 bool loaded = err.empty(); in check_lib()
247 while (!dirs.empty()) { in check_path()
447 if (!error_str.empty()) { in Java_android_jni_cts_LinkerNamespacesHelper_tryDlopen()
/cts/tests/tests/theme/src/android/theme/cts/
DDeviceDefaultActivity.java40 setContentView(R.layout.empty); in onCreate()
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/
DApiClass.java188 return Optional.empty(); in getMethod()
269 return Optional.empty(); in getConstructor()
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DAlertWindowsTests.java26 import static org.hamcrest.Matchers.empty;
163 assertThat("Should be empty alertWindows", alertWindows, empty()); in assertAlertWindows()
/cts/tests/tests/notificationlegacy/notificationlegacy20/
DOWNERS1 # DO NOT DELETE: OWNERS is intended to be empty as module owner and bug component are defined
/cts/tests/tests/notificationlegacy/notificationlegacy29/
DOWNERS1 # DO NOT DELETE: OWNERS is intended to be empty as module owner and bug component are defined
/cts/tests/tests/notificationlegacy/notificationlegacy27/
DOWNERS1 # DO NOT DELETE: OWNERS is intended to be empty as module owner and bug component are defined
/cts/tests/tests/notificationlegacy/notificationlegacy28/
DOWNERS1 # DO NOT DELETE: OWNERS is intended to be empty as module owner and bug component are defined

123