Home
last modified time | relevance | path

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

/external/autotest/client/site_tests/p2p_ShareFiles/
Dp2p_ShareFiles.py69 p2pcli = cros_p2p.CrosP2PClient(zero)
74 self._run_lansim_loop(timeout=20, until=p2pcli.get_peers())
76 peers = p2pcli.get_peers()
91 files = p2pcli.get_peer_files(peer_name)
96 num_connections = p2pcli.get_peer_connections(peer_name)
112 until=lambda: p2pcli.get_peer_files(peer_name))
114 files = p2pcli.get_peer_files(peer_name)
121 p2pcli.start_query()
127 p2pcli.stop_query()
129 files = p2pcli.get_peer_files(peer_name)
/external/autotest/client/site_tests/p2p_ServeFiles/
Dp2p_ServeFiles.py60 def _dut_ready(self, p2pcli): argument
62 peers = p2pcli.get_peers()
67 files = p2pcli.get_peer_files(peer_name)
118 p2pcli = cros_p2p.CrosP2PClient(zero)
123 self._sim.run_on_simulator(lambda: p2pcli.start_query())
126 res = self._sim.wait_for_condition(lambda: self._dut_ready(p2pcli),
128 self._sim.run_on_simulator(lambda: p2pcli.stop_query())