Lines Matching refs:ErrorCode
29 V4_0::ErrorCode convert(V3_0::ErrorCode error) { in convert()
30 return static_cast<V4_0::ErrorCode>(error); in convert()
141 Return<V4_0::ErrorCode> Keymaster3::addRngEntropy(const hidl_vec<uint8_t>& data) { in addRngEntropy()
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()
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()
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()
217 Return<V4_0::ErrorCode> Keymaster3::deleteKey(const hidl_vec<uint8_t>& keyBlob) { in deleteKey()
219 if (!rc.isOk()) return StatusOf<V3_0::ErrorCode, V4_0::ErrorCode>(rc); in deleteKey()
223 Return<V4_0::ErrorCode> Keymaster3::deleteAllKeys() { in deleteAllKeys()
225 if (!rc.isOk()) return StatusOf<V3_0::ErrorCode, V4_0::ErrorCode>(rc); in deleteAllKeys()
229 Return<V4_0::ErrorCode> Keymaster3::destroyAttestationIds() { in destroyAttestationIds()
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()
269 auto cb = [&](V3_0::ErrorCode error, const hidl_vec<V3_0::KeyParameter>& outParams, in finish()
280 Return<V4_0::ErrorCode> Keymaster3::abort(uint64_t operationHandle) { in abort()
282 if (!rc.isOk()) return StatusOf<V3_0::ErrorCode, V4_0::ErrorCode>(rc); in abort()