/system/keymaster/android_keymaster/ |
D | android_keymaster.cpp | 64 : context_(context), operation_table_(new(std::nothrow) OperationTable(operation_table_size)) {} in AndroidKeymaster() 69 : context_(move(other.context_)), operation_table_(move(other.operation_table_)) {} in AndroidKeymaster() 105 const keymaster_algorithm_t* algorithms = context_->GetSupportedAlgorithms(&algorithm_count); in SupportedAlgorithms() 135 GetSupported(*context_, request.algorithm, request.purpose, in SupportedBlockModes() 141 GetSupported(*context_, request.algorithm, request.purpose, in SupportedPaddingModes() 147 GetSupported(*context_, request.algorithm, request.purpose, &OperationFactory::SupportedDigests, in SupportedDigests() 153 if (response == nullptr || !check_supported(*context_, request.algorithm, response)) in SupportedImportFormats() 158 context_->GetKeyFactory(request.algorithm)->SupportedImportFormats(&count); in SupportedImportFormats() 164 if (response == nullptr || !check_supported(*context_, request.algorithm, response)) in SupportedExportFormats() 169 context_->GetKeyFactory(request.algorithm)->SupportedExportFormats(&count); in SupportedExportFormats() [all …]
|
/system/core/init/ |
D | subcontext.h | 41 : path_prefix_(std::move(path_prefix)), context_(std::move(context)), pid_(0) { in Subcontext() 50 const std::string& context() const { return context_; } in context() 58 std::string context_; variable
|
D | subcontext.cpp | 102 : function_map_(function_map), context_(std::move(context)), init_fd_(init_fd){}; in SubcontextProcess() 112 const std::string context_; member in android::init::__anon1cc809970111::SubcontextProcess 129 result = RunBuiltinFunction(map_result->second, args, context_); in RunCommand() 253 if (setexeccon(context_.c_str()) < 0) { in Fork() 254 PLOG(FATAL) << "Could not set execcon for '" << context_ << "'"; in Fork() 259 const char* args[] = {init_path.c_str(), "subcontext", context_.c_str(), in Fork() 267 LOG(INFO) << "Forked subcontext for '" << context_ << "' with pid " << pid_; in Fork() 272 LOG(ERROR) << "Restarting subcontext '" << context_ << "'"; in Restart() 315 if (HandlePropertySet(property.name(), property.value(), context_, cr, &error) != 0) { in Execute()
|
D | descriptors.cpp | 38 : name_(name), type_(type), uid_(uid), gid_(gid), perm_(perm), context_(context) { in DescriptorInfo() 54 const std::string& contextStr = context_.empty() ? globalContext : context_; in CreateAndPublish()
|
D | descriptors.h | 46 const std::string& context() const { return context_; } in context() 54 std::string context_; variable
|
/system/core/adb/daemon/ |
D | usb.cpp | 152 aio_context_t result = context_; in release() 153 context_ = 0; in release() 158 if (context_ != 0) { in reset() 159 io_destroy(context_); in reset() 162 context_ = new_context; in reset() 165 aio_context_t get() { return context_; } in get() 168 aio_context_t context_ = 0; member
|
/system/keymaster/contexts/ |
D | soft_keymaster_device.cpp | 165 context_(new SoftKeymasterContext), in SoftKeymasterDevice() 166 impl_(new AndroidKeymaster(context_, kOperationTableSize)), configured_(false) { in SoftKeymasterDevice() 175 : wrapped_km1_device_(nullptr), context_(context), in SoftKeymasterDevice() 176 impl_(new AndroidKeymaster(context_, kOperationTableSize)), configured_(false) { in SoftKeymasterDevice() 188 if (!context_) in SetHardwareDevice() 192 keymaster_error_t error = context_->SetHardwareDevice(keymaster0_device); in SetHardwareDevice() 216 if (!context_) in SetHardwareDevice() 224 error = context_->SetHardwareDevice(keymaster1_device); in SetHardwareDevice() 1164 return convert_device(dev)->context_->DeleteKey(blob); in delete_key() 1177 return convert_device(dev)->context_->DeleteKey(blob); in delete_key() [all …]
|
/system/keymaster/include/keymaster/ |
D | android_keymaster.h | 97 UniquePtr<KeymasterContext> context_; variable
|
D | soft_keymaster_device.h | 244 SoftKeymasterContext* context_; variable
|
/system/keymaster/tests/ |
D | android_keymaster_test.cpp | 117 context_ = new TestKeymasterContext; in CreateDevice() 118 SoftKeymasterDevice* device = new SoftKeymasterDevice(context_); in CreateDevice() 129 KeymasterContext* keymaster_context() const override { return context_; } in keymaster_context() 133 mutable TestKeymasterContext* context_; member in keymaster::test::SoftKeymasterTestInstanceCreator 149 context_ = new TestKeymasterContext; in CreateDevice() 150 SoftKeymasterDevice* device = new SoftKeymasterDevice(context_); in CreateDevice() 164 KeymasterContext* keymaster_context() const override { return context_; } in keymaster_context() 168 mutable TestKeymasterContext* context_; member in keymaster::test::Sha256OnlyKeymaster1TestInstanceCreator 184 context_ = new TestKeymasterContext; in CreateDevice() 185 SoftKeymasterDevice* device = new SoftKeymasterDevice(context_); in CreateDevice() [all …]
|