Home
last modified time | relevance | path

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

/external/libese/esed/
DOemLock.cpp59 if (res != ESE_APP_RESULT_OK) { in setOemUnlockAllowedByCarrier()
65 if (res != ESE_APP_RESULT_OK) { in setOemUnlockAllowedByCarrier()
71 if (ese_boot_session_close(&session) != ESE_APP_RESULT_OK) { in setOemUnlockAllowedByCarrier()
78 } else if (res != ESE_APP_RESULT_OK) { in setOemUnlockAllowedByCarrier()
92 if (res != ESE_APP_RESULT_OK) { in isOemUnlockAllowedByCarrier()
103 if (res != ESE_APP_RESULT_OK || actualData == 0) { in isOemUnlockAllowedByCarrier()
108 if (ese_boot_session_close(&session) != ESE_APP_RESULT_OK) { in isOemUnlockAllowedByCarrier()
112 if (res != ESE_APP_RESULT_OK) { in isOemUnlockAllowedByCarrier()
133 if (res != ESE_APP_RESULT_OK) { in setOemUnlockAllowedByDevice()
138 if (res != ESE_APP_RESULT_OK) { in setOemUnlockAllowedByDevice()
[all …]
DWeaver.cpp56 } else if (res != ESE_APP_RESULT_OK) { in getConfig()
64 if (ese_weaver_get_num_slots(&ws, &numSlots) != ESE_APP_RESULT_OK) { in getConfig()
70 if (ese_weaver_session_close(&ws) != ESE_APP_RESULT_OK) { in getConfig()
97 if (ese_weaver_session_open(mEse.ese_interface(), &ws) != ESE_APP_RESULT_OK) { in write()
102 if (ese_weaver_write(&ws, slotId, key.data(), value.data()) != ESE_APP_RESULT_OK) { in write()
107 if (ese_weaver_session_close(&ws) != ESE_APP_RESULT_OK) { in write()
129 if (ese_weaver_session_open(mEse.ese_interface(), &ws) != ESE_APP_RESULT_OK) { in read()
141 case ESE_APP_RESULT_OK: in read()
161 if (ese_weaver_session_close(&ws) != ESE_APP_RESULT_OK) { in read()
/external/libese/apps/weaver/tests/
Dweaver_test.cpp47 ASSERT_EQ(ESE_APP_RESULT_OK, ese_weaver_session_open(mEse.ese_interface(), &mSession)); in SetUp()
51 ASSERT_EQ(ESE_APP_RESULT_OK, ese_weaver_session_close(&mSession)); in TearDown()
58 ASSERT_EQ(ESE_APP_RESULT_OK, ese_weaver_get_num_slots(&mSession, &numSlots)); in TEST_F()
64 ASSERT_EQ(ese_weaver_write(&mSession, slotId, KEY, VALUE), ESE_APP_RESULT_OK); in TEST_F()
68 ASSERT_EQ(ESE_APP_RESULT_OK, ese_weaver_read(&mSession, slotId, KEY, readValue, &timeout)); in TEST_F()
74 ASSERT_EQ(ese_weaver_write(&mSession, slotId, KEY, VALUE), ESE_APP_RESULT_OK); in TEST_F()
86 ASSERT_EQ(ese_weaver_write(&mSession, slotId, KEY, VALUE), ESE_APP_RESULT_OK); in TEST_F()
87 ASSERT_EQ(ese_weaver_erase_value(&mSession, slotId), ESE_APP_RESULT_OK); in TEST_F()
93 ASSERT_EQ(ESE_APP_RESULT_OK, ese_weaver_read(&mSession, slotId, KEY, readValue, &timeout)); in TEST_F()
/external/libese/apps/boot/
Dboot.c47 return ESE_APP_RESULT_OK; in check_apdu_status()
98 if (ret != ESE_APP_RESULT_OK) { in ese_boot_session_open()
128 if (ret != ESE_APP_RESULT_OK) { in ese_boot_session_open()
134 return ESE_APP_RESULT_OK; in ese_boot_session_open()
161 if (ret != ESE_APP_RESULT_OK) { in ese_boot_session_close()
166 return ESE_APP_RESULT_OK; in ese_boot_session_close()
227 return ESE_APP_RESULT_OK; in ese_boot_lock_xget()
261 if (ret != ESE_APP_RESULT_OK) { in ese_boot_lock_get()
276 return ESE_APP_RESULT_OK; in ese_boot_lock_get()
319 return ESE_APP_RESULT_OK; in ese_boot_meta_clear()
[all …]
Dese_boot_tool.cpp158 if (res == ESE_APP_RESULT_OK) { in handle_production()
177 if (res != ESE_APP_RESULT_OK) { in handle_state()
260 if (res == ESE_APP_RESULT_OK) { in handle_verify_key()
297 if (res == ESE_APP_RESULT_OK) { in handle_lock_state()
312 if (res == ESE_APP_RESULT_OK) { in handle_lock_state()
367 if (res != ESE_APP_RESULT_OK) { in handle_lock_state()
396 if (res != ESE_APP_RESULT_OK) { in handle_rollback()
406 if (res != ESE_APP_RESULT_OK) { in handle_rollback()
450 if (res != ESE_APP_RESULT_OK) { in main()
461 if (res != ESE_APP_RESULT_OK) { in main()
/external/libese/apps/weaver/
Dweaver.c55 return ESE_APP_RESULT_OK; in check_apdu_status()
106 if (ret != ESE_APP_RESULT_OK) { in ese_weaver_session_open()
136 if (ret != ESE_APP_RESULT_OK) { in ese_weaver_session_open()
142 return ESE_APP_RESULT_OK; in ese_weaver_session_open()
170 if (ret != ESE_APP_RESULT_OK) { in ese_weaver_session_close()
175 return ESE_APP_RESULT_OK; in ese_weaver_session_close()
217 return ESE_APP_RESULT_OK; in ese_weaver_get_num_slots()
360 return ESE_APP_RESULT_OK; in ese_weaver_read()
/external/libese/apps/include/ese/app/
Dresult.h29 ESE_APP_RESULT_OK = ESE_APP_RESULT_FALSE, enumerator
/external/libese/apps/boot/tests/
Dese_app_boot_tests.cpp118 EXPECT_EQ(ESE_APP_RESULT_OK, ese_boot_session_open(&ese_, &session)); in TEST_F()