Home
last modified time | relevance | path

Searched refs:SerializedSize (Results 1 – 4 of 4) sorted by relevance

/packages/modules/Bluetooth/system/bta/has/
Dhas_preset.cc59 if (buffer_size < SerializedSize()) { in Serialize()
81 const uint8_t nonamed_size = HasPreset(0, 0).SerializedSize(); in Deserialize()
Dhas_types.h301 return current + preset.SerializedSize(); in SerializedPresetsSize()
319 if (p_out + preset.SerializedSize() >= p_end) { in SerializePresets()
335 if (len < 2 + preset.SerializedSize()) { in DeserializePresets()
Dhas_preset.h103 uint8_t SerializedSize() const { in SerializedSize() function
Dhas_client_test.cc3099 auto sp_sz = preset.SerializedSize(); in TEST_F()
3130 std::vector<uint8_t> serialized(preset.SerializedSize() - 1); in TEST_F()
3144 std::vector<uint8_t> serialized(preset.SerializedSize()); in TEST_F()
3154 std::vector<uint8_t> serialized(preset.SerializedSize()); in TEST_F()
3186 ASSERT_EQ(out_buf_sz, preset.SerializedSize() + preset2.SerializedSize() + 2); in TEST_F()