Home
last modified time | relevance | path

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

/external/autotest/server/site_tests/bluetooth_Sanity_DefaultState/
Dbluetooth_Sanity_DefaultState.py80 supported_settings, current_settings, class_of_device,
82 self._log_settings('Initial state', current_settings)
84 if current_settings & bluetooth_socket.MGMT_SETTING_POWERED:
92 if current_settings & bluetooth_socket.MGMT_SETTING_DISCOVERABLE:
122 current_settings = self.device.read_info()[4]
123 self._log_settings("Powered up", current_settings)
125 if not current_settings & bluetooth_socket.MGMT_SETTING_POWERED:
127 if not current_settings & bluetooth_socket.MGMT_SETTING_PAIRABLE:
130 if current_settings & bluetooth_socket.MGMT_SETTING_DISCOVERABLE:
136 if current_settings & bluetooth_socket.MGMT_SETTING_CONNECTABLE:
[all …]
/external/autotest/client/common_lib/cros/bluetooth/
Dbluetooth_socket.py589 supported_settings, current_settings,
601 current_settings,
626 (current_settings, ) = struct.unpack_from('<L', buffer(data))
627 return current_settings
654 (current_settings, ) = struct.unpack_from('<L', buffer(data))
655 return current_settings
679 (current_settings, ) = struct.unpack_from('<L', buffer(data))
680 return current_settings
719 (current_settings, ) = struct.unpack_from('<L', buffer(data))
720 return current_settings
[all …]
/external/autotest/client/cros/bluetooth/
Dbluetooth_tester_xmlrpc_server.py91 supported_settings, current_settings, class_of_device,
111 turn_on = (current_settings ^ profile_settings) & profile_settings
121 turn_off = (current_settings ^ profile_settings) & current_settings
215 supported_settings, current_settings, class_of_device,
219 if profile_settings != current_settings:
221 '%x != %x', current_settings, profile_settings)
/external/f2fs-tools/tools/
Df2fscrypt.c500 struct termios current_settings; in disable_echo() local
503 rc = tcgetattr(0, &current_settings); in disable_echo()
506 *saved_settings = current_settings; in disable_echo()
507 current_settings.c_lflag &= ~ECHO; in disable_echo()
508 rc = tcsetattr(0, TCSANOW, &current_settings); in disable_echo()
516 struct termios current_settings; in get_passphrase() local
519 disable_echo(&current_settings); in get_passphrase()
521 tcsetattr(0, TCSANOW, &current_settings); in get_passphrase()
/external/e2fsprogs/misc/
De4crypt.c455 struct termios current_settings; in disable_echo() local
458 rc = tcgetattr(0, &current_settings); in disable_echo()
461 *saved_settings = current_settings; in disable_echo()
462 current_settings.c_lflag &= ~ECHO; in disable_echo()
463 rc = tcsetattr(0, TCSANOW, &current_settings); in disable_echo()
471 struct termios current_settings; in get_passphrase() local
474 disable_echo(&current_settings); in get_passphrase()
476 tcsetattr(0, TCSANOW, &current_settings); in get_passphrase()
/external/autotest/server/site_tests/bluetooth_Sanity_LEDiscovery/
Dbluetooth_Sanity_LEDiscovery.py92 supported_settings, current_settings, class_of_device,
/external/autotest/server/site_tests/bluetooth_Sanity_Discovery/
Dbluetooth_Sanity_Discovery.py91 supported_settings, current_settings, class_of_device,