Home
last modified time | relevance | path

Searched refs:AudioParameter (Results 1 – 19 of 19) sorted by relevance

/frameworks/av/media/libmedia/
DAudioParameter.cpp28 const char * const AudioParameter::keyRouting = AUDIO_PARAMETER_STREAM_ROUTING;
29 const char * const AudioParameter::keySamplingRate = AUDIO_PARAMETER_STREAM_SAMPLING_RATE;
30 const char * const AudioParameter::keyFormat = AUDIO_PARAMETER_STREAM_FORMAT;
31 const char * const AudioParameter::keyChannels = AUDIO_PARAMETER_STREAM_CHANNELS;
32 const char * const AudioParameter::keyFrameCount = AUDIO_PARAMETER_STREAM_FRAME_COUNT;
33 const char * const AudioParameter::keyInputSource = AUDIO_PARAMETER_STREAM_INPUT_SOURCE;
34 const char * const AudioParameter::keyScreenState = AUDIO_PARAMETER_KEY_SCREEN_STATE;
35 const char * const AudioParameter::keyBtNrec = AUDIO_PARAMETER_KEY_BT_NREC;
36 const char * const AudioParameter::keyHwAvSync = AUDIO_PARAMETER_HW_AV_SYNC;
37 const char * const AudioParameter::keyPresentationId = AUDIO_PARAMETER_STREAM_PRESENTATION_ID;
[all …]
DAndroid.bp23 srcs: ["AudioParameter.cpp", "TypeConverter.cpp", "TimeCheck.cpp"],
/frameworks/av/media/libaudiohal/2.0/
DConversionHelperHidl.cpp31 AudioParameter halKeys(keys); in keysFromHal()
39 (halKeys.get(String8(AudioParameter::keyStreamSupportedChannels), value) == NO_ERROR || in keysFromHal()
40 halKeys.get(String8(AudioParameter::keyStreamSupportedSamplingRates), value) == NO_ERROR); in keysFromHal()
46 if (keepFormatValue && key == AudioParameter::keyFormat) { in keysFromHal()
47 AudioParameter formatParam; in keysFromHal()
60 AudioParameter params(kvPairs); in parametersFromHal()
76 AudioParameter params; in parametersToHal()
/frameworks/av/media/libaudioclient/include/media/
DAudioParameter.h26 class AudioParameter {
29 AudioParameter() {} in AudioParameter() function
30 AudioParameter(const String8& keyValuePairs);
31 virtual ~AudioParameter();
/frameworks/av/include/media/
DAudioParameter.h26 class AudioParameter {
29 AudioParameter() {} in AudioParameter() function
30 AudioParameter(const String8& keyValuePairs);
31 virtual ~AudioParameter();
DTypeConverter.h107 const char *del = AudioParameter::valueListSeparator)
129 const char *del = AudioParameter::valueListSeparator);
132 const std::string &str, const char *del = AudioParameter::valueListSeparator);
135 uint32_t mask, std::string &str, const char *del = AudioParameter::valueListSeparator);
258 const std::string &samplingRates, const char *del = AudioParameter::valueListSeparator);
261 const std::string &formats, const char *del = AudioParameter::valueListSeparator);
269 const std::string &channels, const char *del = AudioParameter::valueListSeparator);
272 const std::string &inChannels, const char *del = AudioParameter::valueListSeparator);
275 const std::string &outChannels, const char *del = AudioParameter::valueListSeparator);
/frameworks/av/media/libmedia/include/media/
DTypeConverter.h107 const char *del = AudioParameter::valueListSeparator)
129 const char *del = AudioParameter::valueListSeparator);
132 const std::string &str, const char *del = AudioParameter::valueListSeparator);
135 uint32_t mask, std::string &str, const char *del = AudioParameter::valueListSeparator);
258 const std::string &samplingRates, const char *del = AudioParameter::valueListSeparator);
261 const std::string &formats, const char *del = AudioParameter::valueListSeparator);
269 const std::string &channels, const char *del = AudioParameter::valueListSeparator);
272 const std::string &inChannels, const char *del = AudioParameter::valueListSeparator);
275 const std::string &outChannels, const char *del = AudioParameter::valueListSeparator);
/frameworks/av/media/libaudiohal/4.0/
DConversionHelperHidl.cpp37 AudioParameter halKeys(keys); in keysFromHal()
45 (halKeys.get(String8(AudioParameter::keyStreamSupportedChannels), value) == NO_ERROR || in keysFromHal()
46 halKeys.get(String8(AudioParameter::keyStreamSupportedSamplingRates), value) == NO_ERROR); in keysFromHal()
52 if (keepFormatValue && key == AudioParameter::keyFormat) { in keysFromHal()
53 AudioParameter formatParam; in keysFromHal()
66 AudioParameter params(kvPairs); in parametersFromHal()
82 AudioParameter params; in parametersToHal()
/frameworks/av/services/audioflinger/
DAudioFlinger.cpp1189 String8(AudioParameter::keyRouting), in filterReservedParameters()
1190 String8(AudioParameter::keySamplingRate), in filterReservedParameters()
1191 String8(AudioParameter::keyFormat), in filterReservedParameters()
1192 String8(AudioParameter::keyChannels), in filterReservedParameters()
1193 String8(AudioParameter::keyFrameCount), in filterReservedParameters()
1194 String8(AudioParameter::keyInputSource), in filterReservedParameters()
1195 String8(AudioParameter::keyMonoOutput), in filterReservedParameters()
1196 String8(AudioParameter::keyStreamConnect), in filterReservedParameters()
1197 String8(AudioParameter::keyStreamDisconnect), in filterReservedParameters()
1198 String8(AudioParameter::keyStreamSupportedFormats), in filterReservedParameters()
[all …]
DThreads.cpp636 AudioParameter param(keyValuePair); in sendSetParameterConfigEvent_l()
638 if (param.getInt(String8(AudioParameter::keyMonoOutput), value) == NO_ERROR) { in sendSetParameterConfigEvent_l()
643 param.remove(String8(AudioParameter::keyMonoOutput)); in sendSetParameterConfigEvent_l()
3719 AudioParameter param = AudioParameter(String8(address)); in createAudioPatch_l()
3721 param.addInt(String8(AudioParameter::keyRouting), (int)type); in createAudioPatch_l()
3756 AudioParameter param; in releaseAudioPatch_l()
3757 param.addInt(String8(AudioParameter::keyRouting), 0); in releaseAudioPatch_l()
4922 AudioParameter param = AudioParameter(keyValuePair); in checkForNewParameter_l()
4924 if (param.getInt(String8(AudioParameter::keySamplingRate), value) == NO_ERROR) { in checkForNewParameter_l()
4927 if (param.getInt(String8(AudioParameter::keyFormat), value) == NO_ERROR) { in checkForNewParameter_l()
[all …]
DPatchPanel.cpp393 AudioParameter param = AudioParameter(); in createAudioPatch()
394 param.addInt(String8(AudioParameter::keyRouting), (int)type); in createAudioPatch()
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp101 AudioParameter param(device_address); in broadcastDeviceConnectionState()
103 AudioParameter::keyStreamConnect : AudioParameter::keyStreamDisconnect); in broadcastDeviceConnectionState()
372 AudioParameter param; in handleDeviceConfigChange()
398 String8(AudioParameter::keyReconfigA2dpSupported)); in handleDeviceConfigChange()
399 AudioParameter repliedParameters(reply); in handleDeviceConfigChange()
401 String8(AudioParameter::keyReconfigA2dpSupported), isReconfigA2dpSupported); in handleDeviceConfigChange()
403 const String8 key(AudioParameter::keyReconfigA2dp); in handleDeviceConfigChange()
3540 ioHandle, String8(AudioParameter::keyStreamSupportedFormats)); in getSupportedFormats()
3542 AudioParameter repliedParameters(reply); in getSupportedFormats()
3544 String8(AudioParameter::keyStreamSupportedFormats), reply) != NO_ERROR) { in getSupportedFormats()
[all …]
DAudioPolicyManager.h679 AudioParameter param; in updateMono()
680 param.addInt(String8(AudioParameter::keyMonoOutput), (int)mMasterMono); in updateMono()
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DConfigParsingUtils.cpp292 char *devTag = strtok(tagLiteral, AudioParameter::valueListSeparator); in loadDevicesFromTag()
314 devTag = strtok(NULL, AudioParameter::valueListSeparator); in loadDevicesFromTag()
DAudioOutputDescriptor.cpp494 AudioParameter param; in close()
/frameworks/av/services/audiopolicy/service/
DAudioPolicyService.cpp1150 AudioParameter param = AudioParameter(data->mKeyValuePairs); in insertCommand_l()
1151 AudioParameter param2 = AudioParameter(data2->mKeyValuePairs); in insertCommand_l()
/frameworks/av/media/libaudioclient/
DAudioTrack.cpp2381 AudioParameter param = AudioParameter(); in selectPresentation()
2382 param.addInt(String8(AudioParameter::keyPresentationId), presentationId); in selectPresentation()
2383 param.addInt(String8(AudioParameter::keyProgramId), programId); in selectPresentation()
/frameworks/av/media/libstagefright/
DUtils.cpp1540 AudioParameter param = AudioParameter(); in sendMetaDataToHal()
/frameworks/av/media/libmediaplayer2/nuplayer2/
DNuPlayer2.cpp75 AudioParameter param = AudioParameter(); in sendMetaDataToHal()