Lines Matching defs:callingPid
3498 public int startVoiceActivity(String callingPackage, int callingPid, int callingUid,
3514 userId = handleIncomingUser(callingPid, callingUid, userId,
5282 final int callingPid = Binder.getCallingPid();
5283 userId = handleIncomingUser(callingPid, Binder.getCallingUid(),
5309 forceStopPackageLocked(packageName, pkgUid, "from pid " + callingPid);
5321 int callingPid = Binder.getCallingPid();
5322 if (callingPid == Process.myPid()) {
6081 int callingPid = Binder.getCallingPid();
6083 attachApplicationLocked(thread, callingPid);
8103 private boolean isGetTasksAllowed(String caller, int callingPid, int callingUid) {
8105 callingPid, callingUid) == PackageManager.PERMISSION_GRANTED;
8108 callingPid, callingUid) == PackageManager.PERMISSION_GRANTED) {
8972 final int callingPid = (r != null) ? r.pid : Binder.getCallingPid();
8984 userId = handleIncomingUser(callingPid, callingUid, userId,
8995 if (checkComponentPermission(cpi.readPermission, callingPid, callingUid,
9000 callingPid, callingUid,
9013 if (pprperm != null && checkComponentPermission(pprperm, callingPid, callingUid,
9019 if (ppwperm != null && checkComponentPermission(ppwperm, callingPid, callingUid,
9033 + " from " + (r != null ? r : "(null)") + " (pid=" + callingPid
9038 + " from " + (r != null ? r : "(null)") + " (pid=" + callingPid
9818 int callingPid = Binder.getCallingPid();
9822 if (canClearIdentity(callingPid, callingUid, userId)) {
9852 private boolean canClearIdentity(int callingPid, int callingUid, int userId) {
9856 if (checkComponentPermission(INTERACT_ACROSS_USERS, callingPid,
9858 || checkComponentPermission(INTERACT_ACROSS_USERS_FULL, callingPid,
10197 int callingPid, int callingUid, String name) {
10213 android.Manifest.permission.STOP_APP_SWITCHES, callingPid,
10327 final int callingPid = Binder.getCallingPid();
10328 ProcessRecord precessRecord = mPidsSelfLocked.get(callingPid);
10330 throw new SecurityException("Unknown process: " + callingPid);
11779 final int callingPid = Binder.getCallingPid();
11787 handleApplicationWtfInner(callingUid, callingPid, app, tag, crashInfo);
11793 final ProcessRecord r = handleApplicationWtfInner(callingUid, callingPid, app, tag,
11806 ProcessRecord handleApplicationWtfInner(int callingUid, int callingPid, IBinder app, String tag,
11812 EventLog.writeEvent(EventLogTags.AM_WTF, UserHandle.getUserId(callingUid), callingPid,
15095 final int callingPid = Binder.getCallingPid();
15099 resolvedType, callingPid, callingUid, userId);
15162 public int handleIncomingUser(int callingPid, int callingUid, int userId, boolean allowAll,
15164 return handleIncomingUser(callingPid, callingUid, userId, allowAll,
15173 int handleIncomingUser(int callingPid, int callingUid, int userId, boolean allowAll,
15190 if (checkComponentPermission(INTERACT_ACROSS_USERS_FULL, callingPid,
15197 } else if (checkComponentPermission(INTERACT_ACROSS_USERS, callingPid,
15568 int callingPid;
15586 callingPid = callerApp.pid;
15590 callingPid = Binder.getCallingPid();
15593 userId = this.handleIncomingUser(callingPid, callingUid, userId,
15629 rl = new ReceiverList(this, callerApp, callingPid, callingUid,
15646 } else if (rl.pid != callingPid) {
15648 "Receiver requested to register for pid " + callingPid
15830 boolean ordered, boolean sticky, int callingPid, int callingUid,
15844 userId = handleIncomingUser(callingPid, callingUid, userId,
15876 + callingPid + ", uid=" + callingUid;
15925 callingPid, callingUid, -1, true)
15928 + " broadcast from " + callerPackage + " (pid=" + callingPid
16053 callingPid, callingUid)
16056 + callingPid + ", uid=" + callingUid
16171 callerPackage, callingPid, callingUid, resolvedType, requiredPermission,
16261 callerPackage, callingPid, callingUid, resolvedType,
16319 final int callingPid = Binder.getCallingPid();
16326 callingPid, callingUid, userId);