/frameworks/av/services/audioflinger/ |
H A D | ServiceUtilities.cpp | 28 if (getpid_cached == IPCThreadState::self()->getCallingPid()) return true; 37 if (getpid_cached == IPCThreadState::self()->getCallingPid()) return true;
|
/frameworks/av/services/camera/libcameraservice/ |
H A D | CameraClient.cpp | 33 static int getCallingPid() { function in namespace:android 34 return IPCThreadState::self()->getCallingPid(); 47 int callingPid = getCallingPid(); 64 int callingPid = getCallingPid(); 102 int callingPid = getCallingPid(); 125 int callingPid = getCallingPid(); 137 ALOGE("attempt to use a camera after disconnect() (pid %d)", getCallingPid()); 144 int callingPid = getCallingPid(); 159 int callingPid = getCallingPid(); 181 int callingPid = getCallingPid(); [all...] |
H A D | CameraService.cpp | 60 static int getCallingPid() { function in namespace:android 61 return IPCThreadState::self()->getCallingPid(); 136 int callingPid = getCallingPid(); 222 int callingPid = getCallingPid(); 304 const int pid = getCallingPid(); 393 int callingPid = getCallingPid(); 468 getCallingPid(), 579 "died (this pid %d)", cameraClient.get(), getCallingPid());
|
H A D | Camera2Client.cpp | 36 static int getCallingPid() { function in namespace:android 37 return IPCThreadState::self()->getCallingPid(); 67 int callingPid = getCallingPid(); 376 int callingPid = getCallingPid(); 425 if (mClientPid != 0 && getCallingPid() != mClientPid) { 428 mCameraId, getCallingPid(), mClientPid); 432 mClientPid = getCallingPid(); 445 __FUNCTION__, mCameraId, getCallingPid(), mClientPid); 448 mClientPid = getCallingPid(); 452 if (mClientPid != getCallingPid()) { [all...] |
/frameworks/base/core/java/android/os/ |
H A D | SchedulingPolicyService.java | 55 Process.setThreadGroup(tid, Binder.getCallingPid() == pid ?
|
H A D | Binder.java | 64 public static final native int getCallingPid(); method in class:Binder 99 * @see #getCallingPid()
|
/frameworks/base/services/java/com/android/server/ |
H A D | UpdateLockService.java | 111 + " pid=" + Binder.getCallingPid() + '}'; 119 + Binder.getCallingPid()
|
H A D | CommonTimeManagementService.java | 190 "pid=%d, uid=%d", Binder.getCallingPid(), Binder.getCallingUid()));
|
H A D | NotificationManagerService.java | 683 int callingPid = Binder.getCallingPid(); 872 enqueueNotificationInternal(pkg, Binder.getCallingUid(), Binder.getCallingPid(), 1302 userId = ActivityManager.handleIncomingUser(Binder.getCallingPid(), 1313 userId = ActivityManager.handleIncomingUser(Binder.getCallingPid(), 1437 + Binder.getCallingPid()
|
/frameworks/native/include/binder/ |
H A D | IPCThreadState.h | 42 int getCallingPid();
|
/frameworks/native/libs/binder/ |
H A D | PermissionCache.cpp | 84 pid_t pid = ipcState->getCallingPid();
|
H A D | IServiceManager.cpp | 60 pid_t pid = ipcState->getCallingPid();
|
/frameworks/base/core/java/android/accounts/ |
H A D | AccountManagerService.java | 432 + ", pid " + Binder.getCallingPid()); 472 + ", pid " + Binder.getCallingPid()); 490 + ", pid " + Binder.getCallingPid()); 515 + ", pid " + Binder.getCallingPid()); 593 + ", pid " + Binder.getCallingPid()); 665 + ", pid " + Binder.getCallingPid()); 755 + ", pid " + Binder.getCallingPid()); 847 + ", pid " + Binder.getCallingPid()); 866 + ", pid " + Binder.getCallingPid()); 884 + ", pid " + Binder.getCallingPid()); [all...] |
/frameworks/base/services/java/com/android/server/am/ |
H A D | BatteryStatsService.java | 450 if (Binder.getCallingPid() == Process.myPid()) { 454 Binder.getCallingPid(), Binder.getCallingUid(), null); 471 + Binder.getCallingPid() + ", uid=" + Binder.getCallingUid()
|
H A D | ActivityManagerService.java | 1496 + Binder.getCallingPid() + ", uid=" + Binder.getCallingUid() 1517 + Binder.getCallingPid() + ", uid=" + Binder.getCallingUid() 1537 + Binder.getCallingPid() + ", uid=" + Binder.getCallingUid() 1557 + Binder.getCallingPid() + ", uid=" + Binder.getCallingUid() 2469 userId = handleIncomingUser(Binder.getCallingPid(), Binder.getCallingUid(), userId, 2481 userId = handleIncomingUser(Binder.getCallingPid(), Binder.getCallingUid(), userId, 2495 userId = handleIncomingUser(Binder.getCallingPid(), Binder.getCallingUid(), userId, 2634 userId = handleIncomingUser(Binder.getCallingPid(), Binder.getCallingUid(), userId, 2647 userId = handleIncomingUser(Binder.getCallingPid(), Binder.getCallingUid(), userId, 2658 userId = handleIncomingUser(Binder.getCallingPid(), Binde [all...] |
H A D | ActiveServices.java | 222 + " (pid=" + Binder.getCallingPid() 276 + " (pid=" + Binder.getCallingPid() 282 Binder.getCallingPid(), Binder.getCallingUid(), userId, false); 301 Binder.getCallingPid(), Binder.getCallingUid(), 310 + " from pid=" + Binder.getCallingPid() 436 + " (pid=" + Binder.getCallingPid() 474 Binder.getCallingPid(), Binder.getCallingUid(), userId, true); 1428 + Binder.getCallingPid());
|
/frameworks/base/core/java/android/speech/tts/ |
H A D | TextToSpeechService.java | 736 Binder.getCallingUid(), Binder.getCallingPid(), params, text); 749 Binder.getCallingPid(), params, text, file); 760 Binder.getCallingUid(), Binder.getCallingPid(), params, audioUri); 771 Binder.getCallingUid(), Binder.getCallingPid(), params, duration);
|
/frameworks/native/services/surfaceflinger/ |
H A D | Client.cpp | 95 const int pid = ipc->getCallingPid();
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | PhoneSubInfo.java | 196 + 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/accessibility/ |
H A D | AccessibilityManagerService.java | 327 Slog.i(LOG_TAG, "Added global client for pid:" + Binder.getCallingPid()); 336 Slog.i(LOG_TAG, "Added user client for pid:" + Binder.getCallingPid() 366 return (OWN_PROCESS_ID != Binder.getCallingPid()); 439 Slog.i(LOG_TAG, "Added global connection for pid:" + Binder.getCallingPid() 450 Slog.i(LOG_TAG, "Added user connection for pid:" + Binder.getCallingPid() 470 Slog.i(LOG_TAG, "Removed global connection for pid:" + Binder.getCallingPid() 483 Slog.i(LOG_TAG, "Removed user connection for pid:" + Binder.getCallingPid() 1622 final int interrogatingPid = Binder.getCallingPid(); 1667 final int interrogatingPid = Binder.getCallingPid(); 1713 final int interrogatingPid = Binder.getCallingPid(); [all...] |
/frameworks/base/services/java/com/android/server/wm/ |
H A D | Session.java | 70 mPid = Binder.getCallingPid(); 187 + Binder.getCallingPid()); 193 + Binder.getCallingPid());
|
/frameworks/base/core/java/android/content/ |
H A D | ContentProvider.java | 278 final int pid = Binder.getCallingPid(); 339 final int pid = Binder.getCallingPid();
|
/frameworks/av/media/libmediaplayerservice/ |
H A D | MediaRecorderClient.cpp | 52 if (getpid() == IPCThreadState::self()->getCallingPid()) return true;
|
/frameworks/base/services/java/com/android/server/input/ |
H A D | InputManagerService.java | 516 final int pid = Binder.getCallingPid(); 595 int callingPid = Binder.getCallingPid(); 1216 + Binder.getCallingPid() 1230 if (Binder.getCallingPid() == Process.myPid()) { 1238 + Binder.getCallingPid()
|