/packages/modules/NeuralNetworks/driver/cache/BlobCache/ |
D | BlobCache_test.cpp | 66 unsigned char buf[4] = {0xee, 0xee, 0xee, 0xee}; in TEST_P() local 76 unsigned char buf[2] = {0xee, 0xee}; in TEST_P() local 108 unsigned char buf[6] = {0xee, 0xee, 0xee, 0xee, 0xee, 0xee}; in TEST_P() local 120 unsigned char buf[3] = {0xee, 0xee, 0xee}; in TEST_P() local 129 unsigned char buf[3] = {0xee, 0xee, 0xee}; in TEST_P() local 149 unsigned char buf[4] = {0xee, 0xee, 0xee, 0xee}; in TEST_P() local 160 unsigned char buf[MAX_VALUE_SIZE + 1] = {0xee, 0xee, 0xee, 0xee}; in TEST_P() local 172 unsigned char buf[4] = {0xee, 0xee, 0xee, 0xee}; in TEST_P() local 202 unsigned char buf[MAX_VALUE_SIZE + 1]; in TEST_P() local 225 char buf[bufSize]; in TEST_P() local [all …]
|
/packages/modules/Bluetooth/system/osi/src/ |
D | buffer.cc | 50 buffer_t* buffer_new_ref(const buffer_t* buf) { in buffer_new_ref() 55 buffer_t* buffer_new_slice(const buffer_t* buf, size_t slice_size) { in buffer_new_slice() 84 void* buffer_ptr(const buffer_t* buf) { in buffer_ptr() 89 size_t buffer_length(const buffer_t* buf) { in buffer_length()
|
/packages/modules/NeuralNetworks/driver/cache/nnCache/ |
D | nnCache_test.cpp | 62 uint8_t buf[4] = {0xee, 0xee, 0xee, 0xee}; in TEST_P() local 72 uint8_t buf[4] = {0xee, 0xee, 0xee, 0xee}; in TEST_P() local 83 uint8_t buf[4] = {0xee, 0xee, 0xee, 0xee}; in TEST_P() local 126 unsigned char buf[MAX_VALUE_SIZE]; in TEST_P() local 192 uint8_t buf[10]; in yesStringBlob() local 208 uint8_t buf[10]; in noStringBlob() local 221 uint8_t buf[4] = {0xee, 0xee, 0xee, 0xee}; in TEST_P() local
|
/packages/modules/StatsD/tests/src/android/cts/statsd/atom/ |
D | BufferDebug.java | 43 public static String debugString(byte[] buf, int max) { in debugString() 63 private static String toHex(byte[] buf, int len, int max) { in toHex() 87 private static void writeRow(StringBuilder str, byte[] buf, int start, int len, int max) { in writeRow() 132 private static boolean isPrintable(byte[] buf, int len) { in isPrintable()
|
/packages/modules/Bluetooth/system/bta/hf_client/ |
D | bta_hf_client_at.cc | 123 tBTA_HF_CLIENT_AT_CMD cmd, const char* buf, in bta_hf_client_queue_at() 171 tBTA_HF_CLIENT_AT_CMD cmd, const char* buf, in bta_hf_client_send_at() 825 #define AT_CHECK_EVENT(buf, event) \ argument 833 #define AT_CHECK_RN(buf) \ argument 843 #define AT_SKIP_REST(buf) \ argument 1628 char* buf = client_cb->at_cb.buf; in bta_hf_client_at_parse_start() local 1699 void bta_hf_client_at_parse(tBTA_HF_CLIENT_CB* client_cb, char* buf, in bta_hf_client_at_parse() 1766 char buf[BTA_HF_CLIENT_AT_MAX_LEN]; in bta_hf_client_send_at_brsf() local 1781 const char* buf; in bta_hf_client_send_at_bac() local 1791 char buf[BTA_HF_CLIENT_AT_MAX_LEN]; in bta_hf_client_send_at_bcs() local [all …]
|
D | bta_hf_client_at.h | 38 char buf[BTA_HF_CLIENT_AT_MAX_LEN]; member 49 char buf[BTA_HF_CLIENT_AT_PARSER_MAX_LEN + member
|
/packages/modules/Connectivity/tests/cts/net/jni/ |
D | NativeDnsJni.c | 50 char buf[256]; in Java_android_net_cts_DnsTest_testNativeDns() local 83 char buf[256]; in Java_android_net_cts_DnsTest_testNativeDns() local 119 char buf[NI_MAXHOST]; in Java_android_net_cts_DnsTest_testNativeDns() local 160 char buf[256]; in Java_android_net_cts_DnsTest_testNativeDns() local
|
D | NativeMultinetworkJni.cpp | 84 int makeQuery(const char* name, int qtype, uint8_t* buf, size_t buflen) { in makeQuery() 88 int getAsyncResponse(JNIEnv* env, int fd, int timeoutMs, int* rcode, uint8_t* buf, size_t bufLen) { in getAsyncResponse() 104 int extractIpAddressAnswers(uint8_t* buf, size_t bufLen, int family) { in extractIpAddressAnswers() 145 uint8_t buf[MAXPACKET] = {}; in expectAnswersValid() local 161 uint8_t buf[MAXPACKET] = {}; in expectAnswersNotValid() local 248 uint8_t buf[MAXPACKET] = {}; in Java_android_net_cts_MultinetworkApiTest_runResNnxDomainCheck() local 303 uint8_t buf[10] = {}; in Java_android_net_cts_MultinetworkApiTest_runResNapiMalformedCheck() local 398 char buf[kSockaddrStrLen+1]; in sockaddr_ntop() local
|
/packages/modules/StatsD/statsd/tests/ |
D | LogEvent_test.cpp | 59 const uint8_t* buf = AStatsEvent_getBuffer(statsEvent, &size); in createFieldWithBoolAnnotationLogEvent() local 80 const uint8_t* buf = AStatsEvent_getBuffer(statsEvent, &size); in createFieldWithIntAnnotationLogEvent() local 102 const uint8_t* buf = AStatsEvent_getBuffer(statsEvent, &size); in createAtomLevelIntAnnotationLogEvent() local 124 const uint8_t* buf = AStatsEvent_getBuffer(statsEvent, &size); in createAtomLevelBoolAnnotationLogEvent() local 177 bool ParseBuffer(LogEvent& logEvent, const uint8_t* buf, size_t size) { in ParseBuffer() 212 const uint8_t* buf = AStatsEvent_getBuffer(event, &size); in TEST_P() local 262 const uint8_t* buf = AStatsEvent_getBuffer(event, &size); in TEST_P() local 288 const uint8_t* buf = AStatsEvent_getBuffer(event, &size); in TEST() local 313 const uint8_t* buf = AStatsEvent_getBuffer(event, &size); in TEST_P() local 350 const uint8_t* buf = AStatsEvent_getBuffer(event, &size); in TEST_P() local [all …]
|
/packages/modules/adb/ |
D | adb_io_test.cpp | 54 char buf[sizeof(expected)] = {}; in POSIX_TEST() local 68 char buf[sizeof(expected) + 1] = {}; in POSIX_TEST() local 82 char buf[sizeof(input) - 1] = {}; in POSIX_TEST() local 106 const char buf[] = "Foobar"; in POSIX_TEST() local 126 char buf[] = "foo"; in POSIX_TEST() local
|
D | adb_io.cpp | 51 char buf[5]; in ReadProtocolString() local 76 bool ReadFdExactly(borrowed_fd fd, void* buf, size_t len) { in ReadFdExactly() 103 bool WriteFdExactly(borrowed_fd fd, const void* buf, size_t len) { in WriteFdExactly() 152 char buf[16]; in ReadOrderlyShutdown() local
|
/packages/modules/Connectivity/Tethering/tests/integration/base/android/net/ |
D | TetheringTester.java | 225 ByteBuffer buf = ByteBuffer.wrap(packet); in maybeReplyArp() local 275 ByteBuffer buf = ByteBuffer.wrap(packet); in getRaPrefixOptions() local 340 ByteBuffer buf = ByteBuffer.wrap(packet); in maybeReplyNa() local 372 final ByteBuffer buf = ByteBuffer.wrap(packet); in isExpectedIcmpPacket() local 376 private static boolean isExpectedIcmpPacket(ByteBuffer buf, boolean hasEth, boolean isIpv4, in isExpectedIcmpPacket() 396 private static boolean hasExpectedEtherHeader(@NonNull final ByteBuffer buf, boolean isIpv4) in hasExpectedEtherHeader() 403 private static boolean hasExpectedIpHeader(@NonNull final ByteBuffer buf, boolean isIpv4, in hasExpectedIpHeader() 414 final ByteBuffer buf = ByteBuffer.wrap(rawPacket); in isExpectedUdpPacket() local 433 private static byte[] getRemaining(final ByteBuffer buf) { in getRemaining()
|
/packages/modules/Connectivity/tests/cts/net/native/dns/ |
D | NativeDnsAsyncTest.cpp | 38 int getAsyncResponse(int fd, int timeoutMs, int* rcode, uint8_t* buf, size_t bufLen) { in getAsyncResponse() 58 std::vector<std::string> extractIpAddressAnswers(uint8_t* buf, size_t bufLen, int ipType) { in extractIpAddressAnswers() 81 uint8_t buf[MAXPACKET] = {}; in expectAnswersValid() local 98 uint8_t buf[MAXPACKET] = {}; in expectAnswersNotValid() local 169 uint8_t buf[MAXPACKET] = {}; in TEST_F() local 228 uint8_t buf[10] = {}; in TEST_F() local
|
/packages/modules/Bluetooth/system/btif/src/ |
D | btif_sock_util.cc | 50 int sock_send_all(int sock_fd, const uint8_t* buf, int len) { in sock_send_all() 65 int sock_recv_all(int sock_fd, uint8_t* buf, int len) { in sock_recv_all() 81 int sock_send_fd(int sock_fd, const uint8_t* buf, int len, int send_fd) { in sock_send_fd()
|
/packages/modules/Virtualization/microdroid/payload/metadata/src/ |
D | lib.rs | 32 let mut buf = [0u8; 4]; in read_metadata() localVariable 40 let mut buf = Vec::new(); in write_metadata() localVariable
|
/packages/modules/Bluetooth/system/osi/test/fuzzers/list/ |
D | fuzz_list.cc | 153 void* buf = generateBuffer(dataProvider, MAX_BUF_SIZE, false); in callArbitraryFunction() local 164 void* buf = generateBuffer(dataProvider, MAX_BUF_SIZE, false); in callArbitraryFunction() local 174 void* buf = generateBuffer(dataProvider, MAX_BUF_SIZE, false); in callArbitraryFunction() local 185 void* buf = getArbitraryElement(alloc_vector, dataProvider); in callArbitraryFunction() local
|
/packages/modules/DnsResolver/ |
D | gethnamaddr.cpp | 92 uint8_t buf[MAXPACKET]; member 114 char* buf, size_t buflen, int* he) { in getanswer() 370 int resolv_gethostbyname(const char* name, int af, hostent* hp, char* buf, size_t buflen, in resolv_gethostbyname() 461 int resolv_gethostbyaddr(const void* _Nonnull addr, socklen_t len, int af, hostent* hp, char* buf, in resolv_gethostbyaddr() 512 struct hostent* netbsd_gethostent_r(FILE* hf, struct hostent* hent, char* buf, size_t buflen, in netbsd_gethostent_r() 633 auto buf = std::make_unique<querybuf>(); in dns_gethtbyname() local 694 auto buf = std::make_unique<querybuf>(); in dns_gethtbyaddr() local
|
D | res_mkquery.cpp | 104 std::span<uint8_t> buf, // buffer to put query in res_nmkquery() 193 std::span<uint8_t> buf, /* buffer to put query */ in res_nopt()
|
/packages/modules/Bluetooth/system/test/mock/ |
D | mock_osi_socket.cc | 80 ssize_t socket_read(const socket_t* socket, void* buf, size_t count) { in socket_read() 94 ssize_t socket_write(const socket_t* socket, const void* buf, size_t count) { in socket_write() 98 ssize_t socket_write_and_transfer_fd(const socket_t* socket, const void* buf, in socket_write_and_transfer_fd()
|
/packages/modules/Bluetooth/system/tools/bdtool/ |
D | adapter.c | 88 char buf[18]; in bond_state_changed() local 145 char buf[18]; in remote_device_properties() local 179 char buf[18]; in ssp_request() local 202 char buf[18]; in parse_properties() local
|
/packages/modules/Connectivity/Tethering/tests/privileged/src/android/net/ip/ |
D | DadProxyTest.java | 154 final ByteBuffer buf = ByteBuffer.allocate(icmpLen + IPV6_HEADER_LEN + ETH_HEADER_LEN); in createDadPacket() local 233 private ByteBuffer copy(ByteBuffer buf) { in copy() 239 private void updateDstMac(ByteBuffer buf, MacAddress mac) { in updateDstMac() 243 private void updateSrcMac(ByteBuffer buf, InterfaceParams ifaceParams) { in updateSrcMac()
|
/packages/modules/Bluetooth/system/types/test/ |
D | ble_address_with_type_unittest.cc | 62 uint8_t buf[256] = {0x00, 0x01, 0x02, 0x03}; in TEST() local 101 uint8_t buf[256] = {0}; in TEST() local
|
/packages/modules/Bluetooth/android/pandora/server/src/com/android/pandora/ |
D | L2cap.kt | 56 val buf = ByteArray(BUFFER_SIZE) in receive() constant 170 val buf = receive(inputStream) in receiveData() constant
|
/packages/modules/Virtualization/authfs/src/fsverity/ |
D | verifier.rs | 131 let mut buf = [0u8; CHUNK_SIZE as usize]; in new() localVariable 245 let mut buf = [0u8; 4096]; in fsverity_verify_full_read_4k() localVariable 257 let mut buf = [0u8; 4096]; in fsverity_verify_full_read_4k1() localVariable 269 let mut buf = [0u8; 4096]; in fsverity_verify_full_read_4m() localVariable 284 let mut buf = [0u8; 4096]; in fsverity_verify_bad_merkle_tree() localVariable
|
/packages/modules/ExtServices/jni/ |
D | android_ext_services_displayhash_ImageHashManager.cpp | 35 int lock(uint8_t** buf) { in lock() 79 uint8_t* buf = nullptr; in nativeGenerateHash() local
|