Home
last modified time | relevance | path

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

/external/libese/apps/boot/
Dese_boot_tool.cpp270 EseBootLockId lockId; in handle_lock_state() local
276 lockId = kEseBootLockIdCarrier; in handle_lock_state()
278 lockId = kEseBootLockIdDevice; in handle_lock_state()
280 lockId = kEseBootLockIdBoot; in handle_lock_state()
282 lockId = kEseBootLockIdOwner; in handle_lock_state()
290 if (lockId == kEseBootLockIdCarrier || in handle_lock_state()
291 lockId == kEseBootLockIdOwner) { in handle_lock_state()
292 res = ese_boot_lock_xget(session, lockId, lockMeta, in handle_lock_state()
295 res = ese_boot_lock_get(session, lockId, &lockVal); in handle_lock_state()
326 if (lockId == kEseBootLockIdCarrier) { in handle_lock_state()
[all …]
Dboot.c371 EseBootLockId lockId, in ese_boot_lock_xset() argument
380 if (lockId > kEseBootLockIdMax) { in ese_boot_lock_xset()
417 uint8_t lockIdLockValueUseMeta[] = {lockId, lockData[0], 0x1, 0x1}; in ese_boot_lock_xset()
427 ALOGE("ese_boot_lock_xset: failed to set lock state (%d).", lockId); in ese_boot_lock_xset()
449 EseBootLockId lockId, in ese_boot_lock_set() argument
457 if (lockId > kEseBootLockIdMax) { in ese_boot_lock_set()
467 uint8_t lockIdLockValueNoMeta[] = {lockId, lockValue, 0x1, 0x0}; in ese_boot_lock_set()
477 ALOGE("Failed to set lock state (%d).", lockId); in ese_boot_lock_set()
/external/libese/apps/boot/include/ese/app/
Dboot.h111 EseAppResult ese_boot_lock_get(struct EseBootSession *session, EseBootLockId lockId, uint8_t *lockV…
126 struct EseBootSession *session, EseBootLockId lockId, uint8_t *lockData,
135 EseAppResult ese_boot_lock_set(struct EseBootSession *session, EseBootLockId lockId, uint8_t lockVa…
144 EseAppResult ese_boot_lock_xset(struct EseBootSession *session, EseBootLockId lockId, const uint8_t…