Searched refs:audioConfig (Results 1 – 5 of 5) sorted by relevance
/frameworks/av/services/audiopolicy/tests/ |
D | audiopolicymanager_tests.cpp | 516 std::string mixAddress, const audio_config_t& audioConfig, 530 audio_devices_t deviceType, std::string mixAddress, const audio_config_t& audioConfig, in addPolicyMix() argument 539 AudioMix myAudioMix(myMixMatchCriteria, mixType, audioConfig, mixFlag, in addPolicyMix() 569 audio_config_t audioConfig = AUDIO_CONFIG_INITIALIZER; in TEST_F() local 573 AUDIO_DEVICE_OUT_REMOTE_SUBMIX, "", audioConfig, std::vector<PolicyMixTuple>()); in TEST_F() 579 AUDIO_DEVICE_OUT_REMOTE_SUBMIX, "", audioConfig, std::vector<PolicyMixTuple>()); in TEST_F() 584 audioConfig.channel_mask = AUDIO_CHANNEL_OUT_STEREO; in TEST_F() 585 audioConfig.format = AUDIO_FORMAT_PCM_16_BIT; in TEST_F() 586 audioConfig.sample_rate = 48000; in TEST_F() 588 AUDIO_DEVICE_OUT_REMOTE_SUBMIX, mMixAddress, audioConfig, in TEST_F() [all …]
|
/frameworks/base/core/java/android/hardware/soundtrigger/ |
D | ConversionUtil.java | 200 AudioFormat audioFormat = aidl2apiAudioFormatWithDefault(aidlEvent.audioConfig); in aidl2apiRecognitionEvent() 218 AudioFormat audioFormat = aidl2apiAudioFormatWithDefault(aidlEvent.common.audioConfig); in aidl2apiPhraseRecognitionEvent() 227 public static AudioFormat aidl2apiAudioFormat(AudioConfig audioConfig) { in aidl2apiAudioFormat() argument 229 apiBuilder.setSampleRate(audioConfig.sampleRateHz); in aidl2apiAudioFormat() 230 apiBuilder.setChannelMask(aidl2apiChannelInMask(audioConfig.channelMask)); in aidl2apiAudioFormat() 231 apiBuilder.setEncoding(aidl2apiEncoding(audioConfig.format)); in aidl2apiAudioFormat() 236 public static AudioFormat aidl2apiAudioFormatWithDefault(@Nullable AudioConfig audioConfig) { in aidl2apiAudioFormatWithDefault() argument 237 if (audioConfig != null) { in aidl2apiAudioFormatWithDefault() 238 return aidl2apiAudioFormat(audioConfig); in aidl2apiAudioFormatWithDefault()
|
/frameworks/base/media/java/android/media/soundtrigger_middleware/ |
D | RecognitionEvent.aidl | 48 @nullable AudioConfig audioConfig;
|
/frameworks/base/services/tests/servicestests/src/com/android/server/soundtrigger_middleware/ |
D | SoundTriggerMiddlewareImplTest.java | 240 halEvent.audioConfig = new AudioConfig(); in createRecognitionEvent_2_0() 241 halEvent.audioConfig.sampleRateHz = 456; in createRecognitionEvent_2_0() 242 halEvent.audioConfig.channelMask = AudioChannelMask.IN_LEFT; in createRecognitionEvent_2_0() 243 halEvent.audioConfig.format = AudioFormat.MP3; in createRecognitionEvent_2_0() 270 assertEquals(456, event.audioConfig.sampleRateHz); in validateRecognitionEvent() 271 assertEquals(AudioChannelMask.IN_LEFT, event.audioConfig.channelMask); in validateRecognitionEvent() 272 assertEquals(AudioFormat.MP3, event.audioConfig.format); in validateRecognitionEvent()
|
/frameworks/base/services/core/java/com/android/server/soundtrigger_middleware/ |
D | ConversionUtil.java | 304 aidlEvent.audioConfig = hidl2aidlAudioConfig(hidlEvent.audioConfig); in hidl2aidlRecognitionEvent()
|