Home
last modified time | relevance | path

Searched refs:callerApp (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/services/core/java/com/android/server/am/
DSafeActivityOptions.java120 @Nullable ProcessRecord callerApp, in getOptions() argument
123 checkPermissions(intent, aInfo, callerApp, supervisor, mOriginalOptions, in getOptions()
128 checkPermissions(intent, aInfo, callerApp, supervisor, mCallerOptions, in getOptions()
189 @Nullable ProcessRecord callerApp, ActivityStackSupervisor supervisor, in checkPermissions() argument
199 + " from " + callerApp + " (pid=" + callingPid in checkPermissions()
213 + " from " + callerApp + " (pid=" + callingPid in checkPermissions()
225 + " from " + callerApp + " (pid=" + callingPid in checkPermissions()
237 + " from " + callerApp + " (pid=" + callingPid in checkPermissions()
DBroadcastRecord.java48 final ProcessRecord callerApp; // process that sent this field in BroadcastRecord
115 pw.print(callerApp != null ? callerApp.toShortString() : "null"); in dump()
229 callerApp = _callerApp; in BroadcastRecord()
260 callerApp = from.callerApp; in BroadcastRecord()
DActivityStarter.java584 ProcessRecord callerApp = null; in startActivity() local
586 callerApp = mService.getRecordForAppLocked(caller); in startActivity()
587 if (callerApp != null) { in startActivity()
588 callingPid = callerApp.pid; in startActivity()
589 callingUid = callerApp.info.uid; in startActivity()
719 inTask != null, callerApp, resultRecord, resultStack); in startActivity()
725 ? options.getOptions(intent, aInfo, callerApp, mSupervisor) in startActivity()
826 ActivityRecord r = new ActivityRecord(mService, callerApp, callingPid, callingUid, in startActivity()
849 sourceRecord, startFlags, stack, callerApp)); in startActivity()
1044 ProcessRecord callerApp = mService.getRecordForAppLocked(caller); in startActivityMayWait() local
[all …]
DActiveServices.java397 final ProcessRecord callerApp = mAm.getRecordForAppLocked(caller); in startServiceLocked() local
398 if (callerApp == null) { in startServiceLocked()
404 callerFg = callerApp.setSchedGroup != ProcessList.SCHED_GROUP_BACKGROUND; in startServiceLocked()
722 final ProcessRecord callerApp = mAm.getRecordForAppLocked(caller); in stopServiceLocked() local
723 if (caller != null && callerApp == null) { in stopServiceLocked()
1434 final ProcessRecord callerApp = mAm.getRecordForAppLocked(caller); in bindServiceLocked() local
1435 if (callerApp == null) { in bindServiceLocked()
1453 final boolean isCallerSystem = callerApp.info.uid == Process.SYSTEM_UID; in bindServiceLocked()
1489 final boolean callerFg = callerApp.setSchedGroup != ProcessList.SCHED_GROUP_BACKGROUND; in bindServiceLocked()
1584 if (unscheduleServiceRestartLocked(s, callerApp.info.uid, false)) { in bindServiceLocked()
[all …]
DBroadcastQueue.java734 final boolean callerForeground = receiverRecord.callerApp != null in requestStartTargetPermissionsReviewIfNeededLocked()
735 ? receiverRecord.callerApp.setSchedGroup != ProcessList.SCHED_GROUP_BACKGROUND in requestStartTargetPermissionsReviewIfNeededLocked()
969 + r.intent.getAction() + " app=" + r.callerApp); in processNextBroadcastLocked()
970 performReceiveLocked(r.callerApp, r.resultTo, in processNextBroadcastLocked()
1607 record.callerApp == null ? "process unknown" : record.callerApp.toShortString(), in createBroadcastTraceTitle()
DActivityStackSupervisor.java584 final ProcessRecord callerApp; field in ActivityStackSupervisor.PendingActivityLaunch
592 callerApp = _callerApp; in PendingActivityLaunch()
597 if (callerApp.thread != null) { in sendErrorResult()
598 callerApp.thread.scheduleCrash(message); in sendErrorResult()
1741 ProcessRecord callerApp, ActivityRecord resultRecord, ActivityStack resultStack) { in checkStartAnyActivityPermission() argument
1766 + " from " + callerApp + " (pid=" + callingPid in checkStartAnyActivityPermission()
1771 + " from " + callerApp + " (pid=" + callingPid in checkStartAnyActivityPermission()
1776 + " from " + callerApp + " (pid=" + callingPid in checkStartAnyActivityPermission()
1786 + " from " + callerApp + " (pid=" + callingPid in checkStartAnyActivityPermission()
1794 + " from " + callerApp + " (pid=" + callingPid in checkStartAnyActivityPermission()
DActivityManagerService.java20806 ProcessRecord callerApp = null; in registerReceiver() local
20814 callerApp = getRecordForAppLocked(caller); in registerReceiver()
20815 if (callerApp == null) { in registerReceiver()
20821 if (callerApp.info.uid != SYSTEM_UID && in registerReceiver()
20822 !callerApp.pkgList.containsKey(callerPackage) && in registerReceiver()
20825 + " is not running in process " + callerApp); in registerReceiver()
20827 callingUid = callerApp.info.uid; in registerReceiver()
20828 callingPid = callerApp.pid; in registerReceiver()
20835 instantApp = isInstantApp(callerApp, callerPackage, callingUid); in registerReceiver()
20897 if (callerApp != null && (callerApp.thread == null in registerReceiver()
[all …]