/system/core/libbacktrace/ |
D | BacktraceOffline.cpp | 138 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 …]
|
D | UnwindCurrent.cpp | 36 &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()
|
D | BacktraceOffline.h | 66 context_(nullptr), in BacktraceOffline() 98 ucontext_t* context_; variable
|
D | UnwindCurrent.h | 46 unw_context_t context_; variable
|
/system/keymaster/ |
D | android_keymaster.cpp | 69 : 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 …]
|
D | symmetric_key.cpp | 55 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()
|
D | ec_keymaster0_key.cpp | 64 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()
|
D | rsa_keymaster0_key.cpp | 66 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()
|
D | rsa_key_factory.cpp | 95 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()
|
D | soft_keymaster_device.cpp | 129 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 …]
|
D | ec_key_factory.cpp | 123 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()
|
D | android_keymaster_test.cpp | 102 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/ |
D | tpm_connection.cc | 41 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()
|
D | tpm_connection.h | 48 trousers::ScopedTssContext context_; variable
|
/system/keymaster/include/keymaster/ |
D | key_factory.h | 36 KeyFactory(const KeymasterContext* context) : context_(context) {} in KeyFactory() 64 const KeymasterContext* context_;
|
D | android_keymaster.h | 90 UniquePtr<KeymasterContext> context_; variable
|
D | soft_keymaster_device.h | 245 SoftKeymasterContext* context_; variable
|