/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; 54 if (getpid_cached == IPCThreadState::self()->getCallingPid()) return true;
|
/frameworks/base/core/java/android/hardware/location/ |
H A D | GeofenceHardwareService.java | 94 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 D | CameraClient.cpp | 32 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 D | Camera2Client.cpp | 42 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 D | Camera2ClientBase.cpp | 37 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 D | SchedulingPolicyService.java | 54 Process.setThreadGroup(tid, Binder.getCallingPid() == pid ?
|
/frameworks/base/services/java/com/android/server/ |
H A D | UpdateLockService.java | 111 + " pid=" + Binder.getCallingPid() + '}'; 119 + Binder.getCallingPid()
|
H A D | AppOpsService.java | 157 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 D | VibratorService.java | 187 if (Binder.getCallingPid() == Process.myPid()) { 191 Binder.getCallingPid(), Binder.getCallingUid(), null);
|
/frameworks/av/services/camera/libcameraservice/ |
H A D | CameraService.cpp | 64 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 D | MediaLogService.cpp | 64 IPCThreadState::self()->getCallingPid(),
|
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
H A D | KeyguardService.java | 65 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/core/java/android/speech/tts/ |
H A D | TextToSpeechService.java | 804 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 D | BatteryStatsService.java | 489 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 D | AccessibilityManagerService.java | 366 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 D | Client.cpp | 93 const int pid = ipc->getCallingPid();
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | PhoneSubInfo.java | 230 + Binder.getCallingPid()
|
/frameworks/base/services/common_time/ |
H A D | common_time_server_api.cpp | 298 IPCThreadState::self()->getCallingPid(), 374 IPCThreadState::self()->getCallingPid(),
|
/frameworks/base/services/java/com/android/server/dreams/ |
H A D | DreamManagerService.java | 92 + Binder.getCallingPid() 375 throw new SecurityException("Access denied to process: " + Binder.getCallingPid()
|
/frameworks/base/services/java/com/android/server/accounts/ |
H A D | AccountManagerService.java | 483 + ", 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 D | Session.java | 72 mPid = Binder.getCallingPid(); 189 + Binder.getCallingPid()); 195 + Binder.getCallingPid());
|
/frameworks/base/services/java/com/android/server/wifi/ |
H A D | WifiService.java | 381 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 D | MediaRecorderClient.cpp | 52 if (getpid() == IPCThreadState::self()->getCallingPid()) return true;
|