/frameworks/base/core/java/android/hardware/location/ |
H A D | 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/ |
H A D | 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/ |
H A D | CameraClient.cpp | 32 static int getCallingPid() { function in namespace:android 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...] |
H A D | Camera2Client.cpp | 43 static int getCallingPid() { function in namespace:android 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(), mClientPi [all...] |
/frameworks/av/services/camera/libcameraservice/common/ |
H A D | Camera2ClientBase.cpp | 39 static int getCallingPid() { function in namespace:android 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/ |
H A D | SchedulingPolicyService.java | 54 Process.setThreadGroup(tid, Binder.getCallingPid() == pid ?
|
/frameworks/base/services/core/java/com/android/server/ |
H A D | UpdateLockService.java | 110 + " pid=" + Binder.getCallingPid() + '}'; 118 + Binder.getCallingPid()
|
H A D | AppOpsService.java | 172 mPid = Binder.getCallingPid(); 311 Binder.getCallingPid(), Binder.getCallingUid(), null); 336 Binder.getCallingPid(), Binder.getCallingUid(), null); 374 if (Binder.getCallingPid() != Process.myPid()) { 376 Binder.getCallingPid(), Binder.getCallingUid(), null); 442 final int callingPid = Binder.getCallingPid(); 767 if (Binder.getCallingPid() == Process.myPid()) { 771 Binder.getCallingPid(), Binder.getCallingUid(), null); 1143 + Binder.getCallingPid()
|
/frameworks/base/services/core/java/com/android/server/tv/ |
H A D | TvInputManagerService.java | 753 final int resolvedUserId = resolveCallingUserId(Binder.getCallingPid(), 772 final int resolvedUserId = resolveCallingUserId(Binder.getCallingPid(), 788 final int resolvedUserId = resolveCallingUserId(Binder.getCallingPid(), 804 final int resolvedUserId = resolveCallingUserId(Binder.getCallingPid(), 819 final int resolvedUserId = resolveCallingUserId(Binder.getCallingPid(), 848 final int resolvedUserId = resolveCallingUserId(Binder.getCallingPid(), 863 final int resolvedUserId = resolveCallingUserId(Binder.getCallingPid(), 879 final int resolvedUserId = resolveCallingUserId(Binder.getCallingPid(), 894 final int resolvedUserId = resolveCallingUserId(Binder.getCallingPid(), 910 final int resolvedUserId = resolveCallingUserId(Binder.getCallingPid(), [all...] |
/frameworks/av/services/medialog/ |
H A D | MediaLogService.cpp | 64 IPCThreadState::self()->getCallingPid(),
|
/frameworks/base/services/core/java/com/android/server/webkit/ |
H A D | WebViewUpdateService.java | 114 if (Binder.getCallingPid() == Process.myPid()) {
|
/frameworks/av/services/camera/libcameraservice/ |
H A D | CameraService.cpp | 69 static int getCallingPid() { function in namespace:android 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(); 1145 int callingPid = getCallingPid(); [all...] |
/frameworks/base/services/core/java/com/android/server/statusbar/ |
H A D | 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/ |
H A D | KeyguardService.java | 61 throw new SecurityException("Access denied to process: " + Binder.getCallingPid()
|
/frameworks/native/include/binder/ |
H A D | IPCThreadState.h | 42 int getCallingPid() const;
|
/frameworks/native/libs/binder/ |
H A D | PermissionCache.cpp | 84 pid_t pid = ipcState->getCallingPid();
|
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/ |
H A D | 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()
|
/frameworks/base/services/core/java/com/android/server/accounts/ |
H A D | AccountManagerService.java | 503 + ", pid " + Binder.getCallingPid()); 543 + ", pid " + Binder.getCallingPid()); 595 + ", pid " + Binder.getCallingPid()); 615 + ", pid " + Binder.getCallingPid()); 653 + ", pid " + Binder.getCallingPid()); 866 + ", pid " + Binder.getCallingPid()); 942 + ", pid " + Binder.getCallingPid()); 1056 + ", pid " + Binder.getCallingPid()); 1109 + ", pid " + Binder.getCallingPid() 1164 + ", pid " + Binder.getCallingPid()); [all...] |
/frameworks/base/services/core/java/com/android/server/media/ |
H A D | 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()
|
/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 | 178 + Binder.getCallingPid()
|
/frameworks/base/libs/common_time/ |
H A D | common_time_server_api.cpp | 298 IPCThreadState::self()->getCallingPid(), 374 IPCThreadState::self()->getCallingPid(),
|
/frameworks/base/core/java/android/speech/tts/ |
H A D | TextToSpeechService.java | 1146 Binder.getCallingUid(), Binder.getCallingPid(), params, utteranceId, text); 1164 Binder.getCallingUid(), Binder.getCallingPid(), params, utteranceId, text, 1177 Binder.getCallingUid(), Binder.getCallingPid(), params, utteranceId, audioUri); 1188 Binder.getCallingUid(), Binder.getCallingPid(), utteranceId, duration); 1258 Binder.getCallingPid(), lang, country, variant); 1282 Binder.getCallingPid(), voiceName);
|
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | Session.java | 76 mPid = Binder.getCallingPid(); 196 + Binder.getCallingPid()); 202 + Binder.getCallingPid());
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
H A D | WifiServiceImpl.java | 451 this.pid = getCallingPid(); 530 stopBatchedScan(settings, getCallingUid(), getCallingPid()); 675 Slog.d(TAG, "setWifiEnabled: " + enable + " pid=" + Binder.getCallingPid() 1391 + Binder.getCallingPid() 1552 enforceWakeSourcePermission(Binder.getCallingUid(), Binder.getCallingPid()); 1614 int pid = Binder.getCallingPid();
|