Searched refs:handle1 (Results 1 – 2 of 2) sorted by relevance
/system/core/libutils/tests/ |
D | Singleton_test.cpp | 36 void* handle1 = dlopen(lib.c_str(), RTLD_NOW); in TEST() local 37 ASSERT_TRUE(handle1 != nullptr) << dlerror(); in TEST() 49 has_fn_t has1 = reinterpret_cast<has_fn_t>(dlsym(handle1, "singletonHasInstance")); in TEST() 53 get_fn_t get1 = reinterpret_cast<get_fn_t>(dlsym(handle1, "singletonGetInstanceContents")); in TEST()
|
/system/core/trusty/storage/tests/ |
D | main.cpp | 506 file_handle_t handle1; in TEST_P() local 512 rc = storage_open_file(session_, &handle1, fname, STORAGE_FILE_OPEN_CREATE, in TEST_P() 515 storage_close_file(handle1); in TEST_P() 518 rc = storage_open_file(session_, &handle1, fname, 0, 0); in TEST_P() 525 storage_close_file(handle1); in TEST_P() 1126 file_handle_t handle1; in TEST_P() local 1134 handle1 = handle + 1; in TEST_P() 1138 rc = storage_write(handle1, 0, &val, sizeof(val), STORAGE_OP_COMPLETE); in TEST_P() 1142 rc = storage_read(handle1, 0, &val, sizeof(val)); in TEST_P() 1146 rc = storage_set_file_size(handle1, 0, STORAGE_OP_COMPLETE); in TEST_P() [all …]
|