Home
last modified time | relevance | path

Searched refs:resultData (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/base/core/java/android/os/
DResultReceiver.java37 MyRunnable(int resultCode, Bundle resultData) { in MyRunnable() argument
39 mResultData = resultData; in MyRunnable()
48 public void send(int resultCode, Bundle resultData) { in send() argument
50 mHandler.post(new MyRunnable(resultCode, resultData)); in send()
52 onReceiveResult(resultCode, resultData); in send()
74 public void send(int resultCode, Bundle resultData) { in send() argument
77 mHandler.post(new MyRunnable(resultCode, resultData)); in send()
79 onReceiveResult(resultCode, resultData); in send()
86 mReceiver.send(resultCode, resultData); in send()
99 protected void onReceiveResult(int resultCode, Bundle resultData) { in onReceiveResult() argument
/frameworks/base/core/tests/coretests/src/android/app/activity/
DIntentSenderTest.java49 int resultCode, String resultData, Bundle resultExtras) { in testRegisteredReceivePermissionDenied()
76 int resultCode, String resultData, Bundle resultExtras) { in testLocalReceivePermissionDenied()
/frameworks/base/tools/aidl/
Dgenerate_java_rpc.cpp100 Variable* resultData; member in DispatcherClass
147 this->resultData = new Variable(RPC_DATA_TYPE, "resultData"); in generate_process()
148 this->processMethod->statements->Add(new VariableDeclaration(this->resultData, in generate_process()
227 block->Add(new Assignment(this->resultData, in AddMethod()
234 new StringLiteralExpression("_result"), _result, this->resultData); in AddMethod()
247 block->Add(new Assignment(this->resultData, new NewExpression(RPC_DATA_TYPE))); in AddMethod()
252 v, this->resultData); in AddMethod()
279 s->expression = new Comparison(this->resultData, "!=", NULL_VALUE); in DoneWithMethods()
280 s->statements->Add(new ReturnStatement(new MethodCall(this->resultData, "serialize"))); in DoneWithMethods()
749 Variable* resultData = new Variable(RPC_DATA_TYPE, "resultData"); in generate_result_dispatcher_method() local
[all …]
/frameworks/base/services/java/com/android/server/am/
DBroadcastRecord.java60 String resultData; // current result data value. field in BroadcastRecord
118 if (resultTo != null || resultCode != -1 || resultData != null) { in dump()
121 pw.print(" resultData="); pw.println(resultData); in dump()
195 resultData = _resultData; in BroadcastRecord()
DBroadcastQueue.java238 r.resultCode, r.resultData, r.resultExtras, r.ordered, r.userId, in processCurBroadcastLocked()
266 finishReceiverLocked(br, br.resultCode, br.resultData, in sendPendingBroadcastsLocked()
295 finishReceiverLocked(r, r.resultCode, r.resultData, in skipCurrentReceiverLocked()
305 finishReceiverLocked(r, r.resultCode, r.resultData, in skipCurrentReceiverLocked()
337 String resultData, Bundle resultExtras, boolean resultAbort, boolean waitForServices) { in finishReceiverLocked() argument
358 r.resultData = resultData; in finishReceiverLocked()
508 new Intent(r.intent), r.resultCode, r.resultData, in deliverToRegisteredReceiverLocked()
659 r.resultData, r.resultExtras, false, false, r.userId); in processNextBroadcast()
893 finishReceiverLocked(r, r.resultCode, r.resultData, in processNextBroadcast()
922 finishReceiverLocked(r, r.resultCode, r.resultData, in processNextBroadcast()
[all …]
DActivityStack.java2280 Intent resultData, String reason, boolean oomAdj) { in requestFinishActivityLocked() argument
2284 + ", result=" + resultCode + ", data=" + resultData in requestFinishActivityLocked()
2290 finishActivityLocked(r, resultCode, resultData, reason, oomAdj); in requestFinishActivityLocked()
2361 final void finishActivityResultsLocked(ActivityRecord r, int resultCode, Intent resultData) { in finishActivityResultsLocked() argument
2367 + " res=" + resultCode + " data=" + resultData); in finishActivityResultsLocked()
2370 resultTo.packageName, resultData, in finishActivityResultsLocked()
2374 resultData); in finishActivityResultsLocked()
2392 final boolean finishActivityLocked(ActivityRecord r, int resultCode, Intent resultData, in finishActivityLocked() argument
2420 finishActivityResultsLocked(r, resultCode, resultData); in finishActivityLocked()
2522 Intent resultData) { in navigateUpToLocked() argument
[all …]
DActivityRecord.java593 Intent resultData) {
595 requestCode, resultCode, resultData);
DActivityManagerService.java3413 public final boolean finishActivity(IBinder token, int resultCode, Intent resultData) { in finishActivity() argument
3415 if (resultData != null && resultData.hasFileDescriptors() == true) { in finishActivity()
3444 resultData, "app-request", true); in finishActivity()
13145 receiver.asBinder(), r.resultCode, r.resultData, in unregisterReceiver()
13269 IIntentReceiver resultTo, int resultCode, String resultData, in broadcastIntentLocked() argument
13557 appOp, registeredReceivers, resultTo, resultCode, resultData, map, in broadcastIntentLocked()
13648 resultData, map, ordered, sticky, false, userId); in broadcastIntentLocked()
13697 int resultCode, String resultData, Bundle map, in broadcastIntent() argument
13710 resultCode, resultData, map, requiredPermission, appOp, serialized, sticky, in broadcastIntent()
13719 int resultCode, String resultData, Bundle map, in broadcastIntentInPackage() argument
[all …]
/frameworks/base/core/java/com/android/internal/os/
DIResultReceiver.aidl24 void send(int resultCode, in Bundle resultData); in send() argument
/frameworks/base/core/java/android/content/
DBroadcastReceiver.java249 public PendingResult(int resultCode, String resultData, Bundle resultExtras, in PendingResult() argument
252 mResultData = resultData; in PendingResult()
DIntentSender.java100 int resultCode, String resultData, Bundle resultExtras); in onSendFinished() argument
/frameworks/base/core/java/android/app/
DActivity.java4206 Intent resultData; in finish() local
4209 resultData = mResultData; in finish()
4213 if (resultData != null) { in finish()
4214 resultData.prepareToLeaveProcess(); in finish()
4217 .finishActivity(mToken, resultCode, resultData)) { in finish()
5097 Intent resultData; in navigateUpTo() local
5100 resultData = mResultData; in navigateUpTo()
5102 if (resultData != null) { in navigateUpTo()
5103 resultData.prepareToLeaveProcess(); in navigateUpTo()
5108 resultCode, resultData); in navigateUpTo()
DActivityManagerNative.java260 Intent resultData = null; in onTransact() local
263 resultData = Intent.CREATOR.createFromParcel(data); in onTransact()
265 boolean res = finishActivity(token, resultCode, resultData); in onTransact()
348 String resultData = data.readString(); in onTransact() local
356 resultCode, resultData, resultExtras, perm, appOp, in onTransact()
379 String resultData = data.readString(); in onTransact() local
383 finishReceiver(who, resultCode, resultData, resultExtras, resultAbort); in onTransact()
1902 Intent resultData = null; in onTransact() local
1904 resultData = Intent.CREATOR.createFromParcel(data); in onTransact()
1906 boolean res = navigateUpTo(token, target, resultCode, resultData); in onTransact()
[all …]
DIActivityManager.java92 String resultData, Bundle map, String requiredPermission, in broadcastIntent() argument
95 …public void finishReceiver(IBinder who, int resultCode, String resultData, Bundle map, boolean abo… in finishReceiver() argument
381 public boolean navigateUpTo(IBinder token, Intent target, int resultCode, Intent resultData) in navigateUpTo() argument
DApplicationThreadNative.java195 String resultData = data.readString(); in onTransact() local
200 scheduleReceiver(intent, info, compatInfo, resultCode, resultData, in onTransact()
801 CompatibilityInfo compatInfo, int resultCode, String resultData, in scheduleReceiver() argument
809 data.writeString(resultData); in scheduleReceiver()
DInstrumentation.java1330 public ActivityResult(int resultCode, Intent resultData) { in ActivityResult() argument
1332 mResultData = resultData; in ActivityResult()
DPendingIntent.java161 int resultCode, String resultData, Bundle resultExtras); in onSendFinished() argument
DLoadedApk.java719 public Args(Intent intent, int resultCode, String resultData, Bundle resultExtras, in Args() argument
721 super(resultCode, resultData, resultExtras, in Args()
DActivityThread.java343 public ReceiverData(Intent intent, int resultCode, String resultData, Bundle resultExtras, in ReceiverData() argument
345 super(resultCode, resultData, resultExtras, TYPE_COMPONENT, ordered, sticky, in ReceiverData()
/frameworks/base/core/java/android/preference/
DPreferenceActivity.java1338 public void finishPreferencePanel(Fragment caller, int resultCode, Intent resultData) { in finishPreferencePanel() argument
1340 setResult(resultCode, resultData); in finishPreferencePanel()
1348 resultCode, resultData); in finishPreferencePanel() local
/frameworks/base/services/java/com/android/server/location/
DGeofenceManager.java409 String resultData, Bundle resultExtras) { in onSendFinished() argument
/frameworks/base/docs/html/guide/topics/providers/
Ddocument-provider.jd263 The URI that points to the selected document is contained in the {@code resultData}
270 Intent resultData) {
280 // Pull that URI using resultData.getData().
282 if (resultData != null) {
283 uri = resultData.getData();
/frameworks/base/services/java/com/android/server/
DAlarmManagerService.java1447 String resultData, Bundle resultExtras) { in onSendFinished() argument
DLocationManagerService.java769 int resultCode, String resultData, Bundle resultExtras) { in onSendFinished() argument
/frameworks/base/media/java/android/media/
DMediaFocusControl.java1025 int resultCode, String resultData, Bundle resultExtras) { in onSendFinished() argument

12