Home
last modified time | relevance | path

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

123456

/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.java60 startActivityForResult(10, Activity.RESULT_OK, "content 10"); in testStartActivityForResultOk()
64 assertEquals(Activity.RESULT_OK, mFragment.mResultCode); in testStartActivityForResultOk()
82 startIntentSenderForResult(30, Activity.RESULT_OK, "content 30"); in testStartIntentSenderForResultOk()
86 assertEquals(Activity.RESULT_OK, mFragment.mResultCode); in testStartIntentSenderForResultOk()
DNestedFragmentTest.java71 Activity.RESULT_OK, new Intent()); in testNestedFragmentStartActivityForResult()
96 assertEquals(Activity.RESULT_OK, childFragment.onActivityResultResultCode); in testNestedFragmentStartActivityForResult()
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/app/
DSendResult.java65 setResult(RESULT_OK, (new Intent()).setAction("Corky!"));
76 setResult(RESULT_OK, (new Intent()).setAction("Violet!"));
/frameworks/base/core/tests/coretests/src/android/widget/
DTextViewTest.java82 tv.onActivityResult(TextView.PROCESS_TEXT_REQUEST_CODE, Activity.RESULT_OK, data); in testProcessTextActivityResultNonEditable()
103 tv.onActivityResult(TextView.PROCESS_TEXT_REQUEST_CODE, Activity.RESULT_OK, data); in testProcessTextActivityResultEditable()
134 tv.onActivityResult(TextView.PROCESS_TEXT_REQUEST_CODE, Activity.RESULT_OK, null); in testProcessTextActivityNoData()
/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/setupwizard/library/test/src/com/android/setupwizardlib/test/
DWizardManagerHelperTest.java40 WizardManagerHelper.getNextIntent(intent, Activity.RESULT_OK, data); in testGetNextIntent()
50 assertEquals("Result code extra should be RESULT_OK", Activity.RESULT_OK, in testGetNextIntent()
/frameworks/base/packages/VpnDialogs/src/com/android/vpndialogs/
DConfirmDialog.java55 setResult(RESULT_OK); in onCreate()
130 setResult(RESULT_OK); in onClick()
/frameworks/base/docs/html-intl/intl/zh-tw/training/basics/intents/
Dresult.jd79 android.app.Activity#RESULT_OK} (若操作成功) 或 {@link
93 if (resultCode == RESULT_OK) {
130 if (resultCode == RESULT_OK) {
/frameworks/base/docs/html-intl/intl/zh-cn/training/basics/intents/
Dresult.jd79 android.app.Activity#RESULT_OK};如果用户退出或操作出于某种原因失败,则是 {@link
93 if (resultCode == RESULT_OK) {
130 if (resultCode == RESULT_OK) {
/frameworks/base/docs/html-intl/intl/ko/training/basics/intents/
Dresult.jd79 android.app.Activity#RESULT_OK}이고, 사용자가 작업을 취소했거나 작업이 어떠한
93 if (resultCode == RESULT_OK) {
130 if (resultCode == RESULT_OK) {
/frameworks/base/docs/html-intl/intl/ru/training/basics/intents/
Dresult.jd79 android.app.Activity#RESULT_OK}, если операция была успешной, или {@link
93 if (resultCode == RESULT_OK) {
130 if (resultCode == RESULT_OK) {
/frameworks/base/docs/html-intl/intl/ja/training/basics/intents/
Dresult.jd79 android.app.Activity#RESULT_OK} か、ユーザーがバックアウトしたり、何らかの理由で失敗したりした場合の {@link
93 if (resultCode == RESULT_OK) {
130 if (resultCode == RESULT_OK) {
/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/tests/appwidgets/AppWidgetHostTest/src/com/android/tests/appwidgethost/
DAppWidgetHostActivity.java104 if (resultCode == RESULT_OK) { in handleAppWidgetPickResult()
126 if (resultCode == RESULT_OK) { in handleAppWidgetConfigureResult()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
DCdmaServiceCategoryProgramHandler.java111 getHandler(), Activity.RESULT_OK, null, null); in handleServiceCategoryProgramData()
129 if ((resultCode != Activity.RESULT_OK) && (resultCode != Intents.RESULT_SMS_HANDLED)) {
/frameworks/base/docs/html-intl/intl/zh-tw/training/articles/
Dscoped-directory-access.jd65 <p>若使用者授予存取權,系統會呼叫您的 <code>onActivityResult()</code> 覆寫並傳回 <code>Activity.RESULT_OK</code> 的結果代碼,以及…
118 系統會將該 URI 設定為持續性,而且後續存取要求將會傳回 <code>RESULT_OK</code>,而且不會為使用者顯示確認 UI。
/frameworks/base/docs/html-intl/intl/ru/training/articles/
Dscoped-directory-access.jd67 <code>Activity.RESULT_OK</code>, а также данные намерения, содержащие URI. Используйте
119 доступа будет возвращать ответ <code>RESULT_OK</code>. Таким образом, приложение не будет постоянно…
/frameworks/support/core-utils/tests/java/android/support/v4/provider/
DGrantActivity.java40 if (requestCode == 12 && resultCode == RESULT_OK) { in onActivityResult()
/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/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()

123456