Home
last modified time | relevance | path

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

/cts/tools/utils/
Dmonsoon.py61 FLAGS = flags.FLAGS variable
329 if not [f for f in useful_flags if FLAGS.get(f, None) is not None]:
331 print FLAGS.MainModuleHelp()
334 if FLAGS.includeusb:
339 if FLAGS.avg and FLAGS.avg < 0:
343 mon = Monsoon(device=FLAGS.device, serialno=FLAGS.serialno)
345 if FLAGS.voltage is not None:
346 if FLAGS.ramp is not None:
347 mon.RampVoltage(mon.start_voltage, FLAGS.voltage)
349 mon.SetVoltage(FLAGS.voltage)
[all …]
/cts/apps/CtsVerifier/assets/scripts/
Dexecute_power_tests.py51 FLAGS = flags.FLAGS variable
157 power_monitors = do_import("power_monitors.%s" % FLAGS.power_monitor)
789 if not [f for f in useful_flags if FLAGS.get(f, None) is not None]:
791 print FLAGS.MainModuleHelp()
794 if FLAGS.avg and FLAGS.avg < 0:
798 if FLAGS.voltage is not None:
799 if FLAGS.voltage > 5.5:
804 FLAGS.voltage)
810 if not FLAGS.power_monitor:
815 power_monitors = do_import("power_monitors.%s" % FLAGS.power_monitor)
[all …]