/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
BinderTest.java | 21 assertThat(Binder.getCallingPid(), equalTo(47)); 26 int pid = Binder.getCallingPid();
|
/frameworks/base/core/java/android/hardware/location/ |
GeofenceHardwareService.java | 95 checkPermission(Binder.getCallingPid(), Binder.getCallingUid(), monitoringType); 103 checkPermission(Binder.getCallingPid(), Binder.getCallingUid(), monitoringType); 111 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);
|
/frameworks/av/services/audioflinger/ |
ServiceUtilities.cpp | 29 if (getpid_cached == IPCThreadState::self()->getCallingPid()) return true; 38 if (getpid_cached == IPCThreadState::self()->getCallingPid()) return true; 61 if (getpid_cached == IPCThreadState::self()->getCallingPid()) return true;
|
/frameworks/av/services/camera/libcameraservice/api1/ |
CameraClient.cpp | 32 static int getCallingPid() { 33 return IPCThreadState::self()->getCallingPid(); 45 int callingPid = getCallingPid(); 63 int callingPid = getCallingPid(); 108 int callingPid = getCallingPid(); 141 int callingPid = getCallingPid(); 153 ALOGE("attempt to use a camera after disconnect() (pid %d)", getCallingPid()); 160 int callingPid = getCallingPid(); 175 int callingPid = getCallingPid(); 197 int callingPid = getCallingPid(); [all...] |
Camera2Client.cpp | 43 static int getCallingPid() { 44 return IPCThreadState::self()->getCallingPid(); 392 int callingPid = getCallingPid(); 462 if (mClientPid != 0 && getCallingPid() != mClientPid) { 465 mCameraId, getCallingPid(), mClientPid); 469 mClientPid = getCallingPid(); 482 __FUNCTION__, mCameraId, getCallingPid(), mClientPid); 485 mClientPid = getCallingPid(); 489 if (mClientPid != getCallingPid()) { 491 __FUNCTION__, mCameraId, getCallingPid(), mClientPid) [all...] |
/frameworks/av/services/camera/libcameraservice/common/ |
Camera2ClientBase.cpp | 39 static int getCallingPid() { 40 return IPCThreadState::self()->getCallingPid(); 72 int callingPid = getCallingPid(); 175 int callingPid = getCallingPid(); 206 getCallingPid() != TClientBase::mClientPid) { 212 getCallingPid(), 217 TClientBase::mClientPid = getCallingPid();
|
/frameworks/base/services/core/java/com/android/server/os/ |
SchedulingPolicyService.java | 54 Process.setThreadGroup(tid, Binder.getCallingPid() == pid ?
|
/frameworks/base/services/core/java/com/android/server/ |
UpdateLockService.java | 110 + " pid=" + Binder.getCallingPid() + '}'; 118 + Binder.getCallingPid()
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowBinder.java | 26 public static final int getCallingPid() {
|
/hardware/qcom/display/msm8226/libqservice/ |
QService.cpp | 62 if (ipc->getCallingPid() == getpid())
|
/frameworks/base/services/core/java/com/android/server/tv/ |
TvInputManagerService.java | 753 final int resolvedUserId = resolveCallingUserId(Binder.getCallingPid(), [all...] |
/frameworks/av/services/medialog/ |
MediaLogService.cpp | 64 IPCThreadState::self()->getCallingPid(),
|
/frameworks/base/services/core/java/com/android/server/webkit/ |
WebViewUpdateService.java | 114 if (Binder.getCallingPid() == Process.myPid()) {
|
/frameworks/av/services/camera/libcameraservice/ |
CameraService.cpp | 69 static int getCallingPid() { 70 return IPCThreadState::self()->getCallingPid(); 471 int pid = getCallingPid(); 570 int callingPid = getCallingPid(); 623 int callingPid = getCallingPid(); 742 int callingPid = getCallingPid(); 806 int callingPid = getCallingPid(); 877 int callingPid = getCallingPid(); 949 int callingPid = getCallingPid(); [all...] |
/system/security/keystore/ |
keystore.cpp | [all...] |
/frameworks/base/services/core/java/com/android/server/statusbar/ |
StatusBarManagerService.java | 537 final int callingPid = Binder.getCallingPid(); 550 final int callingPid = Binder.getCallingPid(); 565 final int callingPid = Binder.getCallingPid(); 580 final int callingPid = Binder.getCallingPid(); 619 final int callingPid = Binder.getCallingPid(); 695 + Binder.getCallingPid()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ |
KeyguardService.java | 61 throw new SecurityException("Access denied to process: " + Binder.getCallingPid()
|
/frameworks/native/include/binder/ |
IPCThreadState.h | 42 int getCallingPid() const;
|
/frameworks/native/libs/binder/ |
PermissionCache.cpp | 84 pid_t pid = ipcState->getCallingPid();
|
/system/core/healthd/ |
BatteryPropertiesRegistrar.cpp | 81 const int pid = self->getCallingPid();
|
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/ |
VoiceInteractionManagerService.java | 388 final int callingPid = Binder.getCallingPid(); 407 final int callingPid = Binder.getCallingPid(); 426 final int callingPid = Binder.getCallingPid(); 448 final int callingPid = Binder.getCallingPid(); 656 + Binder.getCallingPid() [all...] |
/frameworks/base/services/core/java/com/android/server/accounts/ |
AccountManagerService.java | 503 + ", pid " + Binder.getCallingPid()); 543 + ", pid " + Binder.getCallingPid()); 595 + ", pid " + Binder.getCallingPid()); 615 + ", pid " + Binder.getCallingPid()); 653 + ", pid " + Binder.getCallingPid()); [all...] |
/cts/tests/tests/content/src/android/content/cts/ |
ContextWrapperTest.java | 376 mContextWrapper.enforceUriPermission(uri, Binder.getCallingPid(), 390 PERMISSION_HARDWARE_TEST, Binder.getCallingPid(), Binder.getCallingUid(), 572 PERMISSION_HARDWARE_TEST, Binder.getCallingPid(), 585 int retValue = mContextWrapper.checkUriPermission(uri, Binder.getCallingPid(), 0, 589 retValue = mContextWrapper.checkUriPermission(uri, Binder.getCallingPid(), 598 PERMISSION_HARDWARE_TEST, Binder.getCallingPid(), 0, 603 PERMISSION_HARDWARE_TEST, Binder.getCallingPid(), Binder.getCallingUid(), [all...] |
/frameworks/base/services/core/java/com/android/server/media/ |
MediaSessionService.java | 617 final int pid = Binder.getCallingPid(); 636 final int pid = Binder.getCallingPid(); 660 final int pid = Binder.getCallingPid(); 720 final int pid = Binder.getCallingPid(); 752 final int pid = Binder.getCallingPid(); 768 final int pid = Binder.getCallingPid(); 789 + Binder.getCallingPid() [all...] |
/frameworks/native/services/surfaceflinger/ |
Client.cpp | 93 const int pid = ipc->getCallingPid();
|