Home
last modified time | relevance | path

Searched refs:DataElement (Results 1 – 3 of 3) sorted by relevance

/system/bt/profile/sdp/common/
Ddata_element_reader.h34 using DataElement =
44 DataElement ReadNext();
48 DataElement ParseFail();
50 DataElement ReadInteger();
51 DataElement ReadLargeInt();
54 DataElement ReadSignedInt(DataElementSize size);
55 DataElement ReadUnsignedInt(DataElementSize size);
56 DataElement ReadUuid(DataElementSize size);
57 DataElement ReadString(DataElementSize size);
58 DataElement ReadSequence(DataElementSize size);
Ddata_element_reader.cc39 DataElementReader::DataElement DataElementReader::ReadNext() { in ReadNext()
82 DataElementReader::DataElement DataElementReader::ParseFail() { in ParseFail()
88 DataElementReader::DataElement DataElementReader::ReadInteger() { in ReadInteger()
96 DataElementReader::DataElement DataElementReader::ReadLargeInt() { in ReadLargeInt()
107 DataElementReader::DataElement DataElementReader::ReadSignedInt( in ReadSignedInt()
127 DataElementReader::DataElement DataElementReader::ReadUnsignedInt( in ReadUnsignedInt()
147 DataElementReader::DataElement DataElementReader::ReadUuid( in ReadUuid()
174 DataElementReader::DataElement DataElementReader::ReadString( in ReadString()
206 DataElementReader::DataElement DataElementReader::ReadSequence( in ReadSequence()
/system/bt/profile/sdp/common/test/
Ddata_element_reader_test.cc26 using DataElement = DataElementReader::DataElement; typedef
53 DataElement a_elem = a.ReadNext(); in operator ==()
54 DataElement b_elem = b.ReadNext(); in operator ==()
59 if (a_elem == DataElement(std::monostate())) break; in operator ==()
79 using ValidTestParam = std::tuple<std::vector<uint8_t>, DataElement>;
201 ASSERT_EQ(reader.ReadNext(), DataElement(std::monostate())); in TEST_P()
236 ASSERT_EQ(subreader.ReadNext(), DataElement(std::monostate())); in TEST()
245 ASSERT_EQ(reader.ReadNext(), DataElement(std::monostate())); in TEST()
253 ASSERT_EQ(reader.ReadNext(), DataElement(std::monostate())); in TEST()
261 ASSERT_EQ(reader.ReadNext(), DataElement(std::monostate())); in TEST()
[all …]