/system/bt/packet/tests/avrcp/ |
D | register_notification_packet_test.cc | 31 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 …]
|
D | pass_through_packet_test.cc | 31 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()
|
D | set_absolute_volume_packet_test.cc | 32 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()
|
D | change_path_packet_test.cc | 34 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()
|
D | set_browsed_player_packet_test.cc | 33 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()
|
D | set_addressed_player_packet_test.cc | 33 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()
|
D | get_element_attributes_packet_test.cc | 31 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()
|
D | play_item_packet_test.cc | 32 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()
|
D | avrcp_browse_packet_test.cc | 75 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()
|
D | get_total_number_of_items_packet_test.cc | 34 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()
|
D | get_item_attributes_packet_test.cc | 50 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()
|
D | get_capabilities_packet_test.cc | 30 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()
|
D | get_folder_items_packet_test.cc | 45 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 …]
|
D | avrcp_packet_test.cc | 75 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()
|
D | vendor_packet_test.cc | 77 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()
|
D | get_play_status_packet_test.cc | 33 auto test_packet = TestGetPlayStatusRspPacket::Make(); in TEST()
|
D | general_reject_packet_test.cc | 33 auto test_packet = TestGeneralRejectPacket::Make(); in TEST()
|
D | avrcp_reject_packet_test.cc | 34 auto test_packet = TestAvrcpPacket::Make(); in TEST()
|
/system/bt/packet/tests/base/ |
D | packet_test.cc | 29 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()
|
D | packet_builder_test.cc | 30 auto packet = TestPacket::Make(); in TEST() 46 auto packet = TestPacket::Make(); in TEST() 57 auto packet = TestPacket::Make(); in TEST()
|
D | iterator_test.cc | 36 return TestPacket::Make(test_l2cap_data, lower_bound, upper_bound); in GetTestPacket() 52 TestPacket::Make(test_l2cap_data, 3, test_l2cap_data.size() - 2); in TEST_F() 59 auto packet = TestPacket::Make(test_l2cap_data); in TEST_F() 69 auto packet = TestPacket::Make(test_l2cap_data); in TEST_F()
|
/system/bt/packet/tests/ |
D | packet_test_helper.h | 32 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/ |
D | avrcp_device_test.cc | 131 auto pkt = TestAvrcpPacket::Make(); in TEST_F() 173 auto pkt = TestAvrcpPacket::Make(); in TEST_F() 217 auto pkt = TestAvrcpPacket::Make(); in TEST_F() 276 auto pkt = TestAvrcpPacket::Make(); in TEST_F() 327 auto pkt = TestAvrcpPacket::Make(); in TEST_F() 381 auto pkt = TestAvrcpPacket::Make(); in TEST_F() 441 auto pkt = TestAvrcpPacket::Make(); in TEST_F() 496 auto pkt = TestAvrcpPacket::Make(); in TEST_F() 543 auto pkt = TestAvrcpPacket::Make(); in TEST_F() 578 auto request = TestAvrcpPacket::Make(get_play_status_request); in TEST_F() [all …]
|
/system/bt/profile/avrcp/ |
D | avrcp_message_converter.h | 30 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/ |
D | data_element_reader_test.cc | 33 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()
|