/frameworks/av/services/mediaresourcemanager/ |
D | ResourceManagerService.cpp | 251 int callingPid, const MediaResource *res, Vector<sp<IResourceManagerClient>> *clients) { in getClientForResource_l() argument 256 if (getLowestPriorityBiggestClient_l(callingPid, res->mType, &client)) { in getClientForResource_l() 262 int callingPid, const Vector<MediaResource> &resources) { in reclaimResource() argument 264 callingPid, getString(resources).string()); in reclaimResource() 270 if (!mProcessInfo->isValidPid(callingPid)) { in reclaimResource() 291 if (!getAllClients_l(callingPid, MediaResource::kSecureCodec, &clients)) { in reclaimResource() 296 if (!getAllClients_l(callingPid, MediaResource::kNonSecureCodec, &clients)) { in reclaimResource() 303 if (!getAllClients_l(callingPid, MediaResource::kSecureCodec, &clients)) { in reclaimResource() 311 getClientForResource_l(callingPid, graphicMemory, &clients); in reclaimResource() 316 getClientForResource_l(callingPid, secureCodec, &clients); in reclaimResource() [all …]
|
D | ResourceManagerService.h | 71 virtual bool reclaimResource(int callingPid, const Vector<MediaResource> &resources); 82 bool getAllClients_l(int callingPid, MediaResource::Type type, 88 bool getLowestPriorityBiggestClient_l(int callingPid, MediaResource::Type type, 99 bool isCallingPriorityHigher_l(int callingPid, int pid); 104 int callingPid, const MediaResource *res, Vector<sp<IResourceManagerClient>> *clients);
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | NotificationDelegate.java | 23 void onClearAll(int callingUid, int callingPid, int userId); in onClearAll() argument 24 void onNotificationClick(int callingUid, int callingPid, String key); in onNotificationClick() argument 25 void onNotificationActionClick(int callingUid, int callingPid, String key, int actionIndex); in onNotificationActionClick() argument 26 void onNotificationClear(int callingUid, int callingPid, in onNotificationClear() argument 28 void onNotificationError(int callingUid, int callingPid, in onNotificationError() argument
|
D | NotificationManagerService.java | 514 public void onClearAll(int callingUid, int callingPid, int userId) { 516 cancelAllLocked(callingUid, callingPid, userId, REASON_DELEGATE_CANCEL_ALL, null, 522 public void onNotificationClick(int callingUid, int callingPid, String key) { 534 cancelNotification(callingUid, callingPid, sbn.getPackageName(), sbn.getTag(), 542 public void onNotificationActionClick(int callingUid, int callingPid, String key, 558 public void onNotificationClear(int callingUid, int callingPid, 560 cancelNotification(callingUid, callingPid, pkg, tag, id, 0, 589 … public void onNotificationError(int callingUid, int callingPid, String pkg, String tag, int id, 593 cancelNotification(callingUid, callingPid, pkg, tag, id, 0, 0, false, userId, 1285 int callingPid = Binder.getCallingPid(); [all …]
|
D | NotificationManagerInternal.java | 22 void enqueueNotification(String pkg, String basePkg, int callingUid, int callingPid, in enqueueNotification() argument
|
/frameworks/av/services/camera/libcameraservice/api1/ |
D | CameraClient.cpp | 46 int callingPid = getCallingPid(); in CameraClient() local 47 LOG1("CameraClient::CameraClient E (pid %d, id %d)", callingPid, cameraId); in CameraClient() 60 LOG1("CameraClient::CameraClient X (pid %d, id %d)", callingPid, cameraId); in CameraClient() 64 int callingPid = getCallingPid(); in initialize() local 67 LOG1("CameraClient::initialize E (pid %d, id %d)", callingPid, mCameraId); in initialize() 96 LOG1("CameraClient::initialize X (pid %d, id %d)", callingPid, mCameraId); in initialize() 104 int callingPid = getCallingPid(); in ~CameraClient() local 105 LOG1("CameraClient::~CameraClient E (pid %d, this %p)", callingPid, this); in ~CameraClient() 108 LOG1("CameraClient::~CameraClient X (pid %d, this %p)", callingPid, this); in ~CameraClient() 142 int callingPid = getCallingPid(); in checkPid() local [all …]
|
/frameworks/av/media/libstagefright/ |
D | ProcessInfo.cpp | 57 int callingPid = IPCThreadState::self()->getCallingPid(); in isValidPid() local 59 return (callingPid == getpid()) || (callingPid == pid); in isValidPid()
|
/frameworks/av/services/camera/libcameraservice/common/ |
D | Camera2ClientBase.cpp | 73 int callingPid = getCallingPid(); in checkPid() local 74 if (callingPid == TClientBase::mClientPid) return NO_ERROR; in checkPid() 77 " (old pid %d, new pid %d)", checkLocation, TClientBase::mClientPid, callingPid); in checkPid() 178 int callingPid = getCallingPid(); in disconnect() local 179 if (callingPid != TClientBase::mClientPid && in disconnect() 180 callingPid != TClientBase::mServicePid) return res; in disconnect()
|
/frameworks/av/media/libmedia/ |
D | IResourceManagerService.cpp | 97 virtual bool reclaimResource(int callingPid, const Vector<MediaResource> &resources) { in reclaimResource() argument 100 data.writeInt32(callingPid); in reclaimResource() 154 int callingPid = data.readInt32(); in onTransact() local 157 bool ret = reclaimResource(callingPid, resources); in onTransact()
|
/frameworks/base/services/core/java/com/android/server/statusbar/ |
D | StatusBarManagerService.java | 743 final int callingPid = Binder.getCallingPid(); in onNotificationClick() local 746 mNotificationDelegate.onNotificationClick(callingUid, callingPid, key); in onNotificationClick() 756 final int callingPid = Binder.getCallingPid(); in onNotificationActionClick() local 759 mNotificationDelegate.onNotificationActionClick(callingUid, callingPid, key, in onNotificationActionClick() 771 final int callingPid = Binder.getCallingPid(); in onNotificationError() local 775 mNotificationDelegate.onNotificationError(callingUid, callingPid, in onNotificationError() 786 final int callingPid = Binder.getCallingPid(); in onNotificationClear() local 789 mNotificationDelegate.onNotificationClear(callingUid, callingPid, pkg, tag, id, userId); in onNotificationClear() 826 final int callingPid = Binder.getCallingPid(); in onClearAllNotifications() local 829 mNotificationDelegate.onClearAll(callingUid, callingPid, userId); in onClearAllNotifications()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | DisplayManagerService.java | 411 private void registerCallbackInternal(IDisplayManagerCallback callback, int callingPid) { in registerCallbackInternal() argument 413 if (mCallbacks.get(callingPid) != null) { in registerCallbackInternal() 418 CallbackRecord record = new CallbackRecord(callingPid, callback); in registerCallbackInternal() 427 mCallbacks.put(callingPid, record); in registerCallbackInternal() 438 private void startWifiDisplayScanInternal(int callingPid) { in startWifiDisplayScanInternal() argument 440 CallbackRecord record = mCallbacks.get(callingPid); in startWifiDisplayScanInternal() 460 private void stopWifiDisplayScanInternal(int callingPid) { in stopWifiDisplayScanInternal() argument 462 CallbackRecord record = mCallbacks.get(callingPid); in stopWifiDisplayScanInternal() 1214 final int callingPid = Binder.getCallingPid(); in registerCallback() local 1217 registerCallbackInternal(callback, callingPid); in registerCallback() [all …]
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ActivityStarter.java | 227 IBinder resultTo, String resultWho, int requestCode, int callingPid, int callingUid, in startActivityLocked() argument 238 callingPid = callerApp.pid; in startActivityLocked() 242 + " (pid=" + callingPid + ") when starting: " in startActivityLocked() 371 … requestCode, callingPid, callingUid, callingPackage, ignoreTargetSecurity, callerApp, in startActivityLocked() 374 callingPid, resolvedType, aInfo.applicationInfo); in startActivityLocked() 389 mInterceptor.intercept(intent, rInfo, aInfo, resolvedType, inTask, callingPid, callingUid, in startActivityLocked() 396 callingPid = mInterceptor.mCallingPid; in startActivityLocked() 435 callingPid = realCallingPid; in startActivityLocked() 487 callingPid = realCallingPid; in startActivityLocked() 510 if (!mService.checkAppSwitchAllowedLocked(callingPid, callingUid, in startActivityLocked() [all …]
|
D | BroadcastRecord.java | 49 final int callingPid; // the pid of who sent this field in BroadcastRecord 114 pw.print(" pid="); pw.print(callingPid); in dump() 227 callingPid = _callingPid; in BroadcastRecord()
|
D | ActivityStartInterceptor.java | 97 TaskRecord inTask, int callingPid, int callingUid, ActivityOptions activityOptions) { in intercept() argument 100 mCallingPid = callingPid; in intercept()
|
D | BroadcastQueue.java | 499 r.callingPid, r.callingUid, -1, true); in deliverToRegisteredReceiverLocked() 504 + r.callingPid + ", uid=" + r.callingUid + ")" in deliverToRegisteredReceiverLocked() 516 + r.callingPid + ", uid=" + r.callingUid + ")" in deliverToRegisteredReceiverLocked() 602 r.callingPid, r.resolvedType, filter.receiverList.uid)) { in deliverToRegisteredReceiverLocked() 981 r.callingPid, r.callingUid, info.activityInfo.applicationInfo.uid, in processNextBroadcast() 987 + " from " + r.callerPackage + " (pid=" + r.callingPid in processNextBroadcast() 994 + " from " + r.callerPackage + " (pid=" + r.callingPid in processNextBroadcast() 1008 + r.callingPid + ", uid=" + r.callingUid + ")" in processNextBroadcast() 1070 r.callingPid, r.resolvedType, info.activityInfo.applicationInfo.uid); in processNextBroadcast()
|
D | ActivityStackSupervisor.java | 1390 String resultWho, int requestCode, int callingPid, int callingUid, in checkStartAnyActivityPermission() argument 1393 final int startAnyPerm = mService.checkPermission(START_ANY_ACTIVITY, callingPid, in checkStartAnyActivityPermission() 1399 aInfo, callingPackage, callingPid, callingUid, ignoreTargetSecurity); in checkStartAnyActivityPermission() 1401 intent.getAction(), callingPackage, callingPid, callingUid); in checkStartAnyActivityPermission() 1412 + " from " + callerApp + " (pid=" + callingPid in checkStartAnyActivityPermission() 1417 + " from " + callerApp + " (pid=" + callingPid in checkStartAnyActivityPermission() 1422 + " from " + callerApp + " (pid=" + callingPid in checkStartAnyActivityPermission() 1432 + " from " + callerApp + " (pid=" + callingPid in checkStartAnyActivityPermission() 1440 + " from " + callerApp + " (pid=" + callingPid in checkStartAnyActivityPermission() 1448 callingPid, callingUid); in checkStartAnyActivityPermission() [all …]
|
D | ActiveServices.java | 307 int callingPid, int callingUid, String callingPackage, final int userId) in startServiceLocked() argument 329 callingPid, callingUid, userId, true, callerFg, false); in startServiceLocked() 351 r.appInfo.uid, r.packageName, callingPid, true); in startServiceLocked() 355 + " from pid=" + callingPid + " uid=" + callingUid in startServiceLocked() 443 + callingUid + " pid=" + callingPid + "): " + r); in startServiceLocked() 1245 String resolvedType, String callingPackage, int callingPid, int callingUid, int userId, in retrieveServiceLocked() argument 1251 userId = mAm.mUserController.handleIncomingUser(callingPid, callingUid, userId, false, in retrieveServiceLocked() 1358 callingPid, callingUid, r.appInfo.uid, r.exported) in retrieveServiceLocked() 1362 + " from pid=" + callingPid in retrieveServiceLocked() 1369 + " from pid=" + callingPid in retrieveServiceLocked() [all …]
|
/frameworks/av/services/camera/libcameraservice/ |
D | CameraService.cpp | 926 int callingPid = getCallingPid(); in validateConnectLocked() local 934 "(don't trust clientUid %d)", callingPid, callingUid, clientUid); in validateConnectLocked() 938 callingPid, callingUid, cameraId.string(), in validateConnectLocked() 944 clientPid = callingPid; in validateConnectLocked() 947 "(don't trust clientPid %d)", callingPid, callingUid, clientPid); in validateConnectLocked() 951 callingPid, callingUid, cameraId.string(), in validateConnectLocked() 956 if (callingPid != getpid() && in validateConnectLocked() 967 clientPid = callingPid; in validateConnectLocked() 971 callingPid); in validateConnectLocked() 977 ALOGE("CameraService::connect X (PID %d) rejected (invalid camera ID %s)", callingPid, in validateConnectLocked() [all …]
|
/frameworks/av/drm/libmediadrm/ |
D | DrmSessionManager.cpp | 141 bool DrmSessionManager::reclaimSession(int callingPid) { in reclaimSession() argument 142 ALOGV("reclaimSession(%d)", callingPid); in reclaimSession() 151 if (!mProcessInfo->getPriority(callingPid, &callingPriority)) { in reclaimSession()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | DpmMockContext.java | 98 public int callingPid = CALLER_PID; field in DpmMockContext.MockBinder 101 final long token = (((long) callingUid) << 32) | (callingPid); in clearCallingIdentity() 103 callingPid = SYSTEM_PID; in clearCallingIdentity() 109 callingPid = (int) token; in restoreCallingIdentity() 117 return callingPid; in getCallingPid() 503 if (binder.callingPid != SYSTEM_PID) { in sendBroadcastAsUser()
|
/frameworks/av/include/media/ |
D | IResourceManagerService.h | 49 int callingPid,
|
D | DrmSessionManager.h | 54 bool reclaimSession(int callingPid);
|
/frameworks/av/services/audiopolicy/service/ |
D | AudioPolicyInterfaceImpl.cpp | 297 const pid_t callingPid = IPCThreadState::self()->getCallingPid(); in getInputForAttr() local 298 ALOGW_IF(pid != (pid_t)-1 && pid != callingPid, in getInputForAttr() 300 __func__, callingUid, callingPid, pid); in getInputForAttr() 301 pid = callingPid; in getInputForAttr()
|
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/ |
D | VoiceInteractionManagerServiceImpl.java | 181 public int startVoiceActivityLocked(int callingPid, int callingUid, IBinder token, in startVoiceActivityLocked() argument 195 return mAm.startVoiceActivity(mComponent.getPackageName(), callingPid, callingUid, in startVoiceActivityLocked()
|
/frameworks/base/services/core/java/com/android/server/input/ |
D | InputManagerService.java | 658 int callingPid = Binder.getCallingPid(); in registerInputDevicesChangedListener() local 659 if (mInputDevicesChangedListeners.get(callingPid) != null) { in registerInputDevicesChangedListener() 665 new InputDevicesChangedListenerRecord(callingPid, listener); in registerInputDevicesChangedListener() 674 mInputDevicesChangedListeners.put(callingPid, record); in registerInputDevicesChangedListener() 908 final int callingPid = Binder.getCallingPid(); in registerTabletModeChangedListener() local 909 if (mTabletModeChangedListeners.get(callingPid) != null) { in registerTabletModeChangedListener() 914 new TabletModeChangedListenerRecord(callingPid, listener); in registerTabletModeChangedListener() 921 mTabletModeChangedListeners.put(callingPid, record); in registerTabletModeChangedListener()
|