Home
last modified time | relevance | path

Searched refs:RESULT_OK (Results 1 – 25 of 96) sorted by relevance

1234

/frameworks/base/core/tests/coretests/src/android/app/activity/
DSubActivityScreen.java54 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()
DTestedActivity.java60 setResult(RESULT_OK);
71 setResult(RESULT_OK); in queueIdle()
DTestedScreen.java51 setResult(RESULT_OK, (new Intent()).setAction( in onCreate()
104 setResult(RESULT_OK);
121 setResult(RESULT_OK); in queueIdle()
DClearTop.java43 setResult(RESULT_OK); in onNewIntent()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/euicc/
DEuiccControllerTest.java260 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/
DFragmentReceiveResultTest.java64 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()
DNestedFragmentTest.java82 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/
DSendResult.java66 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/
DEuiccController.java224 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/
DSurfaceCompositionTest.java94 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/
DCellBroadcastHandler.java116 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/
DConfirmDialog.java57 setResult(RESULT_OK); in onCreate()
133 setResult(RESULT_OK); in onClick()
/frameworks/base/core/tests/coretests/src/android/widget/
DTextViewTest.java112 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/
DFragmentResultActivity.java32 int resultCode = getIntent().getIntExtra(EXTRA_RESULT_CODE, Activity.RESULT_OK); in onCreate()
/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/
DAccountAuthenticatorDummyActivity.java39 setResult(RESULT_OK, result); in onCreate()
/frameworks/support/core-utils/tests/java/android/support/v4/provider/
DGrantActivity.java39 if (requestCode == 12 && resultCode == RESULT_OK) { in onActivityResult()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
DCdmaServiceCategoryProgramHandler.java112 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/
DAppWidgetHostActivity.java104 if (resultCode == RESULT_OK) { in handleAppWidgetPickResult()
126 if (resultCode == RESULT_OK) { in handleAppWidgetConfigureResult()
DTestAppWidgetConfigure.java50 setResult(RESULT_OK);
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/
DFrameworkPerfTest.java39 getInstrumentation().sendStatus(Activity.RESULT_OK, testResult); in testFrameworkPerf()
/frameworks/base/core/java/android/service/euicc/
DGetDownloadableSubscriptionMetadataResult.java72 if (this.result == EuiccService.RESULT_OK) { in GetDownloadableSubscriptionMetadataResult()
DGetDefaultDownloadableSubscriptionListResult.java72 if (this.result == EuiccService.RESULT_OK) { in GetDefaultDownloadableSubscriptionListResult()
DGetEuiccProfileInfoListResult.java75 if (this.result == EuiccService.RESULT_OK) { in GetEuiccProfileInfoListResult()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DSomnambulator.java49 setResult(RESULT_OK, resultIntent); in onStart()
/frameworks/base/telephony/java/android/telephony/mbms/
DMbmsDownloadReceiver.java71 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()

1234