Home
last modified time | relevance | path

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

/foundation/communication/nfc/interfaces/inner_api/common/
H A Dndef_message.cpp48 std::string NdefMessage::GetTagRtdType(EmRtdType rtdtype) in GetTagRtdType()
52 case EmRtdType::RTD_TEXT: in GetTagRtdType()
55 case EmRtdType::RTD_URI: in GetTagRtdType()
58 case EmRtdType::RTD_SMART_POSTER: in GetTagRtdType()
61 case EmRtdType::RTD_ALTERNATIVE_CARRIER: in GetTagRtdType()
64 case EmRtdType::RTD_HANDOVER_CARRIER: in GetTagRtdType()
67 case EmRtdType::RTD_HANDOVER_REQUEST: in GetTagRtdType()
70 case EmRtdType::RTD_HANDOVER_SELECT: in GetTagRtdType()
73 case EmRtdType::RTD_OHOS_APP: in GetTagRtdType()
108 std::string tagRtdType = NfcSdkCommon::StringToHexString(GetTagRtdType(EmRtdType in MakeUriRecord()
[all...]
H A Dndef_message.h117 enum EmRtdType { enum in OHOS::NFC::KITS::final
150 static std::string GetTagRtdType(EmRtdType rtdtype);
230 const static std::array<std::string, NdefMessage::EmRtdType::RTD_RESERVED> HEX_RTD_TYPE = {
/foundation/communication/nfc/test/fuzztest/tags_test/ndefmessage/ndefmessage_fuzzer/
H A Dndefmessage_fuzzer.cpp102 // Need enum type input parameter, use % 9 Randomly convert data to EmRtdType in FuzzGetTagRtdType()
103 NdefMessage::EmRtdType rtdtype = static_cast<NdefMessage::EmRtdType>(data[0] % OHOS::MAX_ENUM_EMRTDTYPE_NUMS); in FuzzGetTagRtdType()
/foundation/communication/nfc/frameworks/js/napi/tag/
H A Dnfc_napi_tag.cpp114 std::string hexText = HEX_RTD_TYPE.at(NdefMessage::EmRtdType::RTD_TEXT); in RegisterEnumRtdType()
124 std::string hexUri = HEX_RTD_TYPE.at(NdefMessage::EmRtdType::RTD_URI); in RegisterEnumRtdType()

Completed in 4 milliseconds