Searched refs:select_data (Results 1 – 3 of 3) sorted by relevance
/external/adhd/cras/src/server/ |
D | cras_system_state.c | 65 void *cb_data, void *select_data); 66 void (*fd_rm)(int fd, void *select_data); 67 void *select_data; member 417 void *select_data), in cras_system_set_select_handler() argument 418 void (*rm)(int fd, void *select_data), in cras_system_set_select_handler() 419 void *select_data) in cras_system_set_select_handler() 425 state.select_data = select_data; in cras_system_set_select_handler() 436 state.select_data); in cras_system_add_select_fd() 463 state.fd_rm(fd, state.select_data); in cras_system_rm_select_fd()
|
D | cras_system_state.h | 171 void *select_data), 172 void (*rm)(int fd, void *select_data), 173 void *select_data);
|
/external/adhd/cras/src/tests/ |
D | system_state_unittest.cc | 63 void *callback_data, void *select_data) { in add_stub() argument 65 select_data_value = select_data; in add_stub() 69 static void rm_stub(int fd, void *select_data) { in rm_stub() argument 71 select_data_value = select_data; in rm_stub() 360 void *select_data = reinterpret_cast<void *>(33); in TEST() local 369 rc = cras_system_set_select_handler(add_stub, rm_stub, select_data); in TEST() 373 rc = cras_system_set_select_handler(add_stub, rm_stub, select_data); in TEST() 380 EXPECT_EQ(select_data, select_data_value); in TEST() 384 EXPECT_EQ(select_data, select_data_value); in TEST()
|