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

1234

/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;
54 if (getpid_cached == IPCThreadState::self()->getCallingPid()) return true;
/frameworks/base/core/java/android/hardware/location/
H A DGeofenceHardwareService.java94 checkPermission(Binder.getCallingPid(), Binder.getCallingUid(), monitoringType);
104 checkPermission(Binder.getCallingPid(), Binder.getCallingUid(), monitoringType);
112 checkPermission(Binder.getCallingPid(), Binder.getCallingUid(), monitoringType);
120 checkPermission(Binder.getCallingPid(), Binder.getCallingUid(), monitoringType);
129 checkPermission(Binder.getCallingPid(), Binder.getCallingUid(), monitoringType);
139 checkPermission(Binder.getCallingPid(), Binder.getCallingUid(), monitoringType);
/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();
62 int callingPid = getCallingPid();
107 int callingPid = getCallingPid();
130 int callingPid = getCallingPid();
142 ALOGE("attempt to use a camera after disconnect() (pid %d)", getCallingPid());
149 int callingPid = getCallingPid();
164 int callingPid = getCallingPid();
186 int callingPid = getCallingPid();
[all...]
H A DCamera2Client.cpp42 static int getCallingPid() { function in namespace:android
43 return IPCThreadState::self()->getCallingPid();
388 int callingPid = getCallingPid();
447 if (mClientPid != 0 && getCallingPid() != mClientPid) {
450 mCameraId, getCallingPid(), mClientPid);
454 mClientPid = getCallingPid();
467 __FUNCTION__, mCameraId, getCallingPid(), mClientPid);
470 mClientPid = getCallingPid();
474 if (mClientPid != getCallingPid()) {
476 __FUNCTION__, mCameraId, getCallingPid(), mClientPi
[all...]
/frameworks/av/services/camera/libcameraservice/common/
H A DCamera2ClientBase.cpp37 static int getCallingPid() { function in namespace:android
38 return IPCThreadState::self()->getCallingPid();
67 int callingPid = getCallingPid();
169 int callingPid = getCallingPid();
200 getCallingPid() != TClientBase::mClientPid) {
206 getCallingPid(),
211 TClientBase::mClientPid = getCallingPid();
/frameworks/base/services/java/com/android/server/os/
H A DSchedulingPolicyService.java54 Process.setThreadGroup(tid, Binder.getCallingPid() == pid ?
/frameworks/base/services/java/com/android/server/
H A DUpdateLockService.java111 + " pid=" + Binder.getCallingPid() + '}';
119 + Binder.getCallingPid()
H A DAppOpsService.java157 mPid = Binder.getCallingPid();
296 Binder.getCallingPid(), Binder.getCallingUid(), null);
321 Binder.getCallingPid(), Binder.getCallingUid(), null);
425 Binder.getCallingPid(), Binder.getCallingUid(), null);
675 if (Binder.getCallingPid() == Process.myPid()) {
679 Binder.getCallingPid(), Binder.getCallingUid(), null);
990 + Binder.getCallingPid()
H A DVibratorService.java187 if (Binder.getCallingPid() == Process.myPid()) {
191 Binder.getCallingPid(), Binder.getCallingUid(), null);
/frameworks/av/services/camera/libcameraservice/
H A DCameraService.cpp64 static int getCallingPid() { function in namespace:android
65 return IPCThreadState::self()->getCallingPid();
313 int callingPid = getCallingPid();
366 int callingPid = getCallingPid();
414 int callingPid = getCallingPid();
511 int callingPid = getCallingPid();
581 int callingPid = getCallingPid();
713 int callingPid = getCallingPid();
837 const int pid = getCallingPid();
935 int callingPid = getCallingPid();
[all...]
/frameworks/av/services/medialog/
H A DMediaLogService.cpp64 IPCThreadState::self()->getCallingPid(),
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
H A DKeyguardService.java65 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/core/java/android/speech/tts/
H A DTextToSpeechService.java804 Binder.getCallingUid(), Binder.getCallingPid(), params, text);
822 Binder.getCallingUid(), Binder.getCallingPid(), params, text,
834 Binder.getCallingUid(), Binder.getCallingPid(), params, audioUri);
845 Binder.getCallingUid(), Binder.getCallingPid(), params, duration);
915 Binder.getCallingPid(), null, lang, country, variant);
/frameworks/base/services/java/com/android/server/am/
H A DBatteryStatsService.java489 if (Binder.getCallingPid() == Process.myPid()) {
493 Binder.getCallingPid(), Binder.getCallingUid(), null);
512 + Binder.getCallingPid() + ", uid=" + Binder.getCallingUid()
/frameworks/base/services/java/com/android/server/accessibility/
H A DAccessibilityManagerService.java366 Slog.i(LOG_TAG, "Added global client for pid:" + Binder.getCallingPid());
375 Slog.i(LOG_TAG, "Added user client for pid:" + Binder.getCallingPid()
405 return (OWN_PROCESS_ID != Binder.getCallingPid());
497 Slog.i(LOG_TAG, "Added global connection for pid:" + Binder.getCallingPid()
508 Slog.i(LOG_TAG, "Added user connection for pid:" + Binder.getCallingPid()
528 Slog.i(LOG_TAG, "Removed global connection for pid:" + Binder.getCallingPid()
541 Slog.i(LOG_TAG, "Removed user connection for pid:" + Binder.getCallingPid()
1940 final int interrogatingPid = Binder.getCallingPid();
1985 final int interrogatingPid = Binder.getCallingPid();
2030 final int interrogatingPid = Binder.getCallingPid();
[all...]
/frameworks/native/services/surfaceflinger/
H A DClient.cpp93 const int pid = ipc->getCallingPid();
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DPhoneSubInfo.java230 + Binder.getCallingPid()
/frameworks/base/services/common_time/
H A Dcommon_time_server_api.cpp298 IPCThreadState::self()->getCallingPid(),
374 IPCThreadState::self()->getCallingPid(),
/frameworks/base/services/java/com/android/server/dreams/
H A DDreamManagerService.java92 + Binder.getCallingPid()
375 throw new SecurityException("Access denied to process: " + Binder.getCallingPid()
/frameworks/base/services/java/com/android/server/accounts/
H A DAccountManagerService.java483 + ", pid " + Binder.getCallingPid());
524 + ", pid " + Binder.getCallingPid());
543 + ", pid " + Binder.getCallingPid());
569 + ", pid " + Binder.getCallingPid());
777 + ", pid " + Binder.getCallingPid());
853 + ", pid " + Binder.getCallingPid());
970 + ", pid " + Binder.getCallingPid());
1063 + ", pid " + Binder.getCallingPid());
1083 + ", pid " + Binder.getCallingPid());
1102 + ", pid " + Binder.getCallingPid());
[all...]
/frameworks/base/services/java/com/android/server/wm/
H A DSession.java72 mPid = Binder.getCallingPid();
189 + Binder.getCallingPid());
195 + Binder.getCallingPid());
/frameworks/base/services/java/com/android/server/wifi/
H A DWifiService.java381 this.pid = getCallingPid();
457 stopBatchedScan(settings, getCallingUid(), getCallingPid());
593 Slog.d(TAG, "setWifiEnabled: " + enable + " pid=" + Binder.getCallingPid()
1194 + Binder.getCallingPid()
1343 enforceWakeSourcePermission(Binder.getCallingUid(), Binder.getCallingPid());
1405 int pid = Binder.getCallingPid();
/frameworks/av/media/libmediaplayerservice/
H A DMediaRecorderClient.cpp52 if (getpid() == IPCThreadState::self()->getCallingPid()) return true;

Completed in 709 milliseconds

1234