Home
last modified time | relevance | path

Searched refs:getSampleRate (Results 1 – 17 of 17) sorted by relevance

/packages/services/Car/service/src/com/android/car/audio/
DCarAudioDeviceInfo.java102 int getSampleRate() { in getSampleRate() method in CarAudioDeviceInfo
223 + " sampleRate: " + getSampleRate() in toString()
236 getSampleRate(), getEncodingFormat(), getChannelCount()); in dump()
DCarAudioDynamicRouting.java72 .setSampleRate(info.getSampleRate()) in setupAudioDynamicRoutingForGroup()
88 address, carAudioContext, info.getSampleRate(), info.getChannelCount(), in setupAudioDynamicRoutingForGroup()
/packages/apps/Settings/src/com/android/settings/development/bluetooth/
DBluetoothSampleRateDialogPreferenceController.java91 return convertCfgToBtnIndex(config.getSampleRate()); in getCurrentIndexByConfig()
101 getSelectableByCodecType(currentConfig.getCodecType()).getSampleRate(); in getSelectableIndex()
DAbstractBluetoothDialogPreferenceController.java115 mBluetoothA2dpConfigStore.setSampleRate(config.getSampleRate()); in initConfigStore()
242 final int capability = config.getSampleRate(); in getHighestSampleRate()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/a2dp/
DA2dpCodecConfigTest.java641 codecConfig.getSampleRate(), codecConfig.getBitsPerSample(), in getDefaultCodecConfigByType()
658 codecCapabilities.getSampleRate(), codecCapabilities.getBitsPerSample(), in getCodecCapabilitiesByType()
752 codecDefaultTemp.getSampleRate(), in testCodecSpecificParametersChangeHelper()
760 codecDefaultTemp.getSampleRate(), in testCodecSpecificParametersChangeHelper()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DCarAudioDeviceInfoTest.java119 int sampleRate = info.getSampleRate(); in getSampleRate_withMultipleSampleRates_returnsMax()
130 int sampleRate = info.getSampleRate(); in getSampleRate_withNullSampleRate_returnsDefault()
/packages/apps/Bluetooth/jni/
Dcom_android_bluetooth_a2dp.cpp39 jmethodID getSampleRate; member
204 android_bluetooth_BluetoothCodecConfig.getSampleRate = in classInitNative()
255 jcodecConfig, android_bluetooth_BluetoothCodecConfig.getSampleRate); in prepareCodecPreferences()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/
DVehicleHalTest.java160 assertThat(mVehicleHal.getSampleRate(UNSUPPORTED_PROPERTY)).isEqualTo( in testGetSampleRate_unsupportedProperty()
171 assertThat(mVehicleHal.getSampleRate(SOME_READ_ON_CHANGE_PROPERTY)).isEqualTo( in testGetSampleRate_supportedAndRegisteredProperty()
/packages/apps/Test/connectivity/PMC/src/com/android/pmc/
DA2dpReceiver.java520 && codecConfig.getSampleRate() == sampleRate in verifyCodeConfig()
526 && codecConfig.getSampleRate() == sampleRate in verifyCodeConfig()
/packages/services/Car/service/src/com/android/car/hal/
DPropertyHalService.java218 public float getSampleRate(int mgrPropId) { in getSampleRate() method in PropertyHalService
223 return mVehicleHal.getSampleRate(halPropId); in getSampleRate()
DVehicleHal.java550 public float getSampleRate(int propId) { in getSampleRate() method in VehicleHal
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/
DAbstractBluetoothA2dpPreferenceControllerTest.java105 when(mBluetoothCodecConfig.getSampleRate()).thenReturn( in updateState_option2Set_shouldUpdateToOption2()
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/bluetooth/
DAbstractBluetoothDialogPreferenceControllerTest.java201 verify(mBluetoothA2dpConfigStore).setSampleRate(mCodecConfigAAC.getSampleRate()); in onBluetoothServiceConnected_verifyBluetoothA2dpConfigStore()
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/
DA2dpService.java956 codecConfig.getCodecPriority(), codecConfig.getSampleRate(), in codecConfigUpdated()
964 codecCapability.getCodecPriority(), codecCapability.getSampleRate(), in codecConfigUpdated()
/packages/apps/TV/tuner/src/com/android/tv/tuner/data/
DPsipData.java425 public int getSampleRate() { in getSampleRate() method in PsipData.Ac3AudioDescriptor
DSectionParser.java1227 .setSampleRate(audioDescriptor.getSampleRate()) in generateAudioTracks()
/packages/services/Car/service/src/com/android/car/
DCarPropertyService.java253 if (rate > mHal.getSampleRate(propId)) { in registerListener()