Lines Matching refs:handle

144     native_handle_t* handle = native_handle_create(0, 0);  in TEST_P()  local
145 ASSERT_NE(handle, nullptr) << "Could not create native_handle"; in TEST_P()
148 dumpstate->dumpstateBoard_1_1(handle, GetMode(), kDefaultTimeoutMillis); in TEST_P()
152 native_handle_close(handle); in TEST_P()
153 native_handle_delete(handle); in TEST_P()
164 native_handle_t* handle = native_handle_create(1, 0); in TEST_P() local
165 ASSERT_NE(handle, nullptr) << "Could not create native_handle"; in TEST_P()
166 handle->data[0] = fds[1]; in TEST_P()
169 dumpstate->dumpstateBoard_1_1(handle, GetMode(), kDefaultTimeoutMillis); in TEST_P()
177 native_handle_close(handle); in TEST_P()
178 native_handle_delete(handle); in TEST_P()
190 native_handle_t* handle = native_handle_create(2, 0); in TEST_P() local
191 ASSERT_NE(handle, nullptr) << "Could not create native_handle"; in TEST_P()
192 handle->data[0] = fds1[1]; in TEST_P()
193 handle->data[1] = fds2[1]; in TEST_P()
196 dumpstate->dumpstateBoard_1_1(handle, GetMode(), kDefaultTimeoutMillis); in TEST_P()
207 native_handle_close(handle); in TEST_P()
208 native_handle_delete(handle); in TEST_P()
218 native_handle_t* handle = native_handle_create(1, 0); in TEST_P() local
219 ASSERT_NE(handle, nullptr) << "Could not create native_handle"; in TEST_P()
220 handle->data[0] = fds[1]; in TEST_P()
223 handle, static_cast<DumpstateMode>(-100), kDefaultTimeoutMillis); in TEST_P()
230 native_handle_close(handle); in TEST_P()
231 native_handle_delete(handle); in TEST_P()
240 native_handle_t* handle = native_handle_create(1, 0); in TEST_P() local
241 ASSERT_NE(handle, nullptr) << "Could not create native_handle"; in TEST_P()
242 handle->data[0] = fds[1]; in TEST_P()
245 handle, static_cast<DumpstateMode>(9001), kDefaultTimeoutMillis); in TEST_P()
252 native_handle_close(handle); in TEST_P()
253 native_handle_delete(handle); in TEST_P()
263 native_handle_t* handle = native_handle_create(1, 0); in TEST_P() local
264 ASSERT_NE(handle, nullptr) << "Could not create native_handle"; in TEST_P()
265 handle->data[0] = fds[1]; in TEST_P()
267 Return<void> status = dumpstate->dumpstateBoard(handle); in TEST_P()
275 native_handle_close(handle); in TEST_P()
276 native_handle_delete(handle); in TEST_P()
288 native_handle_t* handle = native_handle_create(1, 0); in TEST_P() local
289 ASSERT_NE(handle, nullptr) << "Could not create native_handle"; in TEST_P()
290 handle->data[0] = fds[1]; in TEST_P()
293 dumpstate->dumpstateBoard_1_1(handle, GetMode(), kDefaultTimeoutMillis); in TEST_P()
300 native_handle_close(handle); in TEST_P()
301 native_handle_delete(handle); in TEST_P()