Home
last modified time | relevance | path

Searched refs:mClientPid (Results 1 – 17 of 17) 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.cpp72 if (callingPid == TClientBase::mClientPid) return NO_ERROR; in checkPid()
75 " (old pid %d, new pid %d)", checkLocation, TClientBase::mClientPid, callingPid); in checkPid()
141 TClientBase::mClientPid); in dumpClient()
187 if (callingPid != TClientBase::mClientPid && in disconnect()
216 if (TClientBase::mClientPid != 0 && in connect()
217 CameraThreadState::getCallingPid() != TClientBase::mClientPid) { in connect()
224 TClientBase::mClientPid); in connect()
228 TClientBase::mClientPid = CameraThreadState::getCallingPid(); in connect()
/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/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.cpp175 mClientPid); in dumpClient()
403 if (callingPid != mClientPid && callingPid != mServicePid) return res; in disconnect()
467 if (mClientPid != 0 && CameraThreadState::getCallingPid() != mClientPid) { in connect()
470 mCameraId, CameraThreadState::getCallingPid(), mClientPid); in connect()
474 mClientPid = CameraThreadState::getCallingPid(); in connect()
487 __FUNCTION__, mCameraId, CameraThreadState::getCallingPid(), mClientPid); in lock()
489 if (mClientPid == 0) { in lock()
490 mClientPid = CameraThreadState::getCallingPid(); in lock()
494 if (mClientPid != CameraThreadState::getCallingPid()) { in lock()
496 __FUNCTION__, mCameraId, CameraThreadState::getCallingPid(), mClientPid); in lock()
[all …]
/frameworks/av/media/libaudioclient/
DAudioEffect.cpp140 mClientPid = IPCThreadState::self()->getCallingPid(); in set()
143 mIEffectClient, priority, io, mSessionId, device, mOpPackageName, mClientPid, in set()
177 mStatus, mEnabled, mClientPid); in set()
180 AudioSystem::acquireAudioSessionId(mSessionId, mClientPid); in set()
193 AudioSystem::releaseAudioSessionId(mSessionId, mClientPid); in ~AudioEffect()
DAudioTrack.cpp321 mSessionId, IPCThreadState::self()->getCallingPid(), mClientPid); in ~AudioTrack()
322 AudioSystem::releaseAudioSessionId(mSessionId, mClientPid); in ~AudioTrack()
561 mClientPid = callingPid; in set()
563 mClientPid = pid; in set()
602 AudioSystem::acquireAudioSessionId(mSessionId, mClientPid); in set()
1445 input.clientInfo.clientPid = mClientPid; in createTrack_l()
DAudioRecord.cpp322 mClientPid = callingPid; in set()
324 mClientPid = pid; in set()
748 input.clientInfo.clientPid = mClientPid; in createRecord_l()
/frameworks/base/services/core/java/com/android/server/audio/
DPlaybackActivityMonitor.java891 private final int mClientPid; field in PlaybackActivityMonitor.NewPlayerEvent
898 mClientPid = apc.getClientPid(); in NewPlayerEvent()
905 + mClientPid + " type:" in eventToString()
915 private final int mClientPid; field in PlaybackActivityMonitor.DuckEvent
921 mClientPid = apc.getClientPid(); in DuckEvent()
927 .append(" uid/pid:").append(mClientUid).append("/").append(mClientPid) in eventToString()
/frameworks/av/media/libaudioclient/include/media/
DAudioEffect.h642 pid_t mClientPid; variable
DAudioRecord.h731 pid_t mClientPid; variable
DAudioTrack.h1234 pid_t mClientPid; variable
/frameworks/av/media/libmediaplayerservice/
DStagefrightRecorder.h93 pid_t mClientPid; member
DStagefrightRecorder.cpp929 mClientPid = IPCThreadState::self()->getCallingPid(); in prepareInternal()
1098 mClientPid, in createAudioSource()
1627 mCamera, mCameraProxy, mCameraId, mClientName, mClientUid, mClientPid, in setupCameraSource()
1633 mCamera, mCameraProxy, mCameraId, mClientName, mClientUid, mClientPid, in setupCameraSource()
/frameworks/av/services/camera/libcameraservice/
DCameraService.cpp2371 mClientPackageName(clientPackageName), mClientPid(clientPid), mClientUid(clientUid), in BasicClient()
2430 sCameraService->logDisconnected(mCameraIdStr, mClientPid, String8(mClientPackageName)); in disconnect()
2443 mClientPid); in disconnect()
2446 mClientPid = 0; in disconnect()
2465 return mClientPid; in getClientPid()
2602 mClientPid = CameraThreadState::getCallingPid(); in block()
DCameraService.h286 pid_t mClientPid; variable
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt34528 Landroid/media/AudioPlaybackConfiguration;->mClientPid:I