Searched defs:getCallingPid (Results 1 - 9 of 9) sorted by path

/frameworks/av/drm/libmediadrm/
H A DDrm.cpp38 static inline int getCallingPid() { function in namespace:android
39 return IPCThreadState::self()->getCallingPid();
43 if (getpid() == IPCThreadState::self()->getCallingPid()) return true;
368 retry = DrmSessionManager::Instance()->reclaimSession(getCallingPid());
382 DrmSessionManager::Instance()->addSession(getCallingPid(), mDrmSessionClient, sessionId);
H A DDrmHal.cpp60 static inline int getCallingPid() { function in namespace:android
61 return IPCThreadState::self()->getCallingPid();
65 if (getpid() == IPCThreadState::self()->getCallingPid()) return true;
454 retry = DrmSessionManager::Instance()->reclaimSession(getCallingPid());
462 DrmSessionManager::Instance()->addSession(getCallingPid(),
/frameworks/av/services/camera/libcameraservice/
H A DCameraService.cpp352 LOG_ALWAYS_FATAL_IF(getCallingPid() != getpid(),
513 int CameraService::getCallingPid() { function in class:android::CameraService
514 return IPCThreadState::self()->getCallingPid();
848 int callingPid = getCallingPid();
882 int callingPid = getCallingPid();
943 int callingPid = getCallingPid();
1208 logRejected(id, getCallingPid(), String8(clientPackageName),
1236 logRejected(id, getCallingPid(), String8(clientPackageName),
1264 logRejected(id, getCallingPid(), String8(clientPackageName),
1738 const int callingPid = getCallingPid();
[all...]
/frameworks/av/services/camera/libcameraservice/api1/
H A DCamera2Client.cpp43 static int getCallingPid() { function in namespace:android
44 return IPCThreadState::self()->getCallingPid();
386 int callingPid = getCallingPid();
453 if (mClientPid != 0 && getCallingPid() != mClientPid) {
456 mCameraId, getCallingPid(), mClientPid);
460 mClientPid = getCallingPid();
473 __FUNCTION__, mCameraId, getCallingPid(), mClientPid);
476 mClientPid = getCallingPid();
480 if (mClientPid != getCallingPid()) {
482 __FUNCTION__, mCameraId, getCallingPid(), mClientPi
[all...]
H A DCameraClient.cpp34 static int getCallingPid() { function in namespace:android
35 return IPCThreadState::self()->getCallingPid();
48 int callingPid = getCallingPid();
66 int callingPid = getCallingPid();
107 int callingPid = getCallingPid();
145 int callingPid = getCallingPid();
155 ALOGE("attempt to use a camera after disconnect() (pid %d)", getCallingPid());
164 int callingPid = getCallingPid();
179 int callingPid = getCallingPid();
201 int callingPid = getCallingPid();
[all...]
/frameworks/av/services/camera/libcameraservice/common/
H A DCamera2ClientBase.cpp39 static int getCallingPid() { function in namespace:android
40 return IPCThreadState::self()->getCallingPid();
73 int callingPid = getCallingPid();
185 int callingPid = getCallingPid();
218 getCallingPid() != TClientBase::mClientPid) {
224 getCallingPid(),
229 TClientBase::mClientPid = getCallingPid();
/frameworks/base/core/java/android/os/
H A DBinder.java202 public static final native int getCallingPid(); method in class:Binder
237 * @see #getCallingPid()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
H A DDpmMockContext.java134 public int getCallingPid() { method in class:DpmMockContext.MockBinder
/frameworks/native/libs/binder/
H A DIPCThreadState.cpp358 pid_t IPCThreadState::getCallingPid() const function in class:android::IPCThreadState

Completed in 401 milliseconds