Home
last modified time | relevance | path

Searched refs:src (Results 1 – 25 of 275) sorted by relevance

1234567891011

/system/bt/build/secondary/third_party/aac/
DBUILD.gn37 # "libAACdec/src/arm/block_arm.cpp",
38 # "libFDK/src/arm/dct_arm.cpp",
39 # "libFDK/src/arm/fft_rad2_arm.cpp",
40 # "libFDK/src/arm/scale_arm.cpp",
41 # "libSBRdec/src/arm/lpp_tran_arm.cpp",
42 # "libFDK/src/mips/fft_rad2_mips.cpp",
43 # "libFDK/src/mips/mips_fft_twiddles.cpp",
44 # "libFDK/src/mips/scale_mips.cpp",
48 "libAACdec/src/aacdec_drc.cpp",
49 "libAACdec/src/aacdec_hcr_bit.cpp",
[all …]
/system/bt/btif/
DBUILD.gn19 "//audio_a2dp_hw/src/audio_a2dp_hw_utils.cc",
20 "//audio_hearing_aid_hw/src/audio_hearing_aid_hw_utils.cc",
21 "src/btif_a2dp.cc",
22 "src/btif_a2dp_audio_interface_linux.cc",
23 "src/btif_a2dp_control.cc",
24 "src/btif_a2dp_sink.cc",
25 "src/btif_a2dp_source.cc",
26 "src/btif_av.cc",
30 # "src/btif_avrcp_audio_track.cc",
31 "src/btif_avrcp_audio_track_linux.cc",
[all …]
DAndroid.bp45 "src/bluetooth.cc",
47 "src/btif_a2dp.cc",
48 "src/btif_a2dp_audio_interface.cc",
49 "src/btif_a2dp_control.cc",
50 "src/btif_a2dp_sink.cc",
51 "src/btif_a2dp_source.cc",
52 "src/btif_av.cc",
53 "src/btif_avrcp_audio_track.cc",
54 "src/btif_ble_advertiser.cc",
55 "src/btif_ble_scanner.cc",
[all …]
/system/media/audio_utils/
Dprimitives.c30 void memcpy_to_i16_from_q4_27(int16_t *dst, const int32_t *src, size_t count) in memcpy_to_i16_from_q4_27() argument
33 *dst++ = clamp16(*src++ >> 12); in memcpy_to_i16_from_q4_27()
37 void memcpy_to_i16_from_u8(int16_t *dst, const uint8_t *src, size_t count) in memcpy_to_i16_from_u8() argument
40 src += count; in memcpy_to_i16_from_u8()
42 *--dst = (int16_t)(*--src - 0x80) << 8; in memcpy_to_i16_from_u8()
46 void memcpy_to_u8_from_i16(uint8_t *dst, const int16_t *src, size_t count) in memcpy_to_u8_from_i16() argument
49 *dst++ = (*src++ >> 8) + 0x80; in memcpy_to_u8_from_i16()
53 void memcpy_to_u8_from_p24(uint8_t *dst, const uint8_t *src, size_t count) in memcpy_to_u8_from_p24() argument
57 *dst++ = src[0] + 0x80; in memcpy_to_u8_from_p24()
59 *dst++ = src[2] + 0x80; in memcpy_to_u8_from_p24()
[all …]
Dformat.c22 const void *src, audio_format_t src_format, size_t count) in memcpy_by_audio_format() argument
33 if (dst != src) { in memcpy_by_audio_format()
35 memcpy(dst, src, count * audio_bytes_per_sample(dst_format)); in memcpy_by_audio_format()
46 memcpy_to_i16_from_float((int16_t*)dst, (float*)src, count); in memcpy_by_audio_format()
49 memcpy_to_i16_from_u8((int16_t*)dst, (uint8_t*)src, count); in memcpy_by_audio_format()
52 memcpy_to_i16_from_p24((int16_t*)dst, (uint8_t*)src, count); in memcpy_by_audio_format()
55 memcpy_to_i16_from_i32((int16_t*)dst, (int32_t*)src, count); in memcpy_by_audio_format()
58 memcpy_to_i16_from_q8_23((int16_t*)dst, (int32_t*)src, count); in memcpy_by_audio_format()
67 memcpy_to_float_from_i16((float*)dst, (int16_t*)src, count); in memcpy_by_audio_format()
70 memcpy_to_float_from_u8((float*)dst, (uint8_t*)src, count); in memcpy_by_audio_format()
[all …]
/system/core/code_coverage/
DAndroid.bp8 src: "empty_policy/code_coverage.arm.policy",
11 src: "seccomp_policy/code_coverage.arm.policy",
16 src: "empty_policy/code_coverage.arm64.policy",
19 src: "seccomp_policy/code_coverage.arm64.policy",
24 src: "empty_policy/code_coverage.x86.policy",
27 src: "seccomp_policy/code_coverage.x86.policy",
32 src: "empty_policy/code_coverage.x86_64.policy",
35 src: "seccomp_policy/code_coverage.x86_64.policy",
51 src: "empty_policy/code_coverage.arm64.policy",
54 src: "seccomp_policy/code_coverage.arm64.policy",
[all …]
/system/bt/osi/
DBUILD.gn19 "src/alarm.cc",
20 "src/allocation_tracker.cc",
21 "src/allocator.cc",
22 "src/array.cc",
23 "src/buffer.cc",
24 "src/compat.cc",
25 "src/config.cc",
26 "src/fixed_queue.cc",
27 "src/future.cc",
28 "src/hash_map_utils.cc",
[all …]
DAndroid.bp46 "src/alarm.cc",
47 "src/allocation_tracker.cc",
48 "src/allocator.cc",
49 "src/array.cc",
50 "src/buffer.cc",
51 "src/compat.cc",
52 "src/config.cc",
53 "src/fixed_queue.cc",
54 "src/future.cc",
55 "src/hash_map_utils.cc",
[all …]
/system/core/libutils/
DUnicode.cpp160 int32_t utf32_from_utf8_at(const char *src, size_t src_len, size_t index, size_t *next_index) in utf32_from_utf8_at() argument
170 int32_t ret = utf32_at_internal(src + index, &num_read); in utf32_from_utf8_at()
178 ssize_t utf32_to_utf8_length(const char32_t *src, size_t src_len) in utf32_to_utf8_length() argument
180 if (src == nullptr || src_len == 0) { in utf32_to_utf8_length()
185 const char32_t *end = src + src_len; in utf32_to_utf8_length()
186 while (src < end) { in utf32_to_utf8_length()
187 size_t char_len = utf32_codepoint_utf8_length(*src++); in utf32_to_utf8_length()
200 void utf32_to_utf8(const char32_t* src, size_t src_len, char* dst, size_t dst_len) in utf32_to_utf8() argument
202 if (src == nullptr || src_len == 0 || dst == nullptr) { in utf32_to_utf8()
206 const char32_t *cur_utf32 = src; in utf32_to_utf8()
[all …]
/system/media/audio_utils/include/audio_utils/
Dprimitives.h68 void memcpy_to_i16_from_q4_27(int16_t *dst, const int32_t *src, size_t count);
80 void memcpy_to_i16_from_u8(int16_t *dst, const uint8_t *src, size_t count);
93 void memcpy_to_u8_from_i16(uint8_t *dst, const int16_t *src, size_t count);
106 void memcpy_to_u8_from_float(uint8_t *dst, const float *src, size_t count);
119 void memcpy_to_u8_from_p24(uint8_t *dst, const uint8_t *src, size_t count);
132 void memcpy_to_u8_from_i32(uint8_t *dst, const int32_t *src, size_t count);
145 void memcpy_to_u8_from_q8_23(uint8_t *dst, const int32_t *src, size_t count);
158 void memcpy_to_i16_from_i32(int16_t *dst, const int32_t *src, size_t count);
173 void memcpy_to_i16_from_float(int16_t *dst, const float *src, size_t count);
188 void memcpy_to_float_from_q4_27(float *dst, const int32_t *src, size_t count);
[all …]
Dstring.h24 inline size_t audio_utils_strlcpy_zerofill(char *dst, const char *src, size_t dst_size) { in audio_utils_strlcpy_zerofill() argument
25 const size_t srclen = strlcpy(dst, src, dst_size); in audio_utils_strlcpy_zerofill()
38 inline size_t audio_utils_strlcpy_zerofill(char (&dst)[size], const char *src) { in audio_utils_strlcpy_zerofill() argument
39 return audio_utils_strlcpy_zerofill(dst, src, size); in audio_utils_strlcpy_zerofill()
44 inline size_t audio_utils_strlcpy(char (&dst)[size], const char *src) { in audio_utils_strlcpy() argument
45 return strlcpy(dst, src, size); in audio_utils_strlcpy()
/system/teeui/libteeui/
DAndroid.bp6 "src/button.cpp",
7 "src/font_rendering.cpp",
8 "src/label.cpp",
9 "src/utils.cpp",
25 "src/evdev.cpp",
26 "src/generic_messages.cpp",
27 "src/msg_formatting.cpp",
28 "src/utils.cpp",
29 "src/weak_secure_input_device.cpp",
/system/media/audio_utils/benchmarks/
Dprimitives_benchmark.cpp30 std::vector<float> src(count); in BM_MemcpyToFloatFromFloatWithClamping() local
38 src[i] = dis(gen); in BM_MemcpyToFloatFromFloatWithClamping()
39 expected[i] = fmin(absMax, fmax(-absMax, src[i])); in BM_MemcpyToFloatFromFloatWithClamping()
44 benchmark::DoNotOptimize(src.data()); in BM_MemcpyToFloatFromFloatWithClamping()
46 memcpy_to_float_from_float_with_clamping(dst.data(), src.data(), count, 1.413); in BM_MemcpyToFloatFromFloatWithClamping()
61 std::vector<float> src(count); in BM_MemcpyFloat() local
68 src[i] = dis(gen); in BM_MemcpyFloat()
73 benchmark::DoNotOptimize(src.data()); in BM_MemcpyFloat()
75 memcpy(dst.data(), src.data(), count * sizeof(float)); in BM_MemcpyFloat()
79 if (src != dst) { in BM_MemcpyFloat()
[all …]
/system/core/libsysutils/
DAndroid.bp9 "src/SocketListener.cpp",
10 "src/FrameworkListener.cpp",
11 "src/NetlinkListener.cpp",
12 "src/NetlinkEvent.cpp",
13 "src/FrameworkCommand.cpp",
14 "src/SocketClient.cpp",
15 "src/ServiceManager.cpp",
53 "src/SocketListener_test.cpp",
/system/core/libutils/include/utils/
DUnicode.h50 ssize_t utf32_to_utf8_length(const char32_t *src, size_t src_len);
89 void utf32_to_utf8(const char32_t* src, size_t src_len, char* dst, size_t dst_len);
98 int32_t utf32_from_utf8_at(const char *src, size_t src_len, size_t index, size_t *next_index);
104 ssize_t utf16_to_utf8_length(const char16_t *src, size_t src_len);
111 void utf16_to_utf8(const char16_t* src, size_t src_len, char* dst, size_t dst_len);
129 ssize_t utf8_length(const char *src);
137 ssize_t utf8_to_utf16_length(const uint8_t* src, size_t srcLen, bool overreadIsFatal = false);
147 const uint8_t* src, size_t srcLen, char16_t* dst, size_t dstLen);
158 const uint8_t* src, size_t srcLen, char16_t* dst, size_t dstLen);
/system/bt/hci/
DAndroid.bp17 "src/btsnoop.cc",
18 "src/btsnoop_mem.cc",
19 "src/btsnoop_net.cc",
20 "src/buffer_allocator.cc",
21 "src/hci_inject.cc",
22 "src/hci_layer.cc",
23 "src/hci_layer_android.cc",
24 "src/hci_packet_factory.cc",
25 "src/hci_packet_parser.cc",
26 "src/packet_fragmenter.cc",
DBUILD.gn19 "src/btsnoop.cc",
20 "src/btsnoop_mem.cc",
21 "src/btsnoop_net.cc",
22 "src/buffer_allocator.cc",
23 "src/hci_inject.cc",
24 "src/hci_layer.cc",
25 "src/hci_layer_linux.cc",
26 "src/hci_packet_factory.cc",
27 "src/hci_packet_parser.cc",
28 "src/packet_fragmenter.cc",
/system/core/storaged/
Dstoraged_diskstats.cpp110 void convert_hal_disk_stats(struct disk_stats* dst, const DiskStats& src) { in convert_hal_disk_stats() argument
111 dst->read_ios = src.reads; in convert_hal_disk_stats()
112 dst->read_merges = src.readMerges; in convert_hal_disk_stats()
113 dst->read_sectors = src.readSectors; in convert_hal_disk_stats()
114 dst->read_ticks = src.readTicks; in convert_hal_disk_stats()
115 dst->write_ios = src.writes; in convert_hal_disk_stats()
116 dst->write_merges = src.writeMerges; in convert_hal_disk_stats()
117 dst->write_sectors = src.writeSectors; in convert_hal_disk_stats()
118 dst->write_ticks = src.writeTicks; in convert_hal_disk_stats()
119 dst->io_in_flight = src.ioInFlight; in convert_hal_disk_stats()
[all …]
/system/bt/osi/src/
Dcompat.cc64 size_t strlcpy(char* dst, const char* src, size_t siz) { in strlcpy() argument
66 const char* s = src; in strlcpy()
83 return (s - src - 1); /* count does not include NUL */ in strlcpy()
95 size_t strlcat(char* dst, const char* src, size_t siz) { in strlcat() argument
97 const char* s = src; in strlcat()
119 return (dlen + (s - src)); /* count does not include NUL */ in strlcat()
/system/media/tests/
Dsystemaudio_tests.cpp43 const audio_port_config src = { in TEST() local
46 ASSERT_TRUE(audio_patch_is_valid((PatchBuilder{}).addSource(src).patch())); in TEST()
49 ASSERT_TRUE(audio_patch_is_valid((PatchBuilder{}).addSource(src).addSink(sink).patch())); in TEST()
51 (PatchBuilder{}).addSource(src).addSource(src).addSink(sink).patch())); in TEST()
53 (PatchBuilder{}).addSource(src).addSink(sink).addSink(sink).patch())); in TEST()
55 (PatchBuilder{}).addSource(src).addSource(src). in TEST()
97 const audio_port_config src = { in TEST() local
102 (PatchBuilder{}).addSource(src).patch(), in TEST()
103 (PatchBuilder{}).addSource(src).addSink(sink).patch())); in TEST()
105 (PatchBuilder{}).addSource(src).addSink(sink).patch(), in TEST()
[all …]
/system/bt/gd/hci/
Daddress_pybind11_type_caster.h40 bool load(handle src, bool) {
41 PyObject* source = src.ptr();
42 if (py::isinstance<py::str>(src)) {
50 static handle cast(bluetooth::hci::Address src, return_value_policy, handle) {
51 return PyUnicode_FromString(src.ToString().c_str());
Dclass_of_device_pybind11_type_caster.h40 bool load(handle src, bool) {
41 PyObject* source = src.ptr();
42 if (py::isinstance<py::str>(src)) {
50 static handle cast(bluetooth::hci::ClassOfDevice src, return_value_policy, handle) {
51 return PyUnicode_FromString(src.ToString().c_str());
/system/bt/bta/pan/
Dbta_pan_ci.cc124 const RawAddress& src, uint16_t protocol, in bta_pan_ci_rx_write() argument
131 ((tBTA_PAN_DATA_PARAMS*)p_buf)->src = src; in bta_pan_ci_rx_write()
161 const RawAddress& src, uint16_t protocol, in bta_pan_ci_rx_writebuf() argument
164 ((tBTA_PAN_DATA_PARAMS*)p_buf)->src = src; in bta_pan_ci_rx_writebuf()
184 BT_HDR* bta_pan_ci_readbuf(uint16_t handle, RawAddress& src, RawAddress& dst, in bta_pan_ci_readbuf() argument
193 src = ((tBTA_PAN_DATA_PARAMS*)p_buf)->src; in bta_pan_ci_readbuf()
242 UNUSED_ATTR const RawAddress& src, in bta_pan_ci_rx_writebuf() argument
248 UNUSED_ATTR RawAddress& src, in bta_pan_ci_readbuf() argument
/system/media/camera/src/
Dcamera_metadata.c224 const camera_metadata_t *src, in allocate_copy_camera_metadata_checked() argument
227 if (src == NULL) { in allocate_copy_camera_metadata_checked()
238 memcpy(buffer, src, src_size); in allocate_copy_camera_metadata_checked()
346 const camera_metadata_t *src) { in copy_camera_metadata() argument
347 size_t memory_needed = get_camera_metadata_compact_size(src); in copy_camera_metadata()
357 place_camera_metadata(dst, dst_size, src->entry_count, src->data_count); in copy_camera_metadata()
359 metadata->flags = src->flags; in copy_camera_metadata()
360 metadata->entry_count = src->entry_count; in copy_camera_metadata()
361 metadata->data_count = src->data_count; in copy_camera_metadata()
362 metadata->vendor_id = src->vendor_id; in copy_camera_metadata()
[all …]
/system/core/libpixelflinger/tests/arch-arm64/col32cb16blend/
Dcol32cb16blend_test.c63 void scanline_col32cb16blend_arm64(uint16_t *dst, int32_t src, size_t count);
64 void scanline_col32cb16blend_c(uint16_t * dst, int32_t src, size_t count) in scanline_col32cb16blend_c() argument
66 int srcAlpha = (src>>24); in scanline_col32cb16blend_c()
74 int srcR = (src >> ( 3))&0x1F; in scanline_col32cb16blend_c()
75 int srcG = (src >> ( 8+2))&0x3F; in scanline_col32cb16blend_c()
76 int srcB = (src >> (16+3))&0x1F; in scanline_col32cb16blend_c()

1234567891011