Home
last modified time | relevance | path

Searched refs:mon (Results 1 – 7 of 7) sorted by relevance

/tools/test/connectivity/acts/framework/acts/bin/
Dmonsoon.py31 mon = monsoon_controller.create([int(args.serialno[0])])[0]
34 mon.set_voltage(args.voltage)
37 mon.set_max_current(args.current)
40 items = sorted(mon.status.items())
44 mon.usb(args.usbpassthrough)
47 mon.set_max_initial_current(args.startcurrent)
50 result = mon.measure_power(
/tools/test/connectivity/acts/framework/acts/test_utils/power/
DPowerBaseTest.py141 self.mon = self.monsoons[0]
142 self.mon.set_max_current(8.0)
143 self.mon.set_voltage(self.mon_voltage)
144 self.mon.attach_device(self.dut)
209 self.mon.usb('on')
389 mon_info = ObjNew(dut=self.mon,
406 self.mon.reconnect_monsoon()
408 self.mon.usb('on')
/tools/test/connectivity/acts/tests/google/wifi/
DWifiTetheringPowerTest.py51 self.mon = self.monsoons[0]
52 self.mon.set_voltage(4.2)
53 self.mon.set_max_current(7.8)
54 self.mon.attach_device(self.hotspot_device)
56 asserts.assert_true(self.mon.usb("auto"),
73 self.mon.usb("on")
88 result = self.mon.measure_power(self.hz,
/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DMockDeviceManager.java396 public void addDeviceMonitor(IDeviceMonitor mon) { in addDeviceMonitor() argument
397 mDvcMon.addMonitor(mon); in addDeviceMonitor()
401 public void removeDeviceMonitor(IDeviceMonitor mon) { in removeDeviceMonitor() argument
402 mDvcMon.removeMonitor(mon); in removeDeviceMonitor()
/tools/tradefederation/core/src/com/android/tradefed/device/
DDeviceManager.java1483 public void addDeviceMonitor(IDeviceMonitor mon) { in addDeviceMonitor() argument
1484 mDvcMon.addMonitor(mon); in addDeviceMonitor()
1488 public void removeDeviceMonitor(IDeviceMonitor mon) { in removeDeviceMonitor() argument
1489 mDvcMon.removeMonitor(mon); in removeDeviceMonitor()
DDeviceMonitorMultiplexer.java71 public synchronized void removeMonitor(IDeviceMonitor mon) { in removeMonitor() argument
72 mDeviceMonitors.remove(mon); in removeMonitor()
DIDeviceManager.java248 public void addDeviceMonitor(IDeviceMonitor mon); in addDeviceMonitor() argument
253 public void removeDeviceMonitor(IDeviceMonitor mon); in removeDeviceMonitor() argument