Home
last modified time | relevance | path

Searched refs:mDevice (Results 1 – 10 of 10) sorted by relevance

/system/vold/
DKeymaster.cpp56 KeymasterDevice(T* d) : mDevice{d} {} in KeymasterDevice()
59 return mDevice->generate_key(mDevice, params, key_blob, nullptr); in generate_key()
62 if (mDevice->delete_key == nullptr) return KM_ERROR_OK; in delete_key()
63 return mDevice->delete_key(mDevice, key); in delete_key()
69 return mDevice->begin(mDevice, purpose, key, in_params, out_params, operation_handle); in begin()
76 return mDevice->update(mDevice, operation_handle, in_params, input, input_consumed, in update()
80 return mDevice->abort(mDevice, operation_handle); in abort()
84 T* const mDevice; member in android::vold::KeymasterDevice
90 ~Keymaster1Device() override final { keymaster1_close(mDevice); } in ~Keymaster1Device()
96 return mDevice->finish(mDevice, operation_handle, in_params, signature, out_params, output); in finish()
[all …]
DKeymaster.h48 explicit operator bool() { return mDevice != nullptr; }
59 mDevice = std::move(rhs.mDevice); in KeymasterOperation()
64 : mDevice{d}, mOpHandle{h} {} in KeymasterOperation()
65 std::shared_ptr<IKeymasterDevice> mDevice; variable
77 explicit operator bool() { return mDevice != nullptr; }
90 std::shared_ptr<IKeymasterDevice> mDevice;
DDisk.cpp110 mDevice(device), mSize(-1), mNickname(nickname), mFlags(flags), mCreated( in Disk()
116 CreateDeviceNode(mDevPath, mDevice); in Disk()
229 unsigned int majorId = major(mDevice); in readMetadata()
327 dev_t partDevice = makedev(major(mDevice), minor(mDevice) + i); in readPartitions()
360 createPublicVolume(mDevice); in readPartitions()
529 unsigned int majorId = major(mDevice); in getMaxMinors()
DDisk.h61 dev_t getDevice() { return mDevice; } in getDevice()
95 dev_t mDevice; variable
DPublicVolume.h57 dev_t mDevice;
DPublicVolume.cpp45 VolumeBase(Type::kPublic), mDevice(device), mFusePid(0) { in PublicVolume()
86 return CreateDeviceNode(mDevPath, mDevice); in doCreate()
/system/core/fingerprintd/
DFingerprintDaemonProxy.cpp36 FingerprintDaemonProxy::FingerprintDaemonProxy() : mModule(NULL), mDevice(NULL), mCallback(NULL) { in FingerprintDaemonProxy()
51 const int64_t device = (int64_t) instance->mDevice; in hal_notify_callback()
140 return mDevice->enroll(mDevice, authToken, groupId, timeout); in enroll()
144 return mDevice->pre_enroll(mDevice); in preEnroll()
148 return mDevice->post_enroll(mDevice); in postEnroll()
153 return mDevice->cancel(mDevice); in stopEnrollment()
158 return mDevice->authenticate(mDevice, sessionId, groupId); in authenticate()
163 return mDevice->cancel(mDevice); in stopAuthentication()
168 return mDevice->remove(mDevice, groupId, fingerId); in remove()
173 return mDevice->enumerate(mDevice); in enumerate()
[all …]
DFingerprintDaemonProxy.h58 fingerprint_device_t* mDevice; variable
/system/security/keystore/
Dkeystore.h38 keymaster2_device_t* getDevice() const { return mDevice; } in getDevice()
43 return blob.isFallback() ? mFallbackDevice : mDevice; in getDeviceForBlob()
116 keymaster2_device_t* mDevice; variable
Dkeystore.cpp37 : mEntropy(entropy), mDevice(device), mFallbackDevice(fallback) { in KeyStore()
240 mDevice->common.module->module_api_version >= KEYMASTER_MODULE_API_VERSION_0_2 && in get()
286 if (mDevice->delete_key != NULL && !keyBlob.isFallback()) { in del()
289 if (mDevice->delete_key(mDevice, &blob)) { in del()
442 keymaster_error_t error = mDevice->import_key(mDevice, &inParams, KM_KEY_FORMAT_PKCS8, &input, in importKey()
473 if (mDevice == NULL) { in isHardwareBacked()
479 return (mDevice->flags & KEYMASTER_SOFTWARE_ONLY) == 0; in isHardwareBacked()
481 return (mDevice->flags & KEYMASTER_SOFTWARE_ONLY) == 0 && in isHardwareBacked()
482 (mDevice->common.module->module_api_version >= KEYMASTER_MODULE_API_VERSION_0_2); in isHardwareBacked()