Home
last modified time | relevance | path

Searched refs:ObexOptionalHeader (Results 1 - 4 of 4) sorted by relevance

/foundation/communication/bluetooth_service/services/bluetooth/service/src/obex/
H A Dobex_headers.h215 * @brief ObexOptionalHeader's Data Type
227 class ObexOptionalHeader { class in OHOS::bluetooth::ObexActionType::ObexSessionParameters::ObexHeaderDataType
229 virtual ~ObexOptionalHeader() = default;
230 virtual std::unique_ptr<ObexOptionalHeader> Clone() const = 0;
242 ObexOptionalHeader(uint8_t headerId);
243 ObexOptionalHeader();
248 class ObexOptionalBytesHeader : public ObexOptionalHeader {
257 std::unique_ptr<ObexOptionalHeader> Clone() const override;
271 std::unique_ptr<ObexOptionalHeader> Clone() const override;
281 std::unique_ptr<ObexOptionalHeader> Clon
[all...]
H A Dobex_headers.cpp194 std::unique_ptr<ObexOptionalHeader> header = nullptr; in ParseBytes()
420 void ObexHeader::Append(std::unique_ptr<ObexOptionalHeader> &header) in Append()
435 const ObexOptionalHeader *headerItem = Get(headerId); in GetItem()
439 return static_cast<T>(const_cast<ObexOptionalHeader *>(headerItem)); in GetItem()
444 std::unique_ptr<ObexOptionalHeader> header = std::make_unique<ObexOptionalUnicodeHeader>(headerId, text); in AppendUnicode()
450 std::unique_ptr<ObexOptionalHeader> header = std::make_unique<ObexOptionalByteHeader>(headerId, byte); in AppendByte()
456 std::unique_ptr<ObexOptionalHeader> header = std::make_unique<ObexOptionalBytesHeader>(headerId, byteBuf, size); in AppendBytes()
462 std::unique_ptr<ObexOptionalHeader> header = std::make_unique<ObexOptionalWordHeader>(headerId, word); in AppendWord()
468 std::unique_ptr<ObexOptionalHeader> header = std::make_unique<ObexOptionalStringHeader>(headerId, str); in AppendString()
474 std::unique_ptr<ObexOptionalHeader> heade in AppendTlvTriplets()
951 ObexOptionalHeader::ObexOptionalHeader(uint8_t headerId) ObexOptionalHeader() function in OHOS::bluetooth::ObexOptionalHeader
[all...]
H A Dobex_utils.h55 static void ObexHeaderItemDebug(const ObexOptionalHeader &hi);
H A Dobex_utils.cpp126 void ObexUtils::ObexHeaderItemDebug(const ObexOptionalHeader &hi) in ObexHeaderItemDebug()

Completed in 5 milliseconds