/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/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/native/libs/gui/ |
D | BufferQueueThreadState.cpp | 32 pid_t BufferQueueThreadState::getCallingPid() { in getCallingPid() function in android::BufferQueueThreadState 34 return hardware::IPCThreadState::self()->getCallingPid(); in getCallingPid() 36 return IPCThreadState::self()->getCallingPid(); in getCallingPid()
|
/frameworks/av/services/camera/libcameraservice/utils/ |
D | CameraThreadState.cpp | 32 int CameraThreadState::getCallingPid() { in getCallingPid() function in android::CameraThreadState 34 return hardware::IPCThreadState::self()->getCallingPid(); in getCallingPid() 36 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 | 841 int pid = Binder.getCallingPid(); in setFlags() 1240 mSessionCb.sendCommand(packageName, Binder.getCallingPid(), Binder.getCallingUid(), in sendCommand() 1247 return mSessionCb.sendMediaButton(packageName, Binder.getCallingPid(), in sendMediaButton() 1321 int pid = Binder.getCallingPid(); in adjustVolume() 1335 int pid = Binder.getCallingPid(); in setVolumeTo() 1348 mSessionCb.prepare(packageName, Binder.getCallingPid(), Binder.getCallingUid(), caller); in prepare() 1354 mSessionCb.prepareFromMediaId(packageName, Binder.getCallingPid(), in prepareFromMediaId() 1361 mSessionCb.prepareFromSearch(packageName, Binder.getCallingPid(), in prepareFromSearch() 1368 mSessionCb.prepareFromUri(packageName, Binder.getCallingPid(), Binder.getCallingUid(), in prepareFromUri() 1374 mSessionCb.play(packageName, Binder.getCallingPid(), Binder.getCallingUid(), caller); in play() [all …]
|
D | MediaSessionService.java | 1108 final int pid = Binder.getCallingPid(); in createSession() 1127 final int pid = Binder.getCallingPid(); in notifySession2Created() 1153 final int pid = Binder.getCallingPid(); in getSessions() 1174 final int pid = Binder.getCallingPid(); in getSession2Tokens() 1197 final int pid = Binder.getCallingPid(); in addSessionsListener() 1243 final int pid = Binder.getCallingPid(); in addSession2TokensListener() 1268 final int pid = Binder.getCallingPid(); in removeSession2TokensListener() 1318 final int pid = Binder.getCallingPid(); in dispatchMediaKeyEvent() 1388 final int pid = Binder.getCallingPid(); in dispatchMediaKeyEventToSessionAsSystemService() 1414 final int pid = Binder.getCallingPid(); in addOnMediaKeyEventDispatchedListener() [all …]
|
/frameworks/base/services/core/java/com/android/server/tv/ |
D | TvInputManagerService.java | 865 final int resolvedUserId = resolveCallingUserId(Binder.getCallingPid(), in getTvInputList() 884 final int resolvedUserId = resolveCallingUserId(Binder.getCallingPid(), in getTvInputInfo() 910 final int resolvedUserId = resolveCallingUserId(Binder.getCallingPid(), in updateTvInputInfo() 934 final int resolvedUserId = resolveCallingUserId(Binder.getCallingPid(), in getTvInputState() 956 final int resolvedUserId = resolveCallingUserId(Binder.getCallingPid(), in getTvContentRatingSystemList() 1003 final int resolvedUserId = resolveCallingUserId(Binder.getCallingPid(), in sendTvInputNotifyIntent() 1015 final int resolvedUserId = resolveCallingUserId(Binder.getCallingPid(), in registerCallback() 1032 final int resolvedUserId = resolveCallingUserId(Binder.getCallingPid(), in unregisterCallback() 1047 final int resolvedUserId = resolveCallingUserId(Binder.getCallingPid(), in isParentalControlsEnabled() 1063 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 | 835 if (checkNetworkSettingsPermission(Binder.getCallingPid(), Binder.getCallingUid())) { in enforceChangePermission() 903 boolean isPrivileged = isPrivileged(Binder.getCallingPid(), Binder.getCallingUid()); in setWifiEnabled() 1441 final int pid = Binder.getCallingPid(); in startLocalOnlyHotspot() 1535 final int pid = Binder.getCallingPid(); in stopLocalOnlyHotspot() 1706 packageName, Binder.getCallingPid(), Binder.getCallingUid())) { in disconnect() 1725 packageName, Binder.getCallingPid(), Binder.getCallingUid())) { in reconnect() 1744 packageName, Binder.getCallingPid(), Binder.getCallingUid())) { in reassociate() 1873 packageName, Binder.getCallingPid(), callingUid); in getConfiguredNetworks() 1887 if (isPrivileged(getCallingPid(), callingUid) || isDeviceOrProfileOwner(callingUid)) { in getConfiguredNetworks() 1966 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()
|
D | SafeActivityOptions.java | 79 mOriginalCallingPid = Binder.getCallingPid(); in SafeActivityOptions() 90 mRealCallingPid = Binder.getCallingPid(); in setCallerOptions()
|
/frameworks/av/services/soundtrigger/ |
D | SoundTriggerHwService.cpp | 117 IPCThreadState::self()->getCallingPid(), in listModules() 141 IPCThreadState::self()->getCallingPid(), in attach() 986 IPCThreadState::self()->getCallingPid(), in detach() 1011 IPCThreadState::self()->getCallingPid(), in loadSoundModel() 1030 IPCThreadState::self()->getCallingPid(), in unloadSoundModel() 1047 IPCThreadState::self()->getCallingPid(), in startRecognition() 1066 IPCThreadState::self()->getCallingPid(), in stopRecognition() 1082 IPCThreadState::self()->getCallingPid(), in getModelState()
|
/frameworks/native/services/inputflinger/host/ |
D | InputFlinger.cpp | 51 const int pid = ipc->getCallingPid(); in dump()
|
/frameworks/av/media/utils/ |
D | ProcessInfo.cpp | 58 int callingPid = IPCThreadState::self()->getCallingPid(); in isValidPid()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | UserController.java | 386 Binder.getCallingUid(), Binder.getCallingPid(), userId); in finishUserBoot() 489 Binder.getCallingUid(), Binder.getCallingPid(), userId); in finishUserUnlocked() 503 Binder.getCallingPid(), parent.id); in finishUserUnlocked() 563 Binder.getCallingPid(), userId); in finishUserUnlockedCompleted() 597 final int callingPid = Binder.getCallingPid(); in finishUserUnlockedCompleted() 632 + Binder.getCallingPid() 743 Binder.getCallingPid(), UserHandle.USER_ALL); 784 Binder.getCallingPid(), userId); 935 Binder.getCallingPid(), UserHandle.USER_ALL); 1042 + Binder.getCallingPid() [all …]
|