/packages/services/Car/tests/carservice_test/src/com/android/car/audio/ |
D | CarAudioFocusTest.java | 363 int gain = AUDIOFOCUS_GAIN; in rejectedInteractions_focusRequestRejected() local 364 testInteraction(ATTR_INVALID, ATTR_INVALID, interaction, gain, false); in rejectedInteractions_focusRequestRejected() 365 testInteraction(ATTR_INVALID, ATTR_MEDIA, interaction, gain, false); in rejectedInteractions_focusRequestRejected() 366 testInteraction(ATTR_INVALID, ATTR_NAVIGATION, interaction, gain, false); in rejectedInteractions_focusRequestRejected() 367 testInteraction(ATTR_INVALID, ATTR_VOICE_COMMAND, interaction, gain, false); in rejectedInteractions_focusRequestRejected() 368 testInteraction(ATTR_INVALID, ATTR_CALL_RING, interaction, gain, false); in rejectedInteractions_focusRequestRejected() 369 testInteraction(ATTR_INVALID, ATTR_CALL, interaction, gain, false); in rejectedInteractions_focusRequestRejected() 370 testInteraction(ATTR_INVALID, ATTR_ALARM, interaction, gain, false); in rejectedInteractions_focusRequestRejected() 371 testInteraction(ATTR_INVALID, ATTR_NOTIFICATION, interaction, gain, false); in rejectedInteractions_focusRequestRejected() 372 testInteraction(ATTR_INVALID, ATTR_SYSTEM_SOUND, interaction, gain, false); in rejectedInteractions_focusRequestRejected() [all …]
|
/packages/modules/Bluetooth/system/embdrv/lc3/test/ |
D | sns.py | 32 (self.ind_lf, self.ind_hf, self.shape, self.gain) = \ 41 'shape' : self.shape, 'gain' : self.gain, 272 self.gain = np.argmin(dMSE[self.shape]) 274 gain = G[self.shape][self.gain] 293 scf_q = st1 + gain * fftpack.idct(xq[self.shape], norm = 'ortho') 316 b.write_uint(self.gain >> gain_lsb_bits, gain_msb_bits) 327 index_joint = self.idx_a + (self.gain & 1) * sz_shape_a 334 index_joint = sz_shape_a + (self.gain & 1) + 2 * self.idx_a 399 gain = G[self.shape][self.gain] 402 + gain * fftpack.idct(y, norm = 'ortho') [all …]
|
D | sns_py.c | 94 int shape, gain; in unquantize_py() local 98 &lfcb_idx, &hfcb_idx, &y_obj, &shape, &gain)) in unquantize_py() 106 (unsigned)gain < (unsigned)lc3_sns_vq_gains[shape].count); in unquantize_py() 110 unquantize(lfcb_idx, hfcb_idx, y, shape, gain, scf); in unquantize_py()
|
/packages/modules/Bluetooth/system/embdrv/lc3/src/ |
D | sns.c | 545 const float *c, int shape, int gain, float *scf) in unquantize() argument 549 float g = lc3_sns_vq_gains[shape].v[gain]; in unquantize() 745 c, cn, &data->shape, &data->gain); in lc3_sns_analyze() 748 cn[data->shape], data->shape, data->gain, scf); in lc3_sns_analyze() 770 unquantize(data->lfcb, data->hfcb, cn, data->shape, data->gain, scf); in lc3_sns_synthesize() 805 2 * (data->idx_b + 1) + data->ls_b : data->gain & 1; in lc3_sns_put_data() 808 lc3_put_bits(bits, data->gain >> submode, 1); in lc3_sns_put_data() 817 data->idx_a : size_a + 2 * data->idx_a + (data->gain & 1); in lc3_sns_put_data() 819 lc3_put_bits(bits, data->gain >> submode, 2); in lc3_sns_put_data() 840 data->gain = lc3_get_bits(bits, 1 + shape_msb); in lc3_sns_get_data() [all …]
|
D | tns.c | 60 const float *x, float *gain, float (*a)[9]) in compute_lpc_coeffs() argument 116 gain[f] = err; in compute_lpc_coeffs() 144 gain[f] /= err; in compute_lpc_coeffs()
|
/packages/services/Car/car-builtin-lib/src/android/car/builtin/media/ |
D | AudioManagerHelper.java | 127 AudioGain gain = deviceport.gains()[index]; in getAudioGain() local 128 if ((gain.mode() & AudioGain.MODE_JOINT) != 0) { in getAudioGain() 129 return checkAudioGainConfiguration(gain); in getAudioGain() 390 private AudioGainInfo(AudioGain gain) { in AudioGainInfo() argument 391 mMinGain = gain.minValue(); in AudioGainInfo() 392 mMaxGain = gain.maxValue(); in AudioGainInfo() 393 mDefaultGain = gain.defaultValue(); in AudioGainInfo() 394 mStepValue = gain.stepValue(); in AudioGainInfo()
|
/packages/modules/Bluetooth/system/audio_hal_interface/aidl/ |
D | bluetooth_audio_port_impl.cc | 108 .gain = metadata.gain, in updateSourceMetadata() 127 .gain = metadata.gain, in updateSinkMetadata()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | BubbleFunScorer.java | 73 double gain = shapeFunction(rssi + 0.5) in scoreCandidate() local 80 gain *= LOW_BAND_FACTOR; in scoreCandidate() 95 return new ScoredCandidate(score, TYPICAL_SCAN_RSSI_STD * gain, in scoreCandidate()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/a2dpsink/ |
D | A2dpSinkNativeInterface.java | 141 public void informAudioTrackGain(float gain) { in informAudioTrackGain() argument 142 informAudioTrackGainNative(gain); in informAudioTrackGain() 200 private native void informAudioTrackGainNative(float gain); in informAudioTrackGainNative() argument
|
D | A2dpSinkStreamHandler.java | 355 private void setFluorideAudioTrackGain(float gain) { in setFluorideAudioTrackGain() argument 356 mNativeInterface.informAudioTrackGain(gain); in setFluorideAudioTrackGain()
|
/packages/services/Car/service/src/com/android/car/audio/ |
D | CarAudioGainMonitor.java | 78 CarAudioGainConfigInfo gain = gains.get(index); in handleAudioDeviceGainsChanged() local 79 int zone = gain.getZoneId(); in handleAudioDeviceGainsChanged() 83 gainsByZones.get(zone).add(gain); in handleAudioDeviceGainsChanged()
|
D | CarVolumeGroup.java | 578 void onAudioGainChanged(List<Integer> halReasons, CarAudioGainConfigInfo gain) { in onAudioGainChanged() argument 579 if (getCarAudioDeviceInfoForAddress(gain.getDeviceAddress()) == null) { in onAudioGainChanged() 582 gain.getDeviceAddress(), in onAudioGainChanged() 588 int halIndex = gain.getVolumeIndex(); in onAudioGainChanged()
|
/packages/services/Car/service/src/com/android/car/audio/hal/ |
D | AudioControlWrapperAidl.java | 329 AudioGainConfigInfo gain = gains[index]; in onAudioDeviceGainsChanged() local 330 carAudioGainConfigs.add(new CarAudioGainConfigInfo(gain)); in onAudioDeviceGainsChanged() 347 .map(gain -> gain.toString()) in onAudioDeviceGainsChanged()
|
/packages/modules/Bluetooth/system/embdrv/g722/ |
D | g722_decode.cc | 264 …22_decode(g722_decode_state_t *s, int16_t amp[], const uint8_t g722_data[], int len, uint16_t gain) in g722_decode() argument 406 xout1 = NLDECOMPRESS_PREPROCESS_SAMPLE_WITH_GAIN((int16_t) __ssat16(xout1 >> 11), gain); in g722_decode() 407 xout2 = NLDECOMPRESS_PREPROCESS_SAMPLE_WITH_GAIN((int16_t) __ssat16(xout2 >> 11), gain); in g722_decode()
|
/packages/modules/Bluetooth/system/service/ |
D | a2dp_sink.cc | 104 void A2dpSink::SetAudioTrackGain(float gain) { in SetAudioTrackGain() argument 108 ->set_audio_track_gain(gain); in SetAudioTrackGain()
|
/packages/modules/Bluetooth/system/bta/le_audio/ |
D | le_audio_utils.cc | 163 track.content_type, track.gain); in GetAllowedAudioContextsFromSourceMetadata() 187 audioSourceToStr(track.source), track.source, track.gain, in GetAllowedAudioContextsFromSinkMetadata()
|
/packages/modules/Bluetooth/system/service/hal/ |
D | fake_bluetooth_av_interface.cc | 64 void FakeSetAudioTrackGain(float gain) { in FakeSetAudioTrackGain() argument 65 if (g_a2dp_sink_handler) return g_a2dp_sink_handler->SetAudioTrackGain(gain); in FakeSetAudioTrackGain()
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
D | AsyncRingtonePlayer.kt | 627 val gain = fractionComplete * 40 - 40 in <lambda>() constant 630 val volume = 10.0.pow(gain / 20f.toDouble()).toFloat() in <lambda>() 633 fractionComplete * 100, volume, gain) in <lambda>()
|
/packages/modules/Bluetooth/system/service/ipc/binder/ |
D | bluetooth_a2dp_sink_binder_server.cc | 138 Status BluetoothA2dpSinkBinderServer::SetAudioTrackGain(float gain, in SetAudioTrackGain() argument 148 a2dp_sink->SetAudioTrackGain(gain); in SetAudioTrackGain()
|
/packages/apps/Camera2/src/com/android/camera/util/ |
D | CaptureDataSerializer.java | 200 float gain = lensShading.getGainFactor(ch, c, r); in toString() local 201 str.append(gain); in toString()
|
/packages/modules/Bluetooth/android/app/jni/ |
D | com_android_bluetooth_a2dp_sink.cpp | 216 jfloat gain) { in informAudioTrackGainNative() argument 218 sBluetoothA2dpInterface->set_audio_track_gain((float)gain); in informAudioTrackGainNative()
|
/packages/modules/Bluetooth/system/btif/include/ |
D | btif_avrcp_audio_track.h | 54 void BtifAvrcpSetAudioTrackGain(void* handle, float gain);
|
/packages/modules/Bluetooth/system/btif/src/ |
D | btif_avrcp_audio_track_linux.cc | 32 void BtifAvrcpSetAudioTrackGain(void* handle, float gain) {} in BtifAvrcpSetAudioTrackGain() argument
|
D | btif_a2dp_sink.cc | 733 void btif_a2dp_sink_set_audio_track_gain(float gain) { in btif_a2dp_sink_set_audio_track_gain() argument 734 LOG_INFO("%s: set gain to %f", __func__, gain); in btif_a2dp_sink_set_audio_track_gain() 738 BtifAvrcpSetAudioTrackGain(btif_a2dp_sink_cb.audio_track, gain); in btif_a2dp_sink_set_audio_track_gain()
|
/packages/modules/Bluetooth/system/service/common/android/bluetooth/ |
D | IBluetoothA2dpSink.aidl | 30 boolean SetAudioTrackGain(float gain); in SetAudioTrackGain() argument
|