/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
H A D | BinderUtil.java | 30 Binder.restoreCallingIdentity((((long) uid) << 32) | Binder.getCallingPid());
|
H A D | BinderUtilTest.java | 59 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 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/audioflinger/ |
H A D | ServiceUtilities.cpp | 53 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 D | PermissionChecker.java | 142 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 D | CameraClient.cpp | 33 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 D | Camera2Client.cpp | 43 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 D | SchedulingPolicyService.java | 55 Process.setThreadGroup(tid, Binder.getCallingPid() == pid ?
|
/frameworks/av/services/camera/libcameraservice/common/ |
H A D | Camera2ClientBase.cpp | 39 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 D | UpdateLockService.java | 110 + " pid=" + Binder.getCallingPid() + '}'; 118 + Binder.getCallingPid()
|
/frameworks/av/media/libstagefright/ |
H A D | ProcessInfo.cpp | 57 int callingPid = IPCThreadState::self()->getCallingPid();
|
/frameworks/native/services/inputflinger/host/ |
H A D | InputFlinger.cpp | 53 const int pid = ipc->getCallingPid();
|
/frameworks/base/services/core/java/com/android/server/webkit/ |
H A D | WebViewUpdateService.java | 182 if (Binder.getCallingPid() == Process.myPid()) { 198 + Binder.getCallingPid() 240 + Binder.getCallingPid()
|
/frameworks/base/services/core/java/com/android/server/tv/ |
H A D | TvInputManagerService.java | 882 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 D | MediaLogService.cpp | 79 IPCThreadState::self()->getCallingPid(),
|
/frameworks/native/include/binder/ |
H A D | IPCThreadState.h | 42 pid_t getCallingPid() const;
|
/frameworks/native/libs/binder/ |
H A D | PermissionCache.cpp | 84 pid_t pid = ipcState->getCallingPid();
|
H A D | IServiceManager.cpp | 61 pid_t pid = ipcState->getCallingPid();
|
/frameworks/av/drm/libmediadrm/ |
H A D | Drm.cpp | 37 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 D | AccessibilityInteractionController.java | 164 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 D | MediaSessionService.java | 648 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 D | AccountManagerService.java | 782 + ", 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 D | KeyguardService.java | 61 throw new SecurityException("Access denied to process: " + Binder.getCallingPid()
|
/frameworks/native/services/surfaceflinger/ |
H A D | Client.cpp | 93 const int pid = ipc->getCallingPid();
|
/frameworks/opt/net/ethernet/java/com/android/server/ethernet/ |
H A D | EthernetServiceImpl.java | 172 + Binder.getCallingPid()
|