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()
134 TClientBase::mClientPid); in dumpClient()
179 if (callingPid != TClientBase::mClientPid && in disconnect()
210 if (TClientBase::mClientPid != 0 && in connect()
211 getCallingPid() != TClientBase::mClientPid) { in connect()
218 TClientBase::mClientPid); in connect()
222 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()
378 if (callingPid != mClientPid && callingPid != mServicePid) return res; in disconnect()
444 if (mClientPid != 0 && getCallingPid() != mClientPid) { in connect()
447 mCameraId, getCallingPid(), mClientPid); in connect()
451 mClientPid = getCallingPid(); in connect()
464 __FUNCTION__, mCameraId, getCallingPid(), mClientPid); in lock()
466 if (mClientPid == 0) { in lock()
467 mClientPid = getCallingPid(); in lock()
471 if (mClientPid != getCallingPid()) { in lock()
473 __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()
619 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()
1404 mClientPid, in createTrack_l()
/frameworks/av/include/media/
DAudioEffect.h482 pid_t mClientPid; variable
DAudioRecord.h643 pid_t mClientPid; variable
DAudioTrack.h1105 pid_t mClientPid; variable
/frameworks/av/media/libmediaplayerservice/
DStagefrightRecorder.h85 pid_t mClientPid; member
DStagefrightRecorder.cpp787 mClientPid = IPCThreadState::self()->getCallingPid(); in prepareInternal()
939 mClientPid); in createAudioSource()
1444 mCamera, mCameraProxy, mCameraId, mClientName, mClientUid, mClientPid, in setupCameraSource()
1450 mCamera, mCameraProxy, mCameraId, mClientName, mClientUid, mClientPid, in setupCameraSource()
/frameworks/av/services/camera/libcameraservice/
DCameraService.cpp2061 mClientPid = clientPid; in BasicClient()
2112 mCameraService->logDisconnected(String8::format("%d", mCameraId), mClientPid, in disconnect()
2121 ALOGI("%s: Disconnected client for camera %d for PID %d", __FUNCTION__, mCameraId, mClientPid); in disconnect()
2124 mClientPid = 0; in disconnect()
2143 return mClientPid; in getClientPid()
2257 mClientPid = getCallingPid(); in opChanged()
DCameraService.h251 pid_t mClientPid; variable