Lines Matching refs:context
49 const KeymasterContext& context) {
52 context.GetSystemVersion(&os_version, &os_patchlevel);
68 AndroidKeymaster::AndroidKeymaster(KeymasterContext* context, size_t operation_table_size)
69 : context_(context), operation_table_(new(std::nothrow) OperationTable(operation_table_size)) {}
85 bool check_supported(const KeymasterContext& context, keymaster_algorithm_t algorithm,
87 if (context.GetKeyFactory(algorithm) == NULL) {
122 void GetSupported(const KeymasterContext& context, keymaster_algorithm_t algorithm,
126 if (response == NULL || !check_supported(context, algorithm, response))
129 const OperationFactory* factory = context.GetOperationFactory(algorithm, purpose);
223 static KeyFactory* GetKeyFactory(const KeymasterContext& context,
231 KeyFactory* factory = context.GetKeyFactory(*algorithm);