/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
BinderTest.java | 21 assertThat(Binder.getCallingPid(), equalTo(47)); 26 int pid = Binder.getCallingPid();
|
/frameworks/av/services/audioflinger/ |
ServiceUtilities.cpp | 29 if (getpid_cached == IPCThreadState::self()->getCallingPid()) return true; 38 if (getpid_cached == IPCThreadState::self()->getCallingPid()) return true;
|
/frameworks/base/core/java/android/hardware/location/ |
GeofenceHardwareService.java | 89 checkPermission(Binder.getCallingPid(), Binder.getCallingUid(), monitoringType); 99 checkPermission(Binder.getCallingPid(), Binder.getCallingUid(), monitoringType); 107 checkPermission(Binder.getCallingPid(), Binder.getCallingUid(), monitoringType); 115 checkPermission(Binder.getCallingPid(), Binder.getCallingUid(), monitoringType); 124 checkPermission(Binder.getCallingPid(), Binder.getCallingUid(), monitoringType); 134 checkPermission(Binder.getCallingPid(), Binder.getCallingUid(), monitoringType);
|
/frameworks/av/services/camera/libcameraservice/ |
CameraClient.cpp | 32 static int getCallingPid() { 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...] |
Camera2ClientBase.cpp | 36 static int getCallingPid() { 37 return IPCThreadState::self()->getCallingPid(); 64 int callingPid = getCallingPid(); 166 int callingPid = getCallingPid(); 197 getCallingPid() != TClientBase::mClientPid) { 203 getCallingPid(), 208 TClientBase::mClientPid = getCallingPid();
|
CameraService.cpp | 61 static int getCallingPid() { 62 return IPCThreadState::self()->getCallingPid(); 265 int callingPid = getCallingPid(); 318 int callingPid = getCallingPid(); 364 int callingPid = getCallingPid(); 454 int callingPid = getCallingPid(); 561 int callingPid = getCallingPid(); 685 const int pid = getCallingPid(); 783 int callingPid = getCallingPid(); 894 mClientPid = getCallingPid(); [all...] |
Camera2Client.cpp | 40 static int getCallingPid() { 41 return IPCThreadState::self()->getCallingPid(); 390 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(), mClientPid) [all...] |
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowBinder.java | 25 public static final int getCallingPid() {
|
/frameworks/base/services/java/com/android/server/os/ |
SchedulingPolicyService.java | 54 Process.setThreadGroup(tid, Binder.getCallingPid() == pid ?
|
/frameworks/base/services/java/com/android/server/ |
UpdateLockService.java | 111 + " pid=" + Binder.getCallingPid() + '}'; 119 + Binder.getCallingPid()
|
AppOpsService.java | 250 Binder.getCallingPid(), Binder.getCallingUid(), null); 275 Binder.getCallingPid(), Binder.getCallingUid(), null); 379 Binder.getCallingPid(), Binder.getCallingUid(), null); 583 if (Binder.getCallingPid() == Process.myPid()) { 587 Binder.getCallingPid(), Binder.getCallingUid(), null); [all...] |
VibratorService.java | 185 if (Binder.getCallingPid() == Process.myPid()) { 189 Binder.getCallingPid(), Binder.getCallingUid(), null);
|
/frameworks/av/services/medialog/ |
MediaLogService.cpp | 64 IPCThreadState::self()->getCallingPid(),
|
/frameworks/native/include/binder/ |
IPCThreadState.h | 42 int getCallingPid();
|
/frameworks/native/libs/binder/ |
PermissionCache.cpp | 84 pid_t pid = ipcState->getCallingPid();
|
/frameworks/base/core/java/android/speech/tts/ |
TextToSpeechService.java | 802 Binder.getCallingUid(), Binder.getCallingPid(), params, text); 820 Binder.getCallingUid(), Binder.getCallingPid(), params, text, 832 Binder.getCallingUid(), Binder.getCallingPid(), params, audioUri); 843 Binder.getCallingUid(), Binder.getCallingPid(), params, duration); 913 Binder.getCallingPid(), null, lang, country, variant); [all...] |
/cts/tests/tests/content/src/android/content/cts/ |
ContextWrapperTest.java | 376 mContextWrapper.enforceUriPermission(uri, Binder.getCallingPid(), 390 PERMISSION_HARDWARE_TEST, Binder.getCallingPid(), Binder.getCallingUid(), 572 PERMISSION_HARDWARE_TEST, Binder.getCallingPid(), 585 int retValue = mContextWrapper.checkUriPermission(uri, Binder.getCallingPid(), 0, 589 retValue = mContextWrapper.checkUriPermission(uri, Binder.getCallingPid(), 598 PERMISSION_HARDWARE_TEST, Binder.getCallingPid(), 0, 603 PERMISSION_HARDWARE_TEST, Binder.getCallingPid(), Binder.getCallingUid(), [all...] |
/frameworks/base/services/java/com/android/server/am/ |
BatteryStatsService.java | 464 if (Binder.getCallingPid() == Process.myPid()) { 468 Binder.getCallingPid(), Binder.getCallingUid(), null); 485 + Binder.getCallingPid() + ", uid=" + Binder.getCallingUid()
|
/frameworks/base/services/java/com/android/server/accessibility/ |
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() [all...] |
/frameworks/native/services/surfaceflinger/ |
Client.cpp | 92 const int pid = ipc->getCallingPid();
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
PhoneSubInfo.java | 230 + Binder.getCallingPid()
|
/hardware/qcom/display/libqservice/ |
IQService.cpp | 87 const int callerPid = ipc->getCallingPid();
|
/frameworks/base/services/common_time/ |
common_time_server_api.cpp | 298 IPCThreadState::self()->getCallingPid(), 374 IPCThreadState::self()->getCallingPid(),
|
/frameworks/base/services/java/com/android/server/accounts/ |
AccountManagerService.java | 469 + ", pid " + Binder.getCallingPid()); 509 + ", pid " + Binder.getCallingPid()); 527 + ", pid " + Binder.getCallingPid()); 553 + ", pid " + Binder.getCallingPid()); 753 + ", pid " + Binder.getCallingPid()); [all...] |
/frameworks/base/services/java/com/android/server/wm/ |
Session.java | 72 mPid = Binder.getCallingPid(); 189 + Binder.getCallingPid()); 195 + Binder.getCallingPid());
|