Home
last modified time | relevance | path

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

/frameworks/base/services/camera/libcameraservice/
DCameraService.cpp145 int callingPid = getCallingPid(); in connect() local
148 LOG1("CameraService::connect E (pid %d, id %d)", callingPid, cameraId); in connect()
158 callingPid, cameraId); in connect()
166 LOGI("Camera is disabled. connect X (pid %d) rejected", callingPid); in connect()
176 callingPid); in connect()
180 callingPid); in connect()
189 " (camera %d is still busy).", callingPid, cameraId); in connect()
208 client = new Client(this, cameraClient, hardware, cameraId, info.facing, callingPid); in connect()
215 int callingPid = getCallingPid(); in removeClient() local
216 LOG1("CameraService::removeClient E (pid %d)", callingPid); in removeClient()
[all …]
/frameworks/base/services/java/com/android/server/am/
DBroadcastRecord.java42 final int callingPid; // the pid of who sent this field in BroadcastRecord
91 pw.print(" pid="); pw.print(callingPid); in dump()
172 callingPid = _callingPid; in BroadcastRecord()
DActivityStack.java2190 int callingPid, int callingUid, boolean onlyIfNeeded, in startActivityLocked() argument
2199 callingPid = callerApp.pid; in startActivityLocked()
2203 + " (pid=" + callingPid + ") when starting: " in startActivityLocked()
2211 + (callerApp != null ? callerApp.pid : callingPid)); in startActivityLocked()
2269 final int perm = mService.checkComponentPermission(aInfo.permission, callingPid, in startActivityLocked()
2281 + " from " + callerApp + " (pid=" + callingPid in startActivityLocked()
2286 + " from " + callerApp + " (pid=" + callingPid in startActivityLocked()
2331 … if (!mService.checkAppSwitchAllowedLocked(callingPid, callingUid, "Activity start")) { in startActivityLocked()
2803 int callingPid; in startActivityMayWait() local
2805 callingPid = -1; in startActivityMayWait()
[all …]
DActivityManagerService.java3788 int callingPid = Binder.getCallingPid(); in attachApplication() local
3790 attachApplicationLocked(thread, callingPid); in attachApplication()
5568 final int callingPid = (r != null) ? r.pid : Binder.getCallingPid(); in checkContentProviderPermissionLocked() local
5570 if (checkComponentPermission(cpi.readPermission, callingPid, callingUid, in checkContentProviderPermissionLocked()
5575 if (checkComponentPermission(cpi.writePermission, callingPid, callingUid, in checkContentProviderPermissionLocked()
5587 if (checkComponentPermission(pp.getReadPermission(), callingPid, callingUid, in checkContentProviderPermissionLocked()
5592 if (checkComponentPermission(pp.getWritePermission(), callingPid, callingUid, in checkContentProviderPermissionLocked()
5612 + " from " + (r != null ? r : "(null)") + " (pid=" + callingPid in checkContentProviderPermissionLocked()
5617 + " from " + (r != null ? r : "(null)") + " (pid=" + callingPid in checkContentProviderPermissionLocked()
6291 boolean checkAppSwitchAllowedLocked(int callingPid, int callingUid, in checkAppSwitchAllowedLocked() argument
[all …]
/frameworks/base/core/java/android/bluetooth/
DBluetoothTetheringDataTracker.java164 public int startUsingNetworkFeature(String feature, int callingPid, int callingUid) { in startUsingNetworkFeature() argument
181 public int stopUsingNetworkFeature(String feature, int callingPid, int callingUid) { in stopUsingNetworkFeature() argument
/frameworks/base/core/java/android/net/
DEthernetDataTracker.java275 public int startUsingNetworkFeature(String feature, int callingPid, int callingUid) { in startUsingNetworkFeature() argument
292 public int stopUsingNetworkFeature(String feature, int callingPid, int callingUid) { in stopUsingNetworkFeature() argument
/frameworks/base/services/java/com/android/server/
DNotificationManagerService.java464 int callingPid = Binder.getCallingPid(); in enqueueToast() local
493 record = new ToastRecord(callingPid, pkg, callback, duration); in enqueueToast()
496 keepProcessAliveLocked(callingPid); in enqueueToast()
672 public void enqueueNotificationInternal(String pkg, int callingUid, int callingPid, in enqueueNotificationInternal() argument
675 enqueueNotificationInternal(pkg, callingUid, callingPid, tag, id, in enqueueNotificationInternal()
681 public void enqueueNotificationInternal(String pkg, int callingUid, int callingPid, in enqueueNotificationInternal() argument
726 callingUid, callingPid, in enqueueNotificationInternal()