Home
last modified time | relevance | path

Searched refs:FolderItem (Results 1 – 6 of 6) sorted by relevance

/system/bt/include/hardware/avrcp/
Davrcp_common.h221 struct FolderItem { struct
227 FolderItem(uint64_t uid, uint8_t folder_type, bool is_playable, in FolderItem() function
238 FolderItem(const FolderItem&) = default;
301 FolderItem folder_;
307 MediaListItem(FolderItem item) : type_(FOLDER), folder_(item) {} in MediaListItem()
318 new (&folder_) FolderItem(item.folder_); in MediaListItem()
332 folder_.~FolderItem(); in ~MediaListItem()
/system/bt/packet/tests/avrcp/
Dget_folder_items_packet_test.cc72 auto folder = FolderItem(0x0000000000000001, 0x00, true, "Test Folder"); in TEST()
80 auto folder = FolderItem(0x0000000000000001, 0x00, true, "Test Folder"); in TEST()
89 FolderItem folder1(0x01, 0x00, true, "Folder 1 that fits"); in TEST()
90 FolderItem folder2(0x02, 0x00, true, "Folder 2 that doesn't fit"); in TEST()
91 FolderItem folder3(0x03, 0x00, true, "Folder 3 that fits"); in TEST()
191 auto folder = FolderItem(0x01, 0x00, true, "test folder"); in TEST()
/system/bt/packet/avrcp/
Dget_folder_items.h41 bool AddFolder(FolderItem item);
66 const FolderItem& item);
Dget_folder_items.cc114 bool GetFolderItemsResponseBuilder::AddFolder(FolderItem item) { in AddFolder()
184 const std::shared_ptr<::bluetooth::Packet>& pkt, const FolderItem& item) { in PushFolderItem()
/system/bt/profile/avrcp/tests/
Davrcp_device_test.cc795 expected_response->AddFolder(FolderItem(1, 0, true, "Test Folder")); in TEST_F()
807 truncated_packet->AddFolder(FolderItem(1, 0, true, "Test Folder0")); in TEST_F()
808 truncated_packet->AddFolder(FolderItem(2, 0, true, "Test Folder1")); in TEST_F()
818 truncated_packet->size() + FolderItem::kHeaderSize() + 5); in TEST_F()
878 folder_items_response->AddFolder(FolderItem(1, 0, true, "Test Folder0")); in TEST_F()
879 folder_items_response->AddFolder(FolderItem(2, 0, true, "Test Folder1")); in TEST_F()
904 folder_items_response->AddFolder(FolderItem(3, 0, true, "Test Folder2")); in TEST_F()
905 folder_items_response->AddFolder(FolderItem(4, 0, true, "Test Folder3")); in TEST_F()
906 folder_items_response->AddFolder(FolderItem(5, 0, true, "Test Folder4")); in TEST_F()
/system/bt/profile/avrcp/
Ddevice.cc1158 FolderItem folder_item(vfs_ids_.get_uid(folder.media_id), 0x00, in GetVFSListResponse()