Home
last modified time | relevance | path

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

/external/libese/esed/
DOemLock.cpp51 uint8_t lock_byte = allowed ? 0 : 1; in setOemUnlockAllowedByCarrier() local
53 data.insert(data.cbegin(), lock_byte); in setOemUnlockAllowedByCarrier()
127 uint8_t lock_byte = allowed ? 0 : 1; in setOemUnlockAllowedByDevice() local
137 res = ese_boot_lock_set(&session, kEseBootLockIdDevice, lock_byte); in setOemUnlockAllowedByDevice()
167 uint8_t lock_byte = 0; in isOemUnlockAllowedByDevice() local
168 res = ese_boot_lock_get(&session, kEseBootLockIdDevice, &lock_byte); in isOemUnlockAllowedByDevice()
184 _hidl_cb(OemLockStatus::OK, lock_byte != 0 ? false : true); in isOemUnlockAllowedByDevice()