Home
last modified time | relevance | path

Searched refs:GetData (Results 1 – 25 of 58) sorted by relevance

123

/packages/modules/Bluetooth/system/packet/tests/avrcp/
Dregister_notification_packet_test.cc64 ASSERT_EQ(test_packet->GetData(), register_volume_changed_notification); in TEST()
117 ASSERT_EQ(test_packet->GetData(), interim_play_status_notification); in TEST()
126 ASSERT_EQ(test_packet->GetData(), interim_track_changed_notification); in TEST()
142 ASSERT_EQ(test_packet->GetData(), in TEST()
157 ASSERT_EQ(test_packet->GetData(), changed_player_setting_notification); in TEST()
167 ASSERT_EQ(test_packet->GetData(), changed_play_pos_notification); in TEST()
176 ASSERT_EQ(test_packet->GetData(), interim_now_playing_notification); in TEST()
185 ASSERT_EQ(test_packet->GetData(), interim_available_players_notification); in TEST()
195 ASSERT_EQ(test_packet->GetData(), interim_addressed_player_notification); in TEST()
204 ASSERT_EQ(test_packet->GetData(), interim_uids_notificaiton); in TEST()
Dget_folder_items_packet_test.cc48 ASSERT_EQ(test_packet->GetData(), get_folder_items_media_player_response); in TEST()
86 ASSERT_EQ(test_packet->GetData(), get_folder_items_folder_response); in TEST()
128 ASSERT_EQ(test_packet->GetData(), get_folder_items_song_response); in TEST()
153 ASSERT_EQ(test_packet->GetData(), get_folder_items_error_response); in TEST()
159 ASSERT_EQ(test_packet->GetData(), get_folder_items_error_response); in TEST()
165 ASSERT_EQ(test_packet->GetData(), get_folder_items_error_response); in TEST()
178 ASSERT_EQ(test_packet->GetData(), get_folder_items_inv_scope); in TEST()
187 ASSERT_EQ(test_packet->GetData(), get_folder_items_inv_scope); in TEST()
247 ASSERT_EQ(test_packet->GetData(), get_folder_items_request_no_attrs); in TEST()
257 ASSERT_EQ(test_packet->GetData(), get_folder_items_request_title); in TEST()
Dchange_path_packet_test.cc35 ASSERT_EQ(test_packet->GetData(), change_path_response); in TEST()
47 ASSERT_EQ(test_packet->GetData(), change_path_error_response); in TEST()
80 ASSERT_EQ(test_packet->GetData(), change_path_request); in TEST()
Dget_item_attributes_packet_test.cc52 ASSERT_EQ(test_packet->GetData(), get_item_attributes_song_response); in TEST()
79 ASSERT_EQ(truncated_packet->GetData(), test_packet->GetData()); in TEST()
90 ASSERT_EQ(test_packet->GetData(), does_not_exist_status); in TEST()
Dget_total_number_of_items_packet_test.cc36 ASSERT_EQ(test_packet->GetData(), get_total_number_of_items_response); in TEST()
47 ASSERT_EQ(test_packet->GetData(), inv_scope_status_packet); in TEST()
Dset_browsed_player_packet_test.cc35 ASSERT_EQ(test_packet->GetData(), set_browsed_player_response); in TEST()
46 ASSERT_EQ(test_packet->GetData(), player_not_browsable_status); in TEST()
Dset_absolute_volume_packet_test.cc34 ASSERT_EQ(test_packet->GetData(), set_absolute_volume_request); in TEST()
42 ASSERT_EQ(test_packet->GetData(), set_absolute_volume_request); in TEST()
Dpass_through_packet_test.cc33 ASSERT_EQ(test_packet->GetData(), pass_through_command_play_pushed); in TEST()
39 ASSERT_EQ(test_packet->GetData(), pass_through_command_play_released); in TEST()
Dget_element_attributes_packet_test.cc103 ASSERT_EQ(test_packet->GetData(), get_elements_attributes_response_full); in TEST()
170 ASSERT_EQ(truncated_packet->GetData(), test_packet->GetData()); in TEST()
Dget_capabilities_packet_test.cc117 ASSERT_EQ(test_packet->GetData(), get_capabilities_response_company_id); in TEST()
129 ASSERT_EQ(test_packet->GetData(), get_capabilities_response_events_supported); in TEST()
Dget_play_status_packet_test.cc35 ASSERT_EQ(test_packet->GetData(), get_play_status_response); in TEST()
Dgeneral_reject_packet_test.cc35 ASSERT_EQ(test_packet->GetData(), general_reject_invalid_command_packet); in TEST()
Davrcp_reject_packet_test.cc37 ASSERT_EQ(test_packet->GetData(), reject_player_app_settings_response); in TEST()
/packages/modules/Bluetooth/system/profile/avrcp/tests/
Davrcp_test_helper.h151 if (packet1->GetData() != packet2->GetData()) { in MatchAndExplain()
158 return packet1->GetData() == packet2->GetData(); in MatchAndExplain()
/packages/modules/Bluetooth/system/packet/tests/fuzzers/
Dget_folder_items_res_fuzzer.cc42 test_packet->GetData(); in LLVMFuzzerTestOneInput()
52 test_packet->GetData(); in LLVMFuzzerTestOneInput()
Dreject_packet_fuzzer.cc42 test_packet->GetData(); in LLVMFuzzerTestOneInput()
Dset_addressed_player_packet_fuzzer.cc41 test_packet->GetData(); in LLVMFuzzerTestOneInput()
Dset_browsed_player_res_fuzzer.cc41 test_packet->GetData(); in LLVMFuzzerTestOneInput()
Dset_absolute_volume_packet_fuzzer.cc45 test_packet->GetData(); in LLVMFuzzerTestOneInput()
Dget_total_number_of_items_req_fuzzer.cc44 test_packet->GetData(); in LLVMFuzzerTestOneInput()
/packages/modules/Bluetooth/system/packet/tests/base/
Dpacket_builder_test.cc47 ASSERT_EQ(packet->GetData().capacity(), 0u); in TEST()
52 ASSERT_GE(packet->GetData().capacity(), test_l2cap_data.size()); in TEST()
Dpacket_test.cc112 ASSERT_EQ(&specialized_packet->GetData(), &packet->GetData()); in TEST()
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/audio/nodes/
DDtmfSenderNode.cpp94 if (!GetData(&subtype, &data, &size, &timestamp, &bMark, nullptr)) in ProcessData()
114 if (GetData(&subtype, &data, &size, &timestamp, &bMark, nullptr, nullptr) && in ProcessData()
/packages/modules/Bluetooth/system/gd/discovery/device/
Ddata_parser_unittest.cc178 std::vector<bluetooth::hci::GapData> gap_data = data_parser.GetData(); in TEST()
201 std::vector<bluetooth::hci::GapData> gap_data = data_parser.GetData(); in TEST()
226 std::vector<bluetooth::hci::GapData> gap_data = data_parser.GetData(); in TEST()
Ddata_parser.h31 std::vector<hci::GapData> GetData() const;

123