Searched refs:DataElementType (Results 1 – 4 of 4) sorted by relevance
/system/bt/profile/sdp/common/test/ |
D | data_element_reader_test.cc | 68 constexpr uint8_t Desc(DataElementType t, DataElementSize s) { in Desc() 85 {Desc(DataElementType::BOOLEAN, DataElementSize::BYTE1), 0x01}, 89 {Desc(DataElementType::BOOLEAN, DataElementSize::BYTE1), 0x00}, 95 {Desc(DataElementType::SIGNED_INT, DataElementSize::BYTE1), 0xFF}, 98 {Desc(DataElementType::SIGNED_INT, DataElementSize::BYTE2), 0xFF, 0xFF}, 100 ValidTestParam{{Desc(DataElementType::SIGNED_INT, DataElementSize::BYTE4), 103 ValidTestParam{{Desc(DataElementType::SIGNED_INT, DataElementSize::BYTE8), 106 ValidTestParam{{Desc(DataElementType::SIGNED_INT, DataElementSize::BYTE16), 115 {Desc(DataElementType::UNSIGNED_INT, DataElementSize::BYTE1), 0x01}, 117 ValidTestParam{{Desc(DataElementType::UNSIGNED_INT, DataElementSize::BYTE2), [all …]
|
/system/bt/profile/sdp/ |
D | sdp_logging_helper.h | 83 inline std::string DataElementTypeText(const DataElementType& type) { in DataElementTypeText() 85 CASE_RETURN_TEXT(DataElementType::NIL); in DataElementTypeText() 86 CASE_RETURN_TEXT(DataElementType::UNSIGNED_INT); in DataElementTypeText() 87 CASE_RETURN_TEXT(DataElementType::SIGNED_INT); in DataElementTypeText() 88 CASE_RETURN_TEXT(DataElementType::UUID); in DataElementTypeText() 89 CASE_RETURN_TEXT(DataElementType::STRING); in DataElementTypeText() 90 CASE_RETURN_TEXT(DataElementType::BOOLEAN); in DataElementTypeText() 91 CASE_RETURN_TEXT(DataElementType::DATA_ELEMENT_SEQUENCE); in DataElementTypeText() 92 CASE_RETURN_TEXT(DataElementType::DATA_ELEMENT_ALTERNATIVE); in DataElementTypeText() 93 CASE_RETURN_TEXT(DataElementType::URL); in DataElementTypeText() [all …]
|
D | sdp_common.h | 67 enum class DataElementType : uint8_t { enum
|
/system/bt/profile/sdp/common/ |
D | data_element_reader.cc | 44 DataElementType type = static_cast<DataElementType>(descriptor >> 3); in ReadNext() 48 if (type > DataElementType::MAX_VALUE) { in ReadNext() 54 case DataElementType::BOOLEAN: in ReadNext() 62 case DataElementType::SIGNED_INT: in ReadNext() 64 case DataElementType::UNSIGNED_INT: in ReadNext() 66 case DataElementType::UUID: in ReadNext() 68 case DataElementType::STRING: in ReadNext() 70 case DataElementType::DATA_ELEMENT_SEQUENCE: in ReadNext()
|