Home
last modified time | relevance | path

Searched refs:RESULT_OK (Results 1 – 25 of 85) 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/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/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.java55 setResult(RESULT_OK); in onCreate()
130 setResult(RESULT_OK); in onClick()
/frameworks/base/core/tests/coretests/src/android/widget/
DTextViewTest.java103 … mTextView.onActivityResult(TextView.PROCESS_TEXT_REQUEST_CODE, Activity.RESULT_OK, data); in testProcessTextActivityResultNonEditable()
130 mTextView.onActivityResult(TextView.PROCESS_TEXT_REQUEST_CODE, Activity.RESULT_OK, data); in testProcessTextActivityResultEditable()
174 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/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/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/FrameworkPerf/src/com/android/frameworkperf/
DFrameworkPerfTest.java39 getInstrumentation().sendStatus(Activity.RESULT_OK, testResult); in testFrameworkPerf()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DSomnambulator.java49 setResult(RESULT_OK, resultIntent); in onStart()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
DMediaProjectionPermissionActivity.java85 setResult(RESULT_OK, getMediaProjectionIntent(mUid, mPackageName, in onCreate()
166 setResult(RESULT_OK, getMediaProjectionIntent( in onClick()
/frameworks/support/samples/SupportLeanbackDemos/src/com/example/android/leanback/
DSearchSupportActivity.java64 if (requestCode == REQUEST_SPEECH && resultCode == RESULT_OK) { in onActivityResult()
DSearchActivity.java61 if (requestCode == REQUEST_SPEECH && resultCode == RESULT_OK) { in onActivityResult()
/frameworks/base/core/java/android/accounts/
DChooseAccountTypeActivity.java90 setResult(Activity.RESULT_OK, new Intent().putExtras(bundle)); in onCreate()
118 setResult(Activity.RESULT_OK, new Intent().putExtras(bundle)); in setResultAndFinish()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
DUsimDataDownloadHandler.java92 return Activity.RESULT_OK; // acknowledge after response from write to USIM in handleUsimDataDownload()
106 return Activity.RESULT_OK; // we will send SMS ACK/ERROR based on UICC response in startDataDownload()
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/
DBluetoothInstrumentation.java121 finish(Activity.RESULT_OK, result); in finish()

1234