Home
last modified time | relevance | path

Searched refs:isSuccess (Results 1 – 13 of 13) sorted by relevance

/cts/apps/CtsVerifierUSBCompanion/src/com/android/cts/verifierusbcompanion/
DDeviceTestCompanion.java186 boolean isSuccess = true; in runTest()
189 testName = nextTest(is, os, isSuccess); in runTest()
196 isSuccess = true; in runTest()
199 isSuccess = echoBytes(is, os, 1); in runTest()
202 isSuccess = echoBytes(is, os, 42); in runTest()
205 isSuccess = echoBytes(is, os, 16384); in runTest()
208 isSuccess = echoBytes(is, os, LARGE_BUFFER_SIZE); in runTest()
213 isSuccess = true; in runTest()
217 isSuccess = true; in runTest()
220 isSuccess = echoUntilStopSignal(is, os); in runTest()
[all …]
DAccessoryTestCompanion.java289 @NonNull UsbEndpoint in, @NonNull UsbEndpoint out, boolean isSuccess) { in nextTest() argument
303 numTransferred = connection.bulkTransfer(out, new byte[]{(byte) (isSuccess ? 1 : 0)}, 1, 0); in nextTest()
/cts/tests/appsearch/src/com/android/cts/appsearch/external/app/
DAppSearchBatchResultCtsTest.java35 assertThat(result.isSuccess()).isTrue(); in testIsSuccess_true()
56 assertThat(result1.isSuccess()).isFalse(); in testIsSuccess_false()
57 assertThat(result2.isSuccess()).isFalse(); in testIsSuccess_false()
74 assertThat(result1.isSuccess()).isFalse(); in testIsSuccess_replace()
75 assertThat(result2.isSuccess()).isTrue(); in testIsSuccess_replace()
94 assertThat(result.isSuccess()).isFalse(); in testGetters()
DAppSearchSessionCtsTestBase.java495 assertThat(result.isSuccess()).isFalse(); in testUpdateSchema()
568 assertThat(getResult.isSuccess()).isFalse(); in testRemoveSchema()
580 assertThat(failResult2.isSuccess()).isFalse(); in testRemoveSchema()
650 assertThat(getResult.isSuccess()).isFalse(); in testRemoveSchema_twoDatabases()
662 assertThat(failResult2.isSuccess()).isFalse(); in testRemoveSchema_twoDatabases()
710 assertThat(failResult.isSuccess()).isFalse(); in testGetDocuments()
2253 assertThat(getResult.isSuccess()).isFalse(); in testRemove()
2315 assertThat(getResult.isSuccess()).isFalse(); in testRemove_multipleIds()
2364 assertThat(getResult.isSuccess()).isFalse(); in testRemoveByQuery()
2380 assertThat(getResult.isSuccess()).isFalse(); in testRemoveByQuery()
[all …]
DAppSearchSchemaMigrationCtsTestBase.java545 assertThat(actualResult.isSuccess()).isFalse(); in testSchemaMigration()
/cts/tests/tests/telephony/current/src/android/telephony/gba/cts/
DGbaServiceTest.java131 final AtomicBoolean isSuccess = new AtomicBoolean(false); in testAuthSuccess() local
142 synchronized (isSuccess) { in testAuthSuccess()
143 isSuccess.set(true); in testAuthSuccess()
144 isSuccess.notify(); in testAuthSuccess()
151 synchronized (isSuccess) { in testAuthSuccess()
153 isSuccess.notify(); in testAuthSuccess()
166 waitForMs(isSuccess, REQ_TIMEOUT); in testAuthSuccess()
168 assertTrue(isSuccess.get()); in testAuthSuccess()
202 final AtomicBoolean isSuccess = new AtomicBoolean(false); in runGbaFailCase() local
209 isSuccess.set(true); in runGbaFailCase()
[all …]
DTestGbaService.java42 boolean isSuccess = mConfig.isAuthSuccess(); in onAuthenticationRequest()
47 if (isSuccess) { in onAuthenticationRequest()
/cts/tests/appsearch/src/com/android/cts/appsearch/external/exceptions/
DAppSearchExceptionCtsTest.java33 assertThat(result.isSuccess()).isFalse(); in testNoMessageException()
44 assertThat(result.isSuccess()).isFalse(); in testExceptionWithMessage()
59 assertThat(result.isSuccess()).isFalse(); in testExceptionWithThrowable()
/cts/tests/attentionservice/src/android/attentionservice/cts/
DCtsAttentionServiceDeviceTest.java156 Boolean isSuccess = runShellCommand("cmd attention call checkAttention") in callCheckAttention() local
158 assertThat(isSuccess).isTrue(); in callCheckAttention()
/cts/tests/tests/carrierapi/src/android/carrierapi/cts/
DBugreportManagerTest.java122 assertThat(callback.isSuccess()).isTrue(); in startConnectivityBugreport()
193 assertThat(callback1.isSuccess()).isTrue(); in simultaneousBugreportsNotAllowed()
240 assertThat(callback.isSuccess()).isTrue(); in startBugreport_connectivityBugreport()
332 public synchronized boolean isSuccess() { in isSuccess() method in BugreportManagerTest.BugreportCallbackImpl
/cts/apps/CtsVerifier/src/com/android/cts/verifier/net/
DMultiNetworkConnectivityTestActivity.java303 requestUserEnableWifiAsync(false, (isSuccess) -> { in toggleWifiAsync()
304 if (isSuccess) { in toggleWifiAsync()
1043 void onComplete(boolean isSuccess); in onComplete() argument
/cts/tests/tests/media/src/android/media/cts/
DDecodeAccuracyTest.java258 assertTrue(playerResult.getFailureMessage(), playerResult.isSuccess()); in decodeVideo()
DDecodeAccuracyTestBase.java575 public boolean isSuccess() { in isSuccess() method in DecodeAccuracyTestBase.SimplePlayer.PlayerResult