Home
last modified time | relevance | path

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

/frameworks/av/services/camera/libcameraservice/api1/
DCameraClient.cpp45 int callingPid = getCallingPid(); in CameraClient() local
46 LOG1("CameraClient::CameraClient E (pid %d, id %d)", callingPid, cameraId); in CameraClient()
58 LOG1("CameraClient::CameraClient X (pid %d, id %d)", callingPid, cameraId); in CameraClient()
62 int callingPid = getCallingPid(); in initialize() local
65 LOG1("CameraClient::initialize E (pid %d, id %d)", callingPid, mCameraId); in initialize()
94 LOG1("CameraClient::initialize X (pid %d, id %d)", callingPid, mCameraId); in initialize()
107 int callingPid = getCallingPid(); in ~CameraClient() local
108 LOG1("CameraClient::~CameraClient E (pid %d, this %p)", callingPid, this); in ~CameraClient()
111 LOG1("CameraClient::~CameraClient X (pid %d, this %p)", callingPid, this); in ~CameraClient()
130 int callingPid = getCallingPid(); in checkPid() local
[all …]
DCamera2Client.cpp388 int callingPid = getCallingPid(); in disconnect() local
389 if (callingPid != mClientPid && callingPid != mServicePid) return; in disconnect()
/frameworks/av/services/camera/libcameraservice/
DCameraService.cpp313 int callingPid = getCallingPid(); in validateConnect() local
319 if (callingPid != getpid()) { in validateConnect()
321 callingPid); in validateConnect()
333 callingPid, cameraId); in validateConnect()
341 ALOGI("Camera is disabled. connect X (pid %d) rejected", callingPid); in validateConnect()
348 " connect X (pid %d) rejected", callingPid); in validateConnect()
352 " connect X (pid %d) rejected", callingPid); in validateConnect()
366 int callingPid = getCallingPid(); in canConnectUnsafe() local
373 callingPid); in canConnectUnsafe()
379 " (existing client).", callingPid); in canConnectUnsafe()
[all …]
/frameworks/av/services/camera/libcameraservice/common/
DCamera2ClientBase.cpp67 int callingPid = getCallingPid(); in checkPid() local
68 if (callingPid == TClientBase::mClientPid) return NO_ERROR; in checkPid()
71 " (old pid %d, new pid %d)", checkLocation, TClientBase::mClientPid, callingPid); in checkPid()
169 int callingPid = getCallingPid(); in disconnect() local
170 if (callingPid != TClientBase::mClientPid && in disconnect()
171 callingPid != TClientBase::mServicePid) return; in disconnect()
/frameworks/base/services/java/com/android/server/display/
DDisplayManagerService.java446 int callingPid = Binder.getCallingPid(); in registerCallback() local
447 if (mCallbacks.get(callingPid) != null) { in registerCallback()
452 CallbackRecord record = new CallbackRecord(callingPid, callback); in registerCallback()
461 mCallbacks.put(callingPid, record); in registerCallback()
477 final int callingPid = Binder.getCallingPid(); in startWifiDisplayScan() local
481 CallbackRecord record = mCallbacks.get(callingPid); in startWifiDisplayScan()
509 final int callingPid = Binder.getCallingPid(); in stopWifiDisplayScan() local
513 CallbackRecord record = mCallbacks.get(callingPid); in stopWifiDisplayScan()
/frameworks/base/services/java/com/android/server/am/
DActivityStackSupervisor.java655 int callingPid; in startActivityMayWait() local
657 callingPid = -1; in startActivityMayWait()
659 callingPid = Binder.getCallingPid(); in startActivityMayWait()
662 callingPid = callingUid = -1; in startActivityMayWait()
688 + " (pid=" + callingPid + ") when starting: " in startActivityMayWait()
724 callingPid = Binder.getCallingPid(); in startActivityMayWait()
742 aInfo, resultTo, resultWho, requestCode, callingPid, callingUid, in startActivityMayWait()
808 int callingPid; in startActivities() local
810 callingPid = -1; in startActivities()
812 callingPid = Binder.getCallingPid(); in startActivities()
[all …]
DBroadcastRecord.java44 final int callingPid; // the pid of who sent this field in BroadcastRecord
99 pw.print(" pid="); pw.print(callingPid); in dump()
187 callingPid = _callingPid; in BroadcastRecord()
DBroadcastQueue.java434 r.callingPid, r.callingUid, -1, true); in deliverToRegisteredReceiverLocked()
439 + r.callingPid + ", uid=" + r.callingUid + ")" in deliverToRegisteredReceiverLocked()
472 r.callingPid, r.resolvedType, filter.receiverList.uid); in deliverToRegisteredReceiverLocked()
738 r.callingPid, r.callingUid, info.activityInfo.applicationInfo.uid, in processNextBroadcast()
744 + " from " + r.callerPackage + " (pid=" + r.callingPid in processNextBroadcast()
751 + " from " + r.callerPackage + " (pid=" + r.callingPid in processNextBroadcast()
790 r.callingPid, r.resolvedType, info.activityInfo.applicationInfo.uid); in processNextBroadcast()
DActiveServices.java278 int callingPid, int callingUid, int userId) { in startServiceLocked() argument
299 callingPid, callingUid, userId, true, callerFg); in startServiceLocked()
373 + callingUid + " pid=" + callingPid + "): " + r); in startServiceLocked()
945 String resolvedType, int callingPid, int callingUid, int userId, in retrieveServiceLocked() argument
951 userId = mAm.handleIncomingUser(callingPid, callingUid, userId, in retrieveServiceLocked()
1019 callingPid, callingUid, r.appInfo.uid, r.exported) in retrieveServiceLocked()
1023 + " from pid=" + callingPid in retrieveServiceLocked()
1030 + " from pid=" + callingPid in retrieveServiceLocked()
1035 if (!mAm.mIntentFirewall.checkService(r.name, service, callingUid, callingPid, in retrieveServiceLocked()
DActivityManagerService.java4300 final int callingPid = Binder.getCallingPid(); in forceStopPackage() local
4301 userId = handleIncomingUser(callingPid, Binder.getCallingUid(), in forceStopPackage()
4327 forceStopPackageLocked(packageName, pkgUid, "from pid " + callingPid); in forceStopPackage()
5061 int callingPid = Binder.getCallingPid(); in attachApplication() local
5063 attachApplicationLocked(thread, callingPid); in attachApplication()
7395 final int callingPid = (r != null) ? r.pid : Binder.getCallingPid();
7397 if (checkComponentPermission(cpi.readPermission, callingPid, callingUid,
7402 if (checkComponentPermission(cpi.writePermission, callingPid, callingUid,
7414 if (checkComponentPermission(pp.getReadPermission(), callingPid, callingUid,
7419 if (checkComponentPermission(pp.getWritePermission(), callingPid, callingUid,
[all …]
/frameworks/base/core/java/android/net/
DEthernetDataTracker.java310 public int startUsingNetworkFeature(String feature, int callingPid, int callingUid) { in startUsingNetworkFeature() argument
327 public int stopUsingNetworkFeature(String feature, int callingPid, int callingUid) { in stopUsingNetworkFeature() argument
/frameworks/base/core/java/android/bluetooth/
DBluetoothTetheringDataTracker.java192 public int startUsingNetworkFeature(String feature, int callingPid, int callingUid) { in startUsingNetworkFeature() argument
209 public int stopUsingNetworkFeature(String feature, int callingPid, int callingUid) { in stopUsingNetworkFeature() argument
/frameworks/base/services/java/com/android/server/input/
DInputManagerService.java596 int callingPid = Binder.getCallingPid(); in registerInputDevicesChangedListener() local
597 if (mInputDevicesChangedListeners.get(callingPid) != null) { in registerInputDevicesChangedListener()
603 new InputDevicesChangedListenerRecord(callingPid, listener); in registerInputDevicesChangedListener()
612 mInputDevicesChangedListeners.put(callingPid, record); in registerInputDevicesChangedListener()
/frameworks/base/services/java/com/android/server/
DNotificationManagerService.java1445 int callingPid = Binder.getCallingPid(); in enqueueToast() local
1474 record = new ToastRecord(callingPid, pkg, callback, duration); in enqueueToast()
1477 keepProcessAliveLocked(callingPid); in enqueueToast()
1646 final int callingPid, final String tag, final int id, final Notification notification, in enqueueNotificationInternal() argument
1655 final int userId = ActivityManager.handleIncomingUser(callingPid, in enqueueNotificationInternal()
1766 pkg, id, tag, callingUid, callingPid, score, notification, user); in enqueueNotificationInternal()
/frameworks/base/core/java/android/app/
DActivityManager.java2183 public static int handleIncomingUser(int callingPid, int callingUid, int userId, in handleIncomingUser() argument
2189 return ActivityManagerNative.getDefault().handleIncomingUser(callingPid, in handleIncomingUser()
DIActivityManager.java198 public int handleIncomingUser(int callingPid, int callingUid, int userId, boolean allowAll, in handleIncomingUser() argument
DActivityManagerNative.java1045 int callingPid = data.readInt(); in onTransact() local
1052 int res = handleIncomingUser(callingPid, callingUid, userId, allowAll, in onTransact()
3350 public int handleIncomingUser(int callingPid, int callingUid, int userId, boolean allowAll, in handleIncomingUser() argument
3355 data.writeInt(callingPid); in handleIncomingUser()
/frameworks/av/services/audioflinger/
DThreads.cpp1347 pid_t callingPid = IPCThreadState::self()->getCallingPid(); in createTrack_l() local
1350 sendPrioConfigEvent_l(callingPid, tid, kPriorityAudioApp); in createTrack_l()
4757 pid_t callingPid = IPCThreadState::self()->getCallingPid(); in createRecordTrack_l() local
4760 sendPrioConfigEvent_l(callingPid, tid, kPriorityAudioApp); in createRecordTrack_l()