Home
last modified time | relevance | path

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

/system/core/libutils/
DSingleton_test.cpp36 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/
Dmain.cpp505 file_handle_t handle1; in TEST_P() local
511 rc = storage_open_file(session_, &handle1, fname, STORAGE_FILE_OPEN_CREATE, in TEST_P()
514 storage_close_file(handle1); in TEST_P()
517 rc = storage_open_file(session_, &handle1, fname, 0, 0); in TEST_P()
524 storage_close_file(handle1); in TEST_P()
1125 file_handle_t handle1; in TEST_P() local
1133 handle1 = handle + 1; in TEST_P()
1137 rc = storage_write(handle1, 0, &val, sizeof(val), STORAGE_OP_COMPLETE); in TEST_P()
1141 rc = storage_read(handle1, 0, &val, sizeof(val)); in TEST_P()
1145 rc = storage_set_file_size(handle1, 0, STORAGE_OP_COMPLETE); in TEST_P()
[all …]
/system/security/keystore2/legacykeystore/
Dlib.rs684 let handle1 = thread::spawn(move || { in concurrent_legacy_keystore_entry_test() localVariable
749 handle1.join().expect("Thread 1 panicked."); in concurrent_legacy_keystore_entry_test()
/system/security/keystore2/src/
Ddatabase.rs4266 let handle1 = thread::spawn(move || { in test_large_number_of_concurrent_db_manipulations() localVariable
4341 handle1.join().expect("Thread 1 panicked."); in test_large_number_of_concurrent_db_manipulations()