Home
last modified time | relevance | path

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

/external/autotest/client/common_lib/
Dsmogcheck_pca9555.py108 def _computeLEDmask(self, bit_value, failure, warning): argument
121 if bit_value < 0 or bit_value > 15:
124 bit_mask = bit_value
152 def setLEDs(self, bit_value, failure, warning): argument
190 'warning=%r', bit_value, failure, warning)
194 bit_mask = self._computeLEDmask(bit_value, failure, warning)
237 bit_value = -1
247 bit_value = byte_read & 0xf # Get lower 4-bit value
249 bit_value, failure, warning)
254 return (ret, bit_value, failure, warning)
Dsmogcheck_ttci.py164 def TTCI_Set_LEDs(self, bit_value, failure, warning): argument
169 return self.pca_obj.setLEDs(bit_value, failure, warning)
/external/parameter-framework/upstream/test/functional-tests-legacy/PfwTestCase/Types/
DtBit_Block.py202 bit_value="3"
213 log.I("set parameter %s to %s, failed expected"%(self.bit_name[1],bit_value))
214 out,err = self.pfw.sendCmd("setParameter",self.bit_name[1],bit_value, expectSuccess=False)
215 assert err == None, log.E("setParameter %s %s : %s" % (self.bit_name[1],bit_value, err))
216 …rror not detected when setting the bit %s to out of bound value %s" % (self.bit_name[1],bit_value))
245 bit_value="1"
257 log.I("set parameter %s to %s, failed expected"%(bit_undefined_name,bit_value))
258 out,err = self.pfw.sendCmd("setParameter",bit_undefined_name,bit_value, expectSuccess=False)
259 assert err == None, log.E("setParameter %s %s : %s" % (bit_undefined_name,bit_value, err))
260 …or not detected when setting the bit %s to out of bound value %s" % (bit_undefined_name,bit_value))
/external/v8/test/mjsunit/
Drandom-bit-correlations.js53 var bit_value = predictor_bit == -2 ? 0 : 1;
54 print(`Bit ${random_bit} is ${bit_value} ${percent}% of the time`);
/external/autotest/server/cros/network/
Dattenuator_controller.py349 bit_value = bit_field & 1
351 (bit_value, gpio_pin.value_file))
/external/autotest/client/site_tests/hardware_TPMttci/
Dhardware_TPMttci.py145 ret, bit_value, failure, warning = self.ttci_obj.TTCI_Get_LED_Status()
150 bit_value, failure, warning)
/external/webrtc/webrtc/modules/rtp_rtcp/test/testFec/
Dtest_packet_masks_metrics.cc424 int bit_value = i >> (tot_num_packets - j - 1) & 1; in ComputeMetricsForCode() local
425 if (bit_value == 1) { in ComputeMetricsForCode()