Home
last modified time | relevance | path

Searched refs:context_ (Results 1 – 17 of 17) sorted by relevance

/system/core/libbacktrace/
DBacktraceOffline.cpp138 context_ = context; in Unwind()
187 context_ = nullptr; in Unwind()
287 *value = context_->uc_mcontext.arm_r0; in ReadReg()
290 *value = context_->uc_mcontext.arm_r1; in ReadReg()
293 *value = context_->uc_mcontext.arm_r2; in ReadReg()
296 *value = context_->uc_mcontext.arm_r3; in ReadReg()
299 *value = context_->uc_mcontext.arm_r4; in ReadReg()
302 *value = context_->uc_mcontext.arm_r5; in ReadReg()
305 *value = context_->uc_mcontext.arm_r6; in ReadReg()
308 *value = context_->uc_mcontext.arm_r7; in ReadReg()
[all …]
DUnwindCurrent.cpp36 &value, &context_) >= 0 && buf[0] != '\0') { in GetFunctionNameRaw()
44 unw_tdep_context_t* unw_context = reinterpret_cast<unw_tdep_context_t*>(&context_); in GetUnwContextFromUcontext()
70 int ret = unw_getcontext(&context_); in UnwindFromContext()
82 int ret = unw_init_local(cursor.get(), &context_); in UnwindFromContext()
DBacktraceOffline.h66 context_(nullptr), in BacktraceOffline()
98 ucontext_t* context_; variable
DUnwindCurrent.h46 unw_context_t context_; variable
/system/keymaster/
Dandroid_keymaster.cpp69 : context_(context), operation_table_(new OperationTable(operation_table_size)) {} in AndroidKeymaster()
112 const keymaster_algorithm_t* algorithms = context_->GetSupportedAlgorithms(&algorithm_count); in SupportedAlgorithms()
142 GetSupported(*context_, request.algorithm, request.purpose, in SupportedBlockModes()
148 GetSupported(*context_, request.algorithm, request.purpose, in SupportedPaddingModes()
154 GetSupported(*context_, request.algorithm, request.purpose, &OperationFactory::SupportedDigests, in SupportedDigests()
160 if (response == NULL || !check_supported(*context_, request.algorithm, response)) in SupportedImportFormats()
165 context_->GetKeyFactory(request.algorithm)->SupportedImportFormats(&count); in SupportedImportFormats()
171 if (response == NULL || !check_supported(*context_, request.algorithm, response)) in SupportedExportFormats()
176 context_->GetKeyFactory(request.algorithm)->SupportedExportFormats(&count); in SupportedExportFormats()
182 response->error = context_->AddRngEntropy(request.random_data.peek_read(), in AddRngEntropy()
[all …]
Dsymmetric_key.cpp55 error = context_->GenerateRandom(key_material.writable_data(), key_data_size); in GenerateKey()
61 return context_->CreateKeyBlob(key_description, KM_ORIGIN_GENERATED, key_material, key_blob, in GenerateKey()
99 return context_->CreateKeyBlob(authorizations, KM_ORIGIN_IMPORTED, input_key_material, in ImportKey()
Dec_keymaster0_key.cpp64 return context_->CreateKeyBlob(key_description, KM_ORIGIN_UNKNOWN, key_material, key_blob, in GenerateKey()
96 return context_->CreateKeyBlob(authorizations, KM_ORIGIN_UNKNOWN, imported_hw_key, in ImportKey()
Drsa_keymaster0_key.cpp66 return context_->CreateKeyBlob(key_description, KM_ORIGIN_UNKNOWN, key_material, key_blob, in GenerateKey()
97 return context_->CreateKeyBlob(authorizations, KM_ORIGIN_UNKNOWN, imported_hw_key, in ImportKey()
Drsa_key_factory.cpp95 return context_->CreateKeyBlob(authorizations, KM_ORIGIN_GENERATED, key_material, key_blob, in GenerateKey()
116 return context_->CreateKeyBlob(authorizations, KM_ORIGIN_IMPORTED, input_key_material, in ImportKey()
Dsoft_keymaster_device.cpp129 context_(new SoftKeymasterContext), in SoftKeymasterDevice()
130 impl_(new AndroidKeymaster(context_, kOperationTableSize)), configured_(false) { in SoftKeymasterDevice()
139 : wrapped_km0_device_(nullptr), wrapped_km1_device_(nullptr), context_(context), in SoftKeymasterDevice()
140 impl_(new AndroidKeymaster(context_, kOperationTableSize)), configured_(false) { in SoftKeymasterDevice()
152 if (!context_) in SetHardwareDevice()
155 keymaster_error_t error = context_->SetHardwareDevice(keymaster0_device); in SetHardwareDevice()
180 if (!context_) in SetHardwareDevice()
187 error = context_->SetHardwareDevice(keymaster1_device); in SetHardwareDevice()
617 convert_device(dev)->context_->SetSystemVersion(os_version, os_patchlevel); in configure()
1143 return convert_device(dev)->context_->DeleteKey(blob); in delete_key()
[all …]
Dec_key_factory.cpp123 return context_->CreateKeyBlob(authorizations, KM_ORIGIN_GENERATED, key_material, key_blob, in GenerateKey()
143 return context_->CreateKeyBlob(authorizations, KM_ORIGIN_IMPORTED, input_key_material, in ImportKey()
Dandroid_keymaster_test.cpp102 context_ = new TestKeymasterContext; in CreateDevice()
103 SoftKeymasterDevice* device = new SoftKeymasterDevice(context_); in CreateDevice()
114 KeymasterContext* keymaster_context() const override { return context_; } in keymaster_context()
117 mutable TestKeymasterContext* context_; member in keymaster::test::SoftKeymasterTestInstanceCreator
146 context_ = new TestKeymasterContext; in CreateDevice()
147 SoftKeymasterDevice* keymaster = new SoftKeymasterDevice(context_); in CreateDevice()
168 KeymasterContext* keymaster_context() const override { return context_; } in keymaster_context()
171 mutable TestKeymasterContext* context_; member in keymaster::test::Keymaster0AdapterTestInstanceCreator
189 context_ = new TestKeymasterContext; in CreateDevice()
190 SoftKeymasterDevice* device = new SoftKeymasterDevice(context_); in CreateDevice()
[all …]
/system/tpm/tpm_manager/server/
Dtpm_connection.cc41 return context_.value(); in GetContext()
50 if (TPM_ERROR(result = Tspi_Context_GetTpmObject(context_.value(), in GetTpm()
83 if (context_.value() != 0) { in ConnectContextIfNeeded()
87 if (TPM_ERROR(result = Tspi_Context_Create(context_.ptr()))) { in ConnectContextIfNeeded()
93 if (TPM_ERROR(result = Tspi_Context_Connect(context_, nullptr))) { in ConnectContextIfNeeded()
105 return (context_.value() != 0); in ConnectContextIfNeeded()
Dtpm_connection.h48 trousers::ScopedTssContext context_; variable
/system/keymaster/include/keymaster/
Dkey_factory.h36 KeyFactory(const KeymasterContext* context) : context_(context) {} in KeyFactory()
64 const KeymasterContext* context_;
Dandroid_keymaster.h90 UniquePtr<KeymasterContext> context_; variable
Dsoft_keymaster_device.h245 SoftKeymasterContext* context_; variable