Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/am/
DBroadcastRecord.java47 final ProcessRecord callerApp; // process that sent this field in BroadcastRecord
113 pw.print(callerApp != null ? callerApp.toShortString() : "null"); in dump()
225 callerApp = _callerApp; in BroadcastRecord()
DActivityStarter.java234 ProcessRecord callerApp = null; in startActivityLocked() local
236 callerApp = mService.getRecordForAppLocked(caller); in startActivityLocked()
237 if (callerApp != null) { in startActivityLocked()
238 callingPid = callerApp.pid; in startActivityLocked()
239 callingUid = callerApp.info.uid; in startActivityLocked()
371 … requestCode, callingPid, callingUid, callingPackage, ignoreTargetSecurity, callerApp, in startActivityLocked()
493 ActivityRecord r = new ActivityRecord(mService, callerApp, callingUid, callingPackage, in startActivityLocked()
513 sourceRecord, startFlags, stack, callerApp); in startActivityLocked()
766 ProcessRecord callerApp = mService.getRecordForAppLocked(caller); in startActivityMayWait() local
767 if (callerApp != null) { in startActivityMayWait()
[all …]
DActiveServices.java314 final ProcessRecord callerApp = mAm.getRecordForAppLocked(caller); in startServiceLocked() local
315 if (callerApp == null) { in startServiceLocked()
321 callerFg = callerApp.setSchedGroup != ProcessList.SCHED_GROUP_BACKGROUND; in startServiceLocked()
561 final ProcessRecord callerApp = mAm.getRecordForAppLocked(caller); in stopServiceLocked() local
562 if (caller != null && callerApp == null) { in stopServiceLocked()
825 final ProcessRecord callerApp = mAm.getRecordForAppLocked(caller); in bindServiceLocked() local
826 if (callerApp == null) { in bindServiceLocked()
844 final boolean isCallerSystem = callerApp.info.uid == Process.SYSTEM_UID; in bindServiceLocked()
874 final boolean callerFg = callerApp.setSchedGroup != ProcessList.SCHED_GROUP_BACKGROUND; in bindServiceLocked()
968 if (unscheduleServiceRestartLocked(s, callerApp.info.uid, false)) { in bindServiceLocked()
[all …]
DActivityStackSupervisor.java462 final ProcessRecord callerApp; field in ActivityStackSupervisor.PendingActivityLaunch
470 callerApp = _callerApp; in PendingActivityLaunch()
475 if (callerApp.thread != null) { in sendErrorResult()
476 callerApp.thread.scheduleCrash(message); in sendErrorResult()
1391 String callingPackage, boolean ignoreTargetSecurity, ProcessRecord callerApp, in checkStartAnyActivityPermission() argument
1412 + " from " + callerApp + " (pid=" + callingPid in checkStartAnyActivityPermission()
1417 + " from " + callerApp + " (pid=" + callingPid in checkStartAnyActivityPermission()
1422 + " from " + callerApp + " (pid=" + callingPid in checkStartAnyActivityPermission()
1432 + " from " + callerApp + " (pid=" + callingPid in checkStartAnyActivityPermission()
1440 + " from " + callerApp + " (pid=" + callingPid in checkStartAnyActivityPermission()
[all …]
DBroadcastQueue.java688 final boolean callerForeground = receiverRecord.callerApp != null in requestStartTargetPermissionsReviewIfNeededLocked()
689 ? receiverRecord.callerApp.setSchedGroup != ProcessList.SCHED_GROUP_BACKGROUND in requestStartTargetPermissionsReviewIfNeededLocked()
877 + r.intent.getAction() + " app=" + r.callerApp); in processNextBroadcast()
878 performReceiveLocked(r.callerApp, r.resultTo, in processNextBroadcast()
DActivityManagerService.java17288 ProcessRecord callerApp = null; in registerReceiver() local
17293 callerApp = getRecordForAppLocked(caller); in registerReceiver()
17294 if (callerApp == null) { in registerReceiver()
17300 if (callerApp.info.uid != Process.SYSTEM_UID && in registerReceiver()
17301 !callerApp.pkgList.containsKey(callerPackage) && in registerReceiver()
17304 + " is not running in process " + callerApp); in registerReceiver()
17306 callingUid = callerApp.info.uid; in registerReceiver()
17307 callingPid = callerApp.pid; in registerReceiver()
17370 if (callerApp != null && (callerApp.thread == null in registerReceiver()
17371 || callerApp.thread.asBinder() != caller.asBinder())) { in registerReceiver()
[all …]