Home
last modified time | relevance | path

Searched refs:MakeBuilder (Results 1 – 25 of 64) sorted by relevance

123

/system/bt/packet/tests/base/
Dpacket_builder_test.cc29 auto builder = TestPacketBuilder::MakeBuilder(test_l2cap_data); in TEST()
40 auto builder = TestPacketBuilder::MakeBuilder(test_l2cap_data); in TEST()
49 auto builder = TestPacketBuilder::MakeBuilder(test_l2cap_data); in TEST()
56 auto builder = TestPacketBuilder::MakeBuilder(test_l2cap_data); in TEST()
/system/bt/profile/avrcp/tests/
Davrcp_device_test.cc152 RegisterNotificationRequestBuilder::MakeBuilder(Event::TRACK_CHANGED, 0); in TEST_F()
193 auto request = RegisterNotificationRequestBuilder::MakeBuilder( in TEST_F()
237 auto request = RegisterNotificationRequestBuilder::MakeBuilder( in TEST_F()
298 RegisterNotificationRequestBuilder::MakeBuilder(Event::TRACK_CHANGED, 0); in TEST_F()
348 auto request = RegisterNotificationRequestBuilder::MakeBuilder( in TEST_F()
402 auto request = RegisterNotificationRequestBuilder::MakeBuilder( in TEST_F()
463 auto request = RegisterNotificationRequestBuilder::MakeBuilder( in TEST_F()
511 auto rejected_response = RejectBuilder::MakeBuilder( in TEST_F()
518 auto request = RegisterNotificationRequestBuilder::MakeBuilder( in TEST_F()
566 auto request = RegisterNotificationRequestBuilder::MakeBuilder( in TEST_F()
[all …]
/system/bt/profile/avrcp/
Ddevice.cc103 auto response = RejectBuilder::MakeBuilder(static_cast<CommandPdu>(0), Status::INVALID_COMMAND); in VendorPacketHandler()
123 RejectBuilder::MakeBuilder(pkt->GetCommandPdu(), in VendorPacketHandler()
170 auto response = RejectBuilder::MakeBuilder(pkt->GetCommandPdu(), Status::INVALID_PARAMETER); in VendorPacketHandler()
197 auto response = RejectBuilder::MakeBuilder(pkt->GetCommandPdu(), Status::INVALID_PARAMETER); in VendorPacketHandler()
208 auto response = RejectBuilder::MakeBuilder( in VendorPacketHandler()
222 auto response = RejectBuilder::MakeBuilder(pkt->GetCommandPdu(), Status::INVALID_PARAMETER); in HandleGetCapabilities()
255 auto response = RejectBuilder::MakeBuilder(CommandPdu::GET_CAPABILITIES, in HandleGetCapabilities()
266 auto response = RejectBuilder::MakeBuilder(pkt->GetCommandPdu(), in HandleNotification()
332 auto response = RejectBuilder::MakeBuilder( in HandleNotification()
344 RegisterNotificationRequestBuilder::MakeBuilder(Event::VOLUME_CHANGED, 0); in RegisterVolumeChanged()
[all …]
/system/bt/packet/tests/avrcp/
Dget_item_attributes_packet_test.cc30 GetItemAttributesResponseBuilder::MakeBuilder(Status::NO_ERROR, 0xFFFF); in TEST()
45 GetItemAttributesResponseBuilder::MakeBuilder(Status::NO_ERROR, 0xFFFF); in TEST()
61 auto truncated_builder = GetItemAttributesResponseBuilder::MakeBuilder( in TEST()
74 GetItemAttributesResponseBuilder::MakeBuilder(Status::NO_ERROR, 0xFFFF); in TEST()
84 auto builder = GetItemAttributesResponseBuilder::MakeBuilder( in TEST()
Dchange_path_packet_test.cc31 auto builder = ChangePathResponseBuilder::MakeBuilder(Status::NO_ERROR, 2); in TEST()
43 ChangePathResponseBuilder::MakeBuilder(Status::INVALID_DIRECTION, 2); in TEST()
76 auto builder = ChangePathRequestBuilder::MakeBuilder(0, Direction::DOWN, 2); in TEST()
Dget_element_attributes_packet_test.cc81 auto builder = GetElementAttributesResponseBuilder::MakeBuilder(0xFFFF); in TEST()
90 auto builder = GetElementAttributesResponseBuilder::MakeBuilder(0xFFFF); in TEST()
113 GetElementAttributesResponseBuilder::MakeBuilder(truncated_size); in TEST()
124 auto builder = GetElementAttributesResponseBuilder::MakeBuilder(0xFFFF); in TEST()
Davrcp_packet_test.cc28 static std::unique_ptr<TestPacketBuilder> MakeBuilder( in MakeBuilder() function in bluetooth::TestPacketBuilder
68 TestPacketBuilder::MakeBuilder(get_capabilities_request_payload); in TEST()
70 auto builder = PacketBuilder::MakeBuilder( in TEST()
Davrcp_browse_packet_test.cc28 static std::unique_ptr<TestPacketBuilder> MakeBuilder( in MakeBuilder() function in bluetooth::TestPacketBuilder
68 TestPacketBuilder::MakeBuilder(get_folder_items_request_payload); in TEST()
70 auto builder = BrowsePacketBuilder::MakeBuilder(BrowsePdu::GET_FOLDER_ITEMS, in TEST()
Dset_absolute_volume_packet_test.cc29 auto builder = SetAbsoluteVolumeRequestBuilder::MakeBuilder(0x48); in TEST()
39 auto builder = SetAbsoluteVolumeRequestBuilder::MakeBuilder(0xc8); in TEST()
Dget_total_number_of_items_packet_test.cc30 auto builder = GetTotalNumberOfItemsResponseBuilder::MakeBuilder( in TEST()
41 auto builder = GetTotalNumberOfItemsResponseBuilder::MakeBuilder( in TEST()
Dset_browsed_player_packet_test.cc29 auto builder = SetBrowsedPlayerResponseBuilder::MakeBuilder(Status::NO_ERROR, in TEST()
40 auto builder = SetBrowsedPlayerResponseBuilder::MakeBuilder( in TEST()
Dpass_through_packet_test.cc29 auto builder = PassThroughPacketBuilder::MakeBuilder(false, true, 0x44); in TEST()
35 builder = PassThroughPacketBuilder::MakeBuilder(true, false, 0x44); in TEST()
Dvendor_packet_test.cc30 static std::unique_ptr<TestPacketBuilder> MakeBuilder( in MakeBuilder() function in bluetooth::TestPacketBuilder
69 auto get_cap_payload = TestPacketBuilder::MakeBuilder(get_cap_payload_data); in TEST()
71 auto builder = VendorPacketBuilder::MakeBuilder( in TEST()
Dget_play_status_packet_test.cc29 auto builder = GetPlayStatusResponseBuilder::MakeBuilder(0, 0xFFFFFFFF, 0); in TEST()
Dgeneral_reject_packet_test.cc29 auto builder = GeneralRejectBuilder::MakeBuilder(Status::INVALID_COMMAND); in TEST()
Davrcp_reject_packet_test.cc29 auto builder = RejectBuilder::MakeBuilder( in TEST()
/system/bt/packet/tests/fuzzers/
Davrcp_packet_fuzzer.cc29 static std::unique_ptr<TestPacketBuilder> MakeBuilder( in MakeBuilder() function in bluetooth::TestPacketBuilder
75 TestPacketBuilder::MakeBuilder(get_capabilities_request_payload); in LLVMFuzzerTestOneInput()
77 auto builder = PacketBuilder::MakeBuilder( in LLVMFuzzerTestOneInput()
Dget_play_status_res_fuzzer.cc33 auto builder = GetPlayStatusResponseBuilder::MakeBuilder( in LLVMFuzzerTestOneInput()
Dget_play_status_req_fuzzer.cc35 auto builder = GetPlayStatusResponseBuilder::MakeBuilder( in LLVMFuzzerTestOneInput()
Dchange_path_res_fuzzer.cc37 auto builder = ChangePathResponseBuilder::MakeBuilder( in LLVMFuzzerTestOneInput()
Dget_total_number_of_items_res_fuzzer.cc35 auto builder = GetTotalNumberOfItemsResponseBuilder::MakeBuilder( in LLVMFuzzerTestOneInput()
Dget_item_attributes_res_fuzzer.cc36 GetItemAttributesResponseBuilder::MakeBuilder(Status::NO_ERROR, 0xFFFF); in LLVMFuzzerTestOneInput()
/system/bt/packet/avrcp/
Dchange_path.h28 static std::unique_ptr<ChangePathResponseBuilder> MakeBuilder(
76 static std::unique_ptr<ChangePathRequestBuilder> MakeBuilder(
Dchange_path.cc23 ChangePathResponseBuilder::MakeBuilder(Status status, in MakeBuilder() function in bluetooth::avrcp::ChangePathResponseBuilder
87 std::unique_ptr<ChangePathRequestBuilder> ChangePathRequestBuilder::MakeBuilder( in MakeBuilder() function in bluetooth::avrcp::ChangePathRequestBuilder
Dgeneral_reject_packet.h28 static std::unique_ptr<GeneralRejectBuilder> MakeBuilder(Status reason);

123