Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/inputmethod/
DMultiClientInputMethodManagerService.java917 final InputMethodClientInfo clientInfo = in addClientLocked() local
919 clientInfo.mState = InputMethodClientState.REGISTERED; in addClientLocked()
920 mClientMap.put(client.asBinder(), clientInfo); in addClientLocked() local
921 mClientIdToClientMap.put(clientInfo.mClientId, clientInfo); in addClientLocked()
926 clientInfo.mClientId, clientInfo.mPid, clientInfo.mUid, in addClientLocked()
927 clientInfo.mSelfReportedDisplayId); in addClientLocked()
928 clientInfo.mState = InputMethodClientState.WAITING_FOR_IME_SESSION; in addClientLocked()
940 final InputMethodClientInfo clientInfo = mClientMap.valueAt(i); in onInputMethodConnectedLocked() local
941 switch (clientInfo.mState) { in onInputMethodConnectedLocked()
946 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.cpp747 input.clientInfo.clientUid = mClientUid; in createRecord_l()
748 input.clientInfo.clientPid = mClientPid; in createRecord_l()
749 input.clientInfo.clientTid = -1; in createRecord_l()
752 input.clientInfo.clientTid = mAudioRecordThread->getTid(); in createRecord_l()
DAudioTrack.cpp1444 input.clientInfo.clientUid = mClientUid; in createTrack_l()
1445 input.clientInfo.clientPid = mClientPid; in createTrack_l()
1446 input.clientInfo.clientTid = -1; in createTrack_l()
1452 input.clientInfo.clientTid = mAudioTrackThread->getTid(); in createTrack_l()
DAudioSystem.cpp1679 const record_client_info_t *clientInfo, in onRecordingConfigurationUpdate() argument
1693 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/opt/net/wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pServiceImpl.java1215 ClientInfo clientInfo = getClientInfo(message.replyTo, true); in processMessage() local
1216 clientInfo.mPackageName = pkgName; in processMessage()
1423 ClientInfo clientInfo = mClientInfoList.remove(m); in processMessage() local
1424 if (clientInfo != null) { in processMessage()
1425 logd("Remove client - " + clientInfo.mPackageName); in processMessage()
3878 ClientInfo clientInfo = getClientInfo(m, false); in addServiceRequest() local
3879 if (clientInfo == null) { in addServiceRequest()
3887 clientInfo.mReqList.put(mServiceTransactionId, req); in addServiceRequest()
3901 ClientInfo clientInfo = getClientInfo(m, false); in removeServiceRequest() local
3902 if (clientInfo == null) { in removeServiceRequest()
[all …]
/frameworks/av/media/libaudioclient/include/media/
DIAudioFlinger.h70 if (clientInfo.readFromParcel(parcel) != NO_ERROR) { in readFromParcel()
95 (void)clientInfo.writeToParcel(parcel); in writeToParcel()
117 AudioClient clientInfo; variable
205 if (clientInfo.readFromParcel(parcel) != NO_ERROR) { in readFromParcel()
226 (void)clientInfo.writeToParcel(parcel); in writeToParcel()
242 AudioClient clientInfo; variable
DIAudioPolicyServiceClient.h61 const record_client_info_t *clientInfo,
DAudioSystem.h42 const record_client_info_t *clientInfo,
544 const record_client_info_t *clientInfo,
/frameworks/av/services/mediaresourcemanager/
DResourceManagerService.h126 void onFirstAdded(const MediaResource& res, const ResourceInfo& clientInfo);
127 void onLastRemoved(const MediaResource& res, const ResourceInfo& clientInfo);
DResourceManagerService.cpp262 const MediaResource& resource, const ResourceInfo& clientInfo) { in onFirstAdded() argument
275 mSystemCB->noteStartVideo(clientInfo.uid); in onFirstAdded()
280 const MediaResource& resource, const ResourceInfo& clientInfo) { in onLastRemoved() argument
289 mSystemCB->noteStopVideo(clientInfo.uid); in onLastRemoved()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/
DWifiScanningServiceImpl.java411 final ClientInfo clientInfo; field in WifiScanningServiceImpl.RequestInfo
416 RequestInfo(ClientInfo clientInfo, int handlerId, WorkSource requestedWorkSource, in RequestInfo() argument
418 this.clientInfo = clientInfo; in RequestInfo()
421 this.workSource = computeWorkSource(clientInfo, requestedWorkSource); in RequestInfo()
425 clientInfo.reportEvent(what, arg1, handlerId, obj); in reportEvent()
439 if (entry.clientInfo == ci && entry.handlerId == handlerId) { in removeRequest()
462 if (entry.clientInfo == ci) { in getAllSettingsForClient()
473 if (entry.clientInfo == ci) { in removeAllForClient()
999 logCallback("singleScanFailed", entry.clientInfo, entry.handlerId, in sendOpFailedToAllAndClear()
1034 logCallback("singleScanResults", entry.clientInfo, entry.handlerId, in reportScanResults()
[all …]
/frameworks/av/services/audiopolicy/service/
DAudioPolicyClientImpl.cpp219 const record_client_info_t *clientInfo, in onRecordingConfigurationUpdate() argument
227 mAudioPolicyService->onRecordingConfigurationUpdate(event, clientInfo, in onRecordingConfigurationUpdate()
DAudioPolicyService.h293 const record_client_info_t *clientInfo,
301 const record_client_info_t *clientInfo,
491 const record_client_info_t *clientInfo,
710 const record_client_info_t *clientInfo,
741 const record_client_info_t *clientInfo,
DAudioPolicyService.cpp246 const record_client_info_t *clientInfo, in onRecordingConfigurationUpdate() argument
254 mOutputCommandThread->recordingConfigurationUpdateCommand(event, clientInfo, in onRecordingConfigurationUpdate()
260 const record_client_info_t *clientInfo, in doOnRecordingConfigurationUpdate() argument
270 mNotificationClients.valueAt(i)->onRecordingConfigurationUpdate(event, clientInfo, in doOnRecordingConfigurationUpdate()
349 const record_client_info_t *clientInfo, in onRecordingConfigurationUpdate() argument
358 mAudioPolicyServiceClient->onRecordingConfigurationUpdate(event, clientInfo, in onRecordingConfigurationUpdate()
1555 const record_client_info_t *clientInfo, in recordingConfigurationUpdateCommand() argument
1567 data->mClientInfo = *clientInfo; in recordingConfigurationUpdateCommand()
1576 event, clientInfo->source, clientInfo->uid); in recordingConfigurationUpdateCommand()
/frameworks/av/services/audiopolicy/tests/
DAudioPolicyTestClient.h79 const record_client_info_t *clientInfo __unused, in onRecordingConfigurationUpdate()
/frameworks/base/core/java/android/hardware/face/
DFaceManager.java1083 final int clientInfo = acquireInfo == FACE_ACQUIRED_VENDOR in sendAcquiredResult() local
1086 mEnrollmentCallback.onEnrollmentHelp(clientInfo, msg); in sendAcquiredResult()
1088 mAuthenticationCallback.onAuthenticationHelp(clientInfo, msg); in sendAcquiredResult()
/frameworks/base/core/java/android/hardware/fingerprint/
DFingerprintManager.java872 final int clientInfo = acquireInfo == FINGERPRINT_ACQUIRED_VENDOR in sendAcquiredResult() local
875 mEnrollmentCallback.onEnrollmentHelp(clientInfo, msg); in sendAcquiredResult()
877 mAuthenticationCallback.onAuthenticationHelp(clientInfo, msg); in sendAcquiredResult()
/frameworks/base/core/jni/
Dandroid_media_AudioSystem.cpp435 const record_client_info_t *clientInfo, in android_media_AudioSystem_recording_callback() argument
447 if (clientInfo == NULL || clientConfig == NULL || deviceConfig == NULL) { in android_media_AudioSystem_recording_callback()
483 event, (jint) clientInfo->riid, (jint) clientInfo->uid, in android_media_AudioSystem_recording_callback()
484 clientInfo->session, clientInfo->source, clientInfo->port_id, in android_media_AudioSystem_recording_callback()
485 clientInfo->silenced, recParamArray, jClientEffects, jEffects, in android_media_AudioSystem_recording_callback()
/frameworks/av/services/audiopolicy/
DAudioPolicyInterface.h392 const record_client_info_t *clientInfo,
/frameworks/av/services/audioflinger/
DAudioFlinger.cpp744 bool updatePid = (input.clientInfo.clientPid == -1); in createTrack()
746 uid_t clientUid = input.clientInfo.clientUid; in createTrack()
758 pid_t clientPid = input.clientInfo.clientPid; in createTrack()
844 callingPid, input.clientInfo.clientTid, clientUid, in createTrack()
1947 bool updatePid = (input.clientInfo.clientPid == -1); in createRecord()
1949 uid_t clientUid = input.clientInfo.clientUid; in createRecord()
1957 pid_t clientPid = input.clientInfo.clientPid; in createRecord()
2041 input.clientInfo.clientTid, in createRecord()