/system/tpm/tpm_manager/server/ |
D | tpm_connection.cc | 44 return context_.value(); in GetContext() 54 Tspi_Context_GetTpmObject(context_.value(), &tpm_handle))) { in GetTpm() 62 if (context_.value() != 0) { in ConnectContextIfNeeded() 66 if (TPM_ERROR(result = Tspi_Context_Create(context_.ptr()))) { in ConnectContextIfNeeded() 72 if (TPM_ERROR(result = Tspi_Context_Connect(context_, nullptr))) { in ConnectContextIfNeeded() 84 if (context_.value() == 0) { in ConnectContextIfNeeded() 95 Tspi_Context_GetTpmObject(context_.value(), &tpm_handle))) { in ConnectContextIfNeeded() 97 context_.reset(); in ConnectContextIfNeeded() 104 context_.reset(); in ConnectContextIfNeeded() 113 context_.reset(); in ConnectContextIfNeeded()
|
D | tpm_connection.h | 47 trousers::ScopedTssContext context_; variable
|
/system/core/libbacktrace/ |
D | BacktraceOffline.cpp | 180 context_ = context; in Unwind() 229 context_ = nullptr; in Unwind() 376 *value = context_->uc_mcontext.arm_r0; in ReadReg() 379 *value = context_->uc_mcontext.arm_r1; in ReadReg() 382 *value = context_->uc_mcontext.arm_r2; in ReadReg() 385 *value = context_->uc_mcontext.arm_r3; in ReadReg() 388 *value = context_->uc_mcontext.arm_r4; in ReadReg() 391 *value = context_->uc_mcontext.arm_r5; in ReadReg() 394 *value = context_->uc_mcontext.arm_r6; in ReadReg() 397 *value = context_->uc_mcontext.arm_r7; in ReadReg() [all …]
|
D | UnwindCurrent.cpp | 37 if (unw_init_local(cursor.get(), &context_) < 0) { in GetFunctionNameRaw() 47 &value, &context_) >= 0 && buf[0] != '\0') { in GetFunctionNameRaw() 55 unw_tdep_context_t* unw_context = reinterpret_cast<unw_tdep_context_t*>(&context_); in GetUnwContextFromUcontext() 81 int ret = unw_getcontext(&context_); in UnwindFromContext() 93 int ret = unw_init_local(cursor.get(), &context_); in UnwindFromContext()
|
D | BacktraceOffline.h | 51 context_(nullptr) { in BacktraceOffline() 75 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 | 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 | 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_key_factory.cpp | 101 return context_->CreateKeyBlob(authorizations, KM_ORIGIN_GENERATED, key_material, key_blob, in GenerateKey() 122 return context_->CreateKeyBlob(authorizations, KM_ORIGIN_IMPORTED, input_key_material, in ImportKey()
|
D | soft_keymaster_device.cpp | 163 context_(new SoftKeymasterContext), in SoftKeymasterDevice() 164 impl_(new AndroidKeymaster(context_, kOperationTableSize)), configured_(false) { in SoftKeymasterDevice() 173 : wrapped_km0_device_(nullptr), wrapped_km1_device_(nullptr), context_(context), in SoftKeymasterDevice() 174 impl_(new AndroidKeymaster(context_, kOperationTableSize)), configured_(false) { in SoftKeymasterDevice() 186 if (!context_) in SetHardwareDevice() 190 keymaster_error_t error = context_->SetHardwareDevice(keymaster0_device); in SetHardwareDevice() 215 if (!context_) in SetHardwareDevice() 223 error = context_->SetHardwareDevice(keymaster1_device); in SetHardwareDevice() 627 convert_device(dev)->context_->SetSystemVersion(os_version, os_patchlevel); in configure() 1166 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 | 104 context_ = new TestKeymasterContext; in CreateDevice() 105 SoftKeymasterDevice* device = new SoftKeymasterDevice(context_); in CreateDevice() 116 KeymasterContext* keymaster_context() const override { return context_; } in keymaster_context() 120 mutable TestKeymasterContext* context_; member in keymaster::test::SoftKeymasterTestInstanceCreator 149 context_ = new TestKeymasterContext; in CreateDevice() 150 SoftKeymasterDevice* keymaster = new SoftKeymasterDevice(context_); in CreateDevice() 171 KeymasterContext* keymaster_context() const override { return context_; } in keymaster_context() 178 mutable TestKeymasterContext* context_; member in keymaster::test::Keymaster0AdapterTestInstanceCreator 196 context_ = new TestKeymasterContext; in CreateDevice() 197 SoftKeymasterDevice* device = new SoftKeymasterDevice(context_); in CreateDevice() [all …]
|
/system/keymaster/include/keymaster/ |
D | key_factory.h | 36 explicit 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 | 246 SoftKeymasterContext* context_; variable
|
/system/core/init/ |
D | descriptors.cpp | 36 : name_(name), type_(type), uid_(uid), gid_(gid), perm_(perm), context_(context) { in DescriptorInfo() 52 const std::string& contextStr = context_.empty() ? globalContext : context_; in CreateAndPublish()
|
D | descriptors.h | 43 const std::string& context() const { return context_; } in context() 51 std::string context_; variable
|