Home
last modified time | relevance | path

Searched refs:mClientId (Results 1 – 21 of 21) sorted by relevance

/frameworks/base/services/core/java/com/android/server/audio/
DFocusRequester.java53 private final @NonNull String mClientId; field in FocusRequester
107 mClientId = id; in FocusRequester()
123 mClientId = afi.getClientId(); in FocusRequester()
140 return mClientId.compareTo(otherClient) == 0; in hasSameClient()
185 return mClientId; in getClientId()
254 + " -- client: " + mClientId in dump()
345 Log.i(TAG, "handleFocusLossFromGain for " + mClientId + " gain:" + focusGain); in handleFocusLossFromGain()
363 + mClientId); in handleFocusGain()
366 fd.dispatchAudioFocusChange(focusGain, mClientId); in handleFocusGain()
386 Log.i(TAG, "handleFocusLoss for " + mClientId + " loss:" + focusLoss); in handleFocusLoss()
[all …]
/frameworks/base/core/java/com/android/ims/internal/uce/common/
DUceLong.java30 private int mClientId = 1001; field in UceLong
63 return mClientId; in getClientId()
72 this.mClientId = nClientId; in setClientId()
98 out.writeInt(mClientId); in writeToParcel()
122 mClientId = source.readInt(); in readFromParcel()
/frameworks/base/media/java/android/media/
DAudioFocusInfo.java36 private final @NonNull String mClientId; field in AudioFocusInfo
62 mClientId = clientId == null ? "" : clientId; in AudioFocusInfo()
94 return mClientId; in getClientId()
142 dest.writeString(mClientId); in writeToParcel()
153 return Objects.hash(mAttributes, mClientUid, mClientId, mPackageName, mGainRequest, mFlags); in hashCode()
171 if (!mClientId.equals(other.mClientId)) { in equals()
DMediaCas.java130 private int mClientId; field in MediaCas
912 mClientId = clientId[0]; in registerClient()
1136 casSessionRequest.clientId = mClientId; in getSessionResourceHandle()
1160 mTunerResourceManager.releaseCasSession(mSessionMap.get(session), mClientId); in removeSessionFromResourceMap() local
1457 mTunerResourceManager.unregisterClientProfile(mClientId); in close()
/frameworks/av/media/module/libmediatranscoding/
DTranscodingClientManager.cpp73 ClientIdType mClientId; member
111 mClientId(sCookieCounter.fetch_add(1, std::memory_order_relaxed)), in ClientImpl()
171 *_aidl_return = owner->mSessionController->submit(mClientId, sessionId, callingUid, in submitRequest()
198 *_aidl_return = owner->mSessionController->cancel(mClientId, in_sessionId); in cancelSession()
217 owner->mSessionController->getSession(mClientId, in_sessionId, &out_session->request); in getSessionWithId()
258 *_aidl_return = owner->mSessionController->addClientUid(mClientId, in_sessionId, in_clientUid); in addClientUid()
277 if (owner->mSessionController->getClientUids(mClientId, in_sessionId, &result)) { in getClientUids()
292 owner->mSessionController->cancel(mClientId, -1); in unregister()
293 owner->removeClient(mClientId); in unregister()
409 ALOGD("Adding client id %lld, name %s, package %s", (long long)client->mClientId, in addClient()
[all …]
DTranscoderWrapper.cpp140 : mOwner(owner), mClientId(clientId), mSessionId(sessionId) {} in CallbackImpl()
145 owner->onFinish(mClientId, mSessionId); in onFinished()
153 owner->onError(mClientId, mSessionId, error); in onError()
161 owner->onProgress(mClientId, mSessionId, progress); in onProgressUpdate()
168 owner->onHeartBeat(mClientId, mSessionId); in onHeartBeat()
175 ALOGV("%s: session {%lld, %d}", __FUNCTION__, (long long)mClientId, mSessionId); in onCodecResourceLost()
180 ClientIdType mClientId; member in android::TranscoderWrapper::CallbackImpl
/frameworks/base/media/java/android/media/tv/tuner/
DTuner.java287 private final int mClientId; field in Tuner
383 mClientId = clientId[0]; in Tuner()
466 mTunerResourceManager.shareFrontend(mClientId, tuner.mClientId); in shareFrontendFromTuner()
527 Log.d(TAG, "resetting Frontend params for " + mClientId); in replicateFrontendSettings()
535 Log.d(TAG, "copying Frontend params from " + src.mClientId in replicateFrontendSettings()
536 + " to " + mClientId); in replicateFrontendSettings()
568 Log.d(TAG, "resetting CiCamParams: " + mClientId); in replicateCiCamSettings()
574 Log.d(TAG, "copying CiCamParams from " + src.mClientId + " to " + mClientId); in replicateCiCamSettings()
600 Log.d(TAG, "copying Lnb params from " + src.mClientId + " to " + mClientId); in replicateLnbSettings()
667 mClientId, newOwner.mClientId)) { in transferFeOwner()
[all …]
DLnb.java158 int mClientId; field in Lnb
184 mClientId = mOwner.getClientId(); in setCallbackAndOwner()
223 mClientId = newOwner.getClientId(); in setOwner()
361 + "for clientId:" + mClientId); in acquireTRMSLock()
363 if (!mTunerResourceManager.acquireLock(mClientId)) { in acquireTRMSLock()
365 + " for clientId:" + mClientId + " - this can cause deadlock between" in acquireTRMSLock()
371 mTunerResourceManager.releaseLock(mClientId); in releaseTRMSLock()
/frameworks/av/services/mediaresourcemanager/
DResourceManagerServiceUtils.h175 int64_t mClientId = 0; member
190 int64_t mClientId = 0; member
206 int64_t mClientId = -1; member
208 : mPid(pid), mUid(uid), mClientId(clientId) {} in mPid()
DResourceTracker.cpp62 return client.mClientId == clientId; in contains()
331 if (!contains(targetClients, clientInfo.mClientId)) { in getClientsMarkedPendingRemoval()
343 if (!contains(targetClients, clientInfo.mClientId)) { in getClientsMarkedPendingRemoval()
457 const ResourceInfo* info = getResourceInfo(client.mPid, client.mClientId); in getLowestPriorityPid()
522 clientInfo.mClientId = clientId; in getBiggestClientPendingRemoval()
540 const ResourceInfo* info = getResourceInfo(client.mPid, client.mClientId); in getBiggestClient()
580 clientInfo.mClientId = clientId; in getBiggestClient()
599 const ResourceInfo* info = getResourceInfo(client.mPid, client.mClientId); in getLeastImportantBiggestClient()
641 clientInfo.mClientId = clientId; in getLeastImportantBiggestClient()
718 if (pid == resourceRequestInfo.mCallingPid && id == resourceRequestInfo.mClientId) { in getNonConflictingClients()
DDefaultResourceModel.cpp48 reclimRequestInfo.mClientId, in getAllClients()
122 reclimRequestInfo.mClientId, in getCodecClients()
DResourceManagerService.cpp687 client = getClient_l(targetClient.mPid, targetClient.mClientId); in reclaimUnconditionallyFrom()
698 failedClientId = targetClient.mClientId; in reclaimUnconditionallyFrom()
933 if (pid == resourceRequestInfo.mCallingPid && id == resourceRequestInfo.mClientId) { in getAllClients_l()
1081 clientInfo.mClientId = clientId; in getBiggestClient_l()
DResourceManagerServiceNew.cpp304 resourceRequestInfo.mClientId, in getLowestPriorityBiggestClient_l()
/frameworks/av/media/module/service.mediatranscoding/tests/
DMediaTranscodingServiceTestHelper.h264 : mClientId(id), mClientPid(PID(id)), mClientUid(UID(id)), mPackageName(packageName) { in TestClientCallback()
274 virtual ~TestClientCallback() { ALOGI("TestClientCallback %d destroyed", mClientId); } in ~TestClientCallback()
300 append(EventTracker::Start(mClientId, in_sessionId)); in onTranscodingStarted()
305 append(EventTracker::Pause(mClientId, in_sessionId)); in onTranscodingPaused()
310 append(EventTracker::Resume(mClientId, in_sessionId)); in onTranscodingResumed()
317 append(Finished(mClientId, in_sessionId)); in onTranscodingFinished()
323 append(Failed(mClientId, in_sessionId), in_errorCode); in onTranscodingFailed()
463 int32_t mClientId; member
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DRILRequest.java57 String mClientId; field in RILRequest
130 rr.mClientId = rr.getWorkSourceClientId(); in obtain()
DRIL.java5685 mClientWakelockTracker.startTracking(rr.mClientId, in acquireWakeLock()
5735 mClientWakelockTracker.stopTracking(rr.mClientId, in decrementWakeLock()
/frameworks/base/services/core/java/com/android/server/appop/
DAttributedOp.java674 private @NonNull IBinder mClientId; field in AttributedOp.InProgressStartOpEvent
727 mClientId = clientId; in InProgressStartOpEvent()
743 mClientId.unlinkToDeath(this, 0); in finish()
782 mClientId = clientId; in reinit()
811 return mClientId; in getClientId()
/frameworks/base/services/core/java/com/android/server/tv/tunerresourcemanager/
DTunerResourceManagerService.java1747 private final int mClientId; field in TunerResourceManagerService.ResourcesReclaimListenerRecord
1751 mClientId = clientId; in ResourcesReclaimListenerRecord()
1758 if (checkClientExists(mClientId)) { in binderDied()
1759 removeClientProfile(mClientId); in binderDied()
1764 releaseLockInternal(mClientId, TRMS_LOCK_TIMEOUT, true, true); in binderDied()
1769 return mClientId; in getId()
/frameworks/av/media/module/libmediatranscoding/tests/
DTranscodingSessionController_tests.cpp238 : mOwner(owner), mClientId(clientId), mClientUid(clientUid) { in TestClientCallback()
242 ClientIdType clientId() const { return mClientId; } in clientId()
260 mOwner->onFinished(mClientId, in_sessionId); in onTranscodingFinished()
265 mOwner->onFailed(mClientId, in_sessionId, in_errorCode); in onTranscodingFailed()
283 ClientIdType mClientId; member
/frameworks/av/services/mediaresourcemanager/test/
DResourceManagerService_test.cpp490 EXPECT_EQ(getId(mTestClient3), targetClients[0].mClientId); in testGetAllClients()
491 EXPECT_EQ(getId(mTestClient1), targetClients[1].mClientId); in testGetAllClients()
839 EXPECT_EQ(getId(mTestClient1), clientInfo.mClientId); in testGetLowestPriorityBiggestClient()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt23803 Landroid/media/AudioFocusInfo;->mClientId:Ljava/lang/String;
71254 Lcom/android/ims/internal/uce/common/UceLong;->mClientId:I