Home
last modified time | relevance | path

Searched refs:kMinSize (Results 1 – 25 of 37) sorted by relevance

12

/system/bt/packet/avrcp/
Dchange_path.cc32 size_t len = BrowsePacket::kMinSize(); in size()
44 BrowsePacketBuilder::PushHeader(pkt, size() - BrowsePacket::kMinSize()); in Serialize()
54 auto it = begin() + BrowsePacket::kMinSize(); in GetUidCounter()
59 auto it = begin() + BrowsePacket::kMinSize() + static_cast<size_t>(2); in GetDirection()
64 auto it = begin() + BrowsePacket::kMinSize() + static_cast<size_t>(3); in GetUid()
71 return size() == kMinSize(); in IsValid()
96 return ChangePathRequest::kMinSize(); in size()
103 BrowsePacketBuilder::PushHeader(pkt, size() - BrowsePacket::kMinSize()); in Serialize()
Dget_item_attributes.cc52 size_t len = BrowsePacket::kMinSize(); in size()
67 BrowsePacketBuilder::PushHeader(pkt, size() - BrowsePacket::kMinSize()); in Serialize()
88 auto it = begin() + BrowsePacket::kMinSize(); in GetScope()
93 auto it = begin() + BrowsePacket::kMinSize() + static_cast<size_t>(1); in GetUid()
98 auto it = begin() + BrowsePacket::kMinSize() + static_cast<size_t>(9); in GetUidCounter()
103 auto it = begin() + BrowsePacket::kMinSize() + static_cast<size_t>(11); in GetNumAttributes()
109 auto it = begin() + BrowsePacket::kMinSize() + static_cast<size_t>(11); in GetAttributesRequested()
122 if (size() < kMinSize()) return false; in IsValid()
126 return (GetNumAttributes() * sizeof(Attribute)) == (size() - kMinSize()); in IsValid()
Dplay_item.cc31 size_t len = VendorPacket::kMinSize(); in size()
42 VendorPacketBuilder::PushHeader(pkt, size() - VendorPacket::kMinSize()); in Serialize()
50 auto it = begin() + VendorPacket::kMinSize(); in GetScope()
55 auto it = begin() + VendorPacket::kMinSize() + static_cast<size_t>(1); in GetUid()
60 auto it = begin() + VendorPacket::kMinSize() + static_cast<size_t>(9); in GetUidCounter()
66 return size() == kMinSize(); in IsValid()
Dvendor_packet.cc38 return VendorPacket::kMinSize() + payload_->size(); in size()
83 return PullCompanyId(begin() + Packet::kMinSize()); in GetCompanyId()
87 auto value = *(begin() + Packet::kMinSize() + static_cast<size_t>(3)); in GetCommandPdu()
92 auto value = *(begin() + Packet::kMinSize() + static_cast<size_t>(4)); in GetPacketType()
97 auto it = begin() + Packet::kMinSize() + static_cast<size_t>(5); in GetParameterLength()
103 if (size() < VendorPacket::kMinSize()) return false; in IsValid()
105 auto start = begin() + VendorPacket::kMinSize(); in IsValid()
Dget_element_attributes_packet.cc25 auto it = begin() + VendorPacket::kMinSize(); in GetIdentifier()
30 auto it = begin() + VendorPacket::kMinSize() + static_cast<size_t>(8); in GetNumAttributes()
36 auto it = begin() + VendorPacket::kMinSize() + static_cast<size_t>(8); in GetAttributesRequested()
51 if (size() < kMinSize()) return false; in IsValid()
54 auto attr_start = begin() + VendorPacket::kMinSize() + static_cast<size_t>(9); in IsValid()
123 return VendorPacket::kMinSize() + 1 + attr_list_size; in size()
132 VendorPacketBuilder::PushHeader(pkt, size() - VendorPacket::kMinSize()); in Serialize()
Dregister_notification_packet.cc29 auto value = *(begin() + VendorPacket::kMinSize()); in GetEvent()
35 auto it = begin() + VendorPacket::kMinSize() + static_cast<size_t>(1); in GetVolume()
41 if (size() < kMinSize()) return false; in IsValid()
48 return size() == (kMinSize() + 1); in IsValid()
177 return VendorPacket::kMinSize() + 1 + data_size; in size()
186 VendorPacketBuilder::PushHeader(pkt, size() - VendorPacket::kMinSize()); in Serialize()
232 auto value = *(begin() + VendorPacket::kMinSize()); in GetEventRegistered()
237 auto it = begin() + VendorPacket::kMinSize() + static_cast<size_t>(1); in GetInterval()
242 return (size() == kMinSize()); in IsValid()
273 return RegisterNotificationRequest::kMinSize(); in size()
[all …]
Dpass_through_packet.cc31 return PassThroughPacket::kMinSize(); in size()
50 auto it = begin() + Packet::kMinSize(); in GetKeyState()
55 return *(begin() + Packet::kMinSize()) & 0b01111111; in GetOperationId()
58 bool PassThroughPacket::IsValid() const { return size() == kMinSize(); } in IsValid()
Dset_absolute_volume.cc31 return VendorPacket::kMinSize() + 1; in size()
40 VendorPacketBuilder::PushHeader(pkt, size() - VendorPacket::kMinSize()); in Serialize()
48 auto it = begin() + VendorPacket::kMinSize(); in GetVolume()
55 return size() == kMinSize(); in IsValid()
Dget_total_number_of_items.cc33 size_t len = BrowsePacket::kMinSize(); in size()
47 BrowsePacketBuilder::PushHeader(pkt, size() - BrowsePacket::kMinSize()); in Serialize()
58 auto it = begin() + BrowsePacket::kMinSize(); in GetScope()
64 return size() == kMinSize(); in IsValid()
Dset_addressed_player.cc31 size_t len = VendorPacket::kMinSize(); in size()
42 VendorPacketBuilder::PushHeader(pkt, size() - VendorPacket::kMinSize()); in Serialize()
50 auto it = begin() + VendorPacket::kMinSize(); in GetPlayerId()
56 return size() == kMinSize(); in IsValid()
Dcapabilities_packet.h65 static constexpr size_t kMinSize() { return VendorPacket::kMinSize() + 1; }; in kMinSize() function
127 static constexpr size_t kMinSize() { return VendorPacket::kMinSize() + 2; }; in kMinSize() function
Dset_browsed_player.cc36 size_t len = BrowsePacket::kMinSize(); in size()
60 BrowsePacketBuilder::PushHeader(pkt, size() - BrowsePacket::kMinSize()); in Serialize()
82 auto it = begin() + BrowsePacket::kMinSize(); in GetPlayerId()
88 return size() == kMinSize(); in IsValid()
Dcapabilities_packet.cc31 return GetCapabilitiesRequest::kMinSize(); in size()
49 auto value = *(begin() + VendorPacket::kMinSize()); in GetCapabilityRequested()
55 return (size() == VendorPacket::kMinSize() + 1); in IsValid()
123 return GetCapabilitiesResponse::kMinSize() + in size()
135 uint16_t parameter_count = size() - VendorPacket::kMinSize(); in Serialize()
Dget_folder_items.cc55 size_t len = BrowsePacket::kMinSize(); in size()
75 BrowsePacketBuilder::PushHeader(pkt, size() - BrowsePacket::kMinSize()); in Serialize()
233 auto it = begin() + BrowsePacket::kMinSize(); in GetScope()
238 auto it = begin() + BrowsePacket::kMinSize() + static_cast<size_t>(1); in GetStartItem()
243 auto it = begin() + BrowsePacket::kMinSize() + static_cast<size_t>(5); in GetEndItem()
248 auto it = begin() + BrowsePacket::kMinSize() + static_cast<size_t>(9); in GetNumAttributes()
253 auto it = begin() + BrowsePacket::kMinSize() + static_cast<size_t>(9); in GetAttributesRequested()
275 if (size() < kMinSize()) return false; in IsValid()
282 auto attr_start = begin() + kMinSize(); in IsValid()
316 size_t len = GetFolderItemsRequest::kMinSize(); in size()
[all …]
Dregister_notification_packet.h44 static constexpr size_t kMinSize() { return VendorPacket::kMinSize() + 1; } in kMinSize() function
119 static constexpr size_t kMinSize() { return VendorPacket::kMinSize() + 5; } in kMinSize() function
Dgeneral_reject_packet.cc30 return BrowsePacket::kMinSize() + 1; in size()
37 BrowsePacketBuilder::PushHeader(pkt, size() - BrowsePacket::kMinSize()); in Serialize()
Davrcp_browse_packet.cc35 return BrowsePacket::kMinSize() + payload_->size(); in size()
68 if (size() < kMinSize()) return false; in IsValid()
69 return size() == GetLength() + kMinSize(); in IsValid()
Dget_play_status_packet.cc38 return VendorPacket::kMinSize() + 4 + 4 + 1; in size()
49 uint16_t parameter_count = size() - VendorPacket::kMinSize(); in Serialize()
Dset_absolute_volume.h69 static constexpr size_t kMinSize() { return VendorPacket::kMinSize() + 1; } in kMinSize() function
Dset_addressed_player.h63 static constexpr size_t kMinSize() { return VendorPacket::kMinSize() + 2; } in kMinSize() function
Dplay_item.h64 static constexpr size_t kMinSize() { return VendorPacket::kMinSize() + 11; } in kMinSize() function
Dpass_through_packet.h62 static constexpr size_t kMinSize() { return Packet::kMinSize() + 2; } in kMinSize() function
Dget_total_number_of_items.h60 static constexpr size_t kMinSize() { return BrowsePacket::kMinSize() + 1; } in kMinSize() function
Dget_play_status_packet.h44 static constexpr size_t kMinSize() { return Packet::kMinSize() + 7; } in kMinSize() function
Dget_element_attributes_packet.h46 static constexpr size_t kMinSize() { return VendorPacket::kMinSize() + 9; } in kMinSize() function

12