/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | BinderUtilTest.java | 59 final int pid = Binder.getCallingPid(); in setUid() 65 assertEquals(pid, Binder.getCallingPid()); in setUid() 71 assertEquals(pid, Binder.getCallingPid()); in setUid() 81 final int pid = Binder.getCallingPid(); in setUidAndRestoreCallingIdentity() 87 assertEquals(pid, Binder.getCallingPid()); in setUidAndRestoreCallingIdentity() 92 assertEquals(pid, Binder.getCallingPid()); in setUidAndRestoreCallingIdentity()
|
D | BinderUtil.java | 30 Binder.restoreCallingIdentity((((long) uid) << 32) | Binder.getCallingPid()); in setUid()
|
/frameworks/av/services/camera/libcameraservice/api1/ |
D | CameraClient.cpp | 33 static int getCallingPid() { in getCallingPid() function 34 return IPCThreadState::self()->getCallingPid(); in getCallingPid() 46 int callingPid = getCallingPid(); in CameraClient() 64 int callingPid = getCallingPid(); in initialize() 104 int callingPid = getCallingPid(); in ~CameraClient() 142 int callingPid = getCallingPid(); in checkPid() 152 ALOGE("attempt to use a camera after disconnect() (pid %d)", getCallingPid()); in checkPidAndHardware() 161 int callingPid = getCallingPid(); in lock() 176 int callingPid = getCallingPid(); in unlock() 198 int callingPid = getCallingPid(); in connect() [all …]
|
D | Camera2Client.cpp | 43 static int getCallingPid() { in getCallingPid() function 44 return IPCThreadState::self()->getCallingPid(); in getCallingPid() 377 int callingPid = getCallingPid(); in disconnect() 444 if (mClientPid != 0 && getCallingPid() != mClientPid) { in connect() 447 mCameraId, getCallingPid(), mClientPid); in connect() 451 mClientPid = getCallingPid(); in connect() 464 __FUNCTION__, mCameraId, getCallingPid(), mClientPid); in lock() 467 mClientPid = getCallingPid(); in lock() 471 if (mClientPid != getCallingPid()) { in lock() 473 __FUNCTION__, mCameraId, getCallingPid(), mClientPid); in lock() [all …]
|
/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/support/v4/java/android/support/v4/content/ |
D | PermissionChecker.java | 142 if (Binder.getCallingPid() == Process.myPid()) { in checkCallingPermission() 145 return checkPermission(context, permission, Binder.getCallingPid(), in checkCallingPermission() 160 String packageName = (Binder.getCallingPid() == Process.myPid()) in checkCallingOrSelfPermission() 162 return checkPermission(context, permission, Binder.getCallingPid(), in checkCallingOrSelfPermission()
|
/frameworks/av/services/camera/libcameraservice/common/ |
D | Camera2ClientBase.cpp | 39 static int getCallingPid() { in getCallingPid() function 40 return IPCThreadState::self()->getCallingPid(); in getCallingPid() 73 int callingPid = getCallingPid(); in checkPid() 178 int callingPid = getCallingPid(); in disconnect() 211 getCallingPid() != TClientBase::mClientPid) { in connect() 217 getCallingPid(), in connect() 222 TClientBase::mClientPid = getCallingPid(); in connect()
|
/frameworks/av/services/audioflinger/ |
D | ServiceUtilities.cpp | 53 if (getpid_cached == IPCThreadState::self()->getCallingPid()) return true; in recordingAllowed() 109 if (getpid_cached == IPCThreadState::self()->getCallingPid()) return true; in captureAudioOutputAllowed() 125 if (getpid_cached == IPCThreadState::self()->getCallingPid()) return true; in settingsAllowed()
|
/frameworks/base/services/core/java/com/android/server/tv/ |
D | TvInputManagerService.java | 882 final int resolvedUserId = resolveCallingUserId(Binder.getCallingPid(), in getTvInputList() 901 final int resolvedUserId = resolveCallingUserId(Binder.getCallingPid(), in getTvInputInfo() 923 final int resolvedUserId = resolveCallingUserId(Binder.getCallingPid(), in updateTvInputInfo() 947 final int resolvedUserId = resolveCallingUserId(Binder.getCallingPid(), in getTvInputState() 963 final int resolvedUserId = resolveCallingUserId(Binder.getCallingPid(), in getTvContentRatingSystemList() 978 final int resolvedUserId = resolveCallingUserId(Binder.getCallingPid(), in registerCallback() 1007 final int resolvedUserId = resolveCallingUserId(Binder.getCallingPid(), in unregisterCallback() 1022 final int resolvedUserId = resolveCallingUserId(Binder.getCallingPid(), in isParentalControlsEnabled() 1038 final int resolvedUserId = resolveCallingUserId(Binder.getCallingPid(), in setParentalControlsEnabled() 1053 final int resolvedUserId = resolveCallingUserId(Binder.getCallingPid(), in isRatingBlocked() [all …]
|
/frameworks/base/services/core/java/com/android/server/webkit/ |
D | WebViewUpdateService.java | 182 if (Binder.getCallingPid() == Process.myPid()) { in waitForAndGetProvider() 198 + Binder.getCallingPid() in changeProviderAndSetting() 240 + Binder.getCallingPid() in enableFallbackLogic()
|
/frameworks/base/services/core/java/com/android/server/ |
D | UpdateLockService.java | 110 + " pid=" + Binder.getCallingPid() + '}'; in makeTag() 118 + Binder.getCallingPid() in dump()
|
D | AppOpsService.java | 207 mPid = Binder.getCallingPid(); in ClientState() 403 Binder.getCallingPid(), Binder.getCallingUid(), null); in getPackagesForOps() 435 Binder.getCallingPid(), Binder.getCallingUid(), null); in getOpsForPackage() 481 if (Binder.getCallingPid() != Process.myPid()) { in setUidMode() 483 Binder.getCallingPid(), Binder.getCallingUid(), null); in setUidMode() 592 if (Binder.getCallingPid() != Process.myPid()) { in setMode() 594 Binder.getCallingPid(), Binder.getCallingUid(), null); in setMode() 693 final int callingPid = Binder.getCallingPid(); in resetAllModes() 1178 if (Binder.getCallingPid() == Process.myPid()) { in verifyIncomingUid() 1182 Binder.getCallingPid(), Binder.getCallingUid(), null); in verifyIncomingUid() [all …]
|
/frameworks/base/services/core/java/com/android/server/statusbar/ |
D | StatusBarManagerService.java | 743 final int callingPid = Binder.getCallingPid(); in onNotificationClick() 756 final int callingPid = Binder.getCallingPid(); in onNotificationActionClick() 771 final int callingPid = Binder.getCallingPid(); in onNotificationError() 786 final int callingPid = Binder.getCallingPid(); in onNotificationClear() 826 final int callingPid = Binder.getCallingPid(); in onClearAllNotifications() 912 + Binder.getCallingPid() in dump()
|
/frameworks/base/core/java/android/view/ |
D | AccessibilityInteractionController.java | 164 if (spec != null && android.os.Process.myPid() != Binder.getCallingPid()) { in findAccessibilityNodeInfoByAccessibilityIdUiThread() 176 if (interactiveRegion != null && android.os.Process.myPid() == Binder.getCallingPid()) { in findAccessibilityNodeInfoByAccessibilityIdUiThread() 258 if (spec != null && android.os.Process.myPid() != Binder.getCallingPid()) { in findAccessibilityNodeInfosByViewIdUiThread() 269 if (interactiveRegion != null && android.os.Process.myPid() == Binder.getCallingPid()) { in findAccessibilityNodeInfosByViewIdUiThread() 376 if (spec != null && android.os.Process.myPid() != Binder.getCallingPid()) { in findAccessibilityNodeInfosByTextUiThread() 387 if (interactiveRegion != null && android.os.Process.myPid() == Binder.getCallingPid()) { in findAccessibilityNodeInfosByTextUiThread() 498 if (spec != null && android.os.Process.myPid() != Binder.getCallingPid()) { in findFocusUiThread() 509 if (interactiveRegion != null && android.os.Process.myPid() == Binder.getCallingPid()) { in findFocusUiThread() 583 if (spec != null && android.os.Process.myPid() != Binder.getCallingPid()) { in focusSearchUiThread() 594 if (interactiveRegion != null && android.os.Process.myPid() == Binder.getCallingPid()) { in focusSearchUiThread()
|
/frameworks/base/services/core/java/com/android/server/accounts/ |
D | AccountManagerService.java | 782 + ", pid " + Binder.getCallingPid()); in getPassword() 823 + ", pid " + Binder.getCallingPid()); in getPreviousName() 875 account, key, callingUid, Binder.getCallingPid()); in getUserData() 913 + ", pid " + Binder.getCallingPid()); in getAuthenticatorTypes() 967 + ", pid " + Binder.getCallingPid()); in addAccountExplicitly() 1278 + ", pid " + Binder.getCallingPid()); in hasFeatures() 1360 + ", pid " + Binder.getCallingPid()); in renameAccount() 1503 + ", pid " + Binder.getCallingPid() in removeAccountAsUser() 1574 + ", pid " + Binder.getCallingPid()); in removeAccountExplicitly() 1710 + ", pid " + Binder.getCallingPid()); in invalidateAuthToken() [all …]
|
/frameworks/av/drm/libmediadrm/ |
D | Drm.cpp | 37 static inline int getCallingPid() { in getCallingPid() function 38 return IPCThreadState::self()->getCallingPid(); in getCallingPid() 42 if (getpid() == IPCThreadState::self()->getCallingPid()) return true; in checkPermission() 360 retry = DrmSessionManager::Instance()->reclaimSession(getCallingPid()); in openSession() 374 DrmSessionManager::Instance()->addSession(getCallingPid(), mDrmSessionClient, sessionId); in openSession()
|
/frameworks/native/services/inputflinger/host/ |
D | InputFlinger.cpp | 53 const int pid = ipc->getCallingPid(); in dump()
|
/frameworks/av/media/libstagefright/ |
D | ProcessInfo.cpp | 57 int callingPid = IPCThreadState::self()->getCallingPid(); in isValidPid()
|
/frameworks/base/services/core/java/com/android/server/os/ |
D | SchedulingPolicyService.java | 55 Process.setThreadGroup(tid, Binder.getCallingPid() == pid ? in requestPriority()
|
/frameworks/av/services/camera/libcameraservice/ |
D | CameraService.cpp | 349 LOG_ALWAYS_FATAL_IF(getCallingPid() != getpid(), in onDeviceStatusChanged() 629 int CameraService::getCallingPid() { in getCallingPid() function in android::CameraService 630 return IPCThreadState::self()->getCallingPid(); in getCallingPid() 926 int callingPid = getCallingPid(); in validateConnectLocked() 1013 int callingPid = getCallingPid(); in checkIfDeviceIsUsable() 1267 logRejected(id, getCallingPid(), String8(clientPackageName), in connect() 1299 logRejected(id, getCallingPid(), String8(clientPackageName), in connectLegacy() 1312 logRejected(id, getCallingPid(), String8(clientPackageName), in connectLegacy() 1340 logRejected(id, getCallingPid(), String8(clientPackageName), in connectDevice() 1654 const int callingPid = getCallingPid(); in evictClientIdByRemote() [all …]
|
/frameworks/base/services/core/java/com/android/server/fingerprint/ |
D | FingerprintService.java | 740 final int pid = Binder.getCallingPid(); in authenticate() 760 final int pid = Binder.getCallingPid(); in cancelAuthentication() 813 Binder.getCallingUid(), Binder.getCallingPid())) { in isHardwareDetected() 837 Binder.getCallingUid(), Binder.getCallingPid())) { in getEnrolledFingerprints() 850 Binder.getCallingUid(), Binder.getCallingPid())) { in hasEnrolledFingerprints() 886 + Binder.getCallingPid() in dump()
|
/frameworks/base/services/core/java/com/android/server/media/ |
D | MediaSessionService.java | 648 final int pid = Binder.getCallingPid(); in createSession() 667 final int pid = Binder.getCallingPid(); in getSessions() 691 final int pid = Binder.getCallingPid(); in addSessionsListener() 751 final int pid = Binder.getCallingPid(); in dispatchMediaKeyEvent() 789 final int pid = Binder.getCallingPid(); in dispatchAdjustVolume() 805 final int pid = Binder.getCallingPid(); in setRemoteVolumeController() 826 + Binder.getCallingPid() in dump()
|
/frameworks/base/core/java/android/speech/tts/ |
D | TextToSpeechService.java | 1231 Binder.getCallingUid(), Binder.getCallingPid(), params, utteranceId, text); 1249 Binder.getCallingUid(), Binder.getCallingPid(), params, utteranceId, text, 1262 Binder.getCallingUid(), Binder.getCallingPid(), params, utteranceId, audioUri); 1273 Binder.getCallingUid(), Binder.getCallingPid(), utteranceId, duration); 1343 Binder.getCallingPid(), lang, country, variant); 1367 Binder.getCallingPid(), voiceName);
|
/frameworks/av/drm/drmserver/ |
D | DrmManagerService.cpp | 88 pid_t spid = ipcState->getCallingPid(); in isProtectedCallAllowed() 348 IPCThreadState::self()->getCallingPid(), in dump()
|
/frameworks/native/libs/binder/ |
D | PermissionCache.cpp | 84 pid_t pid = ipcState->getCallingPid(); in checkCallingPermission()
|