Home
last modified time | relevance | path

Searched refs:bit_value (Results 1 – 6 of 6) 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.py201 bit_value="3"
212 log.I("set parameter %s to %s, failed expected"%(self.bit_name[1],bit_value))
213 out,err = self.pfw.sendCmd("setParameter",self.bit_name[1],bit_value, expectSuccess=False)
214 assert err == None, log.E("setParameter %s %s : %s" % (self.bit_name[1],bit_value, err))
215 …rror not detected when setting the bit %s to out of bound value %s" % (self.bit_name[1],bit_value))
244 bit_value="1"
256 log.I("set parameter %s to %s, failed expected"%(bit_undefined_name,bit_value))
257 out,err = self.pfw.sendCmd("setParameter",bit_undefined_name,bit_value, expectSuccess=False)
258 assert err == None, log.E("setParameter %s %s : %s" % (bit_undefined_name,bit_value, err))
259 …or not detected when setting the bit %s to out of bound value %s" % (bit_undefined_name,bit_value))
/external/pdfium/third_party/libopenjpeg20/
Dmqc.c386 OPJ_BYTE bit_value = 0; in opj_mqc_bypass_flush_enc() local
393 mqc->c += (OPJ_UINT32)(bit_value << mqc->ct); in opj_mqc_bypass_flush_enc()
394 bit_value = (OPJ_BYTE)(1U - bit_value); in opj_mqc_bypass_flush_enc()
/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()