Searched refs:post_id (Results 1 – 3 of 3) sorted by relevance
/external/autotest/client/cros/cellular/wardmodem/ |
D | task_loop.py | 206 post_id = self._next_post_id 210 self._posted_tasks[post_id] = glib.timeout_add( 214 post_id, 217 return post_id 234 post_id = self._next_post_id 237 self._posted_tasks[post_id] = glib.timeout_add(delay_ms, callback, 239 return post_id 262 def cancel_posted_task(self, post_id): argument 272 if post_id in self._posted_tasks: 273 retval = glib.source_remove(self._posted_tasks[post_id]) [all …]
|
D | task_loop_unittest.py | 93 post_id = self._task_loop.post_task_after_delay( 96 self._task_loop.post_task(self._callback_cancel_task, post_id) 103 post_id = self._task_loop.post_task_after_delay( 106 self._task_loop.post_task(self._callback_cancel_task, post_id) 107 self._task_loop.post_task(self._callback_cancel_cancelled_task, post_id) 173 def _callback_cancel_task(self, post_id): argument 174 self._task_loop.cancel_posted_task(post_id) 177 def _callback_cancel_cancelled_task(self, post_id): argument 178 self.assertFalse(self._task_loop.cancel_posted_task(post_id))
|
/external/avahi/avahi-core/ |
D | querier.c | 46 unsigned post_id; member 80 if (avahi_interface_post_query(q->interface, q->key, 0, &q->post_id)) { in querier_elapse_callback() 130 if (avahi_interface_post_query(i, key, 0, &q->post_id)) in avahi_querier_add() 158 if (q->post_id_valid && avahi_interface_withraw_query(i, q->post_id)) { in avahi_querier_remove()
|