Home
last modified time | relevance | path

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

1234

/packages/modules/Bluetooth/system/packet/tests/avrcp/
Dregister_notification_packet_test.cc34 TestRegNotifReqPacket::Make(register_play_status_notification); in TEST()
42 TestRegNotifReqPacket::Make(register_play_status_notification); in TEST()
49 auto test_packet = TestRegNotifReqPacket::Make(packet_copy); in TEST()
53 test_packet = TestRegNotifReqPacket::Make(short_packet); in TEST()
62 auto test_packet = TestRegNotifReqPacket::Make(); in TEST()
69 TestRegNotifRspPacket::Make(interim_volume_changed_notification); in TEST()
78 TestRegNotifRspPacket::Make(interim_volume_changed_notification); in TEST()
86 auto test_packet = TestRegNotifRspPacket::Make(packet_copy); in TEST()
90 test_packet = TestRegNotifRspPacket::Make(short_packet); in TEST()
95 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.cc33 auto test_packet = TestChangePathReqPacket::Make(); in TEST()
45 auto test_packet = TestChangePathReqPacket::Make(); in TEST()
51 auto test_packet = TestChangePathReqPacket::Make(change_path_request); in TEST()
59 auto test_packet = TestChangePathReqPacket::Make(change_path_request); in TEST()
66 auto test_packet = TestChangePathReqPacket::Make(packet_copy); in TEST()
70 test_packet = TestChangePathReqPacket::Make(short_packet); in TEST()
78 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()
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_folder_items_packet_test.cc46 auto test_packet = TestGetFolderItemsReqPacket::Make(); in TEST()
84 auto test_packet = TestGetFolderItemsReqPacket::Make(); in TEST()
126 auto test_packet = TestGetFolderItemsReqPacket::Make(); in TEST()
151 auto test_packet = TestGetFolderItemsReqPacket::Make(); in TEST()
157 test_packet = TestGetFolderItemsReqPacket::Make(); in TEST()
163 test_packet = TestGetFolderItemsReqPacket::Make(); in TEST()
176 auto test_packet = TestGetFolderItemsReqPacket::Make(); in TEST()
185 test_packet = TestGetFolderItemsReqPacket::Make(); in TEST()
229 TestGetFolderItemsReqPacket::Make(get_folder_items_request_vfs); in TEST()
245 auto test_packet = TestGetFolderItemsReqPacket::Make(); in TEST()
[all …]
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()
162 auto truncated_packet = TestGetElemAttrReqPacket::Make(); in TEST()
167 auto test_packet = TestGetElemAttrReqPacket::Make(); 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()
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()
Dlist_player_application_setting_values_test.cc35 auto test_packet = ListPlayerApplicationSettingValuesRequestTestPacket::Make( in TEST()
42 auto test_packet = ListPlayerApplicationSettingValuesRequestTestPacket::Make( in TEST()
52 ListPlayerApplicationSettingValuesRequestTestPacket::Make(packet_copy); in TEST()
59 ListPlayerApplicationSettingValuesRequestTestPacket::Make(short_packet); in TEST()
73 ListPlayerApplicationSettingAttributeValuesRspTestPacket::Make(); 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_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_current_player_application_setting_value_test.cc37 GetCurrentPlayerApplicationSettingValueRequestTestPacket::Make( in TEST()
46 GetCurrentPlayerApplicationSettingValueRequestTestPacket::Make( in TEST()
56 GetCurrentPlayerApplicationSettingValueRequestTestPacket::Make( in TEST()
63 test_packet = GetCurrentPlayerApplicationSettingValueRequestTestPacket::Make( in TEST()
80 GetCurrentPlayerApplicationSettingValueRspTestPacket::Make(); in TEST()
Dset_player_application_setting_value_test.cc36 auto test_packet = SetPlayerApplicationSettingValueRequestTestPacket::Make( in TEST()
45 auto test_packet = SetPlayerApplicationSettingValueRequestTestPacket::Make( in TEST()
55 SetPlayerApplicationSettingValueRequestTestPacket::Make(packet_copy); in TEST()
62 SetPlayerApplicationSettingValueRequestTestPacket::Make(short_packet); in TEST()
72 auto test_packet = SetPlayerApplicationSettingValueRspTestPacket::Make(); in TEST()
Dget_capabilities_packet_test.cc31 auto test_packet = GetCapRequestTestPacket::Make(get_capabilities_request); in TEST()
38 auto test_packet = GetCapRequestTestPacket::Make(get_capabilities_request); in TEST()
45 auto test_packet = GetCapRequestTestPacket::Make(packet_copy); in TEST()
51 test_packet = GetCapRequestTestPacket::Make(short_packet); in TEST()
115 auto test_packet = GetCapRequestTestPacket::Make(); in TEST()
127 auto test_packet = GetCapRequestTestPacket::Make(); in TEST()
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()
/packages/modules/Bluetooth/system/packet/tests/base/
Dpacket_test.cc31 auto packet = TestPacket::Make( in TEST()
35 auto new_packet = TestPacket::Make(packet); in TEST()
46 auto packet = TestPacket::Make(test_avctp_data); in TEST()
49 packet = TestPacket::Make(test_avctp_data, test_avctp_data_payload_offset, in TEST()
56 auto packet = TestPacket::Make(test_l2cap_data); in TEST()
61 packet = TestPacket::Make(test_avctp_data, test_avctp_data_payload_offset, in TEST()
71 TestPacket::Make(test_l2cap_data, 3, test_l2cap_data.size() - 2); in TEST()
81 auto packet = TestPacket::Make( in TEST()
103 auto packet = TestPacket::Make(test_l2cap_data); in TEST()
118 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()
/packages/modules/Bluetooth/system/profile/avrcp/tests/
Davrcp_device_test.cc177 auto pkt = TestAvrcpPacket::Make(); in TEST_F()
218 auto pkt = TestAvrcpPacket::Make(); in TEST_F()
247 auto pkt = TestAvrcpPacket::Make(); in TEST_F()
281 auto pkt = TestAvrcpPacket::Make(); in TEST_F()
326 auto pkt = TestAvrcpPacket::Make(); in TEST_F()
387 auto pkt = TestAvrcpPacket::Make(); in TEST_F()
439 auto pkt = TestAvrcpPacket::Make(); in TEST_F()
494 auto pkt = TestAvrcpPacket::Make(); in TEST_F()
556 auto pkt = TestAvrcpPacket::Make(); in TEST_F()
612 auto pkt = TestAvrcpPacket::Make(); in TEST_F()
[all …]
/packages/modules/Bluetooth/system/profile/avrcp/
Davrcp_message_converter.h33 static std::shared_ptr<VectorPacket> Make() { in Make() function
37 static std::shared_ptr<VectorPacket> Make(std::vector<uint8_t> payload) { in Make() function
38 auto pkt = VectorPacket::Make(); in Make()
107 return VectorPacket::Make(data); in Parse()
/packages/modules/Bluetooth/system/profile/sdp/common/test/
Ddata_element_reader_test.cc34 static std::shared_ptr<ReaderPacket> Make(std::vector<uint8_t> payload) { in Make() function in bluetooth::sdp::ReaderPacket
75 auto packet = ReaderPacket::Make(std::move(payload)); in CreateReader()
193 auto packet = ReaderPacket::Make(std::get<0>(GetParam())); in TEST_P()
220 auto packet = ReaderPacket::Make(payload); in TEST()
251 auto packet = ReaderPacket::Make({}); in TEST()
259 auto packet = ReaderPacket::Make({0xFF}); in TEST()
399 auto packet = ReaderPacket::Make(GetParam()); in TEST_P()
407 auto packet = ReaderPacket::Make({0x00, 0x00, 0x00, 0x00}); in TEST()
/packages/modules/Bluetooth/system/packet/tests/
Dpacket_test_helper.h33 static std::shared_ptr<TestPacketType<PacketType>> Make() { in Make() function
38 static std::shared_ptr<TestPacketType<PacketType>> Make( in Make() function
44 static std::shared_ptr<TestPacketType<PacketType>> Make( in Make() function
47 return Make(std::move(payload), 0, end); in Make()
50 static std::shared_ptr<TestPacketType<PacketType>> Make( in Make() function
/packages/modules/Bluetooth/system/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()

1234