Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/
DNsdService.java229 private boolean requestLimitReached(ClientInfo clientInfo) { in requestLimitReached() argument
230 if (clientInfo.mClientIds.size() >= ClientInfo.MAX_LIMIT) { in requestLimitReached()
231 if (DBG) Slog.d(TAG, "Exceeded max outstanding requests " + clientInfo); in requestLimitReached()
237 … private void storeRequestMap(int clientId, int globalId, ClientInfo clientInfo, int what) { in storeRequestMap() argument
238 clientInfo.mClientIds.put(clientId, globalId); in storeRequestMap()
239 clientInfo.mClientRequests.put(clientId, what); in storeRequestMap()
240 mIdToClientInfoMap.put(globalId, clientInfo); in storeRequestMap()
243 private void removeRequestMap(int clientId, int globalId, ClientInfo clientInfo) { in removeRequestMap() argument
244 clientInfo.mClientIds.delete(clientId); in removeRequestMap()
245 clientInfo.mClientRequests.delete(clientId); in removeRequestMap()
[all …]
/frameworks/av/media/libaudioclient/
DIAudioPolicyServiceClient.cpp51 inline void readRecordClientInfoFromParcel(const Parcel& data, record_client_info_t *clientInfo) { in readRecordClientInfoFromParcel() argument
52 clientInfo->uid = (uid_t) data.readUint32(); in readRecordClientInfoFromParcel()
53 clientInfo->session = (audio_session_t) data.readInt32(); in readRecordClientInfoFromParcel()
54 clientInfo->source = (audio_source_t) data.readInt32(); in readRecordClientInfoFromParcel()
57 inline void writeRecordClientInfoFromParcel(Parcel& data, const record_client_info_t *clientInfo) { in writeRecordClientInfoFromParcel() argument
58 data.writeUint32((uint32_t) clientInfo->uid); in writeRecordClientInfoFromParcel()
59 data.writeInt32((int32_t) clientInfo->session); in writeRecordClientInfoFromParcel()
60 data.writeInt32((int32_t) clientInfo->source); in writeRecordClientInfoFromParcel()
95 void onRecordingConfigurationUpdate(int event, const record_client_info_t *clientInfo, in onRecordingConfigurationUpdate() argument
101 writeRecordClientInfoFromParcel(data, clientInfo); in onRecordingConfigurationUpdate()
[all …]
DAudioSystem.cpp1322 int event, const record_client_info_t *clientInfo, in onRecordingConfigurationUpdate() argument
1332 cb(event, clientInfo, clientConfig, deviceConfig, patchHandle); in onRecordingConfigurationUpdate()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pServiceImpl.java3200 ClientInfo clientInfo = getClientInfo(m, true); in addServiceRequest() local
3201 if (clientInfo == null) { in addServiceRequest()
3209 clientInfo.mReqList.put(mServiceTransactionId, req); in addServiceRequest()
3223 ClientInfo clientInfo = getClientInfo(m, false); in removeServiceRequest() local
3224 if (clientInfo == null) { in removeServiceRequest()
3231 for (int i = 0; i < clientInfo.mReqList.size(); i++) { in removeServiceRequest()
3232 if (req.equals(clientInfo.mReqList.valueAt(i))) { in removeServiceRequest()
3234 clientInfo.mReqList.removeAt(i); in removeServiceRequest()
3241 if (clientInfo.mReqList.size() == 0 && clientInfo.mServList.size() == 0) { in removeServiceRequest()
3243 mClientInfoList.remove(clientInfo.mMessenger); in removeServiceRequest()
[all …]
/frameworks/av/services/audiopolicy/service/
DAudioPolicyService.cpp189 const record_client_info_t *clientInfo, const audio_config_base_t *clientConfig, in onRecordingConfigurationUpdate() argument
192 mOutputCommandThread->recordingConfigurationUpdateCommand(event, clientInfo, in onRecordingConfigurationUpdate()
197 const record_client_info_t *clientInfo, const audio_config_base_t *clientConfig, in doOnRecordingConfigurationUpdate() argument
202 mNotificationClients.valueAt(i)->onRecordingConfigurationUpdate(event, clientInfo, in doOnRecordingConfigurationUpdate()
270 int event, const record_client_info_t *clientInfo, in onRecordingConfigurationUpdate() argument
275 mAudioPolicyServiceClient->onRecordingConfigurationUpdate(event, clientInfo, in onRecordingConfigurationUpdate()
813 int event, const record_client_info_t *clientInfo, in recordingConfigurationUpdateCommand() argument
821 data->mClientInfo = *clientInfo; in recordingConfigurationUpdateCommand()
827 event, clientInfo->source, clientInfo->uid); in recordingConfigurationUpdateCommand()
DAudioPolicyService.h231 void onRecordingConfigurationUpdate(int event, const record_client_info_t *clientInfo,
234 void doOnRecordingConfigurationUpdate(int event, const record_client_info_t *clientInfo,
310 const record_client_info_t *clientInfo,
520 const record_client_info_t *clientInfo,
542 int event, const record_client_info_t *clientInfo,
DAudioPolicyClientImpl.cpp223 int event, const record_client_info_t *clientInfo, in onRecordingConfigurationUpdate() argument
227 mAudioPolicyService->onRecordingConfigurationUpdate(event, clientInfo, in onRecordingConfigurationUpdate()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/
DWifiScanningServiceImpl.java357 final ClientInfo clientInfo; field in WifiScanningServiceImpl.RequestInfo
362 RequestInfo(ClientInfo clientInfo, int handlerId, WorkSource requestedWorkSource, in RequestInfo() argument
364 this.clientInfo = clientInfo; in RequestInfo()
367 this.workSource = computeWorkSource(clientInfo, requestedWorkSource); in RequestInfo()
371 clientInfo.reportEvent(what, arg1, handlerId, obj); in reportEvent()
385 if (entry.clientInfo == ci && entry.handlerId == handlerId) { in removeRequest()
408 if (entry.clientInfo == ci) { in getAllSettingsForClient()
419 if (entry.clientInfo == ci) { in removeAllForClient()
852 logCallback("singleScanFailed", entry.clientInfo, entry.handlerId, in sendOpFailedToAllAndClear()
894 logCallback("singleScanResults", entry.clientInfo, entry.handlerId, in reportScanResults()
[all …]
/frameworks/av/media/libaudioclient/include/media/
DIAudioPolicyServiceClient.h52 const record_client_info_t *clientInfo,
DAudioSystem.h36 typedef void (*record_config_callback)(int event, const record_client_info_t *clientInfo,
444 const record_client_info_t *clientInfo,
/frameworks/av/include/media/
DIAudioPolicyServiceClient.h52 const record_client_info_t *clientInfo,
DAudioSystem.h36 typedef void (*record_config_callback)(int event, const record_client_info_t *clientInfo,
444 const record_client_info_t *clientInfo,
/frameworks/base/core/java/android/hardware/fingerprint/
DFingerprintManager.java980 final int clientInfo = acquireInfo == FINGERPRINT_ACQUIRED_VENDOR in sendAcquiredResult() local
983 mEnrollmentCallback.onEnrollmentHelp(clientInfo, msg); in sendAcquiredResult()
985 mAuthenticationCallback.onAuthenticationHelp(clientInfo, msg); in sendAcquiredResult()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DRttService.java677 private boolean checkLocationPermission(ClientInfo clientInfo) { in checkLocationPermission() argument
679 clientInfo.mPackageName, clientInfo.mUid); in checkLocationPermission()
/frameworks/av/services/audiopolicy/
DAudioPolicyInterface.h353 const record_client_info_t *clientInfo,
/frameworks/base/core/jni/
Dandroid_media_AudioSystem.cpp399 android_media_AudioSystem_recording_callback(int event, const record_client_info_t *clientInfo, in android_media_AudioSystem_recording_callback() argument
407 if (clientInfo == NULL || clientConfig == NULL || deviceConfig == NULL) { in android_media_AudioSystem_recording_callback()
436 event, (jint) clientInfo->uid, clientInfo->session, clientInfo->source, recParamArray); in android_media_AudioSystem_recording_callback()