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();
179 int callingPid = getCallingPid();
212 getCallingPid() != TClientBase::mClientPid) {
218 getCallingPid(),
223 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();
380 int callingPid = getCallingPid();
447 if (mClientPid != 0 && getCallingPid() != mClientPid) {
450 mCameraId, getCallingPid(), mClientPid);
454 mClientPid = getCallingPid();
467 __FUNCTION__, mCameraId, getCallingPid(), mClientPid);
470 mClientPid = getCallingPid();
474 if (mClientPid != getCallingPid()) {
476 __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();
927 int callingPid = getCallingPid();
1014 int callingPid = getCallingPid();
1268 logRejected(id, getCallingPid(), String8(clientPackageName),
1300 logRejected(id, getCallingPid(), String8(clientPackageName),
1313 logRejected(id, getCallingPid(), String8(clientPackageName),
1341 logRejected(id, getCallingPid(), String8(clientPackageName),
1655 const int callingPid = getCallingPid();
[all...]

Completed in 8912 milliseconds