/cts/apps/CtsVerifierUSBCompanion/src/com/android/cts/verifierusbcompanion/ |
D | DeviceTestCompanion.java | 186 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 …]
|
D | AccessoryTestCompanion.java | 289 @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/ |
D | AppSearchBatchResultCtsTest.java | 35 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()
|
D | AppSearchResultCtsTest.java | 31 assertThat(result.isSuccess()).isTrue(); in testNewSuccessfulResult()
|
D | AppSearchSessionCtsTestBase.java | 1695 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 …]
|
D | GlobalSearchSessionCtsTestBase.java | 162 assertThat(nonExistent.isSuccess()).isFalse(); in testGlobalGetById() 2111 assertThat(getResponse.isSuccess()).isTrue(); in testRegisterObserver_schemaMigration()
|
D | AppSearchSchemaMigrationCtsTestBase.java | 564 assertThat(actualResult.isSuccess()).isFalse(); in testSchemaMigration()
|
/cts/tests/tests/telephony/current/src/android/telephony/gba/cts/ |
D | GbaServiceTest.java | 120 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 …]
|
D | TestGbaService.java | 42 boolean isSuccess = mConfig.isAuthSuccess(); in onAuthenticationRequest() 47 if (isSuccess) { in onAuthenticationRequest()
|
/cts/tests/appsearch/src/com/android/cts/appsearch/functions/ |
D | AppFunctionManagerCtsTest.java | 116 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/ |
D | AppSearchExceptionCtsTest.java | 33 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/ |
D | CtsAttentionServiceDeviceTest.java | 225 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/ |
D | ActivityResult.java | 71 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/ |
D | EnterpriseGlobalSearchSessionShimImpl.java | 75 if (!instance.isSuccess()) { in createEnterpriseGlobalSearchSessionAsync() 133 if (!result.isSuccess()) {
|
D | SearchResultsShimImpl.java | 65 if (!result.isSuccess()) { in transformResult()
|
D | GlobalSearchSessionShimImpl.java | 156 if (!result.isSuccess()) { in transformResult()
|
D | AppSearchSessionShimImpl.java | 226 if (!result.isSuccess()) { in transformResult()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/net/ |
D | MultiNetworkConnectivityTestActivity.java | 308 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/ |
D | BugreportManagerTest.java | 130 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/ |
D | CarUserManagerTest.java | 165 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/ |
D | AppSearchTestUtils.java | 53 .that(result.isSuccess()) in checkIsBatchResultSuccess()
|
/cts/hostsidetests/appsearch/test-apps/AppSearchHostTestHelperA/src/android/appsearch/app/helper_a/ |
D | EnterpriseContactsDeviceTest.java | 224 assertThat(getResult.isSuccess()).isTrue(); in testGetEnterpriseContact() 276 assertThat(getResult.isSuccess()).isTrue(); in testGetEnterpriseContact_withProjection()
|
/cts/tests/appsearch/src/com/android/cts/appsearch/app/ |
D | GlobalSearchSessionServiceCtsTestBase.java | 769 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/ |
D | MultiUserMultiDisplayWindowSecurityTest.java | 207 assertThat(result.isSuccess()).isTrue(); in createNewUser()
|
/cts/tests/tests/media/decoder/src/android/media/decoder/cts/ |
D | DecodeAccuracyTest.java | 300 assertTrue(playerResult.getFailureMessage(), playerResult.isSuccess()); in decodeVideo()
|