Searched defs:getCallingPid (Results 1 - 7 of 7) 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();
177 int callingPid = getCallingPid();
208 getCallingPid() != TClientBase::mClientPid) {
214 getCallingPid(),
219 TClientBase::mClientPid = getCallingPid();
/frameworks/base/core/java/android/os/
H A DBinder.java89 public static final native int getCallingPid(); method in class:Binder
124 * @see #getCallingPid()
/frameworks/av/media/libmediaplayerservice/
H A DDrm.cpp38 static inline int getCallingPid() { function in namespace:android
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/av/services/camera/libcameraservice/api1/
H A DCameraClient.cpp32 static int getCallingPid() { function in namespace:android
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...]
H A DCamera2Client.cpp43 static int getCallingPid() { function in namespace:android
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(), mClientPi
[all...]
/frameworks/native/libs/binder/
H A DIPCThreadState.cpp346 pid_t IPCThreadState::getCallingPid() const function in class:android::IPCThreadState
/frameworks/av/services/camera/libcameraservice/
H A DCameraService.cpp330 LOG_ALWAYS_FATAL_IF(getCallingPid() != getpid(),
591 int CameraService::getCallingPid() { function in class:android::CameraService
592 return IPCThreadState::self()->getCallingPid();
865 int callingPid = getCallingPid();
917 int callingPid = getCallingPid();
1172 logRejected(id, getCallingPid(), String8(clientPackageName),
1202 logRejected(id, getCallingPid(), String8(clientPackageName),
1213 logRejected(id, getCallingPid(), String8(clientPackageName),
1239 logRejected(id, getCallingPid(), String8(clientPackageName),
1519 const int callingPid = getCallingPid();
[all...]

Completed in 314 milliseconds