/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 | 170 int sampleRate = sampleRates[0]; in getMaxSampleRate() local 172 if (sampleRates[i] > sampleRate) { in getMaxSampleRate() 173 sampleRate = sampleRates[i]; in getMaxSampleRate() 176 return sampleRate; in getMaxSampleRate()
|
/packages/apps/Settings/src/com/android/settings/development/bluetooth/ |
D | BluetoothSampleRateDialogPreferenceController.java | 102 for (int sampleRate : SAMPLE_RATES) { in getSelectableIndex() 103 if ((configs & sampleRate) != 0) { in getSelectableIndex() 104 selectableIndex.add(convertCfgToBtnIndex(sampleRate)); in getSelectableIndex()
|
/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/tests/carservice_unit_test/src/com/android/car/audio/ |
D | CarAudioDeviceInfoTest.java | 119 int sampleRate = info.getSampleRate(); in getSampleRate_withMultipleSampleRates_returnsMax() local 121 assertThat(sampleRate).isEqualTo(96000); in getSampleRate_withMultipleSampleRates_returnsMax() 130 int sampleRate = info.getSampleRate(); in getSampleRate_withNullSampleRate_returnsDefault() local 132 assertThat(sampleRate).isEqualTo(CarAudioDeviceInfo.DEFAULT_SAMPLE_RATE); in getSampleRate_withNullSampleRate_returnsDefault()
|
/packages/services/Car/vehicle-hal-support-lib/test/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()
|
/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 | 555 private void onAudioConfigChanged(byte[] address, int sampleRate, int channelCount) { in onAudioConfigChanged() argument 556 StackEvent event = StackEvent.audioConfigChanged(getAnonymousDevice(address), sampleRate, in onAudioConfigChanged()
|
/packages/services/Car/service/src/com/android/car/hal/ |
D | VehicleHal.java | 372 opts.sampleRate = samplingRateHz; in subscribeProperty() 556 return opts.sampleRate; in getSampleRate() 816 float sampleRate, long timeDurationInSec) { in injectContinuousVhalEvent() argument 824 if (sampleRate <= 0) { in injectContinuousVhalEvent() 825 Slog.e(CarLog.TAG_HAL, "Inject events at an invalid sample rate: " + sampleRate); in injectContinuousVhalEvent() 828 long period = (long) (1000 / sampleRate); in injectContinuousVhalEvent()
|
/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 | CarPropertyServiceTest.java | 133 public synchronized void onPropertySubscribe(int property, float sampleRate) { in onPropertySubscribe() argument 137 + property + " sampleRate " + sampleRate); in onPropertySubscribe()
|
D | CarCabinManagerTest.java | 196 public synchronized void onPropertySubscribe(int property, float sampleRate) { in onPropertySubscribe() argument 197 Log.d(TAG, "onPropertySubscribe property " + property + " sampleRate " + sampleRate); in onPropertySubscribe()
|
D | CarHvacManagerTest.java | 282 public synchronized void onPropertySubscribe(int property, float sampleRate) { in onPropertySubscribe() argument 283 Log.d(TAG, "onPropertySubscribe property " + property + " sampleRate " + sampleRate); in onPropertySubscribe()
|
D | CarPropertyManagerTest.java | 810 public synchronized void onPropertySubscribe(int property, float sampleRate) { in onPropertySubscribe() argument 812 + property + " sampleRate " + sampleRate); in onPropertySubscribe()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/property/ |
D | PropertyListAdapter.java | 168 void addPropertySelectedSampleRate(Integer propId, Float sampleRate) { in addPropertySelectedSampleRate() argument 169 mPropSampleRate.put(propId, sampleRate); in addPropertySelectedSampleRate()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer2/ |
D | FileSampleExtractor.java | 150 int sampleRate = in createFormat() local 174 sampleRate, in createFormat()
|
/packages/services/Car/tests/carservice_test/src/com/android/car/cluster/ |
D | ClusterHomeManagerTest.java | 302 public synchronized void onPropertySubscribe(int property, float sampleRate) { in onPropertySubscribe() argument 303 Log.d(TAG, "onPropertySubscribe property " + property + " sampleRate " + sampleRate); in onPropertySubscribe()
|
/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/tests/carservice_unit_test/src/com/android/car/hal/ |
D | VehicleHalTest.java | 124 expectedOptions.sampleRate = ANY_SAMPLING_RATE; in testSubscribeProperty_registeringReadWriteAndOnChangeProperty()
|
/packages/services/Car/service/src/com/android/car/ |
D | CarShellCommand.java | 2050 String sampleRate = PARAM_INJECT_EVENT_DEFAULT_RATE; 2064 sampleRate = args[++i]; 2073 float sampleRateFloat = Float.parseFloat(sampleRate); 2076 + "SampleRate must be greater than 0.\n", sampleRate);
|
/packages/services/Car/tests/carservice_test/src/com/android/car/power/ |
D | CarPowerManagementTest.java | 399 public void onPropertySubscribe(int property, float sampleRate) { in onPropertySubscribe() argument
|