/cts/tests/appsearch/src/com/android/cts/appsearch/external/exceptions/ |
D | AppSearchExceptionCtsTest.java | 30 assertThat(e.getResultCode()).isEqualTo(AppSearchResult.RESULT_IO_ERROR); in testNoMessageException() 34 assertThat(result.getResultCode()).isEqualTo(AppSearchResult.RESULT_IO_ERROR); in testNoMessageException() 41 assertThat(e.getResultCode()).isEqualTo(AppSearchResult.RESULT_NOT_FOUND); in testExceptionWithMessage() 45 assertThat(result.getResultCode()).isEqualTo(AppSearchResult.RESULT_NOT_FOUND); in testExceptionWithMessage() 55 assertThat(e.getResultCode()).isEqualTo(AppSearchResult.RESULT_INVALID_ARGUMENT); in testExceptionWithThrowable() 60 assertThat(result.getResultCode()).isEqualTo(AppSearchResult.RESULT_INVALID_ARGUMENT); in testExceptionWithThrowable()
|
/cts/tests/tests/provider/src/android/provider/cts/ |
D | FontsContractTest.java | 195 assertEquals(Columns.RESULT_CODE_OK, font.getResultCode()); in querySingleFont() 212 assertEquals(Columns.RESULT_CODE_OK, font.getResultCode()); in queryMultipleFont() 234 assertEquals(Columns.RESULT_CODE_OK, font.getResultCode()); in queryAttributes() 242 assertEquals(Columns.RESULT_CODE_OK, font.getResultCode()); in queryAttributes() 259 assertEquals(Columns.RESULT_CODE_FONT_NOT_FOUND, font.getResultCode()); in queryNotFound() 275 assertEquals(Columns.RESULT_CODE_FONT_UNAVAILABLE, font.getResultCode()); in queryUnavailable() 291 assertEquals(Columns.RESULT_CODE_MALFORMED_QUERY, font.getResultCode()); in queryMalformed() 307 assertEquals(Columns.RESULT_CODE_OK, font.getResultCode()); in queryMultipleOneNotFound() 309 assertEquals(Columns.RESULT_CODE_FONT_NOT_FOUND, font2.getResultCode()); in queryMultipleOneNotFound() 329 assertEquals(Columns.RESULT_CODE_OK, font.getResultCode()); in queryMandatoryFieldsOnly()
|
D | MockFontProvider.java | 95 public int getResultCode() { in getResultCode() method in MockFontProvider.Font 200 builder.add(Columns.RESULT_CODE, font.getResultCode()); in buildCursor()
|
/cts/tests/tests/content/src/android/content/cts/ |
D | BroadcastReceiverTest.java | 162 if (getResultCode() == mExpectedInitialCode) { in onReceive() 178 assertEquals(0, internalReceiver.getResultCode()); in testOnReceive() 206 assertEquals(MockReceiver.RESULT_CODE, internalReceiver.getResultCode()); in testManifestReceiverPackage() 235 assertEquals(MockReceiver.RESULT_CODE, internalReceiver.getResultCode()); in testManifestReceiverComponent() 263 assertEquals(MockReceiver.RESULT_CODE, internalReceiver.getResultCode()); in testManifestReceiverPermission() 289 assertEquals(RESULT_INITIAL_CODE, internalReceiver.getResultCode()); in testNoManifestReceiver() 304 assertEquals(0, internalOrderReceiver.getResultCode()); in testAbortBroadcast() 323 assertEquals(RESULT_INTERNAL_FINAL_CODE, internalOrderReceiver.getResultCode()); in testAbortBroadcast() 342 assertEquals(0, lastReceiver.getResultCode()); in testDisabledBroadcastReceiver() 354 assertEquals(RESULT_INTERNAL_FINAL_CODE, lastReceiver.getResultCode()); in testDisabledBroadcastReceiver()
|
/cts/tests/app/src/android/app/cts/ |
D | Instrumentation_ActivityResultTest.java | 30 assertEquals(Activity.RESULT_OK, result.getResultCode()); in testActivityResultOp() 34 assertEquals(Activity.RESULT_CANCELED, result.getResultCode()); in testActivityResultOp()
|
/cts/tests/tests/telephony/current/src/android/telephony/cts/ |
D | SmsReceiver.java | 41 intent.putExtra(SmsReceiverHelper.EXTRA_RESULT_CODE, getResultCode()); in onReceive() 46 intent.putExtra(SmsReceiverHelper.EXTRA_RESULT_CODE, getResultCode()); in onReceive()
|
/cts/tests/tests/os/src/android/os/cts/ |
D | ResultReceiverTest.java | 36 assertEquals(resultCode, sender.getResultCode()); in testResultReceiver() 69 public int getResultCode() { in getResultCode() method in ResultReceiverTest.MockResultReceiver
|
D | ActivityTestsBase.java | 195 public int getResultCode() { in getResultCode() method in ActivityTestsBase
|
/cts/tests/tests/telephony/current/src/android/telephony/euicc/cts/ |
D | EuiccManagerTest.java | 139 EuiccManager.EMBEDDED_SUBSCRIPTION_RESULT_ERROR, mCallbackReceiver.getResultCode()); in testDownloadSubscription() 182 EuiccManager.EMBEDDED_SUBSCRIPTION_RESULT_ERROR, mCallbackReceiver.getResultCode()); in testDeleteSubscription() 212 EuiccManager.EMBEDDED_SUBSCRIPTION_RESULT_ERROR, mCallbackReceiver.getResultCode()); in testSwitchToSubscription() 243 EuiccManager.EMBEDDED_SUBSCRIPTION_RESULT_ERROR, mCallbackReceiver.getResultCode()); in testEraseSubscriptions() 278 mCallbackReceiver.getResultCode()); in testStartResolutionActivity() 499 int resultCode = getResultCode(); in onReceive()
|
/cts/tests/location/location_gnss/src/android/location/cts/gnss/asn1/supl2/supl_report/ |
D | ReportData.java | 132 public ResultCode getResultCode() { in getResultCode() method in ReportData 259 return getResultCode() != null; in getComponents() 271 return getResultCode(); in getComponents() 294 + getResultCode().toIndentedString(indent); in getComponents()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/base/ |
D | SensorCtsVerifierTestActivity.java | 83 while (mEnableRetry && testDetails.getResultCode().equals(ResultCode.FAIL)) { in executeTests() 139 SensorTestDetails.ResultCode resultCode = testDetails.getResultCode(); in executeTest()
|
D | BaseSensorTestActivity.java | 224 SensorTestDetails.ResultCode resultCode = testDetails.getResultCode(); in run() 509 SensorTestDetails.ResultCode resultCode = testDetails.getResultCode(); in setTestResult() 538 SensorTestDetails.ResultCode resultCode = testDetails.getResultCode(); in executeActivityTests() 563 SensorTestDetails.ResultCode resultCode = testDetails.getResultCode(); in promptUserToSetResult() 699 SensorTestDetails.ResultCode resultCode = testDetails.getResultCode(); in logTestDetails()
|
/cts/tests/appsearch/src/com/android/cts/appsearch/external/app/ |
D | AppSearchSessionCtsTestBase.java | 149 assertThat(exception.getResultCode()).isEqualTo(RESULT_INVALID_SCHEMA); in testSetSchema_Failure() 161 assertThat(exception.getResultCode()).isEqualTo(RESULT_INVALID_SCHEMA); in testSetSchema_Failure() 496 assertThat(result.getFailures().get("gift1").getResultCode()) in testUpdateSchema() 569 assertThat(getResult.getFailures().get("email1").getResultCode()) in testRemoveSchema() 651 assertThat(getResult.getFailures().get("email1").getResultCode()) in testRemoveSchema_twoDatabases() 711 assertThat(failResult.getFailures().get("id1").getResultCode()) in testGetDocuments() 2254 assertThat(getResult.getFailures().get("id1").getResultCode()) in testRemove() 2266 assertThat(deleteResult.getFailures().get("id1").getResultCode()) in testRemove() 2316 assertThat(getResult.getFailures().get("id1").getResultCode()) in testRemove_multipleIds() 2318 assertThat(getResult.getFailures().get("id2").getResultCode()) in testRemove_multipleIds() [all …]
|
/cts/tests/app/app/src/android/app/stubs/ |
D | MockReceiver.java | 42 sResultCode = getResultCode(); in onReceive()
|
D | ActivityTestsBase.java | 209 public int getResultCode() { in getResultCode() method in ActivityTestsBase
|
/cts/tests/tests/permission2/src/android/permission2/cts/ |
D | NoReceiveSmsPermissionTest.java | 169 handleResultCode(getResultCode(), "delivery"); in onReceive() 171 handleResultCode(getResultCode(), "sent"); in onReceive()
|
/cts/tests/app/src/android/app/cts/android/app/cts/tools/ |
D | SyncOrderedBroadcast.java | 38 mReceivedCode = getResultCode();
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/reporting/ |
D | SensorTestDetails.java | 102 public ResultCode getResultCode() { in getResultCode() method in SensorTestDetails
|
/cts/tests/autofillservice/src/android/autofillservice/cts/unittests/ |
D | AutofillManagerTest.java | 121 final int statusResultCode = receiver.getResultCode(); in runQueryAutofillStatusActivityAndVerifyResult()
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
D | AssistScreenCaptureDisabledTest.java | 73 q.offer(getResultCode() == Activity.RESULT_OK); in assertScreenCapturePossible()
|
/cts/libs/install/src/com/android/cts/install/lib/ |
D | InstallUtils.java | 284 if (getResultCode() == 1) { in processUserData() 335 resultQueue.add(getResultCode()); in getUserDataVersion()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | Session2CommandTest.java | 138 assertEquals(TEST_RESULT_CODE, result.getResultCode()); in testGetResultCodeAndData()
|
D | MediaController2Test.java | 355 assertEquals(SESSION_RESULT_CODE, controllerCallback.mCommandResult.getResultCode()); in testCallback_onCommandResult() 390 controllerCallback.mCommandResult.getResultCode()); in testCancelSessionCommand()
|
/cts/hostsidetests/appsearch/test-apps/AppSearchHostTestHelperA/src/android/appsearch/app/a/ |
D | AppSearchDeviceTest.java | 126 assertThat(getResult.getFailures().get(ID).getResultCode()) in testGetDocuments_nonexist()
|
/cts/tests/suspendapps/tests/src/android/suspendapps/cts/ |
D | SuspendTestUtils.java | 133 result.set(getResultCode()); in requestDpmAction()
|