/frameworks/base/core/tests/coretests/src/android/app/activity/ |
D | SubActivityScreen.java | 54 apr.send(this, RESULT_OK, res); in onCreate() 98 setResult(RESULT_OK, res); in onResume() 115 setResult(RESULT_OK); in onActivityResult() 128 if (resultCode != RESULT_OK) { in onActivityResult()
|
D | TestedActivity.java | 60 setResult(RESULT_OK); 71 setResult(RESULT_OK); in queueIdle()
|
D | TestedScreen.java | 51 setResult(RESULT_OK, (new Intent()).setAction( in onCreate() 104 setResult(RESULT_OK); 121 setResult(RESULT_OK); in queueIdle()
|
D | ClearTop.java | 43 setResult(RESULT_OK); in onNewIntent()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/euicc/ |
D | EuiccControllerTest.java | 260 EuiccService.RESULT_OK, SUBSCRIPTION_WITH_METADATA); in testGetDownloadableSubscriptionMetadata_success() 308 EuiccService.RESULT_OK, in testGetDefaultDownloadableSubscriptionList_success() 356 EuiccService.RESULT_OK, "whatever" /* callingPackage */); in testDownloadSubscription_success() 366 EuiccService.RESULT_OK, "whatever" /* callingPackage */); in testDownloadSubscription_noSwitch_success() 422 EuiccService.RESULT_OK, SUBSCRIPTION_WITH_METADATA); in testDownloadSubscription_noPrivileges_hasCarrierPrivileges() 426 EuiccService.RESULT_OK, PACKAGE_NAME /* callingPackage */); in testDownloadSubscription_noPrivileges_hasCarrierPrivileges() 438 EuiccService.RESULT_OK, SUBSCRIPTION_WITH_METADATA); in testDownloadSubscription_noPrivileges_hasCarrierPrivileges_needsConsent() 456 EuiccService.RESULT_OK, SUBSCRIPTION_WITH_METADATA); in testDownloadSubscription_noPrivileges_noCarrierPrivileges() 510 EuiccService.RESULT_OK, "whatever" /* callingPackage */); in testDeleteSubscription_success() 532 SUBSCRIPTION_ID, ICC_ID, true /* complete */, EuiccService.RESULT_OK, PACKAGE_NAME); in testDeleteSubscription_carrierPrivileges_success() [all …]
|
/frameworks/support/fragment/tests/java/android/support/v4/app/ |
D | FragmentReceiveResultTest.java | 64 startActivityForResult(10, Activity.RESULT_OK, "content 10"); in testStartActivityForResultOk() 68 assertEquals(Activity.RESULT_OK, mFragment.mResultCode); in testStartActivityForResultOk() 86 startIntentSenderForResult(30, Activity.RESULT_OK, "content 30"); in testStartIntentSenderForResultOk() 90 assertEquals(Activity.RESULT_OK, mFragment.mResultCode); in testStartIntentSenderForResultOk()
|
D | NestedFragmentTest.java | 82 Activity.RESULT_OK, new Intent()); in testNestedFragmentStartActivityForResult() 108 assertEquals(Activity.RESULT_OK, childFragment.onActivityResultResultCode); in testNestedFragmentStartActivityForResult()
|
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/app/ |
D | SendResult.java | 66 setResult(RESULT_OK, (new Intent()).setAction("Corky!")); 78 setResult(RESULT_OK, (new Intent()).setAction("Violet!"));
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/euicc/ |
D | EuiccController.java | 224 case EuiccService.RESULT_OK: in onGetMetadataComplete() 322 if (result.result != EuiccService.RESULT_OK) { in onGetMetadataComplete() 395 case EuiccService.RESULT_OK: in downloadSubscriptionPrivileged() 509 case EuiccService.RESULT_OK: in onGetDefaultListComplete() 595 case EuiccService.RESULT_OK: in deleteSubscriptionPrivileged() 708 case EuiccService.RESULT_OK: in switchToSubscriptionPrivileged() 760 case EuiccService.RESULT_OK: in updateSubscriptionNickname() 798 case EuiccService.RESULT_OK: in eraseSubscriptions() 837 case EuiccService.RESULT_OK: in retainSubscriptionsForFactoryReset()
|
/frameworks/base/tests/SurfaceComposition/src/android/surfacecomposition/ |
D | SurfaceCompositionTest.java | 94 getInstrumentation().sendStatus(Activity.RESULT_OK, status); in testSurfaceCompositionPerformance() 117 getInstrumentation().sendStatus(Activity.RESULT_OK, status); in testSurfaceAllocationPerformance()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | CellBroadcastHandler.java | 116 receiverPermission, appOp, null, getHandler(), Activity.RESULT_OK, null, in handleBroadcastSms() 122 mReceiver, getHandler(), Activity.RESULT_OK, null, null); in handleBroadcastSms()
|
/frameworks/base/packages/VpnDialogs/src/com/android/vpndialogs/ |
D | ConfirmDialog.java | 57 setResult(RESULT_OK); in onCreate() 133 setResult(RESULT_OK); in onClick()
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
D | TextViewTest.java | 112 mTextView.onActivityResult(TextView.PROCESS_TEXT_REQUEST_CODE, Activity.RESULT_OK, in testProcessTextActivityResultNonEditable() 134 mTextView.onActivityResult(TextView.PROCESS_TEXT_REQUEST_CODE, Activity.RESULT_OK, data); in testProcessTextActivityResultEditable() 168 mTextView.onActivityResult(TextView.PROCESS_TEXT_REQUEST_CODE, Activity.RESULT_OK, null); in testProcessTextActivityNoData()
|
/frameworks/support/fragment/tests/java/android/support/v4/app/test/ |
D | FragmentResultActivity.java | 32 int resultCode = getIntent().getIntExtra(EXTRA_RESULT_CODE, Activity.RESULT_OK); in onCreate()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/ |
D | AccountAuthenticatorDummyActivity.java | 39 setResult(RESULT_OK, result); in onCreate()
|
/frameworks/support/core-utils/tests/java/android/support/v4/provider/ |
D | GrantActivity.java | 39 if (requestCode == 12 && resultCode == RESULT_OK) { in onActivityResult()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/ |
D | CdmaServiceCategoryProgramHandler.java | 112 getHandler(), Activity.RESULT_OK, null, null); in handleServiceCategoryProgramData() 130 if ((resultCode != Activity.RESULT_OK) && (resultCode != Intents.RESULT_SMS_HANDLED)) {
|
/frameworks/base/tests/appwidgets/AppWidgetHostTest/src/com/android/tests/appwidgethost/ |
D | AppWidgetHostActivity.java | 104 if (resultCode == RESULT_OK) { in handleAppWidgetPickResult() 126 if (resultCode == RESULT_OK) { in handleAppWidgetConfigureResult()
|
D | TestAppWidgetConfigure.java | 50 setResult(RESULT_OK);
|
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/ |
D | FrameworkPerfTest.java | 39 getInstrumentation().sendStatus(Activity.RESULT_OK, testResult); in testFrameworkPerf()
|
/frameworks/base/core/java/android/service/euicc/ |
D | GetDownloadableSubscriptionMetadataResult.java | 72 if (this.result == EuiccService.RESULT_OK) { in GetDownloadableSubscriptionMetadataResult()
|
D | GetDefaultDownloadableSubscriptionListResult.java | 72 if (this.result == EuiccService.RESULT_OK) { in GetDefaultDownloadableSubscriptionListResult()
|
D | GetEuiccProfileInfoListResult.java | 75 if (this.result == EuiccService.RESULT_OK) { in GetEuiccProfileInfoListResult()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | Somnambulator.java | 49 setResult(RESULT_OK, resultIntent); in onStart()
|
/frameworks/base/telephony/java/android/telephony/mbms/ |
D | MbmsDownloadReceiver.java | 71 public static final int RESULT_OK = 0; field in MbmsDownloadReceiver 280 setResultCode(RESULT_OK); in moveDownloadedFile() 317 setResultCode(RESULT_OK); in generateTempFiles() 330 setResultCode(RESULT_OK); in generateTempFiles()
|