Searched defs:a2dp (Results 1 - 11 of 11) sorted by relevance

/external/adhd/cras/src/server/
H A Dcras_a2dp_endpoint.c10 #include "a2dp-codecs.h"
23 /* Pointers for the only connected a2dp device. */
24 static struct a2dp { struct
203 syslog(LOG_WARNING, "Failed to create a2dp iodev");
H A Dcras_a2dp_info.c15 int init_a2dp(struct a2dp_info *a2dp, a2dp_sbc_t *sbc) argument
69 a2dp->codec = cras_sbc_codec_create(frequency, mode, subbands,
71 if (!a2dp->codec)
75 a2dp->codesize = cras_sbc_get_codesize(a2dp->codec);
76 a2dp->frame_length = cras_sbc_get_frame_length(a2dp->codec);
78 a2dp->a2dp_buf_used = sizeof(struct rtp_header)
80 a2dp->frame_count = 0;
81 a2dp
87 destroy_a2dp(struct a2dp_info *a2dp) argument
92 a2dp_codesize(struct a2dp_info *a2dp) argument
97 a2dp_block_size(struct a2dp_info *a2dp, int a2dp_bytes) argument
102 a2dp_queued_frames(const struct a2dp_info *a2dp) argument
107 a2dp_drain(struct a2dp_info *a2dp) argument
116 avdtp_write(int stream_fd, struct a2dp_info *a2dp) argument
150 a2dp_encode(struct a2dp_info *a2dp, const void *pcm_buf, int pcm_buf_size, int format_bytes, size_t link_mtu) argument
180 a2dp_write(struct a2dp_info *a2dp, int stream_fd, size_t link_mtu) argument
[all...]
H A Dcras_a2dp_iodev.c35 * a2dp - The codec and encoded state of a2dp_io.
37 * sock_depth_frames - Socket depth in frames of the a2dp socket.
41 * bt_written_frames - Accumulated frames written to a2dp socket. Used
48 struct a2dp_info a2dp; member in struct:a2dp_io
65 a2dp_sbc_t a2dp; local
67 cras_bt_transport_configuration(a2dpio->transport, &a2dp,
68 sizeof(a2dp));
71 channel = (a2dp.channel_mode == SBC_CHANNEL_MODE_MONO) ? 1 : 2;
73 if (a2dp.frequency & SBC_SAMPLING_FREQ_48000)
75 else if (a2dp
449 a2dp_sbc_t a2dp; local
[all...]
/external/adhd/cras/src/tests/
H A Da2dp_info_unittest.cc32 static struct a2dp_info a2dp; variable in typeref:struct:a2dp_info
61 a2dp.a2dp_buf_used = 0;
62 a2dp.frame_count = 0;
63 a2dp.samples = 0;
64 a2dp.nsamples = 0;
71 init_a2dp(&a2dp, &sbc);
81 ASSERT_NE(a2dp.codec, (void *)NULL);
82 ASSERT_EQ(a2dp.a2dp_buf_used, 13);
83 ASSERT_EQ(a2dp.frame_count, 0);
84 ASSERT_EQ(a2dp
[all...]
H A Da2dp_iodev_unittest.cc11 #include "a2dp-codecs.h"
259 /* Put 100 frames, proccessed 400 bytes to a2dp buffer.
260 * Assume 200 bytes written out, queued 50 frames in a2dp buffer.
489 int init_a2dp(struct a2dp_info *a2dp, a2dp_sbc_t *sbc) argument
495 void destroy_a2dp(struct a2dp_info *a2dp) argument
500 int a2dp_codesize(struct a2dp_info *a2dp) argument
505 int a2dp_block_size(struct a2dp_info *a2dp, int encoded_bytes) argument
509 // Assumes a2dp block size is 1:1 before/after encode.
513 int a2dp_queued_frames(struct a2dp_info *a2dp) argument
518 void a2dp_drain(struct a2dp_info *a2dp) argument
523 a2dp_encode(struct a2dp_info *a2dp, const void *pcm_buf, int pcm_buf_size, int format_bytes, size_t link_mtu) argument
535 a2dp_write(struct a2dp_info *a2dp, int stream_fd, size_t link_mtu) argument
[all...]
/external/robolectric/v3/runtime/
H A Dandroid-all-4.1.2_r1-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ...
H A Dandroid-all-4.2.2_r1.2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ...
H A Dandroid-all-4.3_r2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ...
H A Dandroid-all-4.4_r1-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ...
H A Dandroid-all-5.0.0_r2-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ...
H A Dandroid-all-5.1.1_r9-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ...

Completed in 179 milliseconds