HomeSort by relevance Sort by last modified time
    Searched refs:getCallingPid (Results 1 - 25 of 110) sorted by null

1 2 3 4 5

  /frameworks/av/services/audioflinger/
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;
  /external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
BinderTest.java 21 assertThat(Binder.getCallingPid(), equalTo(47));
26 int pid = Binder.getCallingPid();
  /frameworks/base/core/java/android/hardware/location/
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/
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...]
Camera2Client.cpp 42 static int getCallingPid() {
43 return IPCThreadState::self()->getCallingPid();
388 int callingPid = getCallingPid();
445 if (mClientPid != 0 && getCallingPid() != mClientPid) {
448 mCameraId, getCallingPid(), mClientPid);
452 mClientPid = getCallingPid();
465 __FUNCTION__, mCameraId, getCallingPid(), mClientPid);
468 mClientPid = getCallingPid();
472 if (mClientPid != getCallingPid()) {
474 __FUNCTION__, mCameraId, getCallingPid(), mClientPid)
    [all...]
  /frameworks/av/services/camera/libcameraservice/common/
Camera2ClientBase.cpp 37 static int getCallingPid() {
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/
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()
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowBinder.java 26 public static final int getCallingPid() {
  /frameworks/av/services/camera/libcameraservice/
CameraService.cpp 64 static int getCallingPid() {
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();
703 int callingPid = getCallingPid();
827 const int pid = getCallingPid();
925 int callingPid = getCallingPid();
    [all...]
  /frameworks/av/services/medialog/
MediaLogService.cpp 64 IPCThreadState::self()->getCallingPid(),
  /frameworks/base/packages/Keyguard/src/com/android/keyguard/
KeyguardService.java 65 throw new SecurityException("Access denied to process: " + Binder.getCallingPid()
  /frameworks/native/include/binder/
IPCThreadState.h 42 int getCallingPid() const;
  /frameworks/native/libs/binder/
PermissionCache.cpp 84 pid_t pid = ipcState->getCallingPid();
  /frameworks/base/core/java/android/speech/tts/
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);
    [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 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/
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 93 const int pid = ipc->getCallingPid();
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/
PhoneSubInfo.java 230 + Binder.getCallingPid()
  /hardware/qcom/display/msm8960/libqservice/
IQService.cpp 87 const int callerPid = ipc->getCallingPid();
  /hardware/qcom/display/msm8974/libqservice/
IQService.cpp 87 const int callerPid = ipc->getCallingPid();
  /hardware/qcom/display/msm8x26/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/dreams/
DreamManagerService.java 92 + Binder.getCallingPid()
375 throw new SecurityException("Access denied to process: " + Binder.getCallingPid()

Completed in 587 milliseconds

1 2 3 4 5