Searched refs:handle1 (Results 1 – 3 of 3) sorted by relevance
/system/core/libutils/ |
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 | 505 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/bt/gd/hci/acl_manager/ |
D | round_robin_scheduler_test.cc | 270 uint16_t handle1 = 0x01; in TEST_F() local 285 …round_robin_scheduler_->Register(RoundRobinScheduler::ConnectionType::CLASSIC, handle1, connection… in TEST_F() 305 VerifyPacket(handle1, packet); in TEST_F() 312 VerifyPacket(handle1, packet1); in TEST_F() 321 round_robin_scheduler_->Unregister(handle1); in TEST_F()
|