Home
last modified time | relevance | path

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

/frameworks/base/media/java/android/media/
DAudioPlaybackConfiguration.java181 private int mClientPid; field in AudioPlaybackConfiguration
204 mClientPid = pid; in AudioPlaybackConfiguration()
248 anonymCopy.mClientPid = PLAYER_UPID_INVALID; in anonymizedCopy()
278 return mClientPid; in getClientPid()
444 return Objects.hash(mPlayerIId, mPlayerType, mClientUid, mClientPid); in hashCode()
457 dest.writeInt(mClientPid); in writeToParcel()
471 mClientPid = in.readInt(); in AudioPlaybackConfiguration()
488 && (mClientPid == that.mClientPid)); in equals()
495 + " u/pid:" + mClientUid + "/" + mClientPid in toString()
/frameworks/av/services/camera/libcameraservice/common/
DCamera2ClientBase.cpp73 if (callingPid == TClientBase::mClientPid) return NO_ERROR; in checkPid()
76 " (old pid %d, new pid %d)", checkLocation, TClientBase::mClientPid, callingPid); in checkPid()
142 TClientBase::mClientPid); in dumpClient()
188 if (callingPid != TClientBase::mClientPid && in disconnect()
217 if (TClientBase::mClientPid != 0 && in connect()
218 CameraThreadState::getCallingPid() != TClientBase::mClientPid) { in connect()
225 TClientBase::mClientPid); in connect()
229 TClientBase::mClientPid = CameraThreadState::getCallingPid(); in connect()
/frameworks/av/media/libmediatranscoding/include/media/
DTranscodingClientManager.h61 int32_t mClientPid; member
71 mClientPid(pid), in ClientInfo()
/frameworks/av/services/camera/libcameraservice/api2/
DCameraOfflineSessionClient.cpp112 if (callingPid != mClientPid && in disconnect()
120 sCameraService->logDisconnectedOffline(mCameraIdStr, mClientPid, String8(mClientPackageName)); in disconnect()
135 mCameraIdStr.string(), mClientPid); in disconnect()
138 mClientPid = 0; in disconnect()
DCameraDeviceClient.cpp2065 mClientFeatureId, mCameraIdStr, mCameraFacing, mClientPid, mClientUid, mServicePid); in switchToOffline()
/frameworks/base/services/core/java/com/android/server/wm/
DInputConsumerImpl.java42 final int mClientPid; field in InputConsumerImpl
56 mClientPid = clientPid; in InputConsumerImpl()
178 pw.println(prefix + " name=" + name + " pid=" + mClientPid + " user=" + mClientUser); in dump()
/frameworks/av/media/libmediatranscoding/
DTranscodingClientManager.cpp88 if (client == nullptr || client->mClientId < 0 || client->mClientPid < 0 || in addClient()
103 ALOGD("Adding client id %d pid: %d uid: %d %s", client->mClientId, client->mClientPid, in addClient()
/frameworks/av/services/camera/libcameraservice/api1/
DCameraClient.cpp148 if (callingPid == mClientPid) return NO_ERROR; in checkPid()
151 " (old pid %d, new pid %d)", mClientPid, callingPid); in checkPid()
172 if (mClientPid == 0) { in lock()
173 mClientPid = callingPid; in lock()
193 mClientPid = 0; in unlock()
208 if (mClientPid != 0 && checkPid() != NO_ERROR) { in connect()
210 mClientPid, callingPid); in connect()
221 mClientPid = callingPid; in connect()
246 if (callingPid != mClientPid && callingPid != mServicePid) { in disconnect()
DCamera2Client.cpp176 mClientPid); in dumpClient()
404 if (callingPid != mClientPid && callingPid != mServicePid) return res; in disconnect()
468 if (mClientPid != 0 && CameraThreadState::getCallingPid() != mClientPid) { in connect()
471 mCameraId, CameraThreadState::getCallingPid(), mClientPid); in connect()
475 mClientPid = CameraThreadState::getCallingPid(); in connect()
488 __FUNCTION__, mCameraId, CameraThreadState::getCallingPid(), mClientPid); in lock()
490 if (mClientPid == 0) { in lock()
491 mClientPid = CameraThreadState::getCallingPid(); in lock()
495 if (mClientPid != CameraThreadState::getCallingPid()) { in lock()
497 __FUNCTION__, mCameraId, CameraThreadState::getCallingPid(), mClientPid); in lock()
[all …]
/frameworks/av/media/libaudioclient/
DAudioEffect.cpp143 mClientPid = IPCThreadState::self()->getCallingPid(); in set()
147 mIEffectClient, priority, io, mSessionId, device, mOpPackageName, mClientPid, in set()
188 mStatus, mEnabled, mClientPid); in set()
191 AudioSystem::acquireAudioSessionId(mSessionId, mClientPid, mClientUid); in set()
204 AudioSystem::releaseAudioSessionId(mSessionId, mClientPid); in ~AudioEffect()
DAudioRecord.cpp202 AudioSystem::releaseAudioSessionId(mSessionId, mClientPid); in ~AudioRecord()
339 mClientPid = callingPid; in set()
341 mClientPid = pid; in set()
377 AudioSystem::acquireAudioSessionId(mSessionId, mClientPid, mClientUid); in set()
787 input.clientInfo.clientPid = mClientPid; in createRecord_l()
DAudioTrack.cpp334 mSessionId, IPCThreadState::self()->getCallingPid(), mClientPid); in ~AudioTrack()
335 AudioSystem::releaseAudioSessionId(mSessionId, mClientPid); in ~AudioTrack()
574 mClientPid = callingPid; in set()
576 mClientPid = pid; in set()
615 AudioSystem::acquireAudioSessionId(mSessionId, mClientPid, mClientUid); in set()
1534 input.clientInfo.clientPid = mClientPid; in createTrack_l()
/frameworks/base/services/core/java/com/android/server/audio/
DPlaybackActivityMonitor.java908 private final int mClientPid; field in PlaybackActivityMonitor.NewPlayerEvent
915 mClientPid = apc.getClientPid(); in NewPlayerEvent()
922 + mClientPid + " type:" in eventToString()
932 private final int mClientPid; field in PlaybackActivityMonitor.DuckEvent
938 mClientPid = apc.getClientPid(); in DuckEvent()
944 .append(" uid/pid:").append(mClientUid).append("/").append(mClientPid) in eventToString()
/frameworks/av/media/libaudioclient/include/media/
DAudioEffect.h648 pid_t mClientPid = (pid_t)-1; variable
DAudioRecord.h744 pid_t mClientPid; variable
DAudioTrack.h1252 pid_t mClientPid; variable
/frameworks/av/media/libmediaplayerservice/
DStagefrightRecorder.h102 pid_t mClientPid; member
DStagefrightRecorder.cpp949 mClientPid = IPCThreadState::self()->getCallingPid(); in prepareInternal()
1144 mClientPid, in createAudioSource()
1673 mCamera, mCameraProxy, mCameraId, mClientName, mClientUid, mClientPid, in setupCameraSource()
1679 mCamera, mCameraProxy, mCameraId, mClientName, mClientUid, mClientPid, in setupCameraSource()
/frameworks/av/services/camera/libcameraservice/
DCameraService.cpp2760 mClientPid(clientPid), mClientUid(clientUid), in BasicClient()
2828 sCameraService->logDisconnected(mCameraIdStr, mClientPid, String8(mClientPackageName)); in disconnect()
2841 mClientPid); in disconnect()
2844 mClientPid = 0; in disconnect()
2863 return mClientPid; in getClientPid()
3033 mClientPid = CameraThreadState::getCallingPid(); in block()
DCameraService.h322 pid_t mClientPid; variable