Lines Matching refs:callingPid
3503 public int startVoiceActivity(String callingPackage, int callingPid, int callingUid,
3519 userId = handleIncomingUser(callingPid, callingUid, userId,
5287 final int callingPid = Binder.getCallingPid();
5288 userId = handleIncomingUser(callingPid, Binder.getCallingUid(),
5314 forceStopPackageLocked(packageName, pkgUid, "from pid " + callingPid);
5326 int callingPid = Binder.getCallingPid();
5327 if (callingPid == Process.myPid()) {
6086 int callingPid = Binder.getCallingPid();
6088 attachApplicationLocked(thread, callingPid);
8108 private boolean isGetTasksAllowed(String caller, int callingPid, int callingUid) {
8110 callingPid, callingUid) == PackageManager.PERMISSION_GRANTED;
8113 callingPid, callingUid) == PackageManager.PERMISSION_GRANTED) {
8977 final int callingPid = (r != null) ? r.pid : Binder.getCallingPid();
8989 userId = handleIncomingUser(callingPid, callingUid, userId,
9000 if (checkComponentPermission(cpi.readPermission, callingPid, callingUid,
9005 if (checkComponentPermission(cpi.writePermission, callingPid, callingUid,
9018 if (pprperm != null && checkComponentPermission(pprperm, callingPid, callingUid,
9024 if (ppwperm != null && checkComponentPermission(ppwperm, callingPid, callingUid,
9038 + " from " + (r != null ? r : "(null)") + " (pid=" + callingPid
9043 + " from " + (r != null ? r : "(null)") + " (pid=" + callingPid
9823 int callingPid = Binder.getCallingPid();
9827 if (canClearIdentity(callingPid, callingUid, userId)) {
9857 private boolean canClearIdentity(int callingPid, int callingUid, int userId) {
9861 if (checkComponentPermission(INTERACT_ACROSS_USERS, callingPid,
9863 || checkComponentPermission(INTERACT_ACROSS_USERS_FULL, callingPid,
10202 int callingPid, int callingUid, String name) {
10218 android.Manifest.permission.STOP_APP_SWITCHES, callingPid,
10332 final int callingPid = Binder.getCallingPid();
10333 ProcessRecord precessRecord = mPidsSelfLocked.get(callingPid);
10335 throw new SecurityException("Unknown process: " + callingPid);
11784 final int callingPid = Binder.getCallingPid();
11792 handleApplicationWtfInner(callingUid, callingPid, app, tag, crashInfo);
11798 final ProcessRecord r = handleApplicationWtfInner(callingUid, callingPid, app, tag,
11811 ProcessRecord handleApplicationWtfInner(int callingUid, int callingPid, IBinder app, String tag,
11817 EventLog.writeEvent(EventLogTags.AM_WTF, UserHandle.getUserId(callingUid), callingPid,
15107 final int callingPid = Binder.getCallingPid();
15111 resolvedType, callingPid
15174 public int handleIncomingUser(int callingPid, int callingUid, int userId, boolean allowAll,
15176 return handleIncomingUser(callingPid, callingUid, userId, allowAll,
15185 int handleIncomingUser(int callingPid, int callingUid, int userId, boolean allowAll,
15202 if (checkComponentPermission(INTERACT_ACROSS_USERS_FULL, callingPid,
15209 } else if (checkComponentPermission(INTERACT_ACROSS_USERS, callingPid,
15580 int callingPid;
15598 callingPid = callerApp.pid;
15602 callingPid = Binder.getCallingPid();
15605 userId = this.handleIncomingUser(callingPid, callingUid, userId,
15641 rl = new ReceiverList(this, callerApp, callingPid, callingUid,
15658 } else if (rl.pid != callingPid) {
15660 "Receiver requested to register for pid " + callingPid
15842 boolean ordered, boolean sticky, int callingPid, int callingUid,
15856 userId = handleIncomingUser(callingPid, callingUid, userId,
15888 + callingPid + ", uid=" + callingUid;
15937 callingPid, callingUid, -1, true)
15940 + " broadcast from " + callerPackage + " (pid=" + callingPid
16065 callingPid, callingUid)
16068 + callingPid + ", uid=" + callingUid
16183 callerPackage, callingPid, callingUid, resolvedType, requiredPermission,
16273 callerPackage, callingPid, callingUid, resolvedType,
16331 final int callingPid = Binder.getCallingPid();
16338 callingPid, callingUid, userId);