Searched defs:callingPid (Results 1 - 14 of 14) sorted by relevance

/frameworks/base/core/java/android/bluetooth/
H A DBluetoothTetheringDataTracker.java172 * @param callingPid the process ID of the process that is issuing this request
180 public int startUsingNetworkFeature(String feature, int callingPid, int callingUid) { argument
189 * @param callingPid the process ID of the process that is issuing this request
197 public int stopUsingNetworkFeature(String feature, int callingPid, int callingUid) { argument
/frameworks/base/services/java/com/android/server/am/
H A DBroadcastRecord.java42 final int callingPid; // the pid of who sent this field in class:BroadcastRecord
91 pw.print(" pid="); pw.print(callingPid);
176 callingPid = _callingPid;
H A DActiveServices.java213 int callingPid, int callingUid, int userId) {
229 callingPid, callingUid, userId, true);
703 String resolvedType, int callingPid, int callingUid, int userId,
709 userId = mAm.handleIncomingUser(callingPid, callingUid, userId,
777 callingPid, callingUid, r.appInfo.uid, r.exported)
781 + " from pid=" + callingPid
788 + " from pid=" + callingPid
211 startServiceLocked(IApplicationThread caller, Intent service, String resolvedType, int callingPid, int callingUid, int userId) argument
702 retrieveServiceLocked(Intent service, String resolvedType, int callingPid, int callingUid, int userId, boolean createIfNeeded) argument
H A DActivityStack.java2458 int callingPid, int callingUid, int startFlags, Bundle options,
2467 callingPid = callerApp.pid;
2471 + " (pid=" + callingPid + ") when starting: "
2480 + "} from pid " + (callerApp != null ? callerApp.pid : callingPid));
2541 START_ANY_ACTIVITY, callingPid, callingUid);
2542 final int componentPerm = mService.checkComponentPermission(aInfo.permission, callingPid,
2554 + " from " + callerApp + " (pid=" + callingPid
2559 + " from " + callerApp + " (pid=" + callingPid
2605 if (!mService.checkAppSwitchAllowedLocked(callingPid, callingUid, "Activity start")) {
3088 int callingPid;
2455 startActivityLocked(IApplicationThread caller, Intent intent, String resolvedType, ActivityInfo aInfo, IBinder resultTo, String resultWho, int requestCode, int callingPid, int callingUid, int startFlags, Bundle options, boolean componentSpecified, ActivityRecord[] outActivity) argument
[all...]
H A DActivityManagerService.java4315 int callingPid = Binder.getCallingPid();
4317 attachApplicationLocked(thread, callingPid);
6250 final int callingPid = (r != null) ? r.pid : Binder.getCallingPid();
6252 if (checkComponentPermission(cpi.readPermission, callingPid, callingUid,
6257 if (checkComponentPermission(cpi.writePermission, callingPid, callingUid,
6269 if (checkComponentPermission(pp.getReadPermission(), callingPid, callingUid,
6274 if (checkComponentPermission(pp.getWritePermission(), callingPid, callingUid,
6294 + " from " + (r != null ? r : "(null)") + " (pid=" + callingPid
6299 + " from " + (r != null ? r : "(null)") + " (pid=" + callingPid
7227 boolean checkAppSwitchAllowedLocked(int callingPid, in argument
10974 handleIncomingUser(int callingPid, int callingUid, int userId, boolean allowAll, boolean requireFull, String name, String callerPackage) argument
11567 broadcastIntentLocked(ProcessRecord callerApp, String callerPackage, Intent intent, String resolvedType, IIntentReceiver resultTo, int resultCode, String resultData, Bundle map, String requiredPermission, boolean ordered, boolean sticky, int callingPid, int callingUid, int userId) argument
[all...]
/frameworks/av/services/camera/libcameraservice/
H A DCameraService.cpp136 int callingPid = getCallingPid(); local
138 LOG1("CameraService::connect E (pid %d, id %d)", callingPid, cameraId);
148 callingPid, cameraId);
156 ALOGI("Camera is disabled. connect X (pid %d) rejected", callingPid);
166 callingPid);
170 callingPid);
179 " (camera %d is still busy).", callingPid, cameraId);
199 info.facing, callingPid, getpid());
203 info.facing, callingPid, getpid());
222 int callingPid local
393 int callingPid = getCallingPid(); local
[all...]
H A DCameraClient.cpp47 int callingPid = getCallingPid(); local
48 LOG1("CameraClient::CameraClient E (pid %d, id %d)", callingPid, cameraId);
60 LOG1("CameraClient::CameraClient X (pid %d, id %d)", callingPid, cameraId);
64 int callingPid = getCallingPid(); local
65 LOG1("CameraClient::initialize E (pid %d, id %d)", callingPid, mCameraId);
89 LOG1("CameraClient::initialize X (pid %d, id %d)", callingPid, mCameraId);
102 int callingPid = getCallingPid(); local
103 LOG1("CameraClient::~CameraClient E (pid %d, this %p)", callingPid, this);
106 LOG1("CameraClient::~CameraClient X (pid %d, this %p)", callingPid, this);
125 int callingPid local
144 int callingPid = getCallingPid(); local
159 int callingPid = getCallingPid(); local
181 int callingPid = getCallingPid(); local
216 int callingPid = getCallingPid(); local
[all...]
H A DCamera2Client.cpp67 int callingPid = getCallingPid(); local
68 if (callingPid == mClientPid) return NO_ERROR;
71 " (old pid %d, new pid %d)", checkLocation, mClientPid, callingPid);
376 int callingPid = getCallingPid(); local
377 if (callingPid != mClientPid && callingPid != mServicePid) return;
/frameworks/base/core/java/android/net/
H A DEthernetDataTracker.java302 * @param callingPid the process ID of the process that is issuing this request
310 public int startUsingNetworkFeature(String feature, int callingPid, int callingUid) { argument
319 * @param callingPid the process ID of the process that is issuing this request
327 public int stopUsingNetworkFeature(String feature, int callingPid, int callingUid) { argument
/frameworks/base/services/java/com/android/server/
H A DNotificationManagerService.java683 int callingPid = Binder.getCallingPid();
712 record = new ToastRecord(callingPid, pkg, callback, duration);
715 keepProcessAliveLocked(callingPid);
882 public void enqueueNotificationInternal(String pkg, int callingUid, int callingPid, argument
891 userId = ActivityManager.handleIncomingUser(callingPid,
969 callingUid, callingPid, userId,
/frameworks/base/core/java/android/app/
H A DActivityManager.java1919 public static int handleIncomingUser(int callingPid, int callingUid, int userId, argument
1925 return ActivityManagerNative.getDefault().handleIncomingUser(callingPid,
H A DActivityManagerNative.java968 int callingPid = data.readInt();
975 int res = handleIncomingUser(callingPid, callingUid, userId, allowAll,
3018 public int handleIncomingUser(int callingPid, int callingUid, int userId, boolean allowAll, argument
3023 data.writeInt(callingPid);
H A DIActivityManager.java185 public int handleIncomingUser(int callingPid, int callingUid, int userId, boolean allowAll, argument
/frameworks/av/services/audioflinger/
H A DAudioFlinger.cpp1858 pid_t callingPid = IPCThreadState::self()->getCallingPid(); local
1861 sendPrioConfigEvent_l(callingPid, tid, kPriorityAudioApp);

Completed in 265 milliseconds