/system/bt/packet/base/ |
D | iterator.h | 61 FixedWidthIntegerType extract() { in extract() function 90 uint8_t extract8() { return extract<uint8_t>(); } in extract8() 91 uint16_t extract16() { return extract<uint16_t>(); } in extract16() 92 uint32_t extract32() { return extract<uint32_t>(); } in extract32() 93 uint64_t extract64() { return extract<uint64_t>(); } in extract64()
|
/system/netd/server/ |
D | WakeupController.cpp | 57 if (extract(payload, header) < sizeof(struct tcphdr)) { in extractIpPorts() 66 if (extract(payload, header) < sizeof(struct udphdr)) { in extractIpPorts() 82 if (extract(payload, header) < sizeof(struct iphdr)) { in extractIpHeader() 96 if (extract(payload, header) < sizeof(struct ip6_hdr)) { in extractIpHeader() 139 extract(payload, ts); in init() 149 extract(payload, args.uid); in init() 153 extract(payload, args.gid); in init() 158 extract(payload, hwaddr); in init() 166 extract(payload, packetHdr); in init()
|
D | XfrmControllerTest.cpp | 289 netdutils::extract(nlMsgSlice, userspi); in TEST_P() 370 netdutils::extract(nlMsgSlice, usersa); in testIpSecAddSecurityAssociation() 402 netdutils::extract(buf, encryptAlgo.crypt); in testIpSecAddSecurityAssociation() 404 netdutils::extract(buf, encryptAlgo.key); in testIpSecAddSecurityAssociation() 407 netdutils::extract(buf, authAlgo.auth); in testIpSecAddSecurityAssociation() 409 netdutils::extract(buf, authAlgo.key); in testIpSecAddSecurityAssociation() 412 netdutils::extract(buf, mark.mark); in testIpSecAddSecurityAssociation() 415 netdutils::extract(buf, outputmark.outputMark); in testIpSecAddSecurityAssociation() 418 netdutils::extract(buf, xfrm_if_id.if_id); in testIpSecAddSecurityAssociation() 575 netdutils::extract(buf, mark->mark); in parseTunnelNetlinkAttrs() [all …]
|
/system/netd/libnetdutils/ |
D | SliceTest.cpp | 50 EXPECT_EQ(sizeof(a), extract(s1, a)); in TEST_F() 51 EXPECT_EQ(sizeof(a) + sizeof(b), extract(s1, a, b)); in TEST_F() 52 EXPECT_EQ(sizeof(a) + sizeof(b) + sizeof(c), extract(s1, a, b, c)); in TEST_F() 80 TEST_F(SliceTest, extract) { in TEST_F() argument 107 size_t len = extract(buffer, a1); in TEST_F() 116 size_t len = extract(buffer, a1, b); in TEST_F() 126 size_t len = extract(buffer, a1, b, a2); in TEST_F()
|
D | Netlink.cpp | 31 extract(tail, hdr); in forEachNetlinkMessage() 43 extract(tail, hdr); in forEachNetlinkAttribute()
|
D | Slice.cpp | 44 extract(tail, byte); in toHex()
|
/system/bt/vendor_libs/test_vendor_lib/test/ |
D | iterator_test.cc | 65 ASSERT_EQ(0x95, general_case.extract<uint8_t>()); in TEST_F() 66 ASSERT_EQ(0x471f, general_case.extract<uint16_t>()); in TEST_F() 67 ASSERT_EQ(0x951f0200u, general_case.extract<uint32_t>()); in TEST_F() 68 ASSERT_EQ(0x33000101000000cbu, general_case.extract<uint64_t>()); in TEST_F() 74 ASSERT_DEATH(bounds_test.extract<uint8_t>(), ""); in TEST_F() 75 ASSERT_DEATH(bounds_test.extract<uint16_t>(), ""); in TEST_F() 76 ASSERT_DEATH(bounds_test.extract<uint32_t>(), ""); in TEST_F() 77 ASSERT_DEATH(bounds_test.extract<uint64_t>(), ""); in TEST_F()
|
/system/bt/gd/btaa/linux_generic/ |
D | hci_processor.cc | 51 connection_handle_value = connection_handle_it.extract<uint16_t>(); in process_le_event() 55 address_value = address_value_it.extract<hci::Address>(); in process_le_event() 131 connection_handle_value = connection_handle_it.extract<uint16_t>(); in process_command() 135 address_value = address_value_it.extract<hci::Address>(); in process_command() 161 connection_handle_value = connection_handle_it.extract<uint16_t>(); in process_event() 165 address_value = address_value_it.extract<hci::Address>(); in process_event() 211 uint16_t connection_handle_value = connection_handle.extract<uint16_t>() & 0xfff; in process_acl() 224 uint16_t connection_handle_value = connection_handle.extract<uint16_t>() & 0xfff; in process_sco() 237 uint16_t connection_handle_value = connection_handle.extract<uint16_t>() & 0xfff; in process_iso()
|
/system/bt/packet/tests/base/ |
D | iterator_test.cc | 62 ASSERT_EQ(0x02u, general_case.extract<uint8_t>()); in TEST_F() 63 ASSERT_EQ(0x2edcu, general_case.extract<uint16_t>()); in TEST_F() 64 ASSERT_EQ(0x00620066u, general_case.extract<uint32_t>()); in TEST_F() 65 ASSERT_EQ(0x00010000000a0013u, general_case.extract<uint64_t>()); in TEST_F() 92 ASSERT_DEATH(bounds_test.extract<uint8_t>(), in TEST_P() 94 ASSERT_DEATH(bounds_test.extract<uint16_t>(), in TEST_P() 96 ASSERT_DEATH(bounds_test.extract<uint32_t>(), in TEST_P() 98 ASSERT_DEATH(bounds_test.extract<uint64_t>(), in TEST_P()
|
/system/bt/gd/packet/parser/test/ |
D | variable.h | 51 size_t data_length = it.template extract<uint8_t>(); in Parse() 60 ss << it.template extract<char>(); in Parse()
|
/system/bt/gd/packet/ |
D | packet_view_unittest.cc | 136 ASSERT_EQ(0x00, general_case.extract<uint8_t>()); in TEST() 137 ASSERT_EQ(0x0201, general_case.extract<uint16_t>()); in TEST() 138 ASSERT_EQ(0x06050403u, general_case.extract<uint32_t>()); in TEST() 139 ASSERT_EQ(0x0e0d0c0b0a090807u, general_case.extract<uint64_t>()); in TEST() 140 ASSERT_EQ(0x0f, general_case.extract<uint8_t>()); in TEST() 142 ASSERT_EQ(raw, general_case.extract<Address>()); in TEST() 143 ASSERT_EQ(0x16, general_case.extract<uint8_t>()); in TEST() 150 ASSERT_EQ(0x00, general_case.extract<uint8_t>()); in TEST() 151 ASSERT_EQ(0x0102, general_case.extract<uint16_t>()); in TEST() 152 ASSERT_EQ(0x03040506u, general_case.extract<uint32_t>()); in TEST() [all …]
|
D | iterator.h | 67 FixedWidthPODType extract() { in extract() function 81 T extract() { in extract() function
|
/system/bt/gd/common/ |
D | lru_cache.h | 148 evicted_node = list_map_.extract(std::prev(list_map_.end())->first); in insert_or_assign() 170 evicted_node = list_map_.extract(std::prev(list_map_.end())->first); in try_emplace() 179 inline std::optional<node_type> extract(const Key& key) { in extract() function 180 return list_map_.extract(key); in extract()
|
D | lru_cache_test.cc | 36 EXPECT_FALSE(cache.extract(42)); in TEST() 181 EXPECT_TRUE(cache.extract(56)); in TEST() 217 EXPECT_TRUE(cache.extract(3)); in TEST() 274 EXPECT_TRUE(cache.extract(4)); in TEST() 287 EXPECT_TRUE(cache.extract(2)); in TEST() 288 EXPECT_TRUE(cache.extract(3)); in TEST() 348 EXPECT_FALSE(cache.extract(key)); in TEST() 351 auto removed = cache.extract(key); in TEST() 449 EXPECT_TRUE(cache.extract(key)); in TEST()
|
D | metric_id_manager.cc | 144 this->id_set_.extract(evicted->second); in AllocateId() 164 auto opt = temporary_device_cache_.extract(mac_address); in SaveDevice() 184 auto opt = paired_device_cache_.extract(mac_address); in ForgetDevice()
|
D | list_map_test.cc | 36 EXPECT_FALSE(list_map.extract(42)); in TEST() 166 list_map.extract(2); in TEST() 193 EXPECT_TRUE(list_map.extract(56)); in TEST() 264 auto removed = list_map.extract(key); in TEST() 351 EXPECT_TRUE(list_map.extract(key)); in TEST()
|
/system/netd/libnetdutils/include/netdutils/ |
D | Slice.h | 120 inline size_t extract(const Slice src, Head& head) { in extract() function 128 inline size_t extract(const Slice src, Head& head, Tail&... tail) { in extract() function 129 const auto extracted = extract(src, head); in extract() 130 return extracted + extract(drop(src, extracted), tail...); in extract()
|
/system/update_engine/scripts/ |
D | cow_converter.py | 52 payload_path = ota_zip.extract("payload.bin", output_dir) 60 img_path = zfp.extract(fileinfo, tmp_dir)
|
/system/bt/packet/avrcp/ |
D | get_element_attributes_packet.cc | 26 return it.extract<uint64_t>(); in GetIdentifier() 31 return it.extract<uint8_t>(); in GetNumAttributes() 38 size_t number_of_attributes = it.extract<uint8_t>(); in GetAttributesRequested()
|
/system/core/rootdir/ |
D | asan_extract.rc | 1 # When /data is available, look for /system/asan.tar.gz and potentially extract.
|
/system/bt/gd/storage/ |
D | config_cache.cc | 182 auto section_properties = temporary_devices_.extract(section); in SetProperty() 205 if (information_sections_.extract(section) || persistent_devices_.extract(section)) { in RemoveSection() 209 return temporary_devices_.extract(section).has_value(); in RemoveSection() 217 auto value = section_iter->second.extract(property); in RemoveProperty() 231 auto value = section_iter->second.extract(property); in RemoveProperty() 237 auto section_properties = persistent_devices_.extract(section); in RemoveProperty() 249 auto value = section_iter->second.extract(property); in RemoveProperty()
|
/system/bt/profile/sdp/common/ |
D | data_element_reader.cc | 61 return (it_.extract<uint8_t>() != 0); in ReadNext() 101 array[i] = it_.extract<uint8_t>(); in ReadLargeInt() 164 uuid_array[i] = it_.extract<uint8_t>(); in ReadUuid()
|
/system/bt/gd/hci/ |
D | hci_layer_test.cc | 763 ASSERT_EQ(bd_addr, itr.extract<Address>()); in TEST_F() 764 ASSERT_EQ(handle, itr.extract<uint16_t>()); in TEST_F() 784 ASSERT_EQ(handle, sent_itr.extract<uint16_t>()); in TEST_F() 785 ASSERT_EQ(bd_addr, sent_itr.extract<Address>()); in TEST_F() 819 ASSERT_EQ(bd_addr, itr.extract<Address>()); in TEST_F() 820 ASSERT_EQ(handle, itr.extract<uint16_t>()); in TEST_F() 821 ASSERT_EQ(received_packets, itr.extract<uint16_t>()); in TEST_F() 846 ASSERT_EQ(bd_addr, itr.extract<Address>()); in TEST_F() 847 ASSERT_EQ(handle, itr.extract<uint16_t>()); in TEST_F() 848 ASSERT_EQ(received_packets, itr.extract<uint16_t>()); in TEST_F() [all …]
|
/system/apex/tools/ |
D | apex_compression_tool.py | 107 zip_obj.extract(meta_file, path=extract_dir) 113 zip_obj.extract('apex_payload.img', path= work_dir)
|
/system/sepolicy/prebuilts/api/28.0/private/ |
D | blkid.te | 7 # Allowed read-only access to encrypted devices to extract UUID/label
|