Home
last modified time | relevance | path

Searched refs:_hidl_cb (Results 1 – 4 of 4) sorted by relevance

/external/libese/esed/
DOemLock.cpp32 Return<void> OemLock::getName(getName_cb _hidl_cb) { in getName() argument
33 _hidl_cb(OemLockStatus::OK, {"01"}); in getName()
84 Return<void> OemLock::isOemUnlockAllowedByCarrier(isOemUnlockAllowedByCarrier_cb _hidl_cb) { in isOemUnlockAllowedByCarrier() argument
94 _hidl_cb(OemLockStatus::FAILED, false); in isOemUnlockAllowedByCarrier()
114 _hidl_cb(OemLockStatus::FAILED, false); in isOemUnlockAllowedByCarrier()
118 _hidl_cb(OemLockStatus::OK, data[0] != 0 ? false : true); in isOemUnlockAllowedByCarrier()
154 Return<void> OemLock::isOemUnlockAllowedByDevice(isOemUnlockAllowedByDevice_cb _hidl_cb) { in isOemUnlockAllowedByDevice() argument
164 _hidl_cb(OemLockStatus::FAILED, false); in isOemUnlockAllowedByDevice()
180 _hidl_cb(OemLockStatus::FAILED, false); in isOemUnlockAllowedByDevice()
184 _hidl_cb(OemLockStatus::OK, lock_byte != 0 ? false : true); in isOemUnlockAllowedByDevice()
DWeaver.cpp39 Return<void> Weaver::getConfig(getConfig_cb _hidl_cb) { in getConfig() argument
53 _hidl_cb(WeaverStatus::OK, WeaverConfig{0, 0, 0}); in getConfig()
58 _hidl_cb(WeaverStatus::FAILED, WeaverConfig{}); in getConfig()
65 _hidl_cb(WeaverStatus::FAILED, WeaverConfig{}); in getConfig()
74 _hidl_cb(WeaverStatus::OK, WeaverConfig{numSlots, kEseWeaverKeySize, kEseWeaverValueSize}); in getConfig()
114 Return<void> Weaver::read(uint32_t slotId, const hidl_vec<uint8_t>& key, read_cb _hidl_cb) { in read() argument
120 _hidl_cb(WeaverReadStatus::FAILED, WeaverReadResponse{}); in read()
130 _hidl_cb(WeaverReadStatus::FAILED, WeaverReadResponse{}); in read()
165 _hidl_cb(status, WeaverReadResponse{timeout, value}); in read()
DOemLock.h40 Return<void> getName(getName_cb _hidl_cb) override;
45 Return<void> isOemUnlockAllowedByCarrier(isOemUnlockAllowedByCarrier_cb _hidl_cb) override;
49 Return<void> isOemUnlockAllowedByDevice(isOemUnlockAllowedByDevice_cb _hidl_cb) override;
DWeaver.h39 Return<void> getConfig(getConfig_cb _hidl_cb) override;
42 Return<void> read(uint32_t slotId, const hidl_vec<uint8_t>& key, read_cb _hidl_cb) override;