/external/autotest/server/site_tests/firmware_ECCharging/ |
D | firmware_ECCharging.py | 33 voltage = int(self.ec.send_command_get_output("battery", 35 logging.info("Battery desired voltage = %d mV", voltage) 36 return voltage 49 voltage = int(self.ec.send_command_get_output("battery", 51 logging.info("Battery actual voltage = %d mV", voltage) 52 return voltage 73 voltage = int(self.ec.send_command_get_output("charger", 75 logging.info("Charger target voltage = %d mV", voltage) 76 return voltage
|
D | control | 21 - Charger target voltage should be less than 105% of battery desired voltage. 23 - Charger actual voltage should be less than 105% of charger target voltage.
|
/external/chromium-trace/catapult/telemetry/telemetry/internal/platform/power_monitor/ |
D | android_power_monitor_base.py | 22 voltage = 4.0 23 logging.warning('Unable to get device voltage. Using %s.', voltage) 25 voltage = float(millivolts) / 1000 26 logging.info('Device voltage at %s', voltage) 27 return voltage
|
D | android_dumpsys_power_monitor.py | 49 voltage = self._ParseVoltage(self._battery.GetBatteryInfo().get('voltage')) 51 power_results = self.ProcessPowerData(power_data, voltage, package) 56 def ProcessPowerData(power_data, voltage, package): argument 66 'energy_consumption_mwh': power_data['system_total'] * voltage, 67 'application_energy_consumption_mwh': package_power * voltage}
|
D | android_fuelgauge_power_monitor.py | 36 voltage = self._ParseVoltage(self._battery.GetBatteryInfo().get('voltage')) 37 return self.ProcessPowerData(voltage, fuel_gauge_delta) 40 def ProcessPowerData(voltage, fuel_gauge_delta): argument 42 'fuel_gauge_energy_consumption_mwh': fuel_gauge_delta * voltage}
|
D | android_dumpsys_power_monitor_unittest.py | 51 battery = pm_mock.MockBattery(_TYPICAL_POWER_DATA_MULTISAMPLE, voltage=5.0) 63 battery = pm_mock.MockBattery(_TYPICAL_POWER_DATA_MULTISAMPLE, voltage=5.0) 73 battery = pm_mock.MockBattery(_TYPICAL_POWER_DATA_MULTISAMPLE, voltage=5.0) 82 battery = pm_mock.MockBattery(_TYPICAL_POWER_DATA_MULTISAMPLE, voltage=5.0)
|
D | android_fuelgauge_power_monitor_unittest.py | 24 battery = pm_mock.MockBattery(None, voltage=5.0, fuelgauge=[5.e6, 3.e6]) 32 battery = pm_mock.MockBattery(None, voltage=5.0, fuelgauge=[5.e6, 3.e6]) 40 battery = pm_mock.MockBattery(None, voltage=5.0, fuelgauge=[5.e6, 3.e6])
|
D | pm_mock.py | 17 voltage=4.0, argument 22 self._voltage = voltage
|
/external/autotest/server/cros/servo/ |
D | plankton.py | 115 def charge(self, voltage): argument 120 if voltage not in self.USBC_CHARGING_VOLTAGES: 121 raise PlanktonError('Invalid charging voltage: %s' % voltage) 123 self.set(self.USBC_ROLE, self.USBC_CHARGING_VOLTAGES[voltage])
|
/external/autotest/server/site_tests/firmware_PDVbusRequest/ |
D | firmware_PDVbusRequest.py | 121 for voltage in self.plankton.get_charging_voltages(): 122 logging.info('********* %r *********', voltage) 124 self.plankton.charge(voltage)
|
D | control | 9 PURPOSE = "Servo based PD VBUS voltage level test" 10 CRITERIA = "This test will fail if actual voltage does not meet expected"
|
/external/autotest/server/site_tests/firmware_TypeCCharging/ |
D | control | 10 CRITERIA = "This test will fail if Plankton type C VBUS voltage not in range." 20 doesn't accept positive charging voltage.
|
/external/autotest/client/profilers/powertop/src/ |
D | powertop.c | 501 double voltage = 0.0; in print_battery_proc_acpi() local 530 voltage = strtoull(c, NULL, 10) / 1000.0; in print_battery_proc_acpi() 548 rate += watts_drawn + voltage * amperes_drawn; in print_battery_proc_acpi() 550 cap += watts_left + voltage * amperes_left; in print_battery_proc_acpi() 668 double voltage = 0.0; in print_battery_sysfs() local 705 voltage = strtoull(line, NULL, 10) / 1000000.0; in print_battery_sysfs() 719 watts_left = voltage; in print_battery_sysfs() 737 rate += watts_drawn + voltage * amperes_drawn; in print_battery_sysfs()
|
/external/chromium-trace/catapult/telemetry/telemetry/internal/platform/profiler/ |
D | monsoon.py | 213 for main, usb, _, voltage in data: 214 main_voltage_v = self._voltage_multiplier * (voltage & ~3)
|