Home
last modified time | relevance | path

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

/test/vts/runners/host/tcp_server/
Dcallback_server_test.py89 def ConnectToServer(self, func_id): argument
106 request_message.id = func_id
165 func_id = self._callback_server.RegisterCallback(callback_func)
166 self.assertEqual(func_id, '0')
172 response_message = self.ConnectToServer(func_id)
195 func_id = self._callback_server.RegisterCallback(callback_func)
197 self.assertEqual(func_id, found_func_id)
200 response_message = self.ConnectToServer(func_id)
211 self._callback_server.UnregisterCallback(func_id)
217 response_message = self.ConnectToServer(func_id)
Dcallback_server.py120 def UnregisterCallback(self, func_id): argument
130 _functions.pop(func_id)
134 func_id)