Home
last modified time | relevance | path

Searched refs:sampleRate (Results 1 – 25 of 27) sorted by relevance

12

/packages/apps/Test/connectivity/PMC/src/com/android/pmc/
DA2dpReceiver.java197 int sampleRate = BluetoothCodecConfig.SAMPLE_RATE_NONE; in processParameters() local
279 sampleRate = Integer.valueOf(tmpStr); in processParameters()
320 || sampleRate == BluetoothCodecConfig.SAMPLE_RATE_NONE in processParameters()
330 if (!setCodecValue(codecType, sampleRate, bitsPerSample, channelMode, in processParameters()
441 private boolean setCodecValue(int codecType, int sampleRate, int bitsPerSample, in setCodecValue() argument
444 Log.d(TAG, "SetCodecValue: Codec Type: " + codecType + " sampleRate: " + sampleRate in setCodecValue()
450 sampleRate, bitsPerSample, channelMode, in setCodecValue()
476 if (verifyCodeConfig(codecType, sampleRate, in setCodecValue()
486 if (!verifyCodeConfig(codecType, sampleRate, in setCodecValue()
502 private boolean verifyCodeConfig(int codecType, int sampleRate, int bitsPerSample, in verifyCodeConfig() argument
[all …]
/packages/services/Car/vehicle-hal-support-lib/src/com/android/car/vehiclehal/test/
DMockedVehicleHal.java51 default void onPropertySubscribe(int property, int zones, float sampleRate) {} in onPropertySubscribe() argument
172 handler.onPropertySubscribe(opt.propId, opt.vehicleAreas, opt.sampleRate); in subscribe()
220 public void onPropertySubscribe(int property, int zones, float sampleRate) { in onPropertySubscribe() argument
268 public synchronized void onPropertySubscribe(int property, int zones, float sampleRate) { in onPropertySubscribe() argument
/packages/services/Car/service/src/com/android/car/
DCarAudioService.java327 int sampleRate = getMaxSampleRate(info); in setupDynamicRouting() local
330 .setSampleRate(sampleRate) in setupDynamicRouting()
335 "Physical stream %d, sampleRate:%d, channles:0x%s", i, sampleRate, in setupDynamicRouting()
378 int sampleRate = sampleRates[0]; in getMaxSampleRate() local
380 if (sampleRates[i] > sampleRate) { in getMaxSampleRate()
381 sampleRate = sampleRates[i]; in getMaxSampleRate()
384 return sampleRate; in getMaxSampleRate()
/packages/apps/TV/src/com/android/tv/tuner/exoplayer/audio/
DAudioTrackWrapper.java120 int sampleRate = format.getInteger(MediaFormat.KEY_SAMPLE_RATE); in reconfigure() local
142 mAudioTrack.configure(mimeType, channelCount, sampleRate, pcmEncoding, audioBufferSize); in reconfigure()
DMpegTsDefaultAudioTrackRenderer.java392 format.sampleRate, in convertMediaFormatToRaw()
/packages/apps/TV/src/com/android/exoplayer/
DMediaFormatUtil.java43 int sampleRate = getOptionalIntegerV16(format, android.media.MediaFormat.KEY_SAMPLE_RATE); in createMediaFormat() local
60 channelCount, sampleRate, language, MediaFormat.OFFSET_SAMPLE_RELATIVE, in createMediaFormat()
/packages/services/Car/tests/carservice_test/src/com/android/car/test/
DCarProjectionManagerTest.java154 public synchronized void onPropertySubscribe(int property, int zones, float sampleRate) { in onPropertySubscribe() argument
155 Log.d(TAG, "onPropertySubscribe property " + property + " sampleRate " + sampleRate); in onPropertySubscribe()
DCarVolumeServiceTest.java354 public void onPropertySubscribe(int property, int zones, float sampleRate) { in onPropertySubscribe() argument
379 public void onPropertySubscribe(int property, int zones, float sampleRate) {
404 public void onPropertySubscribe(int property, int zones, float sampleRate) {
DCarRadioManagerTest.java104 public synchronized void onPropertySubscribe(int property, int zones, float sampleRate) { in onPropertySubscribe() argument
105 Log.d(TAG, "onPropertySubscribe property: " + property + " rate: " + sampleRate); in onPropertySubscribe()
DCarCabinManagerTest.java179 public synchronized void onPropertySubscribe(int property, int zones, float sampleRate) { in onPropertySubscribe() argument
180 Log.d(TAG, "onPropertySubscribe property " + property + " sampleRate " + sampleRate); in onPropertySubscribe()
DCarHvacManagerTest.java212 public synchronized void onPropertySubscribe(int property, int zones, float sampleRate) { in onPropertySubscribe() argument
213 Log.d(TAG, "onPropertySubscribe property " + property + " sampleRate " + sampleRate); in onPropertySubscribe()
DCarPowerManagementTest.java140 public void onPropertySubscribe(int property, int zones, float sampleRate) { in onPropertySubscribe() argument
DCarAudioManagerTest.java192 public void onPropertySubscribe(int property, int zones, float sampleRate) { in onPropertySubscribe() argument
DSystemActivityMonitoringServiceTest.java220 public void onPropertySubscribe(int property, int zones, float sampleRate) { in onPropertySubscribe() argument
DCarAudioFocusSystemSoundTest.java385 public void onPropertySubscribe(int property, int zones, float sampleRate) { in onPropertySubscribe() argument
DCarAudioFocusTest.java609 public void onPropertySubscribe(int property, int zones, float sampleRate) { in onPropertySubscribe() argument
DCarDiagnosticManagerTest.java127 int property, int zones, float sampleRate) { in onPropertySubscribe() argument
DCarAudioExtFocusTest.java967 public void onPropertySubscribe(int property, int zones, float sampleRate) { in onPropertySubscribe() argument
/packages/apps/TV/src/com/android/tv/util/
DUtils.java612 int sampleRate = track.getAudioSampleRate(); in getMultiAudioString() local
613 if (sampleRate > 0) { in getMultiAudioString()
617 int integerPart = sampleRate / 1000; in getMultiAudioString()
618 int tenths = (sampleRate % 1000) / 100; in getMultiAudioString()
/packages/apps/Bluetooth/jni/
Dcom_android_bluetooth_a2dp.cpp204 jint sampleRate = env->CallIntMethod( in prepareCodecPreferences() local
223 .sample_rate = static_cast<btav_a2dp_codec_sample_rate_t>(sampleRate), in prepareCodecPreferences()
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dpsink/
DA2dpSinkStateMachine.java799 private void onAudioConfigChanged(byte[] address, int sampleRate, int channelCount) { in onAudioConfigChanged() argument
803 event.audioConfig = new BluetoothAudioConfig(sampleRate, channelConfig, in onAudioConfigChanged()
/packages/apps/Settings/src/com/android/settings/development/
DDevelopmentSettings.java2118 String sampleRate = mBluetoothSelectA2dpSampleRate.getValue(); in writeBluetoothConfigurationOption() local
2120 sampleRate = newValue.toString(); in writeBluetoothConfigurationOption()
2127 index = mBluetoothSelectA2dpSampleRate.findIndexOfValue(sampleRate); in writeBluetoothConfigurationOption()
/packages/apps/TV/src/com/android/tv/tuner/exoplayer/
DExoPlayerSampleExtractor.java193 format.sampleRate, format.initializationData, format.language, in convertFormat()
/packages/services/Car/service/src/com/android/car/hal/
DVehicleHal.java324 opts.sampleRate = samplingRateHz; in subscribeProperty()
/packages/apps/TV/src/com/android/tv/tuner/tvinput/
DTunerSessionWorker.java1299 builder.setAudioSampleRate(infoFromPlayer.sampleRate); in notifyAudioTracksUpdated()

12