Home
last modified time | relevance | path

Searched refs:mResultCode (Results 1 – 21 of 21) sorted by relevance

/frameworks/base/core/java/android/app/
DResultInfo.java29 public final int mResultCode; field in ResultInfo
36 mResultCode = resultCode; in ResultInfo()
42 + ", result=" + mResultCode + ", data=" + mData + "}"; in toString()
52 out.writeInt(mResultCode); in writeToParcel()
75 mResultCode = in.readInt(); in ResultInfo()
DActivityOptions.java271 private int mResultCode; field in ActivityOptions
762 opts.mResultCode = resultCode; in makeSceneTransitionAnimation()
858 mResultCode = opts.getInt(KEY_RESULT_CODE); in ActivityOptions()
1016 public int getResultCode() { return mResultCode; } in getResultCode()
1159 mResultCode = 0; in update()
1215 mResultCode = otherOptions.mResultCode; in update()
1289 b.putInt(KEY_RESULT_CODE, mResultCode); in toBundle()
DActivityTransitionState.java327 mReturnExitCoordinator.startExit(activity.mResultCode, in startExitBackTransition()
332 mReturnExitCoordinator.startExit(activity.mResultCode, activity.mResultData); in startExitBackTransition()
DPendingIntent.java210 private int mResultCode; field in PendingIntent.FinishedDispatcher
231 mResultCode = resultCode; in performReceive()
241 mWho.onSendFinished(mPendingIntent, mIntent, mResultCode, in run()
DInstrumentation.java1512 mResultCode = resultCode; in ActivityResult()
1520 return mResultCode; in getResultCode()
1530 private final int mResultCode; field in Instrumentation.ActivityResult
DActivity.java824 int mResultCode = RESULT_CANCELED; field in Activity
3645 if (mResultCode != RESULT_CANCELED || mResultData != null) { in onNavigateUp()
5267 mResultCode = resultCode; in setResult()
5296 mResultCode = resultCode; in setResult()
5494 resultCode = mResultCode; in finish()
5548 if (mResultCode != RESULT_CANCELED || mResultData != null) { in finishAffinity()
6787 resultCode = mResultCode; in navigateUpTo()
DActivityThread.java4265 ri.mRequestCode, ri.mResultCode, ri.mData); in deliverResults()
/frameworks/base/core/java/android/content/
DBroadcastReceiver.java79 int mResultCode; field in BroadcastReceiver.PendingResult
88 mResultCode = resultCode; in PendingResult()
106 mResultCode = code; in setResultCode()
115 return mResultCode; in getResultCode()
166 mResultCode = code; in setResult()
257 am.finishReceiver(mToken, mResultCode, mResultData, mResultExtras, in sendFinished()
416 mPendingResult.mResultCode = code; in setResultCode()
425 return mPendingResult != null ? mPendingResult.mResultCode : 0; in getResultCode()
525 mPendingResult.mResultCode = code; in setResult()
DIntentSender.java106 private int mResultCode; field in IntentSender.FinishedDispatcher
117 mResultCode = resultCode; in performReceive()
127 mWho.onSendFinished(mIntentSender, mIntent, mResultCode, in run()
/frameworks/base/services/core/java/com/android/server/am/
DInstrumentationReporter.java79 + " code=" + rep.mResultCode + " result=" + rep.mResults); in run()
80 rep.mWatcher.instrumentationStatus(rep.mName, rep.mResultCode, in run()
85 + " code=" + rep.mResultCode + " result=" + rep.mResults); in run()
86 rep.mWatcher.instrumentationFinished(rep.mName, rep.mResultCode, in run()
102 final int mResultCode; field in InstrumentationReporter.Report
110 mResultCode = resultCode; in Report()
/frameworks/support/fragment/tests/java/android/support/v4/app/
DFragmentReceiveResultTest.java68 assertEquals(Activity.RESULT_OK, mFragment.mResultCode); in testStartActivityForResultOk()
79 assertEquals(Activity.RESULT_CANCELED, mFragment.mResultCode); in testStartActivityForResultCanceled()
90 assertEquals(Activity.RESULT_OK, mFragment.mResultCode); in testStartIntentSenderForResultOk()
101 assertEquals(Activity.RESULT_CANCELED, mFragment.mResultCode); in testStartIntentSenderForResultCanceled()
164 int mResultCode = 100; field in FragmentReceiveResultTest.TestFragment
172 mResultCode = resultCode; in onActivityResult()
/frameworks/base/core/tests/coretests/src/android/app/activity/
DActivityTestsBase.java39 private int mResultCode = 0; field in ActivityTestsBase
121 mResultCode = resultCode; in finishWithResult()
188 mResultCode = Activity.RESULT_CANCELED; in waitForResult()
191 return mResultCode; in waitForResult()
195 return mResultCode; in getResultCode()
DLaunchpadActivity.java143 private int mResultCode = RESULT_CANCELED; field in LaunchpadActivity
369 sCallingTest.activityFinished(mResultCode, mData, mResultStack); in onDestroy()
460 mResultCode = resultCode; in setTestResult()
/frameworks/base/core/java/android/os/
DResultReceiver.java41 final int mResultCode; field in ResultReceiver.MyRunnable
45 mResultCode = resultCode; in MyRunnable()
50 onReceiveResult(mResultCode, mResultData); in run()
/frameworks/support/compat/java/android/support/v4/os/
DResultReceiver.java50 final int mResultCode; field in ResultReceiver.MyRunnable
54 mResultCode = resultCode; in MyRunnable()
60 onReceiveResult(mResultCode, mResultData); in run()
/frameworks/base/core/tests/coretests/src/android/provider/
DTestFontsProvider.java45 private int mResultCode = FontsContract.Columns.RESULT_CODE_OK; field in TestFontsProvider
52 mResultCode = resultCode; in setResultCode()
87 cursor.addRow(new Object[] { 1, TTC_INDEX, VARIATION_SETTINGS, 400, 0, mResultCode }); in query()
DMockFontProvider.java109 mResultCode = resultCode; in Font()
133 return mResultCode; in getResultCode()
146 private int mResultCode; field in MockFontProvider.Font
/frameworks/support/compat/tests/java/android/support/v4/provider/
DMockFontProvider.java72 mResultCode = resultCode; in Font()
97 return mResultCode; in getResultCode()
114 private final int mResultCode; field in MockFontProvider.Font
/frameworks/base/core/java/android/provider/
DFontsContract.java187 private final int mResultCode; field in FontsContract.FontInfo
207 mResultCode = resultCode; in FontInfo()
251 return mResultCode; in getResultCode()
/frameworks/support/compat/java/android/support/v4/provider/
DFontsContractCompat.java286 private final int mResultCode; field in FontsContractCompat.FontInfo
305 mResultCode = resultCode; in FontInfo()
342 return mResultCode; in getResultCode()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/euicc/
DEuiccControllerTest.java119 private int mResultCode; field in EuiccControllerTest.TestEuiccController
141 mResultCode = resultCode; in sendResult()
977 assertEquals(resultCode, mController.mResultCode); in verifyIntentSent()