Searched refs:getCallingPid (Results 1 - 25 of 136) sorted by relevance

123456

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
H A DBinderUtil.java30 Binder.restoreCallingIdentity((((long) uid) << 32) | Binder.getCallingPid());
H A DBinderUtilTest.java59 final int pid = Binder.getCallingPid();
65 assertEquals(pid, Binder.getCallingPid());
71 assertEquals(pid, Binder.getCallingPid());
81 final int pid = Binder.getCallingPid();
87 assertEquals(pid, Binder.getCallingPid());
92 assertEquals(pid, Binder.getCallingPid());
/frameworks/base/core/java/android/hardware/location/
H A DGeofenceHardwareService.java101 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/audioflinger/
H A DServiceUtilities.cpp53 if (getpid_cached == IPCThreadState::self()->getCallingPid()) return true;
109 if (getpid_cached == IPCThreadState::self()->getCallingPid()) return true;
125 if (getpid_cached == IPCThreadState::self()->getCallingPid()) return true;
/frameworks/support/v4/java/android/support/v4/content/
H A DPermissionChecker.java142 if (Binder.getCallingPid() == Process.myPid()) {
145 return checkPermission(context, permission, Binder.getCallingPid(),
160 String packageName = (Binder.getCallingPid() == Process.myPid())
162 return checkPermission(context, permission, Binder.getCallingPid(),
/frameworks/av/services/camera/libcameraservice/api1/
H A DCameraClient.cpp33 static int getCallingPid() { function in namespace:android
34 return IPCThreadState::self()->getCallingPid();
46 int callingPid = getCallingPid();
64 int callingPid = getCallingPid();
104 int callingPid = getCallingPid();
142 int callingPid = getCallingPid();
152 ALOGE("attempt to use a camera after disconnect() (pid %d)", getCallingPid());
161 int callingPid = getCallingPid();
176 int callingPid = getCallingPid();
198 int callingPid = getCallingPid();
[all...]
H A DCamera2Client.cpp43 static int getCallingPid() { function in namespace:android
44 return IPCThreadState::self()->getCallingPid();
377 int callingPid = getCallingPid();
444 if (mClientPid != 0 && getCallingPid() != mClientPid) {
447 mCameraId, getCallingPid(), mClientPid);
451 mClientPid = getCallingPid();
464 __FUNCTION__, mCameraId, getCallingPid(), mClientPid);
467 mClientPid = getCallingPid();
471 if (mClientPid != getCallingPid()) {
473 __FUNCTION__, mCameraId, getCallingPid(), mClientPi
[all...]
/frameworks/base/services/core/java/com/android/server/os/
H A DSchedulingPolicyService.java55 Process.setThreadGroup(tid, Binder.getCallingPid() == pid ?
/frameworks/av/services/camera/libcameraservice/common/
H A DCamera2ClientBase.cpp39 static int getCallingPid() { function in namespace:android
40 return IPCThreadState::self()->getCallingPid();
73 int callingPid = getCallingPid();
178 int callingPid = getCallingPid();
211 getCallingPid() != TClientBase::mClientPid) {
217 getCallingPid(),
222 TClientBase::mClientPid = getCallingPid();
/frameworks/base/services/core/java/com/android/server/
H A DUpdateLockService.java110 + " pid=" + Binder.getCallingPid() + '}';
118 + Binder.getCallingPid()
/frameworks/av/media/libstagefright/
H A DProcessInfo.cpp57 int callingPid = IPCThreadState::self()->getCallingPid();
/frameworks/native/services/inputflinger/host/
H A DInputFlinger.cpp53 const int pid = ipc->getCallingPid();
/frameworks/base/services/core/java/com/android/server/webkit/
H A DWebViewUpdateService.java182 if (Binder.getCallingPid() == Process.myPid()) {
198 + Binder.getCallingPid()
240 + Binder.getCallingPid()
/frameworks/base/services/core/java/com/android/server/tv/
H A DTvInputManagerService.java882 final int resolvedUserId = resolveCallingUserId(Binder.getCallingPid(),
901 final int resolvedUserId = resolveCallingUserId(Binder.getCallingPid(),
923 final int resolvedUserId = resolveCallingUserId(Binder.getCallingPid(),
947 final int resolvedUserId = resolveCallingUserId(Binder.getCallingPid(),
963 final int resolvedUserId = resolveCallingUserId(Binder.getCallingPid(),
978 final int resolvedUserId = resolveCallingUserId(Binder.getCallingPid(),
1007 final int resolvedUserId = resolveCallingUserId(Binder.getCallingPid(),
1022 final int resolvedUserId = resolveCallingUserId(Binder.getCallingPid(),
1038 final int resolvedUserId = resolveCallingUserId(Binder.getCallingPid(),
1053 final int resolvedUserId = resolveCallingUserId(Binder.getCallingPid(),
[all...]
/frameworks/av/services/medialog/
H A DMediaLogService.cpp79 IPCThreadState::self()->getCallingPid(),
/frameworks/native/include/binder/
H A DIPCThreadState.h42 pid_t getCallingPid() const;
/frameworks/native/libs/binder/
H A DPermissionCache.cpp84 pid_t pid = ipcState->getCallingPid();
H A DIServiceManager.cpp61 pid_t pid = ipcState->getCallingPid();
/frameworks/av/drm/libmediadrm/
H A DDrm.cpp37 static inline int getCallingPid() { function in namespace:android
38 return IPCThreadState::self()->getCallingPid();
42 if (getpid() == IPCThreadState::self()->getCallingPid()) return true;
360 retry = DrmSessionManager::Instance()->reclaimSession(getCallingPid());
374 DrmSessionManager::Instance()->addSession(getCallingPid(), mDrmSessionClient, sessionId);
/frameworks/base/core/java/android/view/
H A DAccessibilityInteractionController.java164 if (spec != null && android.os.Process.myPid() != Binder.getCallingPid()) {
176 if (interactiveRegion != null && android.os.Process.myPid() == Binder.getCallingPid()) {
258 if (spec != null && android.os.Process.myPid() != Binder.getCallingPid()) {
269 if (interactiveRegion != null && android.os.Process.myPid() == Binder.getCallingPid()) {
376 if (spec != null && android.os.Process.myPid() != Binder.getCallingPid()) {
387 if (interactiveRegion != null && android.os.Process.myPid() == Binder.getCallingPid()) {
498 if (spec != null && android.os.Process.myPid() != Binder.getCallingPid()) {
509 if (interactiveRegion != null && android.os.Process.myPid() == Binder.getCallingPid()) {
583 if (spec != null && android.os.Process.myPid() != Binder.getCallingPid()) {
594 if (interactiveRegion != null && android.os.Process.myPid() == Binder.getCallingPid()) {
[all...]
/frameworks/base/services/core/java/com/android/server/media/
H A DMediaSessionService.java648 final int pid = Binder.getCallingPid();
667 final int pid = Binder.getCallingPid();
691 final int pid = Binder.getCallingPid();
751 final int pid = Binder.getCallingPid();
789 final int pid = Binder.getCallingPid();
805 final int pid = Binder.getCallingPid();
826 + Binder.getCallingPid()
/frameworks/base/services/core/java/com/android/server/accounts/
H A DAccountManagerService.java782 + ", pid " + Binder.getCallingPid());
823 + ", pid " + Binder.getCallingPid());
875 account, key, callingUid, Binder.getCallingPid());
913 + ", pid " + Binder.getCallingPid());
967 + ", pid " + Binder.getCallingPid());
1278 + ", pid " + Binder.getCallingPid());
1360 + ", pid " + Binder.getCallingPid());
1503 + ", pid " + Binder.getCallingPid()
1574 + ", pid " + Binder.getCallingPid());
1710 + ", pid " + Binder.getCallingPid());
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
H A DKeyguardService.java61 throw new SecurityException("Access denied to process: " + Binder.getCallingPid()
/frameworks/native/services/surfaceflinger/
H A DClient.cpp93 const int pid = ipc->getCallingPid();
/frameworks/opt/net/ethernet/java/com/android/server/ethernet/
H A DEthernetServiceImpl.java172 + Binder.getCallingPid()

Completed in 6947 milliseconds

123456