Home
last modified time | relevance | path

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

12

/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()
DAppSearchResultCtsTest.java31 assertThat(result.isSuccess()).isTrue(); in testNewSuccessfulResult()
DAppSearchSessionCtsTestBase.java1695 assertThat(result.isSuccess()).isTrue(); in testPutLargeDocumentBatch()
1725 assertThat(batchResult.isSuccess()).isTrue(); in testPutLargeDocumentBatch()
1853 assertThat(result.isSuccess()).isFalse(); in testUpdateSchema()
1929 assertThat(getResult.isSuccess()).isFalse(); in testRemoveSchema()
1941 assertThat(failResult2.isSuccess()).isFalse(); in testRemoveSchema()
2016 assertThat(getResult.isSuccess()).isFalse(); in testRemoveSchema_twoDatabases()
2028 assertThat(failResult2.isSuccess()).isFalse(); in testRemoveSchema_twoDatabases()
2081 assertThat(failResult.isSuccess()).isFalse(); in testGetDocuments()
4730 assertThat(getResult.isSuccess()).isFalse(); in testRemove()
4793 assertThat(getResult.isSuccess()).isFalse(); in testRemove_multipleIds()
[all …]
DGlobalSearchSessionCtsTestBase.java162 assertThat(nonExistent.isSuccess()).isFalse(); in testGlobalGetById()
2111 assertThat(getResponse.isSuccess()).isTrue(); in testRegisterObserver_schemaMigration()
DAppSearchSchemaMigrationCtsTestBase.java564 assertThat(actualResult.isSuccess()).isFalse(); in testSchemaMigration()
/cts/tests/tests/telephony/current/src/android/telephony/gba/cts/
DGbaServiceTest.java120 final AtomicBoolean isSuccess = new AtomicBoolean(false); in testAuthSuccess() local
131 synchronized (isSuccess) { in testAuthSuccess()
132 isSuccess.set(true); in testAuthSuccess()
133 isSuccess.notify(); in testAuthSuccess()
140 synchronized (isSuccess) { in testAuthSuccess()
142 isSuccess.notify(); in testAuthSuccess()
155 waitForMs(isSuccess, REQ_TIMEOUT); in testAuthSuccess()
157 assertTrue(isSuccess.get()); in testAuthSuccess()
183 final AtomicBoolean isSuccess = new AtomicBoolean(false); in runGbaFailCase() local
190 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/functions/
DAppFunctionManagerCtsTest.java116 assertThat(response.isSuccess()).isFalse(); in executeAppFunction_failed_noSuchMethod()
141 assertThat(response.isSuccess()).isTrue(); in executeAppFunction_onlyInvokeCallbackOnce()
166 assertThat(response.isSuccess()).isTrue(); in executeAppFunction_success()
181 assertThat(response.isSuccess()).isFalse(); in executeAppFunction_otherNonExistingOtherPackage()
198 assertThat(response.isSuccess()).isFalse(); in executeAppFunction_otherExistingTargetPackage()
217 assertThat(response.isSuccess()).isTrue(); in executeAppFunction_startActivity()
232 assertThat(response.isSuccess()).isFalse(); in executeAppFunction_throwsException()
246 assertThat(response.isSuccess()).isFalse(); in executeAppFunction_onRemoteProcessKilled()
262 assertThat(response.isSuccess()).isFalse(); in executeAppFunction_timedOut()
282 assertThat(response.isSuccess()).isTrue(); in executeAppFunction_success_async()
[all …]
/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.java225 Boolean isSuccess = runShellCommand("cmd attention call checkAttention") in callCheckAttention() local
227 assertThat(isSuccess).isTrue(); in callCheckAttention()
238 Boolean isSuccess = runShellCommand("cmd attention call onStartProximityUpdates") in callStartProximityUpdates() local
240 assertThat(isSuccess).isTrue(); in callStartProximityUpdates()
/cts/tests/tests/gameservice/src/android/service/games/testing/
DActivityResult.java71 public boolean isSuccess() { in isSuccess() method in ActivityResult
76 Preconditions.checkState(isSuccess()); in getSuccess()
81 Preconditions.checkState(!isSuccess()); in getFailure()
/cts/tests/appsearch/testutils/src/android/app/appsearch/testutil/
DEnterpriseGlobalSearchSessionShimImpl.java75 if (!instance.isSuccess()) { in createEnterpriseGlobalSearchSessionAsync()
133 if (!result.isSuccess()) {
DSearchResultsShimImpl.java65 if (!result.isSuccess()) { in transformResult()
DGlobalSearchSessionShimImpl.java156 if (!result.isSuccess()) { in transformResult()
DAppSearchSessionShimImpl.java226 if (!result.isSuccess()) { in transformResult()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/net/
DMultiNetworkConnectivityTestActivity.java308 requestUserEnableWifiAsync(false, (isSuccess) -> { in toggleWifiAsync()
309 if (isSuccess) { in toggleWifiAsync()
833 requestUserConnectToApAsync((isSuccess) -> { in connectToWifi() argument
834 if (isSuccess) { in connectToWifi()
883 requestUserConnectToApAsync((isSuccess) -> { in connectToWifi() argument
884 if (isSuccess) { in connectToWifi()
1032 void onComplete(boolean isSuccess); in onComplete() argument
1036 void onComplete(boolean isSuccess); in onComplete() argument
/cts/tests/tests/carrierapi/src/android/carrierapi/cts/
DBugreportManagerTest.java130 assertThat(callback.isSuccess()).isTrue(); in startConnectivityBugreport()
203 assertThat(callback1.isSuccess()).isTrue(); in simultaneousBugreportsNotAllowed()
252 assertThat(callback.isSuccess()).isTrue(); in startBugreport_connectivityBugreport()
344 public synchronized boolean isSuccess() { in isSuccess() method in BugreportManagerTest.BugreportCallbackImpl
/cts/tests/tests/car/src/android/car/cts/
DCarUserManagerTest.java165 userId, displayId).that(response.isSuccess()).isTrue()); in testStartUserOnDisplayAndStopUser()
202 userId, displayId).that(response.isSuccess()).isTrue()); in testStartUserOnDisplayAndStopUser()
440 .that(result.isSuccess()).isTrue(); in createUser()
/cts/tests/appsearch/testutils/src/android/app/appsearch/testutil/external/testutil/
DAppSearchTestUtils.java53 .that(result.isSuccess()) in checkIsBatchResultSuccess()
/cts/hostsidetests/appsearch/test-apps/AppSearchHostTestHelperA/src/android/appsearch/app/helper_a/
DEnterpriseContactsDeviceTest.java224 assertThat(getResult.isSuccess()).isTrue(); in testGetEnterpriseContact()
276 assertThat(getResult.isSuccess()).isTrue(); in testGetEnterpriseContact_withProjection()
/cts/tests/appsearch/src/com/android/cts/appsearch/app/
DGlobalSearchSessionServiceCtsTestBase.java769 assertThat(nonExistentResult.isSuccess()).isFalse(); in testAllowPermissions_sameError()
784 assertThat(unAuthResult.isSuccess()).isFalse(); in testAllowPermissions_sameError()
817 assertThat(nonExistent.isSuccess()).isFalse(); in testGlobalGetById_withAccess()
837 assertThat(result.isSuccess()).isFalse(); in testGlobalGetById_withoutAccess()
859 assertThat(nonExistentResult.isSuccess()).isFalse(); in testGlobalGetById_sameErrorMessages()
879 assertThat(unAuthResult.isSuccess()).isFalse(); in testGlobalGetById_sameErrorMessages()
900 assertThat(noGlobalResult.isSuccess()).isFalse(); in testGlobalGetById_sameErrorMessages()
/cts/tests/tests/car/src/android/car/app/cts/
DMultiUserMultiDisplayWindowSecurityTest.java207 assertThat(result.isSuccess()).isTrue(); in createNewUser()
/cts/tests/tests/media/decoder/src/android/media/decoder/cts/
DDecodeAccuracyTest.java300 assertTrue(playerResult.getFailureMessage(), playerResult.isSuccess()); in decodeVideo()

12