/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/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/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 | 55 setResult(RESULT_OK); in onCreate() 130 setResult(RESULT_OK); in onClick()
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
D | TextViewTest.java | 103 … 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/ |
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/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/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/FrameworkPerf/src/com/android/frameworkperf/ |
D | FrameworkPerfTest.java | 39 getInstrumentation().sendStatus(Activity.RESULT_OK, testResult); in testFrameworkPerf()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | Somnambulator.java | 49 setResult(RESULT_OK, resultIntent); in onStart()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/ |
D | MediaProjectionPermissionActivity.java | 85 setResult(RESULT_OK, getMediaProjectionIntent(mUid, mPackageName, in onCreate() 166 setResult(RESULT_OK, getMediaProjectionIntent( in onClick()
|
/frameworks/support/samples/SupportLeanbackDemos/src/com/example/android/leanback/ |
D | SearchSupportActivity.java | 64 if (requestCode == REQUEST_SPEECH && resultCode == RESULT_OK) { in onActivityResult()
|
D | SearchActivity.java | 61 if (requestCode == REQUEST_SPEECH && resultCode == RESULT_OK) { in onActivityResult()
|
/frameworks/base/core/java/android/accounts/ |
D | ChooseAccountTypeActivity.java | 90 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/ |
D | UsimDataDownloadHandler.java | 92 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/ |
D | BluetoothInstrumentation.java | 121 finish(Activity.RESULT_OK, result); in finish()
|