Searched defs:getCallingPid (Results 1 - 8 of 8) sorted by relevance

/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();
178 int callingPid = getCallingPid();
211 getCallingPid() != TClientBase::mClientPid) {
217 getCallingPid(),
222 TClientBase::mClientPid = getCallingPid();
/frameworks/base/core/java/android/os/
H A DBinder.java144 public static final native int getCallingPid(); method in class:Binder
179 * @see #getCallingPid()
/frameworks/av/drm/libmediadrm/
H A DDrm.cpp37 static inline int getCallingPid() { function in namespace:android
38 return IPCThreadState::self()->getCallingPid();
42 if (getpid() == IPCThreadState::self()->getCallingPid()) return true;
360 retry = DrmSessionManager::Instance()->reclaimSession(getCallingPid());
374 DrmSessionManager::Instance()->addSession(getCallingPid(), mDrmSessionClient, sessionId);
/frameworks/av/services/camera/libcameraservice/api1/
H A DCamera2Client.cpp43 static int getCallingPid() { function in namespace:android
44 return IPCThreadState::self()->getCallingPid();
377 int callingPid = getCallingPid();
444 if (mClientPid != 0 && getCallingPid() != mClientPid) {
447 mCameraId, getCallingPid(), mClientPid);
451 mClientPid = getCallingPid();
464 __FUNCTION__, mCameraId, getCallingPid(), mClientPid);
467 mClientPid = getCallingPid();
471 if (mClientPid != getCallingPid()) {
473 __FUNCTION__, mCameraId, getCallingPid(), mClientPi
[all...]
H A DCameraClient.cpp33 static int getCallingPid() { function in namespace:android
34 return IPCThreadState::self()->getCallingPid();
46 int callingPid = getCallingPid();
64 int callingPid = getCallingPid();
104 int callingPid = getCallingPid();
142 int callingPid = getCallingPid();
152 ALOGE("attempt to use a camera after disconnect() (pid %d)", getCallingPid());
161 int callingPid = getCallingPid();
176 int callingPid = getCallingPid();
198 int callingPid = getCallingPid();
[all...]
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
H A DDpmMockContext.java116 public int getCallingPid() { method in class:DpmMockContext.MockBinder
/frameworks/native/libs/binder/
H A DIPCThreadState.cpp354 pid_t IPCThreadState::getCallingPid() const function in class:android::IPCThreadState
/frameworks/av/services/camera/libcameraservice/
H A DCameraService.cpp349 LOG_ALWAYS_FATAL_IF(getCallingPid() != getpid(),
629 int CameraService::getCallingPid() { function in class:android::CameraService
630 return IPCThreadState::self()->getCallingPid();
926 int callingPid = getCallingPid();
1013 int callingPid = getCallingPid();
1267 logRejected(id, getCallingPid(), String8(clientPackageName),
1299 logRejected(id, getCallingPid(), String8(clientPackageName),
1312 logRejected(id, getCallingPid(), String8(clientPackageName),
1340 logRejected(id, getCallingPid(), String8(clientPackageName),
1654 const int callingPid = getCallingPid();
[all...]

Completed in 586 milliseconds