Home
last modified time | relevance | path

Searched refs:turn_on (Results 1 – 10 of 10) sorted by relevance

/external/autotest/client/common_lib/
Dsmogcheck_ttci.py83 def TTCI_Set_Main_Power_Control(self, turn_on): argument
91 return self.pca_obj.setPCAcontrol('main_power', turn_on=turn_on)
93 def TTCI_Set_Backup_Power_Control(self, turn_on): argument
101 return self.pca_obj.setPCAcontrol('backup_power', turn_on=turn_on)
103 def TTCI_Set_Reset_Control(self, turn_on): argument
114 return self.pca_obj.setPCAcontrol('reset', turn_on=not(turn_on))
116 def TTCI_Set_PP_Control(self, turn_on): argument
124 return self.pca_obj.setPCAcontrol('pp', turn_on=turn_on)
126 def TTCI_Set_TPM_I2C_Control(self, turn_on): argument
134 return self.pca_obj.setPCAcontrol('tpm_i2c', turn_on=turn_on)
Dsmogcheck_pca9555.py85 def setPCAcontrol(self, key, turn_on): argument
95 logging.info('Attempt to set %r bit to %r', key, turn_on)
98 if turn_on:
/external/autotest/client/site_tests/hardware_TPMttci/
Dhardware_TPMttci.py154 if self.ttci_obj.TTCI_Set_Main_Power_Control(turn_on=True):
158 if self.ttci_obj.TTCI_Set_Main_Power_Control(turn_on=False):
165 if self.ttci_obj.TTCI_Set_Backup_Power_Control(turn_on=True):
169 if self.ttci_obj.TTCI_Set_Backup_Power_Control(turn_on=False):
176 if self.ttci_obj.TTCI_Set_PP_Control(turn_on=True):
180 if self.ttci_obj.TTCI_Set_PP_Control(turn_on=False):
187 if self.ttci_obj.TTCI_Set_TPM_I2C_Control(turn_on=True):
191 if self.ttci_obj.TTCI_Set_TPM_I2C_Control(turn_on=False):
197 if self.ttci_obj.TTCI_Set_Reset_Control(turn_on=True):
201 if self.ttci_obj.TTCI_Set_Reset_Control(turn_on=False):
/external/ltp/testcases/kernel/syscalls/ioperm/
Dioperm02.c101 int turn_on; member
134 test_cases[i].num, test_cases[i].turn_on)); in main()
207 test_cases[0].turn_on = TURN_ON; in setup()
211 test_cases[1].turn_on = TURN_ON; in setup()
/external/ltp/android/include/sys/
Dio.h12 static inline int ioperm(unsigned long from, unsigned long num, int turn_on) in ioperm() argument
14 return syscall(__NR_ioperm, from, num, turn_on); in ioperm()
/external/autotest/client/site_tests/hardware_TPMTakeOwnership/
Dhardware_TPMTakeOwnership.py85 if self.ttci_obj.TTCI_Set_Reset_Control(turn_on=True):
94 if self.ttci_obj.TTCI_Set_Reset_Control(turn_on=False):
/external/autotest/client/cros/bluetooth/
Dbluetooth_tester_xmlrpc_server.py111 turn_on = (current_settings ^ profile_settings) & profile_settings
112 if turn_on & bluetooth_socket.MGMT_SETTING_BREDR:
116 if turn_on & bluetooth_socket.MGMT_SETTING_LE:
/external/autotest/server/cros/network/
Dwifi_client.py585 def powersave_switch(self, turn_on): argument
592 if turn_on:
/external/valgrind/memcheck/tests/x86-linux/
Dscalar.stderr.exp1238 Syscall param ioperm(turn_on) contains uninitialised byte(s)
/external/valgrind/coregrind/m_syswrap/
Dsyswrap-linux.c1293 unsigned long, from, unsigned long, num, int, turn_on); in PRE()