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

12345

/frameworks/base/core/java/android/hardware/location/
H A DGeofenceHardwareService.java95 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 DServiceUtilities.cpp29 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 DCameraClient.cpp32 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 DCamera2Client.cpp43 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 DCamera2ClientBase.cpp39 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 DSchedulingPolicyService.java54 Process.setThreadGroup(tid, Binder.getCallingPid() == pid ?
/frameworks/base/services/core/java/com/android/server/
H A DUpdateLockService.java110 + " pid=" + Binder.getCallingPid() + '}';
118 + Binder.getCallingPid()
H A DAppOpsService.java172 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 DTvInputManagerService.java753 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 DMediaLogService.cpp64 IPCThreadState::self()->getCallingPid(),
/frameworks/base/services/core/java/com/android/server/webkit/
H A DWebViewUpdateService.java114 if (Binder.getCallingPid() == Process.myPid()) {
/frameworks/av/services/camera/libcameraservice/
H A DCameraService.cpp69 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 DStatusBarManagerService.java537 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 DKeyguardService.java61 throw new SecurityException("Access denied to process: " + Binder.getCallingPid()
/frameworks/native/include/binder/
H A DIPCThreadState.h42 int getCallingPid() const;
/frameworks/native/libs/binder/
H A DPermissionCache.cpp84 pid_t pid = ipcState->getCallingPid();
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
H A DVoiceInteractionManagerService.java388 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 DAccountManagerService.java503 + ", 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 DMediaSessionService.java617 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 DClient.cpp93 const int pid = ipc->getCallingPid();
/frameworks/opt/net/ethernet/java/com/android/server/ethernet/
H A DEthernetServiceImpl.java178 + Binder.getCallingPid()
/frameworks/base/libs/common_time/
H A Dcommon_time_server_api.cpp298 IPCThreadState::self()->getCallingPid(),
374 IPCThreadState::self()->getCallingPid(),
/frameworks/base/core/java/android/speech/tts/
H A DTextToSpeechService.java1146 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 DSession.java76 mPid = Binder.getCallingPid();
196 + Binder.getCallingPid());
202 + Binder.getCallingPid());
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DWifiServiceImpl.java451 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();

Completed in 6068 milliseconds

12345