/packages/apps/Test/connectivity/PMC/src/com/android/pmc/ |
D | A2dpReceiver.java | 197 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() 446 private boolean setCodecValue(int codecType, int sampleRate, int bitsPerSample, in setCodecValue() argument 449 Log.d(TAG, "SetCodecValue: Codec Type: " + codecType + " sampleRate: " + sampleRate in setCodecValue() 455 sampleRate, bitsPerSample, channelMode, in setCodecValue() 486 if (verifyCodeConfig(codecType, sampleRate, in setCodecValue() 496 if (!verifyCodeConfig(codecType, sampleRate, in setCodecValue() 512 private boolean verifyCodeConfig(int codecType, int sampleRate, int bitsPerSample, in verifyCodeConfig() argument [all …]
|
/packages/services/Car/service/src/com/android/car/audio/ |
D | CarAudioDeviceInfo.java | 171 int sampleRate = sampleRates[0]; in getMaxSampleRate() local 173 if (sampleRates[i] > sampleRate) { in getMaxSampleRate() 174 sampleRate = sampleRates[i]; in getMaxSampleRate() 177 return sampleRate; in getMaxSampleRate()
|
/packages/apps/TV/src/com/android/tv/util/ |
D | TvTrackInfoUtils.java | 198 int sampleRate = track.getAudioSampleRate(); 199 if (sampleRate > 0) { 203 int integerPart = sampleRate / 1000; 204 int tenths = (sampleRate % 1000) / 100;
|
/packages/services/Car/vehicle-hal-support-lib/src/com/android/car/vehiclehal/test/ |
D | MockedVehicleHal.java | 52 default void onPropertySubscribe(int property, float sampleRate) {} in onPropertySubscribe() argument 186 handler.onPropertySubscribe(opt.propId, opt.sampleRate); in subscribe() 242 public void onPropertySubscribe(int property, float sampleRate) { in onPropertySubscribe() argument 290 public synchronized void onPropertySubscribe(int property, float sampleRate) { in onPropertySubscribe() argument
|
/packages/apps/Settings/src/com/android/settings/development/ |
D | BluetoothA2dpConfigStore.java | 45 public void setSampleRate(int sampleRate) { in setSampleRate() argument 46 mSampleRate = sampleRate; in setSampleRate()
|
D | BluetoothAudioSampleRatePreferenceController.java | 87 final int sampleRate = config.getSampleRate(); in getCurrentA2dpSettingIndex() local 89 switch (sampleRate) { in getCurrentA2dpSettingIndex()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/development/ |
D | BluetoothA2dpConfigStore.java | 45 public void setSampleRate(int sampleRate) { in setSampleRate() argument 46 mSampleRate = sampleRate; in setSampleRate()
|
D | BluetoothAudioSampleRatePreferenceController.java | 87 final int sampleRate = config.getSampleRate(); in getCurrentA2dpSettingIndex() local 89 switch (sampleRate) { in getCurrentA2dpSettingIndex()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dpsink/ |
D | StackEvent.java | 76 static StackEvent audioConfigChanged(BluetoothDevice device, int sampleRate, in audioConfigChanged() argument 80 event.mSampleRate = sampleRate; in audioConfigChanged()
|
D | A2dpSinkService.java | 506 private void onAudioConfigChanged(byte[] address, int sampleRate, int channelCount) { in onAudioConfigChanged() argument 507 StackEvent event = StackEvent.audioConfigChanged(getDevice(address), sampleRate, in onAudioConfigChanged()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/audio/ |
D | AudioTrackWrapper.java | 118 int sampleRate = format.getInteger(MediaFormat.KEY_SAMPLE_RATE); in reconfigure() local 140 mAudioTrack.configure(mimeType, channelCount, sampleRate, pcmEncoding, audioBufferSize); in reconfigure()
|
/packages/apps/TV/tuner/src/com/google/android/exoplayer/ |
D | MediaFormatUtil.java | 41 int sampleRate = getOptionalIntegerV16(format, android.media.MediaFormat.KEY_SAMPLE_RATE); in createMediaFormat() local 70 sampleRate, in createMediaFormat()
|
/packages/services/Car/tests/carservice_test/src/com/android/car/ |
D | CarProjectionManagerTest.java | 177 public synchronized void onPropertySubscribe(int property, float sampleRate) { in onPropertySubscribe() argument 178 Log.d(TAG, "onPropertySubscribe property " + property + " sampleRate " + sampleRate); in onPropertySubscribe()
|
D | CarCabinManagerTest.java | 194 public synchronized void onPropertySubscribe(int property, float sampleRate) { in onPropertySubscribe() argument 195 Log.d(TAG, "onPropertySubscribe property " + property + " sampleRate " + sampleRate); in onPropertySubscribe()
|
D | CarHvacManagerTest.java | 232 public synchronized void onPropertySubscribe(int property, float sampleRate) { in onPropertySubscribe() argument 233 Log.d(TAG, "onPropertySubscribe property " + property + " sampleRate " + sampleRate); in onPropertySubscribe()
|
D | CarPowerManagementTest.java | 365 public void onPropertySubscribe(int property, float sampleRate) { in onPropertySubscribe() argument
|
D | CarDiagnosticManagerTest.java | 142 public synchronized void onPropertySubscribe(int property, float sampleRate) { in onPropertySubscribe() argument
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer2/ |
D | FileSampleExtractor.java | 150 int sampleRate = in createFormat() local 174 sampleRate, in createFormat()
|
/packages/apps/Bluetooth/jni/ |
D | com_android_bluetooth_a2dp.cpp | 254 jint sampleRate = env->CallIntMethod( in prepareCodecPreferences() local 273 .sample_rate = static_cast<btav_a2dp_codec_sample_rate_t>(sampleRate), in prepareCodecPreferences()
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/a2dp/ |
D | A2dpCodecConfigTest.java | 669 int sampleRate, int bitsPerSample, int channelMode, boolean invokeNative) { in testCodecParametersChangeHelper() argument 675 sampleRate, bitsPerSample, channelMode, in testCodecParametersChangeHelper()
|
/packages/services/Car/service/src/com/android/car/hal/ |
D | VehicleHal.java | 263 opts.sampleRate = samplingRateHz; in subscribeProperty() 387 return opts.sampleRate; in getSampleRate()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/ |
D | ExoPlayerSampleExtractor.java | 214 format.sampleRate, in convertFormat()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer2/buffer/ |
D | SampleChunkIoHelper.java | 261 mediaFormat.setInteger(MediaFormat.KEY_SAMPLE_RATE, format.sampleRate); in getAudioMediaFormat()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/tvinput/ |
D | TunerSessionWorkerExoV2.java | 1551 builder.setAudioSampleRate(infoFromPlayer.sampleRate); in notifyAudioTracksUpdated()
|
D | TunerSessionWorker.java | 1630 builder.setAudioSampleRate(infoFromPlayer.sampleRate); in notifyAudioTracksUpdated()
|