/system/bt/build/secondary/third_party/aac/ |
D | BUILD.gn | 33 # "libAACdec/src/arm/block_arm.cpp", 34 # "libFDK/src/arm/autocorr2nd.cpp", 35 # "libFDK/src/arm/dct_arm.cpp", 36 # "libFDK/src/arm/fft_rad2_arm.cpp", 37 # "libFDK/src/arm/qmf_arm.cpp", 38 # "libFDK/src/arm/scale_arm.cpp", 39 # "libSBRdec/src/arm/env_calc_arm.cpp", 40 # "libSBRdec/src/arm/lpp_tran_arm.cpp", 41 # "libSYS/src/mips/genericStds_mips.cpp", 42 # "libFDK/src/mips/fft_rad2_mips.cpp", [all …]
|
/system/bt/btif/ |
D | BUILD.gn | 19 "//audio_a2dp_hw/src/audio_a2dp_hw_utils.cc", 20 "src/btif_a2dp.cc", 21 "src/btif_a2dp_control.cc", 22 "src/btif_a2dp_sink.cc", 23 "src/btif_a2dp_source.cc", 24 "src/btif_av.cc", 27 # "src/btif_avrcp_audio_track.cc", 28 "src/btif_ble_advertiser.cc", 29 "src/btif_ble_scanner.cc", 30 "src/btif_config.cc", [all …]
|
D | Android.bp | 34 "src/bluetooth.cc", 36 "src/btif_a2dp.cc", 37 "src/btif_a2dp_control.cc", 38 "src/btif_a2dp_sink.cc", 39 "src/btif_a2dp_source.cc", 40 "src/btif_av.cc", 41 "src/btif_avrcp_audio_track.cc", 42 "src/btif_ble_advertiser.cc", 43 "src/btif_ble_scanner.cc", 44 "src/btif_config.cc", [all …]
|
/system/media/audio_utils/ |
D | primitives.c | 35 void memcpy_to_i16_from_u8(int16_t *dst, const uint8_t *src, size_t count) in memcpy_to_i16_from_u8() argument 38 src += count; in memcpy_to_i16_from_u8() 40 *--dst = (int16_t)(*--src - 0x80) << 8; in memcpy_to_i16_from_u8() 44 void memcpy_to_u8_from_i16(uint8_t *dst, const int16_t *src, size_t count) in memcpy_to_u8_from_i16() argument 47 *dst++ = (*src++ >> 8) + 0x80; in memcpy_to_u8_from_i16() 51 void memcpy_to_u8_from_float(uint8_t *dst, const float *src, size_t count) in memcpy_to_u8_from_float() argument 54 *dst++ = clamp8_from_float(*src++); in memcpy_to_u8_from_float() 58 void memcpy_to_i16_from_i32(int16_t *dst, const int32_t *src, size_t count) in memcpy_to_i16_from_i32() argument 61 *dst++ = *src++ >> 16; in memcpy_to_i16_from_i32() 65 void memcpy_to_i16_from_float(int16_t *dst, const float *src, size_t count) in memcpy_to_i16_from_float() argument [all …]
|
D | format.c | 26 const void *src, audio_format_t src_format, size_t count) in memcpy_by_audio_format() argument 37 memcpy(dst, src, count * audio_bytes_per_sample(dst_format)); in memcpy_by_audio_format() 47 memcpy_to_i16_from_float((int16_t*)dst, (float*)src, count); in memcpy_by_audio_format() 50 memcpy_to_i16_from_u8((int16_t*)dst, (uint8_t*)src, count); in memcpy_by_audio_format() 53 memcpy_to_i16_from_p24((int16_t*)dst, (uint8_t*)src, count); in memcpy_by_audio_format() 56 memcpy_to_i16_from_i32((int16_t*)dst, (int32_t*)src, count); in memcpy_by_audio_format() 59 memcpy_to_i16_from_q8_23((int16_t*)dst, (int32_t*)src, count); in memcpy_by_audio_format() 68 memcpy_to_float_from_i16((float*)dst, (int16_t*)src, count); in memcpy_by_audio_format() 71 memcpy_to_float_from_u8((float*)dst, (uint8_t*)src, count); in memcpy_by_audio_format() 74 memcpy_to_float_from_p24((float*)dst, (uint8_t*)src, count); in memcpy_by_audio_format() [all …]
|
/system/bt/osi/ |
D | BUILD.gn | 19 "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/data_dispatcher.cc", 27 "src/fixed_queue.cc", 28 "src/future.cc", [all …]
|
D | Android.bp | 7 "system/bt/osi/src/protos", 44 srcs: ["src/protos/bluetooth.proto"], 60 "src/alarm.cc", 61 "src/allocation_tracker.cc", 62 "src/allocator.cc", 63 "src/array.cc", 64 "src/buffer.cc", 65 "src/compat.cc", 66 "src/config.cc", 67 "src/data_dispatcher.cc", [all …]
|
/system/core/libutils/ |
D | Unicode.cpp | 156 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 166 int32_t ret = utf32_at_internal(src + index, &num_read); in utf32_from_utf8_at() 174 ssize_t utf32_to_utf8_length(const char32_t *src, size_t src_len) in utf32_to_utf8_length() argument 176 if (src == NULL || src_len == 0) { in utf32_to_utf8_length() 181 const char32_t *end = src + src_len; in utf32_to_utf8_length() 182 while (src < end) { in utf32_to_utf8_length() 183 ret += utf32_codepoint_utf8_length(*src++); in utf32_to_utf8_length() 188 void utf32_to_utf8(const char32_t* src, size_t src_len, char* dst, size_t dst_len) in utf32_to_utf8() argument 190 if (src == NULL || src_len == 0 || dst == NULL) { in utf32_to_utf8() 194 const char32_t *cur_utf32 = src; in utf32_to_utf8() [all …]
|
/system/bt/vendor_libs/test_vendor_lib/ |
D | Android.bp | 7 "src/async_manager.cc", 8 "src/bt_address.cc", 9 "src/command_packet.cc", 10 "src/dual_mode_controller.cc", 11 "src/event_packet.cc", 12 "src/packet.cc", 13 "src/packet_stream.cc", 14 "src/test_channel_transport.cc", 46 "src/async_manager.cc", 47 "src/bt_address.cc", [all …]
|
/system/media/audio_utils/include/audio_utils/ |
D | primitives.h | 64 void memcpy_to_i16_from_u8(int16_t *dst, const uint8_t *src, size_t count); 77 void memcpy_to_u8_from_i16(uint8_t *dst, const int16_t *src, size_t count); 90 void memcpy_to_u8_from_float(uint8_t *dst, const float *src, size_t count); 103 void memcpy_to_i16_from_i32(int16_t *dst, const int32_t *src, size_t count); 118 void memcpy_to_i16_from_float(int16_t *dst, const float *src, size_t count); 133 void memcpy_to_float_from_q4_27(float *dst, const int32_t *src, size_t count); 146 void memcpy_to_float_from_i16(float *dst, const int16_t *src, size_t count); 159 void memcpy_to_float_from_u8(float *dst, const uint8_t *src, size_t count); 173 void memcpy_to_float_from_p24(float *dst, const uint8_t *src, size_t count); 187 void memcpy_to_i16_from_p24(int16_t *dst, const uint8_t *src, size_t count); [all …]
|
/system/core/libutils/include/utils/ |
D | Unicode.h | 54 ssize_t utf32_to_utf8_length(const char32_t *src, size_t src_len); 93 void utf32_to_utf8(const char32_t* src, size_t src_len, char* dst, size_t dst_len); 102 int32_t utf32_from_utf8_at(const char *src, size_t src_len, size_t index, size_t *next_index); 108 ssize_t utf16_to_utf8_length(const char16_t *src, size_t src_len); 115 void utf16_to_utf8(const char16_t* src, size_t src_len, char* dst, size_t dst_len); 133 ssize_t utf8_length(const char *src); 138 size_t utf8_to_utf32_length(const char *src, size_t src_len); 145 void utf8_to_utf32(const char* src, size_t src_len, char32_t* dst); 153 ssize_t utf8_to_utf16_length(const uint8_t* src, size_t srcLen, bool overreadIsFatal = false); 163 const uint8_t* src, size_t srcLen, char16_t* dst, size_t dstLen); [all …]
|
/system/core/libsysutils/ |
D | Android.bp | 6 "src/SocketListener.cpp", 7 "src/FrameworkListener.cpp", 8 "src/NetlinkListener.cpp", 9 "src/NetlinkEvent.cpp", 10 "src/FrameworkCommand.cpp", 11 "src/SocketClient.cpp", 12 "src/ServiceManager.cpp",
|
/system/nfc/ |
D | Android.bp | 1 subdirs = ["src"] 13 "src/adaptation/CrcChecksum.cpp", 14 "src/nfca_version.c", 26 "src/hal/include", 27 "src/hal/int", 28 "src/nfc/include", 29 "src/nfa/include", 30 "src/udrv/include", 31 "src/include",
|
/system/bt/hci/ |
D | Android.bp | 18 "src/btsnoop.cc", 19 "src/btsnoop_mem.cc", 20 "src/btsnoop_net.cc", 21 "src/buffer_allocator.cc", 22 "src/hci_inject.cc", 23 "src/hci_layer.cc", 24 "src/hci_layer_android.cc", 25 "src/hci_packet_factory.cc", 26 "src/hci_packet_parser.cc", 27 "src/packet_fragmenter.cc",
|
D | BUILD.gn | 19 "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/libunwindstack/tests/ |
D | MemoryRemoteTest.cpp | 69 std::vector<uint8_t> src(1024); in TEST_F() local 70 memset(src.data(), 0x4c, 1024); in TEST_F() 84 ASSERT_TRUE(remote.Read(reinterpret_cast<uint64_t>(src.data()), dst.data(), 1024)); in TEST_F() 96 void* src = mmap(nullptr, pagesize * 2, PROT_READ | PROT_WRITE, MAP_ANON | MAP_PRIVATE,-1, 0); in TEST_F() local 97 memset(src, 0x4c, pagesize * 2); in TEST_F() 98 ASSERT_NE(MAP_FAILED, src); in TEST_F() 100 ASSERT_EQ(0, munmap(reinterpret_cast<void*>(reinterpret_cast<uintptr_t>(src) + pagesize), in TEST_F() 115 ASSERT_TRUE(remote.Read(reinterpret_cast<uint64_t>(src), dst.data(), pagesize)); in TEST_F() 120 ASSERT_FALSE(remote.Read(reinterpret_cast<uint64_t>(src) + pagesize, dst.data(), 1)); in TEST_F() 121 ASSERT_TRUE(remote.Read(reinterpret_cast<uint64_t>(src) + pagesize - 1, dst.data(), 1)); in TEST_F() [all …]
|
D | MemoryRangeTest.cpp | 38 std::vector<uint8_t> src(1024); in TEST_F() local 39 memset(src.data(), 0x4c, 1024); in TEST_F() 40 memory_->SetMemory(9001, src); in TEST_F() 42 MemoryRange range(memory_, 9001, 9001 + src.size()); in TEST_F() 45 ASSERT_TRUE(range.Read(0, dst.data(), src.size())); in TEST_F() 52 std::vector<uint8_t> src(4096); in TEST_F() local 53 memset(src.data(), 0x4c, 4096); in TEST_F() 54 memory_->SetMemory(1000, src); in TEST_F()
|
D | MemoryLocalTest.cpp | 27 std::vector<uint8_t> src(1024); in TEST() local 28 memset(src.data(), 0x4c, 1024); in TEST() 33 ASSERT_TRUE(local.Read(reinterpret_cast<uint64_t>(src.data()), dst.data(), 1024)); in TEST() 34 ASSERT_EQ(0, memcmp(src.data(), dst.data(), 1024)); in TEST() 39 memset(src.data(), 0x23, 512); in TEST() 40 ASSERT_TRUE(local.Read(reinterpret_cast<uint64_t>(src.data()), dst.data(), 1024)); in TEST() 41 ASSERT_EQ(0, memcmp(src.data(), dst.data(), 1024)); in TEST()
|
/system/bt/osi/src/ |
D | compat.cc | 64 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/bt/btcore/ |
D | Android.bp | 9 "src/bdaddr.cc", 10 "src/device_class.cc", 11 "src/hal_util.cc", 12 "src/module.cc", 13 "src/osi_module.cc", 14 "src/property.cc", 15 "src/uuid.cc",
|
D | BUILD.gn | 19 "src/bdaddr.cc", 20 "src/device_class.cc", 21 "src/hal_util.cc", 22 "src/module.cc", 23 "src/property.cc", 24 "src/uuid.cc", 25 "src/osi_module.cc",
|
/system/media/camera/src/ |
D | camera_metadata.c | 224 const camera_metadata_t *src, in allocate_copy_camera_metadata_checked() argument 227 if (src == NULL) { in allocate_copy_camera_metadata_checked() 232 memcpy(buffer, src, src_size); in allocate_copy_camera_metadata_checked() 336 const camera_metadata_t *src) { in copy_camera_metadata() argument 337 size_t memory_needed = get_camera_metadata_compact_size(src); in copy_camera_metadata() 343 place_camera_metadata(dst, dst_size, src->entry_count, src->data_count); in copy_camera_metadata() 345 metadata->flags = src->flags; in copy_camera_metadata() 346 metadata->entry_count = src->entry_count; in copy_camera_metadata() 347 metadata->data_count = src->data_count; in copy_camera_metadata() 348 metadata->vendor_id = src->vendor_id; in copy_camera_metadata() [all …]
|
/system/bt/bta/pan/ |
D | bta_pan_ci.cc | 123 void bta_pan_ci_rx_write(uint16_t handle, BD_ADDR dst, BD_ADDR src, in bta_pan_ci_rx_write() argument 131 bdcpy(((tBTA_PAN_DATA_PARAMS*)p_buf)->src, src); in bta_pan_ci_rx_write() 160 void bta_pan_ci_rx_writebuf(uint16_t handle, BD_ADDR dst, BD_ADDR src, in bta_pan_ci_rx_writebuf() argument 163 bdcpy(((tBTA_PAN_DATA_PARAMS*)p_buf)->src, src); in bta_pan_ci_rx_writebuf() 183 BT_HDR* bta_pan_ci_readbuf(uint16_t handle, BD_ADDR src, BD_ADDR dst, in bta_pan_ci_readbuf() argument 192 bdcpy(src, ((tBTA_PAN_DATA_PARAMS*)p_buf)->src); in bta_pan_ci_readbuf() 241 UNUSED_ATTR BD_ADDR src, UNUSED_ATTR BD_ADDR dst, in bta_pan_ci_rx_writebuf() argument 245 BT_HDR* bta_pan_ci_readbuf(UNUSED_ATTR uint16_t handle, UNUSED_ATTR BD_ADDR src, in bta_pan_ci_readbuf() argument
|
/system/extras/memcpy-perf/ |
D | memcpy-perf.cpp | 25 void __attribute__((noinline)) memcpy_noinline(void *dst, void *src, size_t size); 27 uint64_t __attribute__((noinline)) sum(volatile void *src, size_t size); 95 unique_ptr<uint8_t[]> src(new uint8_t[size_end]); in main() local 97 memset(src.get(), 1, size_end); in main() 117 memcpy_noinline(src.get(), dst.get(), cur_size); in main() 139 memcpy_noinline(dst.get(), src.get(), cur_size); in main() 140 memcpy_noinline(src.get(), dst.get(), cur_size); in main() 145 memcpy_noinline(dst.get(), src.get(), cur_size); in main() 149 (dst.get(), src.get(), CACHE_HIT_SIZE); in main() 162 s += sum(src.get(), cur_size); in main() [all …]
|
/system/tools/aidl/ |
D | Android.mk | 38 tests/java_app/src/android/aidl/tests/NullableTests.java \ 39 tests/java_app/src/android/aidl/tests/SimpleParcelable.java \ 40 tests/java_app/src/android/aidl/tests/TestFailException.java \ 41 tests/java_app/src/android/aidl/tests/TestLogger.java \ 42 tests/java_app/src/android/aidl/tests/TestServiceClient.java
|