Home
last modified time | relevance | path

Searched refs:Make (Results 1 – 25 of 115) sorted by relevance

12345

/system/bt/packet/tests/avrcp/
Dregister_notification_packet_test.cc31 TestRegNotifReqPacket::Make(register_play_status_notification); in TEST()
39 TestRegNotifReqPacket::Make(register_play_status_notification); in TEST()
46 auto test_packet = TestRegNotifReqPacket::Make(packet_copy); in TEST()
50 test_packet = TestRegNotifReqPacket::Make(short_packet); in TEST()
59 auto test_packet = TestRegNotifReqPacket::Make(); in TEST()
66 TestRegNotifRspPacket::Make(interim_volume_changed_notification); in TEST()
75 TestRegNotifRspPacket::Make(interim_volume_changed_notification); in TEST()
83 auto test_packet = TestRegNotifRspPacket::Make(packet_copy); in TEST()
87 test_packet = TestRegNotifRspPacket::Make(short_packet); in TEST()
92 test_packet = TestRegNotifRspPacket::Make(short_packet); in TEST()
[all …]
Dpass_through_packet_test.cc31 auto test_packet = TestPassThroughPacket::Make(); in TEST()
37 test_packet = TestPassThroughPacket::Make(); in TEST()
44 TestPassThroughPacket::Make(pass_through_command_play_pushed); in TEST()
48 test_packet = TestPassThroughPacket::Make(pass_through_command_play_released); in TEST()
55 TestPassThroughPacket::Make(pass_through_command_play_pushed); in TEST()
58 test_packet = TestPassThroughPacket::Make(pass_through_command_play_released); in TEST()
65 auto test_packet = TestPassThroughPacket::Make(packet_copy); in TEST()
69 test_packet = TestPassThroughPacket::Make(short_packet); in TEST()
Dset_absolute_volume_packet_test.cc32 auto test_packet = TestSetVolumeRspPacket::Make(); in TEST()
40 auto test_packet = TestSetVolumeRspPacket::Make(); in TEST()
46 auto test_packet = TestSetVolumeRspPacket::Make(set_absolute_volume_response); in TEST()
52 auto test_packet = TestSetVolumeRspPacket::Make(set_absolute_volume_response); in TEST()
60 auto test_packet = TestSetVolumeRspPacket::Make(packet_copy); in TEST()
64 test_packet = TestSetVolumeRspPacket::Make(short_packet); in TEST()
69 test_packet = TestSetVolumeRspPacket::Make(wrong_ctype); in TEST()
Dchange_path_packet_test.cc34 auto test_packet = TestChangePathReqPacket::Make(); in TEST()
46 auto test_packet = TestChangePathReqPacket::Make(); in TEST()
52 auto test_packet = TestChangePathReqPacket::Make(change_path_request); in TEST()
60 auto test_packet = TestChangePathReqPacket::Make(change_path_request); in TEST()
67 auto test_packet = TestChangePathReqPacket::Make(packet_copy); in TEST()
71 test_packet = TestChangePathReqPacket::Make(short_packet); in TEST()
79 auto test_packet = TestChangePathReqPacket::Make(); in TEST()
Dset_browsed_player_packet_test.cc33 auto test_packet = TestSetBrowsedPlayerPacket::Make(); in TEST()
44 auto test_packet = TestSetBrowsedPlayerPacket::Make(); in TEST()
51 TestSetBrowsedPlayerPacket::Make(set_browsed_player_request); in TEST()
58 TestSetBrowsedPlayerPacket::Make(set_browsed_player_request); in TEST()
65 auto test_packet = TestSetBrowsedPlayerPacket::Make(packet_copy); in TEST()
69 test_packet = TestSetBrowsedPlayerPacket::Make(short_packet); in TEST()
Dset_addressed_player_packet_test.cc33 auto test_packet = TestSetAddrPlayerPacket::Make(); in TEST()
40 TestSetAddrPlayerPacket::Make(set_addressed_player_request); in TEST()
47 TestSetAddrPlayerPacket::Make(set_addressed_player_request); in TEST()
54 auto test_packet = TestSetAddrPlayerPacket::Make(packet_copy); in TEST()
58 test_packet = TestSetAddrPlayerPacket::Make(short_packet); in TEST()
Dget_element_attributes_packet_test.cc31 TestGetElemAttrReqPacket::Make(get_element_attributes_request_partial); in TEST()
42 TestGetElemAttrReqPacket::Make(get_element_attributes_request_full); in TEST()
59 TestGetElemAttrReqPacket::Make(get_element_attributes_request_partial); in TEST()
63 TestGetElemAttrReqPacket::Make(get_element_attributes_request_full); in TEST()
70 auto test_packet = TestGetElemAttrReqPacket::Make(packet_copy); in TEST()
75 test_packet = TestGetElemAttrReqPacket::Make(short_packet); in TEST()
101 auto test_packet = TestGetElemAttrReqPacket::Make(); in TEST()
121 auto truncated_packet = TestGetElemAttrReqPacket::Make(); in TEST()
126 auto test_packet = TestGetElemAttrReqPacket::Make(); in TEST()
Dplay_item_packet_test.cc32 auto test_packet = TestPlayItemReqPacket::Make(); in TEST()
38 auto test_packet = TestPlayItemReqPacket::Make(play_item_request); in TEST()
46 auto test_packet = TestPlayItemReqPacket::Make(play_item_request); in TEST()
54 auto test_packet = TestPlayItemReqPacket::Make(packet_copy); in TEST()
58 test_packet = TestPlayItemReqPacket::Make(short_packet); in TEST()
Davrcp_browse_packet_test.cc75 auto test_packet = TestBrowsePacket::Make(); in TEST()
81 auto test_browse_packet = TestBrowsePacket::Make(get_folder_items_request); in TEST()
88 auto test_browse_packet = TestBrowsePacket::Make(get_folder_items_request); in TEST()
93 auto get_folder_items_payload = TestBrowsePacket::Make(test_browse_packet); in TEST()
102 auto test_browse_packet = TestBrowsePacket::Make(get_folder_items_request); in TEST()
110 auto test_browse_packet = TestBrowsePacket::Make(packet_copy); in TEST()
114 test_browse_packet = TestBrowsePacket::Make(short_packet); in TEST()
Dget_total_number_of_items_packet_test.cc34 auto test_packet = TestGetTotalNumItemsReqPacket::Make(); in TEST()
45 auto test_packet = TestGetTotalNumItemsReqPacket::Make(); in TEST()
51 auto test_packet = TestGetTotalNumItemsReqPacket::Make( in TEST()
57 auto test_packet = TestGetTotalNumItemsReqPacket::Make( in TEST()
65 auto test_packet = TestGetTotalNumItemsReqPacket::Make(packet_copy); in TEST()
Dget_item_attributes_packet_test.cc50 auto test_packet = TestGetItemAttrsReqPacket::Make(); in TEST()
70 auto truncated_packet = TestGetItemAttrsReqPacket::Make(); in TEST()
76 auto test_packet = TestGetItemAttrsReqPacket::Make(); in TEST()
88 auto test_packet = TestGetItemAttrsReqPacket::Make(); in TEST()
94 auto test_packet = TestGetItemAttrsReqPacket::Make( in TEST()
112 auto test_packet = TestGetItemAttrsReqPacket::Make( in TEST()
120 auto test_packet = TestGetItemAttrsReqPacket::Make(packet_copy); in TEST()
125 test_packet = TestGetItemAttrsReqPacket::Make(short_packet); in TEST()
Dget_capabilities_packet_test.cc30 auto test_packet = GetCapRequestTestPacket::Make(get_capabilities_request); in TEST()
37 auto test_packet = GetCapRequestTestPacket::Make(get_capabilities_request); in TEST()
44 auto test_packet = GetCapRequestTestPacket::Make(packet_copy); in TEST()
50 test_packet = GetCapRequestTestPacket::Make(short_packet); in TEST()
104 auto test_packet = GetCapRequestTestPacket::Make(); in TEST()
116 auto test_packet = GetCapRequestTestPacket::Make(); in TEST()
Dget_folder_items_packet_test.cc45 auto test_packet = TestGetFolderItemsReqPacket::Make(); in TEST()
83 auto test_packet = TestGetFolderItemsReqPacket::Make(); in TEST()
125 auto test_packet = TestGetFolderItemsReqPacket::Make(); in TEST()
150 auto test_packet = TestGetFolderItemsReqPacket::Make(); in TEST()
156 test_packet = TestGetFolderItemsReqPacket::Make(); in TEST()
162 test_packet = TestGetFolderItemsReqPacket::Make(); in TEST()
175 auto test_packet = TestGetFolderItemsReqPacket::Make(); in TEST()
184 test_packet = TestGetFolderItemsReqPacket::Make(); in TEST()
214 TestGetFolderItemsReqPacket::Make(get_folder_items_request_vfs); in TEST()
230 auto test_packet = TestGetFolderItemsReqPacket::Make(); in TEST()
[all …]
Davrcp_packet_test.cc75 auto test_packet = TestAvrcpPacket::Make(); in TEST()
81 auto test_avrcp_packet = TestAvrcpPacket::Make(get_capabilities_request); in TEST()
94 auto test_avrcp_packet = TestAvrcpPacket::Make(bad_get_cap_data); in TEST()
102 auto test_avrcp_packet = TestAvrcpPacket::Make(get_capabilities_request); in TEST()
107 auto get_cap_payload_packet = TestAvrcpPacket::Make(test_avrcp_packet); in TEST()
Dvendor_packet_test.cc77 auto test_packet = TestVendorPacket::Make(); in TEST()
115 auto test_packet = TestVendorPacket::Make(GetPacketData()); in TEST_P()
124 auto test_packet = TestVendorPacket::Make(GetPacketData()); in TEST_P()
131 auto test_packet = TestVendorPacket::Make(get_capabilities_request_copy); in TEST_F()
135 test_packet = TestVendorPacket::Make(short_packet); in TEST_F()
Dget_play_status_packet_test.cc33 auto test_packet = TestGetPlayStatusRspPacket::Make(); in TEST()
/system/bt/packet/tests/base/
Dpacket_test.cc29 auto packet = TestPacket::Make( in TEST()
33 auto new_packet = TestPacket::Make(packet); in TEST()
44 auto packet = TestPacket::Make(test_avctp_data); in TEST()
47 packet = TestPacket::Make(test_avctp_data, test_avctp_data_payload_offset, in TEST()
54 auto packet = TestPacket::Make(test_l2cap_data); in TEST()
59 packet = TestPacket::Make(test_avctp_data, test_avctp_data_payload_offset, in TEST()
69 TestPacket::Make(test_l2cap_data, 3, test_l2cap_data.size() - 2); in TEST()
75 auto packet = TestPacket::Make( in TEST()
97 auto packet = TestPacket::Make(test_l2cap_data); in TEST()
112 auto packet = TestPacket::Make(test_l2cap_data); in TEST()
Dpacket_builder_test.cc30 auto packet = TestPacket::Make(); in TEST()
46 auto packet = TestPacket::Make(); in TEST()
57 auto packet = TestPacket::Make(); in TEST()
/system/bt/packet/tests/
Dpacket_test_helper.h32 static std::shared_ptr<TestPacketType<PacketType>> Make() { in Make() function
37 static std::shared_ptr<TestPacketType<PacketType>> Make( in Make() function
43 static std::shared_ptr<TestPacketType<PacketType>> Make( in Make() function
46 return Make(std::move(payload), 0, end); in Make()
49 static std::shared_ptr<TestPacketType<PacketType>> Make( in Make() function
/system/bt/profile/avrcp/tests/
Davrcp_device_test.cc153 auto pkt = TestAvrcpPacket::Make(); in TEST_F()
195 auto pkt = TestAvrcpPacket::Make(); in TEST_F()
239 auto pkt = TestAvrcpPacket::Make(); in TEST_F()
299 auto pkt = TestAvrcpPacket::Make(); in TEST_F()
350 auto pkt = TestAvrcpPacket::Make(); in TEST_F()
404 auto pkt = TestAvrcpPacket::Make(); in TEST_F()
465 auto pkt = TestAvrcpPacket::Make(); in TEST_F()
520 auto pkt = TestAvrcpPacket::Make(); in TEST_F()
568 auto pkt = TestAvrcpPacket::Make(); in TEST_F()
603 auto request = TestAvrcpPacket::Make(get_play_status_request); in TEST_F()
[all …]
/system/bt/packet/tests/fuzzers/
Dpass_through_packet_fuzzer.cc40 TestPassThroughPacket::Make(pass_through_command_play_pushed); in LLVMFuzzerTestOneInput()
45 TestPassThroughPacket::Make(pass_through_command_play_released); in LLVMFuzzerTestOneInput()
Dget_folder_items_res_fuzzer.cc40 auto test_packet = TestGetFolderItemsReqPacket::Make(); in LLVMFuzzerTestOneInput()
50 test_packet = TestGetFolderItemsReqPacket::Make(); in LLVMFuzzerTestOneInput()
/system/bt/profile/avrcp/
Davrcp_message_converter.h30 static std::shared_ptr<VectorPacket> Make() { in Make() function
34 static std::shared_ptr<VectorPacket> Make(std::vector<uint8_t> payload) { in Make() function
35 auto pkt = VectorPacket::Make(); in Make()
104 return VectorPacket::Make(data); in Parse()
/system/bt/profile/sdp/common/test/
Ddata_element_reader_test.cc33 static std::shared_ptr<ReaderPacket> Make(std::vector<uint8_t> payload) { in Make() function in bluetooth::sdp::ReaderPacket
74 auto packet = ReaderPacket::Make(std::move(payload)); in CreateReader()
192 auto packet = ReaderPacket::Make(std::get<0>(GetParam())); in TEST_P()
219 auto packet = ReaderPacket::Make(payload); in TEST()
250 auto packet = ReaderPacket::Make({}); in TEST()
258 auto packet = ReaderPacket::Make({0xFF}); in TEST()
398 auto packet = ReaderPacket::Make(GetParam()); in TEST_P()
406 auto packet = ReaderPacket::Make({0x00, 0x00, 0x00, 0x00}); in TEST()
/system/iorap/src/serialize/
Darena_ptr.h40 static ArenaPtr<T> Make(Args&& ... args) { in Make() function
57 static ArenaSharedPtr<T> Make(Args&& ... args) { in Make() function

12345