Home
last modified time | relevance | path

Searched refs:clientInfo (Results 1 – 23 of 23) sorted by relevance

/frameworks/base/services/core/java/com/android/server/inputmethod/
DMultiClientInputMethodManagerService.java959 final InputMethodClientInfo clientInfo = in addClientLocked() local
961 clientInfo.mState = InputMethodClientState.REGISTERED; in addClientLocked()
962 mClientMap.put(client.asBinder(), clientInfo); in addClientLocked() local
963 mClientIdToClientMap.put(clientInfo.mClientId, clientInfo); in addClientLocked()
968 clientInfo.mClientId, clientInfo.mPid, clientInfo.mUid, in addClientLocked()
969 clientInfo.mSelfReportedDisplayId); in addClientLocked()
970 clientInfo.mState = InputMethodClientState.WAITING_FOR_IME_SESSION; in addClientLocked()
982 final InputMethodClientInfo clientInfo = mClientMap.valueAt(i); in onInputMethodConnectedLocked() local
983 switch (clientInfo.mState) { in onInputMethodConnectedLocked()
988 Slog.e(TAG, "Unexpected state=" + clientInfo.mState); in onInputMethodConnectedLocked()
[all …]
/frameworks/av/media/libaudioclient/
DIAudioPolicyServiceClient.cpp52 inline void readRecordClientInfoFromParcel(const Parcel& data, record_client_info_t *clientInfo) { in readRecordClientInfoFromParcel() argument
53 clientInfo->riid = (audio_unique_id_t) data.readInt32(); in readRecordClientInfoFromParcel()
54 clientInfo->uid = (uid_t) data.readUint32(); in readRecordClientInfoFromParcel()
55 clientInfo->session = (audio_session_t) data.readInt32(); in readRecordClientInfoFromParcel()
56 clientInfo->source = (audio_source_t) data.readInt32(); in readRecordClientInfoFromParcel()
57 data.read(&clientInfo->port_id, sizeof(audio_port_handle_t)); in readRecordClientInfoFromParcel()
58 clientInfo->silenced = data.readBool(); in readRecordClientInfoFromParcel()
61 inline void writeRecordClientInfoToParcel(Parcel& data, const record_client_info_t *clientInfo) { in writeRecordClientInfoToParcel() argument
62 data.writeInt32((int32_t) clientInfo->riid); in writeRecordClientInfoToParcel()
63 data.writeUint32((uint32_t) clientInfo->uid); in writeRecordClientInfoToParcel()
[all …]
DAudioRecord.cpp786 input.clientInfo.clientUid = mClientUid; in createRecord_l()
787 input.clientInfo.clientPid = mClientPid; in createRecord_l()
788 input.clientInfo.clientTid = -1; in createRecord_l()
791 input.clientInfo.clientTid = mAudioRecordThread->getTid(); in createRecord_l()
DAudioTrack.cpp1533 input.clientInfo.clientUid = mClientUid; in createTrack_l()
1534 input.clientInfo.clientPid = mClientPid; in createTrack_l()
1535 input.clientInfo.clientTid = -1; in createTrack_l()
1541 input.clientInfo.clientTid = mAudioTrackThread->getTid(); in createTrack_l()
DAudioSystem.cpp1783 const record_client_info_t *clientInfo, in onRecordingConfigurationUpdate() argument
1797 cb(event, clientInfo, clientConfig, clientEffects, in onRecordingConfigurationUpdate()
/frameworks/base/services/core/java/com/android/server/
DNsdService.java227 private boolean requestLimitReached(ClientInfo clientInfo) { in requestLimitReached() argument
228 if (clientInfo.mClientIds.size() >= ClientInfo.MAX_LIMIT) { in requestLimitReached()
229 if (DBG) Slog.d(TAG, "Exceeded max outstanding requests " + clientInfo); in requestLimitReached()
235 … private void storeRequestMap(int clientId, int globalId, ClientInfo clientInfo, int what) { in storeRequestMap() argument
236 clientInfo.mClientIds.put(clientId, globalId); in storeRequestMap()
237 clientInfo.mClientRequests.put(clientId, what); in storeRequestMap()
238 mIdToClientInfoMap.put(globalId, clientInfo); in storeRequestMap()
241 private void removeRequestMap(int clientId, int globalId, ClientInfo clientInfo) { in removeRequestMap() argument
242 clientInfo.mClientIds.delete(clientId); in removeRequestMap()
243 clientInfo.mClientRequests.delete(clientId); in removeRequestMap()
[all …]
/frameworks/av/media/libmediatranscoding/tests/
DTranscodingClientManager_tests.cpp122 std::unique_ptr<TranscodingClientManager::ClientInfo> clientInfo = in TEST_F() local
127 status_t err = mClientManager.addClient(std::move(clientInfo)); in TEST_F()
136 std::unique_ptr<TranscodingClientManager::ClientInfo> clientInfo = in TEST_F() local
141 status_t err = mClientManager.addClient(std::move(clientInfo)); in TEST_F()
150 std::unique_ptr<TranscodingClientManager::ClientInfo> clientInfo = in TEST_F() local
155 status_t err = mClientManager.addClient(std::move(clientInfo)); in TEST_F()
164 std::unique_ptr<TranscodingClientManager::ClientInfo> clientInfo = in TEST_F() local
169 status_t err = mClientManager.addClient(std::move(clientInfo)); in TEST_F()
177 std::unique_ptr<TranscodingClientManager::ClientInfo> clientInfo = in TEST_F() local
181 status_t err = mClientManager.addClient(std::move(clientInfo)); in TEST_F()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pServiceImpl.java1233 ClientInfo clientInfo = getClientInfo(message.replyTo, true); in processMessage() local
1234 clientInfo.mPackageName = pkgName; in processMessage()
1235 clientInfo.mFeatureId = featureId; in processMessage()
1443 ClientInfo clientInfo = mClientInfoList.remove(m); in processMessage() local
1444 if (clientInfo != null) { in processMessage()
1445 logd("Remove client - " + clientInfo.mPackageName); in processMessage()
3988 ClientInfo clientInfo = getClientInfo(m, false); in addServiceRequest() local
3989 if (clientInfo == null) { in addServiceRequest()
3997 clientInfo.mReqList.put(mServiceTransactionId, req); in addServiceRequest()
4011 ClientInfo clientInfo = getClientInfo(m, false); in removeServiceRequest() local
[all …]
/frameworks/av/media/libaudioclient/include/media/
DIAudioFlinger.h71 if (clientInfo.readFromParcel(parcel) != NO_ERROR) { in readFromParcel()
102 (void)clientInfo.writeToParcel(parcel); in writeToParcel()
125 AudioClient clientInfo; variable
214 if (clientInfo.readFromParcel(parcel) != NO_ERROR) { in readFromParcel()
235 (void)clientInfo.writeToParcel(parcel); in writeToParcel()
251 AudioClient clientInfo; variable
DIAudioPolicyServiceClient.h61 const record_client_info_t *clientInfo,
DAudioSystem.h43 const record_client_info_t *clientInfo,
589 const record_client_info_t *clientInfo,
/frameworks/av/services/mediaresourcemanager/
DResourceManagerService.h164 void onFirstAdded(const MediaResourceParcel& res, const ResourceInfo& clientInfo);
165 void onLastRemoved(const MediaResourceParcel& res, const ResourceInfo& clientInfo);
DResourceManagerService.cpp296 const MediaResourceParcel& resource, const ResourceInfo& clientInfo) { in onFirstAdded() argument
309 mSystemCB->noteStartVideo(clientInfo.uid); in onFirstAdded()
314 const MediaResourceParcel& resource, const ResourceInfo& clientInfo) { in onLastRemoved() argument
323 mSystemCB->noteStopVideo(clientInfo.uid); in onLastRemoved()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/
DWifiScanningServiceImpl.java539 final ClientInfo clientInfo; field in WifiScanningServiceImpl.RequestInfo
544 RequestInfo(ClientInfo clientInfo, int handlerId, WorkSource requestedWorkSource, in RequestInfo() argument
546 this.clientInfo = clientInfo; in RequestInfo()
549 this.workSource = computeWorkSource(clientInfo, requestedWorkSource); in RequestInfo()
553 clientInfo.reportEvent(what, arg1, handlerId, obj); in reportEvent()
567 if (entry.clientInfo == ci && entry.handlerId == handlerId) { in removeRequest()
590 if (entry.clientInfo == ci) { in getAllSettingsForClient()
601 if (entry.clientInfo == ci) { in removeAllForClient()
1233 logCallback("singleScanFailed", entry.clientInfo, entry.handlerId, in sendOpFailedToAllAndClear()
1268 logCallback("singleScanResults", entry.clientInfo, entry.handlerId, in reportScanResults()
[all …]
/frameworks/av/services/audiopolicy/service/
DAudioPolicyClientImpl.cpp221 const record_client_info_t *clientInfo, in onRecordingConfigurationUpdate() argument
229 mAudioPolicyService->onRecordingConfigurationUpdate(event, clientInfo, in onRecordingConfigurationUpdate()
DAudioPolicyService.cpp248 const record_client_info_t *clientInfo, in onRecordingConfigurationUpdate() argument
256 mOutputCommandThread->recordingConfigurationUpdateCommand(event, clientInfo, in onRecordingConfigurationUpdate()
262 const record_client_info_t *clientInfo, in doOnRecordingConfigurationUpdate() argument
272 mNotificationClients.valueAt(i)->onRecordingConfigurationUpdate(event, clientInfo, in doOnRecordingConfigurationUpdate()
351 const record_client_info_t *clientInfo, in onRecordingConfigurationUpdate() argument
360 mAudioPolicyServiceClient->onRecordingConfigurationUpdate(event, clientInfo, in onRecordingConfigurationUpdate()
1633 const record_client_info_t *clientInfo, in recordingConfigurationUpdateCommand() argument
1645 data->mClientInfo = *clientInfo; in recordingConfigurationUpdateCommand()
1654 event, clientInfo->source, clientInfo->uid); in recordingConfigurationUpdateCommand()
DAudioPolicyService.h308 const record_client_info_t *clientInfo,
316 const record_client_info_t *clientInfo,
513 const record_client_info_t *clientInfo,
732 const record_client_info_t *clientInfo,
765 const record_client_info_t *clientInfo,
/frameworks/av/services/audiopolicy/tests/
DAudioPolicyTestClient.h79 const record_client_info_t *clientInfo __unused, in onRecordingConfigurationUpdate()
/frameworks/base/core/java/android/hardware/fingerprint/
DFingerprintManager.java864 final int clientInfo = acquireInfo == FINGERPRINT_ACQUIRED_VENDOR in sendAcquiredResult() local
867 mEnrollmentCallback.onEnrollmentHelp(clientInfo, msg); in sendAcquiredResult()
870 mAuthenticationCallback.onAuthenticationHelp(clientInfo, msg); in sendAcquiredResult()
/frameworks/base/core/java/android/hardware/face/
DFaceManager.java1082 final int clientInfo = acquireInfo == FACE_ACQUIRED_VENDOR in sendAcquiredResult() local
1085 mEnrollmentCallback.onEnrollmentHelp(clientInfo, msg); in sendAcquiredResult()
1087 mAuthenticationCallback.onAuthenticationHelp(clientInfo, msg); in sendAcquiredResult()
/frameworks/base/core/jni/
Dandroid_media_AudioSystem.cpp473 const record_client_info_t *clientInfo, in android_media_AudioSystem_recording_callback() argument
485 if (clientInfo == NULL || clientConfig == NULL || deviceConfig == NULL) { in android_media_AudioSystem_recording_callback()
521 event, (jint) clientInfo->riid, (jint) clientInfo->uid, in android_media_AudioSystem_recording_callback()
522 clientInfo->session, clientInfo->source, clientInfo->port_id, in android_media_AudioSystem_recording_callback()
523 clientInfo->silenced, recParamArray, jClientEffects, jEffects, in android_media_AudioSystem_recording_callback()
/frameworks/av/services/audiopolicy/
DAudioPolicyInterface.h411 const record_client_info_t *clientInfo,
/frameworks/av/services/audioflinger/
DAudioFlinger.cpp754 bool updatePid = (input.clientInfo.clientPid == -1); in createTrack()
756 uid_t clientUid = input.clientInfo.clientUid; in createTrack()
768 pid_t clientPid = input.clientInfo.clientPid; in createTrack()
854 callingPid, input.clientInfo.clientTid, clientUid, in createTrack()
1993 bool updatePid = (input.clientInfo.clientPid == -1); in createRecord()
1995 uid_t clientUid = input.clientInfo.clientUid; in createRecord()
2003 pid_t clientPid = input.clientInfo.clientPid; in createRecord()
2087 input.clientInfo.clientTid, in createRecord()