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

1 2 3 4 5 6

  /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 101 checkPermission(Binder.getCallingPid(), Binder.getCallingUid(), monitoringType);
110 checkPermission(Binder.getCallingPid(), Binder.getCallingUid(), monitoringType);
119 checkPermission(Binder.getCallingPid(), Binder.getCallingUid(), monitoringType);
128 checkPermission(Binder.getCallingPid(), Binder.getCallingUid(), monitoringType);
138 checkPermission(Binder.getCallingPid(), Binder.getCallingUid(), monitoringType);
149 checkPermission(Binder.getCallingPid(), Binder.getCallingUid(), monitoringType);
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/util/
ContactsPermissions.java 41 if (ALLOW_SELF_CALL && Binder.getCallingPid() == Process.myPid()) {
50 + " caller=" + Binder.getCallingPid()
85 if (ALLOW_SELF_CALL && Binder.getCallingPid() == Process.myPid()) {
94 + " caller=" + Binder.getCallingPid()
  /frameworks/av/services/audioflinger/
ServiceUtilities.cpp 46 if (getpid_cached == IPCThreadState::self()->getCallingPid()) return true;
101 if (getpid_cached == IPCThreadState::self()->getCallingPid()) return true;
118 if (getpid_cached == IPCThreadState::self()->getCallingPid()) return true;
  /frameworks/support/v4/java/android/support/v4/content/
PermissionChecker.java 142 if (Binder.getCallingPid() == Process.myPid()) {
145 return checkPermission(context, permission, Binder.getCallingPid(),
160 String packageName = (Binder.getCallingPid() == Process.myPid())
162 return checkPermission(context, permission, Binder.getCallingPid(),
  /frameworks/av/services/camera/libcameraservice/api1/
CameraClient.cpp 32 static int getCallingPid() {
33 return IPCThreadState::self()->getCallingPid();
45 int callingPid = getCallingPid();
63 int callingPid = getCallingPid();
103 int callingPid = getCallingPid();
137 int callingPid = getCallingPid();
149 ALOGE("attempt to use a camera after disconnect() (pid %d)", getCallingPid());
156 int callingPid = getCallingPid();
171 int callingPid = getCallingPid();
193 int callingPid = getCallingPid();
    [all...]
Camera2Client.cpp 43 static int getCallingPid() {
44 return IPCThreadState::self()->getCallingPid();
392 int callingPid = getCallingPid();
462 if (mClientPid != 0 && getCallingPid() != mClientPid) {
465 mCameraId, getCallingPid(), mClientPid);
469 mClientPid = getCallingPid();
482 __FUNCTION__, mCameraId, getCallingPid(), mClientPid);
485 mClientPid = getCallingPid();
489 if (mClientPid != getCallingPid()) {
491 __FUNCTION__, mCameraId, getCallingPid(), mClientPid)
    [all...]
  /frameworks/base/services/core/java/com/android/server/os/
SchedulingPolicyService.java 54 Process.setThreadGroup(tid, Binder.getCallingPid() == pid ?
  /frameworks/av/services/camera/libcameraservice/common/
Camera2ClientBase.cpp 39 static int getCallingPid() {
40 return IPCThreadState::self()->getCallingPid();
72 int callingPid = getCallingPid();
176 int callingPid = getCallingPid();
207 getCallingPid() != TClientBase::mClientPid) {
213 getCallingPid(),
218 TClientBase::mClientPid = getCallingPid();
  /frameworks/base/services/core/java/com/android/server/
UpdateLockService.java 110 + " pid=" + Binder.getCallingPid() + '}';
118 + Binder.getCallingPid()
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowBinder.java 26 public static final int getCallingPid() {
  /frameworks/native/services/inputflinger/host/
InputFlinger.cpp 53 const int pid = ipc->getCallingPid();
  /hardware/qcom/display/msm8226/libqservice/
QService.cpp 62 if (ipc->getCallingPid() == getpid())
  /hardware/qcom/display/msm8994/libqservice/
QService.cpp 62 if (ipc->getCallingPid() == getpid())
  /frameworks/base/services/core/java/com/android/server/tv/
TvInputManagerService.java     [all...]
  /frameworks/av/services/medialog/
MediaLogService.cpp 64 IPCThreadState::self()->getCallingPid(),
  /frameworks/base/services/core/java/com/android/server/webkit/
WebViewUpdateService.java 114 if (Binder.getCallingPid() == Process.myPid()) {
  /system/core/gatekeeperd/
gatekeeperd.cpp 137 const int calling_pid = ipc->getCallingPid();
202 const int calling_pid = ipc->getCallingPid();
286 const int calling_pid = ipc->getCallingPid();
301 const int pid = ipc->getCallingPid();
  /frameworks/base/services/core/java/com/android/server/statusbar/
StatusBarManagerService.java 630 final int callingPid = Binder.getCallingPid();
643 final int callingPid = Binder.getCallingPid();
658 final int callingPid = Binder.getCallingPid();
673 final int callingPid = Binder.getCallingPid();
713 final int callingPid = Binder.getCallingPid();
792 + Binder.getCallingPid()
  /frameworks/native/include/binder/
IPCThreadState.h 42 pid_t getCallingPid() const;
  /frameworks/native/libs/binder/
PermissionCache.cpp 84 pid_t pid = ipcState->getCallingPid();
  /system/core/healthd/
BatteryPropertiesRegistrar.cpp 81 const int pid = self->getCallingPid();
  /frameworks/av/media/libmediaplayerservice/
Drm.cpp 38 static inline int getCallingPid() {
39 return IPCThreadState::self()->getCallingPid();
46 if (getpid() == IPCThreadState::self()->getCallingPid()) return true;
364 retry = DrmSessionManager::Instance()->reclaimSession(getCallingPid());
378 DrmSessionManager::Instance()->addSession(getCallingPid(), mDrmSessionClient, sessionId);
  /frameworks/base/core/java/android/view/
AccessibilityInteractionController.java 164 if (spec != null && android.os.Process.myPid() != Binder.getCallingPid()) {
176 if (interactiveRegion != null && android.os.Process.myPid() == Binder.getCallingPid()) {
258 if (spec != null && android.os.Process.myPid() != Binder.getCallingPid()) {
269 if (interactiveRegion != null && android.os.Process.myPid() == Binder.getCallingPid()) {
376 if (spec != null && android.os.Process.myPid() != Binder.getCallingPid()) {
387 if (interactiveRegion != null && android.os.Process.myPid() == Binder.getCallingPid()) {
498 if (spec != null && android.os.Process.myPid() != Binder.getCallingPid()) {
509 if (interactiveRegion != null && android.os.Process.myPid() == Binder.getCallingPid()) {
583 if (spec != null && android.os.Process.myPid() != Binder.getCallingPid()) {
594 if (interactiveRegion != null && android.os.Process.myPid() == 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...]

Completed in 2683 milliseconds

1 2 3 4 5 6