/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 | 60 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()
|
D | NestedFragmentTest.java | 71 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/ |
D | SendResult.java | 65 setResult(RESULT_OK, (new Intent()).setAction("Corky!")); 76 setResult(RESULT_OK, (new Intent()).setAction("Violet!"));
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
D | TextViewTest.java | 82 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/ |
D | SurfaceCompositionTest.java | 94 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/ |
D | WizardManagerHelperTest.java | 40 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/ |
D | ConfirmDialog.java | 55 setResult(RESULT_OK); in onCreate() 130 setResult(RESULT_OK); in onClick()
|
/frameworks/base/docs/html-intl/intl/zh-tw/training/basics/intents/ |
D | result.jd | 79 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/ |
D | result.jd | 79 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/ |
D | result.jd | 79 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/ |
D | result.jd | 79 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/ |
D | result.jd | 79 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/ |
D | FragmentResultActivity.java | 32 int resultCode = getIntent().getIntExtra(EXTRA_RESULT_CODE, Activity.RESULT_OK); in onCreate()
|
/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()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/ |
D | CdmaServiceCategoryProgramHandler.java | 111 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/ |
D | scoped-directory-access.jd | 65 <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/ |
D | scoped-directory-access.jd | 67 <code>Activity.RESULT_OK</code>, а также данные намерения, содержащие URI. Используйте 119 доступа будет возвращать ответ <code>RESULT_OK</code>. Таким образом, приложение не будет постоянно…
|
/frameworks/support/core-utils/tests/java/android/support/v4/provider/ |
D | GrantActivity.java | 40 if (requestCode == 12 && resultCode == RESULT_OK) { in onActivityResult()
|
/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/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()
|