Home
last modified time | relevance | path

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

/trusty/user/app/storage/test/storage-unittest/
Dmain.c867 file_handle_t handle1; in TEST_F() local
873 rc = storage_open_file(ss, &handle1, fname, STORAGE_FILE_OPEN_CREATE, in TEST_F()
876 storage_close_file(handle1); in TEST_F()
879 rc = storage_open_file(ss, &handle1, fname, 0, 0); in TEST_F()
895 storage_close_file(handle1); in TEST_F()
1552 file_handle_t handle1; in TEST_F() local
1558 ss, &handle1, fname1, in TEST_F()
1570 storage_close_file(handle1); in TEST_F()
1574 rc = storage_write(handle1, 0, &val, sizeof(val), STORAGE_OP_COMPLETE); in TEST_F()
1578 rc = storage_read(handle1, 0, &val, sizeof(val)); in TEST_F()
[all …]
/trusty/user/app/sample/hwcrypto-unittest/
Dmain.c889 uint8_t handle1[HWKEY_OPAQUE_HANDLE_MAX_SIZE] = {0}; in TEST_F() local
890 uint32_t actual_size = sizeof(handle1); in TEST_F()
893 handle1, &actual_size); in TEST_F()
905 rc = memcmp(handle1, handle2, HWKEY_OPAQUE_HANDLE_MAX_SIZE); in TEST_F()
910 rc = hwkey_get_keyslot_data(_state->hwkey_session, (const char*)handle1, in TEST_F()
937 rc = hwkey_get_keyslot_data(_state->hwkey_session, (const char*)handle1, in TEST_F()
955 uint8_t handle1[HWKEY_OPAQUE_HANDLE_MAX_SIZE] = {0}; in TEST_F() local
956 uint32_t actual_size = sizeof(handle1); in TEST_F()
959 handle1, &actual_size); in TEST_F()
983 rc = hwkey_get_keyslot_data(_state->hwkey_session, (const char*)handle1, in TEST_F()
[all …]
/trusty/user/base/app/apploader/tests/
Dapploader_test.c554 handle_t handle1 = INVALID_IPC_HANDLE; in TEST_F() local
558 handle1 = get_memory_handle_from_service(_state->channel, page_size); in TEST_F()
560 ASSERT_NE(handle1, INVALID_IPC_HANDLE); in TEST_F()
573 if (handle1 != INVALID_IPC_HANDLE) { in TEST_F()
574 close(handle1); in TEST_F()