/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/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/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/appsearch/src/com/android/cts/appsearch/functions/ |
D | AppFunctionManagerCtsTest.java | 117 assertThat(response.getResultCode()).isEqualTo(RESULT_NOT_FOUND); in executeAppFunction_failed_noSuchMethod() 183 assertThat(response.getResultCode()).isEqualTo(AppSearchResult.RESULT_SECURITY_ERROR); in executeAppFunction_otherNonExistingOtherPackage() 199 assertThat(response.getResultCode()).isEqualTo(AppSearchResult.RESULT_SECURITY_ERROR); in executeAppFunction_otherExistingTargetPackage() 233 assertThat(response.getResultCode()).isEqualTo(RESULT_UNKNOWN_ERROR); in executeAppFunction_throwsException() 247 assertThat(response.getResultCode()).isEqualTo(RESULT_INTERNAL_ERROR); in executeAppFunction_onRemoteProcessKilled() 263 assertThat(response.getResultCode()).isEqualTo(RESULT_TIMED_OUT); in executeAppFunction_timedOut() 299 assertThat(response.getResultCode()).isEqualTo(RESULT_INVALID_ARGUMENT); in executeAppFunction_emptyPackage() 316 assertThat(response.getResultCode()).isEqualTo(RESULT_SECURITY_ERROR); in executeAppFunction_runInManagedProfile_fail() 349 assertThat(response.getResultCode()).isEqualTo(RESULT_SECURITY_ERROR); in executeAppFunction_deviceOwner_fail() 380 assertThat(response.getResultCode()).isEqualTo(RESULT_NOT_FOUND); in executeAppFunction_wrongSha256Certificate()
|
/cts/tests/app/BroadcastsTest/src/android/app/cts/broadcasts/ |
D | BroadcastReceiverTest.java | 181 if (getResultCode() == mExpectedInitialCode) { in onReceive() 205 assertEquals(0, internalReceiver.getResultCode()); in testOnReceive() 235 assertEquals(MockReceiver.RESULT_CODE, internalReceiver.getResultCode()); in testManifestReceiverPackage() 265 assertEquals(MockReceiver.RESULT_CODE, internalReceiver.getResultCode()); in testManifestReceiverComponent() 294 assertEquals(MockReceiver.RESULT_CODE, internalReceiver.getResultCode()); in testManifestReceiverPermission() 321 assertEquals(RESULT_INITIAL_CODE, internalReceiver.getResultCode()); in testNoManifestReceiver() 337 assertEquals(0, internalOrderReceiver.getResultCode()); in testAbortBroadcast() 356 assertEquals(RESULT_INTERNAL_FINAL_CODE, internalOrderReceiver.getResultCode()); in testAbortBroadcast() 375 assertEquals(0, lastReceiver.getResultCode()); in testDisabledBroadcastReceiver() 387 assertEquals(RESULT_INTERNAL_FINAL_CODE, lastReceiver.getResultCode()); in testDisabledBroadcastReceiver() [all …]
|
/cts/tests/tests/telephony/current/src/android/telephony/cts/ |
D | SmsReceiver.java | 46 intent.putExtra(SmsReceiverHelper.EXTRA_RESULT_CODE, getResultCode()); in onReceive() 51 intent.putExtra(SmsReceiverHelper.EXTRA_RESULT_CODE, getResultCode()); in onReceive()
|
/cts/tests/tests/os/src/android/os/cts/ |
D | ResultReceiverTest.java | 38 assertEquals(resultCode, sender.getResultCode()); in testResultReceiver() 71 public int getResultCode() { in getResultCode() method in ResultReceiverTest.MockResultReceiver
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | TextViewTextBoundsInfoTest.java | 178 assertThat(textBoundsInfoResult.getResultCode()) in testRequestTextBoundsInfo_topOfLayout() 194 assertThat(textBoundsInfoResult.getResultCode()) in testRequestTextBoundsInfo_leftOfLayout() 210 assertThat(textBoundsInfoResult.getResultCode()) in testRequestTextBoundsInfo_rightOfLayout() 226 assertThat(textBoundsInfoResult.getResultCode()) in testRequestTextBoundsInfo_bottomOfLayout() 242 assertThat(textBoundsInfoResult.getResultCode()) in testRequestTextBoundsInfo_firstLine() 267 assertThat(textBoundsInfoResult.getResultCode()) in testRequestTextBoundsInfo_lastLine() 291 assertThat(textBoundsInfoResult.getResultCode()) in testRequestTextBoundsInfo_multiLines() 315 assertThat(textBoundsInfoResult.getResultCode()) in testRequestTextBoundsInfo_withTranslation()
|
/cts/tests/credentials/src/android/credentials/cts/unittests/selection/ |
D | ProviderPendingIntentResponseTest.java | 56 assertThat(obj.getResultCode()).isEqualTo(expectedResultCode); in construction_success() 73 assertThat(toObj.getResultCode()).isEqualTo(expectedResultCode); in writeToParcel_success()
|
/cts/tests/tests/attributionsource/src/android/attributionsource/cts/ |
D | AttributionSourceTest.kt | 62 thread.getResultCode() in testRemoteProcessActivityPidCheck() 140 mResultCode = result.getResultCode() in run() 143 fun getResultCode(): Int { in getResultCode() method
|
/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/common/device-side/bedstead/eventlib/src/main/java/com/android/eventlib/premade/ |
D | EventLibBroadcastReceiver.java | 40 BroadcastReceivedEvent.logger(this, context, intent, getResultCode()); in onReceive()
|
/cts/tests/tests/telephony/current/src/android/telephony/euicc/cts/ |
D | EuiccManagerTest.java | 226 EuiccManager.EMBEDDED_SUBSCRIPTION_RESULT_ERROR, mCallbackReceiver.getResultCode()); in testDownloadSubscription() 270 EuiccManager.EMBEDDED_SUBSCRIPTION_RESULT_ERROR, mCallbackReceiver.getResultCode()); in testDeleteSubscription() 308 EuiccManager.EMBEDDED_SUBSCRIPTION_RESULT_ERROR, mCallbackReceiver.getResultCode()); in testSwitchToSubscritionDisableWithNoPortAndChangesCompatDisabled() 361 EuiccManager.EMBEDDED_SUBSCRIPTION_RESULT_ERROR, mCallbackReceiver.getResultCode()); in testSwitchToSubscription() 392 EuiccManager.EMBEDDED_SUBSCRIPTION_RESULT_ERROR, mCallbackReceiver.getResultCode()); in testSwitchToSubscriptionWithCallback() 424 EuiccManager.EMBEDDED_SUBSCRIPTION_RESULT_ERROR, mCallbackReceiver.getResultCode()); in testEraseSubscriptions() 460 mCallbackReceiver.getResultCode()); in testStartResolutionActivity() 906 int resultCode = getResultCode(); in onReceive()
|
/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 | 220 SensorTestDetails.ResultCode resultCode = testDetails.getResultCode(); in run() 488 SensorTestDetails.ResultCode resultCode = testDetails.getResultCode(); in setTestResult() 517 SensorTestDetails.ResultCode resultCode = testDetails.getResultCode(); in executeActivityTests() 542 SensorTestDetails.ResultCode resultCode = testDetails.getResultCode(); in promptUserToSetResult() 683 SensorTestDetails.ResultCode resultCode = testDetails.getResultCode(); in logTestDetails()
|
/cts/tests/app/app/src/android/app/stubs/ |
D | MockReceiver.java | 42 sResultCode = getResultCode(); in onReceive()
|
/cts/tests/appsearch/testutils/src/android/app/appsearch/testutil/ |
D | EnterpriseGlobalSearchSessionShimImpl.java | 77 new AppSearchException(instance.getResultCode(), in createEnterpriseGlobalSearchSessionAsync() 134 throw new AppSearchException(result.getResultCode(), result.getErrorMessage());
|
D | SearchResultsShimImpl.java | 66 throw new AppSearchException(result.getResultCode(), result.getErrorMessage()); in transformResult()
|
/cts/tests/app/src/android/app/cts/android/app/cts/tools/ |
D | SyncOrderedBroadcast.java | 38 mReceivedCode = getResultCode();
|
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/ |
D | MediaProjectionHelper.java | 117 int getResultCode() { in getResultCode() method in MediaProjectionHelper.MediaProjectionActivity 256 mResultCode = activity[0].getResultCode(); in authorizeMediaProjection()
|
/cts/tests/sensitivecontentprotection/src/android/sensitivecontentprotection/cts/ |
D | SensitiveContentMediaProjectionHelper.java | 117 int getResultCode() { in getResultCode() method in SensitiveContentMediaProjectionHelper.MediaProjectionActivity 256 mResultCode = activity[0].getResultCode(); in authorizeMediaProjection()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/reporting/ |
D | SensorTestDetails.java | 102 public ResultCode getResultCode() { in getResultCode() method in SensorTestDetails
|
/cts/tests/inputmethod/src/android/view/inputmethod/cts/ |
D | TextBoundsInfoTest.java | 505 assertEquals(result.getResultCode(), TextBoundsInfoResult.CODE_UNSUPPORTED); in testTextBoundsInfoResult_constructor() 508 assertEquals(result.getResultCode(), TextBoundsInfoResult.CODE_FAILED); in testTextBoundsInfoResult_constructor() 511 assertEquals(result.getResultCode(), TextBoundsInfoResult.CODE_CANCELLED); in testTextBoundsInfoResult_constructor() 525 assertEquals(result.getResultCode(), TextBoundsInfoResult.CODE_SUCCESS); in testTextBoundsInfoResult_constructor()
|
/cts/tests/appsearch/src/com/android/cts/appsearch/external/app/ |
D | AppSearchResultCtsTest.java | 29 assertThat(result.getResultCode()).isEqualTo(AppSearchResult.RESULT_OK); in testNewSuccessfulResult()
|