Home
last modified time | relevance | path

Searched refs:codec (Results 1 – 25 of 34) sorted by relevance

12

/system/bt/device/src/
Desco_parameters.cc212 enh_esco_params_t esco_parameters_for_codec(esco_codec_t codec) { in esco_parameters_for_codec() argument
213 CHECK(codec >= 0) << "codec index " << (int)codec << "< 0"; in esco_parameters_for_codec()
214 CHECK(codec < ESCO_NUM_CODECS) << "codec index " << (int)codec << " > " in esco_parameters_for_codec()
216 return default_esco_parameters[codec]; in esco_parameters_for_codec()
/system/bt/audio_hal_interface/
Da2dp_encoding.cc42 using ::bluetooth::audio::codec::A2dpAacToHalConfig;
43 using ::bluetooth::audio::codec::A2dpAptxToHalConfig;
44 using ::bluetooth::audio::codec::A2dpCodecToHalBitsPerSample;
45 using ::bluetooth::audio::codec::A2dpCodecToHalChannelMode;
46 using ::bluetooth::audio::codec::A2dpCodecToHalSampleRate;
47 using ::bluetooth::audio::codec::A2dpLdacToHalConfig;
48 using ::bluetooth::audio::codec::A2dpSbcToHalConfig;
49 using ::bluetooth::audio::codec::CodecConfiguration;
232 *codec_config = ::bluetooth::audio::codec::kInvalidCodecConfiguration; in a2dp_get_selected_hal_codec_config()
272 *codec_config = ::bluetooth::audio::codec::kInvalidCodecConfiguration; in a2dp_get_selected_hal_codec_config()
[all …]
Dcodec_status.h27 namespace codec {
Dclient_interface_unittest.cc55 using ::bluetooth::audio::codec::A2dpCodecToHalBitsPerSample;
56 using ::bluetooth::audio::codec::A2dpCodecToHalChannelMode;
57 using ::bluetooth::audio::codec::A2dpCodecToHalSampleRate;
58 using ::bluetooth::audio::codec::BitsPerSample;
59 using ::bluetooth::audio::codec::ChannelMode;
60 using ::bluetooth::audio::codec::CodecConfiguration;
61 using ::bluetooth::audio::codec::IsCodecOffloadingEnabled;
62 using ::bluetooth::audio::codec::UpdateOffloadingCapabilities;
/system/bt/bta/ag/
Dbta_ag_api.cc218 void BTA_AgSetCodec(uint16_t handle, tBTA_AG_PEER_CODEC codec) { in BTA_AgSetCodec() argument
220 data.api_setcodec.codec = codec; in BTA_AgSetCodec()
Dbta_ag_int.h146 tBTA_AG_PEER_CODEC codec; member
/system/bt/tools/scripts/
Ddump_hearingaid_audio.py146 codec, data = unpack_data(data, 1)
147 if codec == 0x01:
148 codec = "G722"
150 elif codec == 0x02:
151 codec = "G722"
154 codec = "Unknown"
156 update_audio_data(CONNECTION_HANDLE, result[CONNECTION_HANDLE], CODEC, codec)
537 codec.",
573 update_audio_data(PEER_ADDRESS, fake_name, CODEC, arg.codec)
584 update_audio_data(PEER_ADDRESS, fake_name, CODEC, arg.codec)
/system/bt/test/mock/
Dmock_bta_ag_api.cc64 void BTA_AgSetCodec(uint16_t handle, tBTA_AG_PEER_CODEC codec) { in BTA_AgSetCodec() argument
Dmock_btif_core.cc77 bt_status_t btif_set_dynamic_audio_buffer_size(int codec, int size) { in btif_set_dynamic_audio_buffer_size() argument
/system/bt/btif/include/
Dbtif_api.h391 bt_status_t btif_set_dynamic_audio_buffer_size(int codec, int size);
/system/bt/device/include/
Desco_parameters.h139 enh_esco_params_t esco_parameters_for_codec(esco_codec_t codec);
/system/bt/gd/rust/shim/
DCargo.toml36 grpcio = { version = "0.7", features = ["protobuf", "protobuf-codec", "openssl"] }
/system/bt/binder/android/bluetooth/
DIBluetoothA2dp.aidl90 boolean setBufferLengthMillis(int codec, int size, in AttributionSource attributionSource); in setBufferLengthMillis() argument
/system/bt/bta/hf_client/
Dbta_hf_client_at.cc455 uint32_t codec) { in bta_hf_client_handle_bcs() argument
456 APPL_TRACE_DEBUG("%s: codec: %u sco listen state: %d", __func__, codec, in bta_hf_client_handle_bcs()
458 if (codec == BTM_SCO_CODEC_CVSD || codec == BTM_SCO_CODEC_MSBC) { in bta_hf_client_handle_bcs()
459 client_cb->negotiated_codec = codec; in bta_hf_client_handle_bcs()
460 bta_hf_client_send_at_bcs(client_cb, codec); in bta_hf_client_handle_bcs()
1756 void bta_hf_client_send_at_bcs(tBTA_HF_CLIENT_CB* client_cb, uint32_t codec) { in bta_hf_client_send_at_bcs() argument
1762 at_len = snprintf(buf, sizeof(buf), "AT+BCS=%u\r", codec); in bta_hf_client_send_at_bcs()
Dbta_hf_client_int.h307 uint32_t codec);
/system/sepolicy/prebuilts/api/30.0/public/
Dcameraserver.te63 # Allow to talk with media codec
/system/sepolicy/public/
Dcameraserver.te65 # Allow to talk with media codec
/system/sepolicy/prebuilts/api/31.0/public/
Dcameraserver.te65 # Allow to talk with media codec
/system/sepolicy/prebuilts/api/29.0/public/
Dcameraserver.te63 # Allow to talk with media codec
/system/bt/bta/hearing_aid/
Dhearing_aid.cc988 CodecConfiguration codec; in StartSendingAudio() local
990 codec.sample_rate = 24000; in StartSendingAudio()
992 codec.sample_rate = 16000; in StartSendingAudio()
994 codec.bit_rate = 16; in StartSendingAudio()
995 codec.data_interval_ms = default_data_interval_ms; in StartSendingAudio()
1004 HearingAidAudioSource::Start(codec, audioReceiver, delay_report_ms); in StartSendingAudio()
/system/bt/stack/a2dp/
Da2dp_codec_config.cc980 for (auto codec : orderedSourceCodecs()) { in getCodecConfigAndCapabilities() local
981 codecs_capabilities.push_back(codec->getCodecLocalCapability()); in getCodecConfigAndCapabilities()
986 for (auto codec : orderedSourceCodecs()) { in getCodecConfigAndCapabilities() local
988 codec->getCodecSelectableCapability(); in getCodecConfigAndCapabilities()
/system/bt/bta/include/
Dbta_ag_api.h621 void BTA_AgSetCodec(uint16_t handle, tBTA_AG_PEER_CODEC codec);
/system/bt/btif/src/
Dbluetooth.cc574 static int set_dynamic_audio_buffer_size(int codec, int size) { in set_dynamic_audio_buffer_size() argument
575 return btif_set_dynamic_audio_buffer_size(codec, size); in set_dynamic_audio_buffer_size()
/system/bt/include/hardware/
Dbluetooth.h731 int (*set_dynamic_audio_buffer_size)(int codec, int size);
/system/bt/gd/proto/bluetooth/metrics/
Dbluetooth.proto169 // Audio codec used in this A2DP session in A2DP source role

12