OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:expected_vbus_voltage
(Results
1 - 2
of
2
) sorted by null
/external/autotest/server/site_tests/firmware_PDVbusRequest/
firmware_PDVbusRequest.py
37
def _compare_vbus(self,
expected_vbus_voltage
):
40
@param
expected_vbus_voltage
: nominal VBUS level (in volts)
48
tolerance = self.VBUS_TOLERANCE *
expected_vbus_voltage
49
voltage_difference = math.fabs(
expected_vbus_voltage
- vbus_voltage)
51
(
expected_vbus_voltage
, vbus_voltage, voltage_difference)
53
voltage_difference = math.fabs(
expected_vbus_voltage
- vbus_voltage)
129
expected_vbus_voltage
= self.plankton.charging_voltage
132
expected_vbus_voltage
= self.USBC_SINK_VOLTAGE
133
result, result_str = self._compare_vbus(
expected_vbus_voltage
)
/external/autotest/server/site_tests/firmware_TypeCCharging/
firmware_TypeCCharging.py
52
expected_vbus_voltage
= float(
55
tolerance = self.VBUS_TOLERANCE *
expected_vbus_voltage
61
if math.fabs(
expected_vbus_voltage
- vbus_voltage) > tolerance:
64
(vbus_voltage,
expected_vbus_voltage
, tolerance))
Completed in 1883 milliseconds