/frameworks/av/services/audioflinger/ |
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/ |
CameraService.cpp | 59 static int getCallingPid() { 60 return IPCThreadState::self()->getCallingPid(); 135 int callingPid = getCallingPid(); 205 int callingPid = getCallingPid(); 254 const int pid = getCallingPid(); 340 int callingPid = getCallingPid(); 379 int callingPid = getCallingPid(); 392 int callingPid = getCallingPid(); 404 ALOGE("attempt to use a camera after disconnect() (pid %d)", getCallingPid()); 411 int callingPid = getCallingPid(); [all...] |
/frameworks/base/core/java/android/os/ |
SchedulingPolicyService.java | 55 Process.setThreadGroup(tid, Binder.getCallingPid() == pid ?
|
Binder.java | 64 public static final native int getCallingPid(); 115 * @see #getCallingPid()
|
/frameworks/base/services/java/com/android/server/ |
UpdateLockService.java | 110 + " pid=" + Binder.getCallingPid() + '}'; 118 + Binder.getCallingPid()
|
CommonTimeManagementService.java | 188 "pid=%d, uid=%d", Binder.getCallingPid(), Binder.getCallingUid()));
|
/frameworks/base/core/java/android/service/dreams/ |
DreamManagerService.java | 57 throw new SecurityException("Access denied to process: " + Binder.getCallingPid() 100 + " pid=" + Binder.getCallingPid() + ", uid=" + Binder.getCallingUid()); 124 + " pid=" + Binder.getCallingPid() + ", uid=" + Binder.getCallingUid());
|
/frameworks/native/include/binder/ |
IPCThreadState.h | 42 int getCallingPid();
|
/frameworks/native/libs/binder/ |
PermissionCache.cpp | 84 pid_t pid = ipcState->getCallingPid();
|
IServiceManager.cpp | 60 pid_t pid = ipcState->getCallingPid();
|
/frameworks/base/core/java/android/accounts/ |
AccountManagerService.java | 409 + ", pid " + Binder.getCallingPid()); 449 + ", pid " + Binder.getCallingPid()); 467 + ", pid " + Binder.getCallingPid()); 491 + ", pid " + Binder.getCallingPid()); 569 + ", pid " + Binder.getCallingPid()); 641 + ", pid " + Binder.getCallingPid()); 730 + ", pid " + Binder.getCallingPid()); [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 | 450 if (Binder.getCallingPid() == Process.myPid()) { 454 Binder.getCallingPid(), Binder.getCallingUid(), null); 471 + Binder.getCallingPid() + ", uid=" + Binder.getCallingUid()
|
/frameworks/base/services/java/com/android/server/wm/ |
Session.java | 67 mPid = Binder.getCallingPid(); 157 + Binder.getCallingPid()); 163 + Binder.getCallingPid());
|
/frameworks/base/core/java/android/speech/tts/ |
TextToSpeechService.java | 771 Binder.getCallingUid(), Binder.getCallingPid(), params, text); 784 Binder.getCallingPid(), params, text, file); 795 Binder.getCallingUid(), Binder.getCallingPid(), params, audioUri); 806 Binder.getCallingUid(), Binder.getCallingPid(), params, duration); [all...] |
/frameworks/base/services/java/com/android/server/usb/ |
UsbService.java | 172 + Binder.getCallingPid()
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
PhoneSubInfo.java | 196 + Binder.getCallingPid()
|
/frameworks/base/services/common_time/ |
common_time_server_api.cpp | 298 IPCThreadState::self()->getCallingPid(), 371 IPCThreadState::self()->getCallingPid(),
|
/frameworks/base/core/java/android/content/ |
ContentProvider.java | 278 final int pid = Binder.getCallingPid(); 339 final int pid = Binder.getCallingPid(); [all...] |
/frameworks/base/services/java/com/android/server/accessibility/ |
AccessibilityManagerService.java | 425 return (OWN_PROCESS_ID != Binder.getCallingPid()); [all...] |
/cts/tests/tests/os/src/android/os/cts/ |
BinderTest.java | 316 assertEquals(Process.myPid(), Binder.getCallingPid());
|
/frameworks/av/drm/drmserver/ |
DrmManagerService.cpp | 275 IPCThreadState::self()->getCallingPid(),
|
/frameworks/av/media/libmediaplayerservice/ |
MediaRecorderClient.cpp | 52 if (getpid() == IPCThreadState::self()->getCallingPid()) return true;
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
ShortcutsProvider.java | 131 if (DBG) Log.d(TAG, "Adding (PID: " + Binder.getCallingPid() + "): " + shortcut);
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
MediaThumbRequest.java | 61 int mCallingPid = Binder.getCallingPid();
|