Home
last modified time | relevance | path

Searched refs:hevt1 (Results 1 – 2 of 2) sorted by relevance

/trusty/user/base/lib/uirq/test/
Dmain.c38 handle_t hevt1; member
45 _state->hevt1 = INVALID_IPC_HANDLE; in TEST_F_SETUP()
52 (void)close(_state->hevt1); in TEST_F_TEARDOWN()
58 _state->hevt1 = uirq_open(TEST_UIRQ_NO_ACCESS, 0); in TEST_F()
59 EXPECT_EQ(ERR_NOT_FOUND, _state->hevt1, "open no-access uirq event"); in TEST_F()
70 _state->hevt1 = uirq_open(TEST_UIRQ_10MS, 0); in TEST_F()
71 ASSERT_GE(_state->hevt1, 0, "open uirq"); in TEST_F()
75 rc = wait(_state->hevt1, &uevt, FAIL_TIMEOUT); in TEST_F()
77 ASSERT_EQ(uevt.handle, _state->hevt1); in TEST_F()
80 rc = uirq_ack_handled(_state->hevt1); in TEST_F()
[all …]
/trusty/kernel/app/uirqtest/
Duevt_test.c39 struct handle* hevt1; member
67 if (_state->hevt1) { in TEST_F_TEARDOWN()
68 handle_close(_state->hevt1); in TEST_F_TEARDOWN()
173 rc = event_source_open(&cid, NULL, 0, 0, &_state->hevt1); in TEST_F()
177 rc = event_source_open(&cid, "", 1, 0, &_state->hevt1); in TEST_F()
182 &_state->hevt1); in TEST_F()
203 0, &_state->hevt1); in TEST_F()
206 handle_close(_state->hevt1); in TEST_F()
207 _state->hevt1 = NULL; in TEST_F()
232 &_state->hevt1); in TEST_F()
[all …]