Lines Matching refs:params
59 hidl_vec<V3_0::KeyParameter> convert(const hidl_vec<KeyParameter>& params) { in convert() argument
60 hidl_vec<V3_0::KeyParameter> converted(params.size()); in convert()
61 for (size_t i = 0; i < params.size(); ++i) { in convert()
62 converted[i] = convert(params[i]); in convert()
67 hidl_vec<KeyParameter> convert(const hidl_vec<V3_0::KeyParameter>& params) { in convert() argument
68 hidl_vec<KeyParameter> converted(params.size()); in convert()
69 for (size_t i = 0; i < params.size(); ++i) { in convert()
70 converted[i] = convert(params[i]); in convert()
81 hidl_vec<V3_0::KeyParameter> convertAndAddAuthToken(const hidl_vec<KeyParameter>& params, in convertAndAddAuthToken() argument
83 hidl_vec<V3_0::KeyParameter> converted(params.size() + 1); in convertAndAddAuthToken()
84 for (size_t i = 0; i < params.size(); ++i) { in convertAndAddAuthToken()
85 converted[i] = convert(params[i]); in convertAndAddAuthToken()
87 converted[params.size()].tag = V3_0::Tag::AUTH_TOKEN; in convertAndAddAuthToken()
88 converted[params.size()].blob = V4_0::support::authToken2HidlVec(authToken); in convertAndAddAuthToken()
173 Return<void> Keymaster3::importKey(const hidl_vec<KeyParameter>& params, KeyFormat keyFormat, in importKey() argument
179 auto rc = km3_dev_->importKey(convert(params), convert(keyFormat), keyData, cb); in importKey()