Searched refs:a2dp (Results 1 – 11 of 11) sorted by relevance
/external/adhd/cras/src/server/ |
D | cras_a2dp_info.c | 15 int init_a2dp(struct a2dp_info *a2dp, a2dp_sbc_t *sbc) in init_a2dp() argument 69 a2dp->codec = cras_sbc_codec_create(frequency, mode, subbands, in init_a2dp() 71 if (!a2dp->codec) in init_a2dp() 75 a2dp->codesize = cras_sbc_get_codesize(a2dp->codec); in init_a2dp() 76 a2dp->frame_length = cras_sbc_get_frame_length(a2dp->codec); in init_a2dp() 78 a2dp->a2dp_buf_used = in init_a2dp() 80 a2dp->frame_count = 0; in init_a2dp() 81 a2dp->seq_num = 0; in init_a2dp() 82 a2dp->samples = 0; in init_a2dp() 87 void destroy_a2dp(struct a2dp_info *a2dp) in destroy_a2dp() argument [all …]
|
D | cras_a2dp_info.h | 40 int init_a2dp(struct a2dp_info *a2dp, a2dp_sbc_t *sbc); 45 void destroy_a2dp(struct a2dp_info *a2dp); 50 int a2dp_codesize(struct a2dp_info *a2dp); 55 int a2dp_block_size(struct a2dp_info *a2dp, int encoded_bytes); 60 int a2dp_queued_frames(const struct a2dp_info *a2dp); 65 void a2dp_reset(struct a2dp_info *a2dp); 77 int a2dp_encode(struct a2dp_info *a2dp, const void *pcm_buf, int pcm_buf_size, 87 int a2dp_write(struct a2dp_info *a2dp, int stream_fd, size_t link_mtu);
|
D | cras_a2dp_iodev.c | 58 struct a2dp_info a2dp; member 75 a2dp_sbc_t a2dp; in update_supported_formats() local 77 cras_bt_transport_configuration(a2dpio->transport, &a2dp, sizeof(a2dp)); in update_supported_formats() 79 channel = (a2dp.channel_mode == SBC_CHANNEL_MODE_MONO) ? 1 : 2; in update_supported_formats() 81 if (a2dp.frequency & SBC_SAMPLING_FREQ_48000) in update_supported_formats() 83 else if (a2dp.frequency & SBC_SAMPLING_FREQ_44100) in update_supported_formats() 85 else if (a2dp.frequency & SBC_SAMPLING_FREQ_32000) in update_supported_formats() 87 else if (a2dp.frequency & SBC_SAMPLING_FREQ_16000) in update_supported_formats() 112 return a2dp_queued_frames(&a2dpio->a2dp) + in bt_local_queued_frames() 236 &a2dpio->a2dp, buf_read_pointer(a2dpio->pcm_buf), in encode_a2dp_packet() [all …]
|
D | cras_a2dp_endpoint.c | 24 static struct a2dp { struct
|
/external/adhd/cras/src/tests/ |
D | a2dp_info_unittest.cc | 20 static struct a2dp_info a2dp; variable 35 a2dp.a2dp_buf_used = 0; in ResetStubData() 36 a2dp.frame_count = 0; in ResetStubData() 37 a2dp.samples = 0; in ResetStubData() 38 a2dp.nsamples = 0; in ResetStubData() 45 init_a2dp(&a2dp, &sbc); in TEST() 55 ASSERT_NE(a2dp.codec, (void*)NULL); in TEST() 56 ASSERT_EQ(a2dp.a2dp_buf_used, 13); in TEST() 57 ASSERT_EQ(a2dp.frame_count, 0); in TEST() 58 ASSERT_EQ(a2dp.seq_num, 0); in TEST() [all …]
|
D | a2dp_iodev_unittest.cc | 237 EXPECT_EQ(768, a2dpio->a2dp.samples); in TEST_F() 249 EXPECT_EQ(768, a2dpio->a2dp.samples); in TEST_F() 836 int init_a2dp(struct a2dp_info* a2dp, a2dp_sbc_t* sbc) { in init_a2dp() argument 838 memset(a2dp, 0, sizeof(*a2dp)); in init_a2dp() 839 a2dp->frame_length = FAKE_A2DP_FRAME_LENGTH; in init_a2dp() 840 a2dp->codesize = FAKE_A2DP_CODE_SIZE; in init_a2dp() 844 void destroy_a2dp(struct a2dp_info* a2dp) { in destroy_a2dp() argument 848 int a2dp_codesize(struct a2dp_info* a2dp) { in a2dp_codesize() argument 849 return a2dp->codesize; in a2dp_codesize() 852 int a2dp_block_size(struct a2dp_info* a2dp, int encoded_bytes) { in a2dp_block_size() argument [all …]
|
/external/autotest/server/site_tests/audio_AudioArtifacts/ |
D | control.a2dp | 10 NAME = "audio_AudioArtifacts.a2dp" 30 job.run_test("audio_AudioArtifacts", host=host, tag="a2dp",
|
/external/cpuinfo/test/build.prop/ |
D | lg-optimus-g-pro.log | 145 # System prop to disable a2dp sink which is enabled by default 146 bluetooth.a2dp.sink.enabled=false
|
D | galaxy-s8-us.log | 257 fm.a2dp.conc.disabled=false
|
/external/cpuinfo/test/dmesg/ |
D | galaxy-a8-2016-duos.log | 2036 …/u16:3: 44] msm8x16-asoc-wcd sound.70: msm-stub-rx <-> qcom,msm-dai-q6-bt-a2dp-rx.153 mapping ok
|
D | galaxy-j5.log | 1973 …r/u8:2: 43] msm8x16-asoc-wcd sound.29: msm-stub-rx <-> qcom,msm-dai-q6-bt-a2dp-rx.150 mapping ok
|