Home
last modified time | relevance | path

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

/packages/apps/Nfc/nci/jni/
DHciEventManager.cpp99 std::vector<uint8_t> berTlv) { in getDataFromBerTlv() argument
100 if (berTlv.empty()) { in getDataFromBerTlv()
103 size_t lengthTag = berTlv[0]; in getDataFromBerTlv()
104 LOG(DEBUG) << "decodeBerTlv: berTlv[0]=" << berTlv[0]; in getDataFromBerTlv()
109 if (lengthTag < 0x80 && berTlv.size() == (lengthTag + 1)) { in getDataFromBerTlv()
110 return std::vector<uint8_t>(berTlv.begin() + 1, berTlv.end()); in getDataFromBerTlv()
111 } else if (lengthTag == 0x81 && berTlv.size() > 2) { in getDataFromBerTlv()
112 size_t length = berTlv[1]; in getDataFromBerTlv()
113 if ((length + 2) == berTlv.size()) { in getDataFromBerTlv()
114 return std::vector<uint8_t>(berTlv.begin() + 2, berTlv.end()); in getDataFromBerTlv()
[all …]
DHciEventManager.h35 std::vector<uint8_t> getDataFromBerTlv(std::vector<uint8_t> berTlv);
/packages/apps/SecureElement/src/com/android/se/security/gpac/
DBerTlv.java255 BerTlv berTlv = (BerTlv) obj; in equals() local
256 if (mTag == berTlv.mTag) { in equals()
258 byte[] test2 = berTlv.getValue(); in equals()