Lines Matching refs:V3_0
29 V4_0::ErrorCode convert(V3_0::ErrorCode error) { in convert()
33 V3_0::KeyPurpose convert(KeyPurpose purpose) { in convert()
34 return static_cast<V3_0::KeyPurpose>(purpose); in convert()
37 V3_0::KeyFormat convert(KeyFormat purpose) { in convert()
38 return static_cast<V3_0::KeyFormat>(purpose); in convert()
41 V3_0::KeyParameter convert(const KeyParameter& param) { in convert()
42 V3_0::KeyParameter converted; in convert()
43 converted.tag = static_cast<V3_0::Tag>(param.tag); in convert()
50 KeyParameter convert(const V3_0::KeyParameter& param) { in convert()
59 hidl_vec<V3_0::KeyParameter> convert(const hidl_vec<KeyParameter>& params) { in convert()
60 hidl_vec<V3_0::KeyParameter> converted(params.size()); in convert()
67 hidl_vec<KeyParameter> convert(const hidl_vec<V3_0::KeyParameter>& params) { in convert()
81 hidl_vec<V3_0::KeyParameter> convertAndAddAuthToken(const hidl_vec<KeyParameter>& params, in convertAndAddAuthToken()
83 hidl_vec<V3_0::KeyParameter> converted(params.size() + 1); in convertAndAddAuthToken()
87 converted[params.size()].tag = V3_0::Tag::AUTH_TOKEN; in convertAndAddAuthToken()
93 KeyCharacteristics convert(const V3_0::KeyCharacteristics& chars) { in convert()
144 return StatusOf<V3_0::ErrorCode, V4_0::ErrorCode>(rc); in addRngEntropy()
151 auto cb = [&](V3_0::ErrorCode error, const hidl_vec<uint8_t>& keyBlob, in generateKey()
152 const V3_0::KeyCharacteristics& characteristics) { in generateKey()
164 auto cb = [&](V3_0::ErrorCode error, const V3_0::KeyCharacteristics& chars) { in getKeyCharacteristics()
175 auto cb = [&](V3_0::ErrorCode error, const hidl_vec<uint8_t>& keyBlob, in importKey()
176 const V3_0::KeyCharacteristics& chars) { in importKey()
187 auto cb = [&](V3_0::ErrorCode error, const hidl_vec<uint8_t>& keyMaterial) { in exportKey()
198 auto cb = [&](V3_0::ErrorCode error, const hidl_vec<hidl_vec<uint8_t>>& certChain) { in attestKey()
209 auto cb = [&](V3_0::ErrorCode error, const hidl_vec<uint8_t>& upgradedKeyBlob) { in upgradeKey()
219 if (!rc.isOk()) return StatusOf<V3_0::ErrorCode, V4_0::ErrorCode>(rc); in deleteKey()
225 if (!rc.isOk()) return StatusOf<V3_0::ErrorCode, V4_0::ErrorCode>(rc); in deleteAllKeys()
231 if (!rc.isOk()) return StatusOf<V3_0::ErrorCode, V4_0::ErrorCode>(rc); in destroyAttestationIds()
238 auto cb = [&](V3_0::ErrorCode error, const hidl_vec<V3_0::KeyParameter>& outParams, in begin()
253 auto cb = [&](V3_0::ErrorCode error, uint32_t inputConsumed, in update()
254 const hidl_vec<V3_0::KeyParameter>& outParams, const hidl_vec<uint8_t>& output) { in update()
269 auto cb = [&](V3_0::ErrorCode error, const hidl_vec<V3_0::KeyParameter>& outParams, in finish()
282 if (!rc.isOk()) return StatusOf<V3_0::ErrorCode, V4_0::ErrorCode>(rc); in abort()