Home
last modified time | relevance | path

Searched refs:mClientPid (Results 1 – 13 of 13) sorted by relevance

/frameworks/av/services/camera/libcameraservice/common/
DCamera2ClientBase.cpp74 if (callingPid == TClientBase::mClientPid) return NO_ERROR; in checkPid()
77 " (old pid %d, new pid %d)", checkLocation, TClientBase::mClientPid, callingPid); in checkPid()
135 TClientBase::mClientPid); in dumpClient()
180 if (callingPid != TClientBase::mClientPid && in disconnect()
211 if (TClientBase::mClientPid != 0 && in connect()
212 getCallingPid() != TClientBase::mClientPid) { in connect()
219 TClientBase::mClientPid); in connect()
223 TClientBase::mClientPid = getCallingPid(); in connect()
/frameworks/av/services/camera/libcameraservice/api1/
DCameraClient.cpp143 if (callingPid == mClientPid) return NO_ERROR; in checkPid()
146 " (old pid %d, new pid %d)", mClientPid, callingPid); in checkPid()
166 if (mClientPid == 0) { in lock()
167 mClientPid = callingPid; in lock()
187 mClientPid = 0; in unlock()
202 if (mClientPid != 0 && checkPid() != NO_ERROR) { in connect()
204 mClientPid, callingPid); in connect()
215 mClientPid = callingPid; in connect()
240 if (callingPid != mClientPid && callingPid != mServicePid) { in disconnect()
DCamera2Client.cpp154 mClientPid); in dumpClient()
381 if (callingPid != mClientPid && callingPid != mServicePid) return res; in disconnect()
447 if (mClientPid != 0 && getCallingPid() != mClientPid) { in connect()
450 mCameraId, getCallingPid(), mClientPid); in connect()
454 mClientPid = getCallingPid(); in connect()
467 __FUNCTION__, mCameraId, getCallingPid(), mClientPid); in lock()
469 if (mClientPid == 0) { in lock()
470 mClientPid = getCallingPid(); in lock()
474 if (mClientPid != getCallingPid()) { in lock()
476 __FUNCTION__, mCameraId, getCallingPid(), mClientPid); in lock()
[all …]
/frameworks/av/media/libmedia/
DAudioEffect.cpp159 mClientPid = IPCThreadState::self()->getCallingPid(); in set()
161 mStatus, mEnabled, mClientPid); in set()
164 AudioSystem::acquireAudioSessionId(mSessionId, mClientPid); in set()
177 AudioSystem::releaseAudioSessionId(mSessionId, mClientPid); in ~AudioEffect()
DAudioRecord.cpp245 mClientPid = callingpid; in set()
247 mClientPid = pid; in set()
536 mClientPid, in openRecord_l()
618 mClientPid, in openRecord_l()
DAudioTrack.cpp272 mSessionId, IPCThreadState::self()->getCallingPid(), mClientPid); in ~AudioTrack()
273 AudioSystem::releaseAudioSessionId(mSessionId, mClientPid); in ~AudioTrack()
492 mClientPid = callingpid; in set()
494 mClientPid = pid; in set()
531 AudioSystem::acquireAudioSessionId(mSessionId, mClientPid); in set()
1395 mClientPid, in createTrack_l()
/frameworks/av/include/media/
DAudioEffect.h482 pid_t mClientPid; variable
DAudioRecord.h646 pid_t mClientPid; variable
DAudioTrack.h1105 pid_t mClientPid; variable
/frameworks/av/media/libmediaplayerservice/
DStagefrightRecorder.h85 pid_t mClientPid; member
DStagefrightRecorder.cpp794 mClientPid = IPCThreadState::self()->getCallingPid(); in prepareInternal()
949 mClientPid); in createAudioSource()
1454 mCamera, mCameraProxy, mCameraId, mClientName, mClientUid, mClientPid, in setupCameraSource()
1460 mCamera, mCameraProxy, mCameraId, mClientName, mClientUid, mClientPid, in setupCameraSource()
/frameworks/av/services/camera/libcameraservice/
DCameraService.cpp2062 mClientPid = clientPid; in BasicClient()
2113 mCameraService->logDisconnected(String8::format("%d", mCameraId), mClientPid, in disconnect()
2124 ALOGI("%s: Disconnected client for camera %d for PID %d", __FUNCTION__, mCameraId, mClientPid); in disconnect()
2127 mClientPid = 0; in disconnect()
2146 return mClientPid; in getClientPid()
2256 mClientPid = getCallingPid(); in opChanged()
DCameraService.h251 pid_t mClientPid; variable