/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | BinderUtilTest.java | 60 final int pid = Binder.getCallingPid(); in setUid() 66 assertEquals(pid, Binder.getCallingPid()); in setUid() 72 assertEquals(pid, Binder.getCallingPid()); in setUid() 82 final int pid = Binder.getCallingPid(); in setUidAndRestoreCallingIdentity() 88 assertEquals(pid, Binder.getCallingPid()); in setUidAndRestoreCallingIdentity() 93 assertEquals(pid, Binder.getCallingPid()); in setUidAndRestoreCallingIdentity()
|
D | BinderUtil.java | 30 Binder.restoreCallingIdentity((((long) uid) << 32) | Binder.getCallingPid()); in setUid()
|
/frameworks/base/core/java/android/content/ |
D | PermissionChecker.java | 264 if (Binder.getCallingPid() == Process.myPid()) { in checkCallingPermissionForDataDelivery() 267 return checkPermissionForDataDelivery(context, permission, Binder.getCallingPid(), in checkCallingPermissionForDataDelivery() 302 if (Binder.getCallingPid() == Process.myPid()) { in checkCallingPermissionForPreflight() 305 return checkPermissionForPreflight(context, permission, Binder.getCallingPid(), in checkCallingPermissionForPreflight() 336 String packageName = (Binder.getCallingPid() == Process.myPid()) in checkCallingOrSelfPermissionForDataDelivery() 338 return checkPermissionForDataDelivery(context, permission, Binder.getCallingPid(), in checkCallingOrSelfPermissionForDataDelivery() 371 String packageName = (Binder.getCallingPid() == Process.myPid()) in checkCallingOrSelfPermissionForPreflight() 373 return checkPermissionForPreflight(context, permission, Binder.getCallingPid(), in checkCallingOrSelfPermissionForPreflight()
|
/frameworks/base/core/java/android/hardware/location/ |
D | GeofenceHardwareService.java | 101 checkPermission(Binder.getCallingPid(), Binder.getCallingUid(), monitoringType); 110 checkPermission(Binder.getCallingPid(), Binder.getCallingUid(), monitoringType); 119 checkPermission(Binder.getCallingPid(), Binder.getCallingUid(), monitoringType); 128 checkPermission(Binder.getCallingPid(), Binder.getCallingUid(), monitoringType); 138 checkPermission(Binder.getCallingPid(), Binder.getCallingUid(), monitoringType); 149 checkPermission(Binder.getCallingPid(), Binder.getCallingUid(), monitoringType);
|
/frameworks/native/libs/gui/ |
D | BufferQueueThreadState.cpp | 31 pid_t BufferQueueThreadState::getCallingPid() { in getCallingPid() function in android::BufferQueueThreadState 33 return hardware::IPCThreadState::self()->getCallingPid(); in getCallingPid() 35 return IPCThreadState::self()->getCallingPid(); in getCallingPid()
|
/frameworks/av/services/camera/libcameraservice/api1/ |
D | CameraClient.cpp | 45 int callingPid = CameraThreadState::getCallingPid(); in CameraClient() 63 int callingPid = CameraThreadState::getCallingPid(); in initialize() 104 int callingPid = CameraThreadState::getCallingPid(); in ~CameraClient() 147 int callingPid = CameraThreadState::getCallingPid(); in checkPid() 158 CameraThreadState::getCallingPid()); in checkPidAndHardware() 167 int callingPid = CameraThreadState::getCallingPid(); in lock() 182 int callingPid = CameraThreadState::getCallingPid(); in unlock() 204 int callingPid = CameraThreadState::getCallingPid(); in connect() 240 int callingPid = CameraThreadState::getCallingPid(); in disconnect() 334 CameraThreadState::getCallingPid()); in setPreviewTarget() [all …]
|
/frameworks/av/services/camera/libcameraservice/utils/ |
D | CameraThreadState.cpp | 31 int CameraThreadState::getCallingPid() { in getCallingPid() function in android::CameraThreadState 33 return hardware::IPCThreadState::self()->getCallingPid(); in getCallingPid() 35 return IPCThreadState::self()->getCallingPid(); in getCallingPid()
|
D | CameraThreadState.h | 28 static int getCallingPid();
|
/frameworks/base/services/core/java/com/android/server/media/ |
D | MediaSessionRecord.java | 837 int pid = Binder.getCallingPid(); in setFlags() 1236 mSessionCb.sendCommand(packageName, Binder.getCallingPid(), Binder.getCallingUid(), in sendCommand() 1243 return mSessionCb.sendMediaButton(packageName, Binder.getCallingPid(), in sendMediaButton() 1317 int pid = Binder.getCallingPid(); in adjustVolume() 1331 int pid = Binder.getCallingPid(); in setVolumeTo() 1344 mSessionCb.prepare(packageName, Binder.getCallingPid(), Binder.getCallingUid(), caller); in prepare() 1350 mSessionCb.prepareFromMediaId(packageName, Binder.getCallingPid(), in prepareFromMediaId() 1357 mSessionCb.prepareFromSearch(packageName, Binder.getCallingPid(), in prepareFromSearch() 1364 mSessionCb.prepareFromUri(packageName, Binder.getCallingPid(), Binder.getCallingUid(), in prepareFromUri() 1370 mSessionCb.play(packageName, Binder.getCallingPid(), Binder.getCallingUid(), caller); in play() [all …]
|
D | MediaSessionService.java | 1004 final int pid = Binder.getCallingPid(); in createSession() 1023 final int pid = Binder.getCallingPid(); in notifySession2Created() 1049 final int pid = Binder.getCallingPid(); in getSessions() 1070 final int pid = Binder.getCallingPid(); in getSession2Tokens() 1093 final int pid = Binder.getCallingPid(); in addSessionsListener() 1139 final int pid = Binder.getCallingPid(); in addSession2TokensListener() 1164 final int pid = Binder.getCallingPid(); in removeSession2TokensListener() 1214 final int pid = Binder.getCallingPid(); in dispatchMediaKeyEvent() 1284 final int pid = Binder.getCallingPid(); in dispatchMediaKeyEventToSessionAsSystemService() 1309 final int pid = Binder.getCallingPid(); in setCallback() [all …]
|
/frameworks/base/services/core/java/com/android/server/tv/ |
D | TvInputManagerService.java | 852 final int resolvedUserId = resolveCallingUserId(Binder.getCallingPid(), in getTvInputList() 871 final int resolvedUserId = resolveCallingUserId(Binder.getCallingPid(), in getTvInputInfo() 897 final int resolvedUserId = resolveCallingUserId(Binder.getCallingPid(), in updateTvInputInfo() 921 final int resolvedUserId = resolveCallingUserId(Binder.getCallingPid(), in getTvInputState() 943 final int resolvedUserId = resolveCallingUserId(Binder.getCallingPid(), in getTvContentRatingSystemList() 990 final int resolvedUserId = resolveCallingUserId(Binder.getCallingPid(), in sendTvInputNotifyIntent() 1002 final int resolvedUserId = resolveCallingUserId(Binder.getCallingPid(), in registerCallback() 1033 final int resolvedUserId = resolveCallingUserId(Binder.getCallingPid(), in unregisterCallback() 1049 final int resolvedUserId = resolveCallingUserId(Binder.getCallingPid(), in isParentalControlsEnabled() 1065 final int resolvedUserId = resolveCallingUserId(Binder.getCallingPid(), in setParentalControlsEnabled() [all …]
|
/frameworks/av/services/camera/libcameraservice/common/ |
D | Camera2ClientBase.cpp | 71 int callingPid = CameraThreadState::getCallingPid(); in checkPid() 186 int callingPid = CameraThreadState::getCallingPid(); in disconnect() 217 CameraThreadState::getCallingPid() != TClientBase::mClientPid) { in connect() 223 CameraThreadState::getCallingPid(), in connect() 228 TClientBase::mClientPid = CameraThreadState::getCallingPid(); in connect()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | DumpUtils.java | 98 + Binder.getCallingPid() + ", uid=" + Binder.getCallingUid() in checkDumpPermission() 129 + Binder.getCallingPid() + ", uid=" + Binder.getCallingUid() in checkUsageStatsPermission() 155 + Binder.getCallingPid() + ", uid=" + Binder.getCallingUid() in checkUsageStatsPermission()
|
/frameworks/av/services/oboeservice/ |
D | AAudioService.cpp | 62 << IPCThreadState::self()->getCallingPid() << ", uid=" in dump() 77 pid_t pid = IPCThreadState::self()->getCallingPid(); in registerClient() 108 if (mAudioClient.clientPid == IPCThreadState::self()->getCallingPid() && in openStream() 276 const pid_t ownerPid = IPCThreadState::self()->getCallingPid(); // TODO review in registerAudioThread()
|
/frameworks/base/services/core/java/com/android/server/webkit/ |
D | WebViewUpdateService.java | 190 if (Binder.getCallingPid() == Process.myPid()) { in waitForAndGetProvider() 206 + Binder.getCallingPid() in changeProviderAndSetting() 254 + Binder.getCallingPid() in enableMultiProcess()
|
/frameworks/native/libs/gui/include/private/gui/ |
D | BufferQueueThreadState.h | 26 static pid_t getCallingPid();
|
/frameworks/native/services/vr/virtual_touchpad/ |
D | VirtualTouchpadService.cpp | 104 const pid_t pid = ipc->getCallingPid(); in dump() 134 *out_pid = ipc->getCallingPid(); in CheckTouchPermission()
|
/frameworks/base/services/core/java/com/android/server/os/ |
D | SchedulingPolicyService.java | 120 if (Binder.getCallingPid() != Process.myPid() && in requestCpusetBoost() 209 if (Binder.getCallingPid() == Process.myPid()) { in isPermitted()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiServiceImpl.java | 808 if (checkNetworkSettingsPermission(Binder.getCallingPid(), Binder.getCallingUid())) { in enforceChangePermission() 876 boolean isPrivileged = isPrivileged(Binder.getCallingPid(), Binder.getCallingUid()); in setWifiEnabled() 1398 final int pid = Binder.getCallingPid(); in startLocalOnlyHotspot() 1488 final int pid = Binder.getCallingPid(); in stopLocalOnlyHotspot() 1659 packageName, Binder.getCallingPid(), Binder.getCallingUid())) { in disconnect() 1678 packageName, Binder.getCallingPid(), Binder.getCallingUid())) { in reconnect() 1697 packageName, Binder.getCallingPid(), Binder.getCallingUid())) { in reassociate() 1826 packageName, Binder.getCallingPid(), callingUid); in getConfiguredNetworks() 1840 if (isPrivileged(getCallingPid(), callingUid) || isDeviceOrProfileOwner(callingUid)) { in getConfiguredNetworks() 1919 if (!isSettingsOrSuw(Binder.getCallingPid(), Binder.getCallingUid())) { in getAllMatchingFqdnsForScanResults() [all …]
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | AppTaskImpl.java | 98 final int callingPid = Binder.getCallingPid(); in moveToFront() 102 + Binder.getCallingPid() + " as package " + callingPackage; in moveToFront()
|
/frameworks/av/services/soundtrigger/ |
D | SoundTriggerHwService.cpp | 91 IPCThreadState::self()->getCallingPid(), in listModules() 115 IPCThreadState::self()->getCallingPid(), in attach() 948 IPCThreadState::self()->getCallingPid(), in detach() 973 IPCThreadState::self()->getCallingPid(), in loadSoundModel() 992 IPCThreadState::self()->getCallingPid(), in unloadSoundModel() 1009 IPCThreadState::self()->getCallingPid(), in startRecognition() 1028 IPCThreadState::self()->getCallingPid(), in stopRecognition() 1044 IPCThreadState::self()->getCallingPid(), in getModelState()
|
/frameworks/av/media/utils/ |
D | ProcessInfo.cpp | 57 int callingPid = IPCThreadState::self()->getCallingPid(); in isValidPid()
|
/frameworks/native/services/inputflinger/host/ |
D | InputFlinger.cpp | 51 const int pid = ipc->getCallingPid(); in dump()
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
D | TelephonyPermissions.java | 99 return checkReadPhoneState(context, subId, Binder.getCallingPid(), Binder.getCallingUid(), in checkCallingOrSelfReadPhoneState() 275 Binder.getCallingPid(), Binder.getCallingUid(), callingPackage, message); in checkCallingOrSelfReadDeviceIdentifiers() 297 Binder.getCallingPid(), Binder.getCallingUid(), callingPackage, message); in checkCallingOrSelfReadSubscriberIdentifiers() 464 context, TELEPHONY_SUPPLIER, subId, Binder.getCallingPid(), Binder.getCallingUid(), in checkCallingOrSelfReadPhoneNumber()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ims/ |
D | RcsPermissions.java | 26 int pid = Binder.getCallingPid(); in checkReadPermissions()
|