Home
last modified time | relevance | path

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

/system/vold/
DKeymaster.h66 KeymasterOperation() : mDevice{nullptr}, mOpHandle{0}, mError{km::ErrorCode::UNKNOWN_ERROR} {} in KeymasterOperation()
69 mDevice = rhs.mDevice;
70 rhs.mDevice = nullptr;
83 : mDevice{d}, mOpHandle{h}, mError{km::ErrorCode::OK} {} in KeymasterOperation()
84 KeymasterOperation(km::ErrorCode error) : mDevice{nullptr}, mOpHandle{0}, mError{error} {} in KeymasterOperation()
89 KmDevice* mDevice; variable
102 explicit operator bool() { return mDevice.get() != nullptr; }
118 std::unique_ptr<KmDevice> mDevice;
DKeymaster.cpp31 if (mDevice) mDevice->abort(mOpHandle); in ~KeymasterOperation()
52 auto error = mDevice->update(mOpHandle, hidl_vec<km::KeyParameter>(), inputBlob, in updateCompletely()
56 mDevice = nullptr; in updateCompletely()
61 mDevice = nullptr; in updateCompletely()
66 mDevice = nullptr; in updateCompletely()
81 auto error = mDevice->finish(mOpHandle, hidl_vec<km::KeyParameter>(), hidl_vec<uint8_t>(), in finish()
84 mDevice = nullptr; in finish()
109 mDevice = std::move(dev); in Keymaster()
113 if (!mDevice) return; in Keymaster()
114 auto& version = mDevice->halVersion(); in Keymaster()
[all …]
/system/vold/model/
DDisk.h61 dev_t getDevice() const { return mDevice; } in getDevice()
92 dev_t mDevice; variable
DDisk.cpp125 : mDevice(device), in Disk()
135 CreateDeviceNode(mDevPath, mDevice); in Disk()
250 unsigned int majorId = major(mDevice); in readMetadata()
381 dev_t partDevice = makedev(major(mDevice), minor(mDevice) + i); in readPartitions()
422 createPublicVolume(mDevice); in readPartitions()
567 unsigned int majorId = major(mDevice); in getMaxMinors()
DPublicVolume.h57 dev_t mDevice;
DPublicVolume.cpp48 PublicVolume::PublicVolume(dev_t device) : VolumeBase(Type::kPublic), mDevice(device), mFusePid(0) { in PublicVolume()
88 return CreateDeviceNode(mDevPath, mDevice); in doCreate()