Home
last modified time | relevance | path

Searched refs:fd (Results 1 – 25 of 32) sorted by relevance

12

/tools/test/connectivity/acts_tests/tests/google/fuchsia/wlan_policy/
DSavedNetworksTest.py63 for fd in self.fuchsia_devices:
64 fd.configure_wlan(association_mechanism='policy',
68 for fd in self.fuchsia_devices:
69 if not fd.wlan_policy_controller.remove_all_networks():
75 for fd in self.fuchsia_devices:
76 fd.wlan_policy_controller.remove_all_networks()
79 def save_bad_network(self, fd, ssid, security_type, password=""): argument
89 if not fd.wlan_policy_controller.save_network(
96 def check_get_saved_network(self, fd, ssid, security_type, credential_type, argument
116 self.check_saved_networks(fd, expected_networks)
[all …]
DRegulatoryRecoveryTest.py44 for fd in self.fuchsia_devices:
45 fd.configure_wlan(association_mechanism='policy')
48 for fd in self.fuchsia_devices:
49 fd.wlan_controller.set_country_code(self.country_code)
54 for fd in self.fuchsia_devices:
58 if not fd.wlan_policy_controller.remove_all_networks():
65 fd.wlan_controller.set_country_code("WW")
66 fd.wlan_policy_controller.stop_client_connections()
67 fd.wlan_ap_policy_lib.wlanStopAllAccessPoint()
74 for fd in self.fuchsia_devices:
[all …]
DPolicyScanTest.py38 for fd in self.fuchsia_devices:
39 fd.configure_wlan(association_mechanism='policy',
93 for fd in self.fuchsia_devices:
95 return fd.wlan_policy_controller.remove_all_networks_and_wait_for_no_connections(
99 for fd in self.fuchsia_devices:
107 for fd in self.fuchsia_devices:
109 fd.take_bug_report(test_name, begin_time)
110 fd.get_log(test_name, begin_time)
115 if fd.device.hard_reboot_on_fail:
116 fd.hard_power_cycle(self.pdu_devices)
[all …]
DStartStopClientConnectionsTest.py60 for fd in self.fuchsia_devices:
61 fd.configure_wlan(association_mechanism='policy',
65 for fd in self.fuchsia_devices:
66 if not fd.wlan_policy_controller.remove_all_networks():
73 def connect_and_validate(self, fd, ssid, security_type, expected_response): argument
78 result_connect = fd.wlan_policy_lib.wlanConnect(ssid, security_type)
92 for fd in self.fuchsia_devices:
93 if not fd.wlan_policy_controller.stop_client_connections():
98 fd.wlan_policy_lib.wlanSetNewListener()
99 result_update = fd.wlan_policy_lib.wlanGetUpdate()
[all …]
DHiddenNetworksTest.py65 for fd in self.fuchsia_devices:
66 fd.configure_wlan(association_mechanism='policy',
70 for fd in self.fuchsia_devices:
71 if not fd.wlan_policy_controller.remove_all_networks():
82 for fd in self.fuchsia_devices:
86 fd.wlan_policy_controller.stop_client_connections()
87 if not fd.wlan_policy_controller.save_network(
92 fd.wlan_policy_controller.start_client_connections()
98 scan_result = fd.wlan_policy_lib.wlanScanForNetworks()
122 for fd in self.fuchsia_devices:
[all …]
/tools/test/connectivity/acts_tests/tests/google/fuchsia/backlight/
DBacklightTest.py41 self.fd = self.fuchsia_devices[0]
46 self.initial_state = self.fd.backlight_lib.getStateNormalized(
48 self.initial_scale = self.fd.backlight_lib.getNormalizedBrightnessScale(
51 self.fd.backlight_lib.setStateNormalized(True, HALF_BRIGHTNESS)
54 self.fd.backlight_lib.setNormalizedBrightnessScale(self.initial_scale)
58 self.fd.backlight_lib.setStateNormalized(backlight_on,
60 self.fd.backlight_lib.setStateNormalized(backlight_on, brightness)
74 result = self.fd.backlight_lib.setStateNormalized(
79 result = self.fd.backlight_lib.getStateNormalized()
92 result = self.fd.backlight_lib.setStateNormalized(
[all …]
/tools/test/connectivity/acts_tests/tests/google/fuchsia/wlan/functional/
DWlanScanTest.py50 for fd in self.fuchsia_devices:
51 fd.configure_wlan(association_mechanism='drivers')
143 for fd in self.fuchsia_devices:
148 for fd in self.fuchsia_devices:
149 fd.wlan_lib.wlanDisconnect()
179 def scan_while_connected(self, wlan_network_params, fd): argument
192 bss_scan_response = fd.wlan_lib.wlanScanForBSSInfo().get('result')
193 connection_response = fd.wlan_lib.wlanConnectToNetwork(
198 self.basic_scan_request(fd)
200 def basic_scan_request(self, fd): argument
[all …]
DDownloadStressTest.py58 self.fd = self.fuchsia_devices[0]
59 self.wlan_device = create_wlan_device(self.fd)
93 self.fd,
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/fuchsia/
Dbt_test_utils.py25 def le_scan_for_device_by_name(fd, argument
48 fd.gattc_lib.bleStartBleScan(scan_filter)
53 scan_res = fd.gattc_lib.bleGetDiscoveredDevices()['result']
62 fd.gattc_lib.bleStopBleScan()
68 def bredr_scan_for_device_by_name(fd, argument
86 fd.bts_lib.requestDiscovery(True)
91 scan_res = fd.bts_lib.getKnownRemoteDevices()['result']
99 fd.bts_lib.requestDiscovery(False)
106 def unbond_all_known_devices(fd, log): argument
113 fd.bts_lib.requestDiscovery(True)
[all …]
Dutils.py22 def http_file_download_by_curl(fd, argument
58 fd.log.info(
61 status = fd.send_command_ssh(curl_cmd, timeout=timeout)
66 fd.log.warning('Curl command: "%s" failed with error %s' %
70 if _check_file_existence(fd, file_path):
71 fd.log.info(
75 fd.log.warning('Fail to download %s' % url)
78 fd.log.warning('Download %s failed with exception %s' % (url, e))
82 fd.log.info('Remove the downloaded file %s' % file_path)
83 fd.send_command_ssh('rm %s' % file_path)
[all …]
/tools/test/connectivity/acts_tests/tests/google/fuchsia/wlan/facade/
DWlanStatusTest.py32 for fd in self.fuchsia_devices:
33 fd.configure_wlan(association_mechanism='policy',
37 for fd in self.fuchsia_devices:
39 fd.take_bug_report(test_name, begin_time)
40 fd.get_log(test_name, begin_time)
45 if fd.device.hard_reboot_on_fail:
46 fd.hard_power_cycle(self.pdu_devices)
47 fd.configure_wlan(association_mechanism='policy',
58 for fd in self.fuchsia_devices:
59 fd.deconfigure_wlan()
[all …]
DWlanFacadeTest.py33 for fd in self.fuchsia_devices:
35 fd.take_bug_report(test_name, begin_time)
36 fd.get_log(test_name, begin_time)
41 if fd.device.hard_reboot_on_fail:
42 fd.hard_power_cycle(self.pdu_devices)
DWlanDeprecatedConfigurationTest.py44 for fd in self.fuchsia_devices:
46 fd.take_bug_report(test_name, begin_time)
47 fd.get_log(test_name, begin_time)
52 if fd.device.hard_reboot_on_fail:
53 fd.hard_power_cycle(self.pdu_devices)
/tools/test/connectivity/acts_tests/tests/google/fuchsia/bt/
DGapSecSemTest.py48 for fd in self.fuchsia_devices:
49 fd.bts_lib.initBluetoothSys()
56 for fd in self.fuchsia_devices:
57 fd.take_bug_report(test_name, begin_time)
62 for fd in self.fuchsia_devices:
63 fd.ble_lib.bleStopBleAdvertising()
64 fd.bleStopBleScan()
65 for fd in self.fuchsia_devices:
66 unbond_all_known_devices(fd, self.log)
69 for fd in self.fuchsia_devices:
[all …]
DBleFuchsiaAndroidTest.py46 self.fd = self.fuchsia_devices[0]
76 self.fd, self.log, sample_android_name, self.default_timeout):
80 self.fd.print_clients()
98 scan_result = le_scan_for_device_by_name(self.fd, self.log,
107 connect = self.fd.gattc_lib.bleConnectToPeripheral(did)
110 services = self.fd.gattc_lib.listServices(did)
113 dconnect = self.fd.gattc_lib.bleDisconnectPeripheral(did)
117 self.fd.print_clients()
144 self.fd.ble_lib.bleStartBleAdvertising(adv_data, scan_response,
166 self.fd.ble_lib.bleStopBleAdvertising()
/tools/test/connectivity/acts_tests/tests/google/fuchsia/bt/ep/
DBtFuchsiaEPTest.py51 for fd in self.fuchsia_devices:
52 fd.bts_lib.initBluetoothSys()
57 for fd in self.fuchsia_devices:
58 fd.take_bug_report(test_name, begin_time)
70 for fd in self.fuchsia_devices:
71 fd.send_command_ssh("killall bt-a2dp*",
74 fd.send_command_ssh("killall bt-avrcp*",
82 for fd in self.fuchsia_devices:
83 unbond_all_known_devices(fd, self.log)
/tools/trebuchet/trebuchet/viewer/src/main/kotlin/traceviewer/ui/components/
DChooseTrace.kt29 val fd = FileDialog(null as Frame?) in selectFile() constant
30 fd.setLocation(location.x + 100, location.y + 50) in selectFile()
31 fd.isVisible = true in selectFile()
32 val filename = fd.file in selectFile()
34 val file = File(fd.directory, filename) in selectFile()
/tools/security/sanitizer-status/
Dsanitizer-status.cpp67 int fd = open("/data/asan", O_DIRECTORY | O_PATH | O_CLOEXEC, 0); in data_asan_exists() local
68 if(fd < 0) { in data_asan_exists()
72 close(fd); in data_asan_exists()
96 int fd = open(kcov_file, O_RDWR); in test_kcov() local
97 if (fd == -1) { in test_kcov()
101 close(fd); in test_kcov()
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/net/
Dipsec_test_utils.py119 def apply_transport_mode_transforms_file_descriptors(ad, fd, transforms): argument
128 fd, cconst.DIRECTION_IN, transforms[0])
130 fd, cconst.DIRECTION_OUT, transforms[1])
138 def remove_transport_mode_transforms_file_descriptors(ad, fd): argument
145 status = ad.droid.ipSecRemoveTransportModeTransformsFileDescriptor(fd)
Dsocket_test_utils.py268 fd = ad.droid.getFileDescriptorOfSocket(socket)
269 asserts.assert_true(fd, "Failed to get FileDescriptor key")
270 status = ad.droid.shutdownFileDescriptor(fd)
/tools/test/connectivity/acts_tests/tests/google/fuchsia/ram/
DRamTest.py36 self.fd = self.fuchsia_devices[0]
47 result = self.fd.ram_lib.measureBandwidth(MEMORY_CYCLES_TO_MEASURE,
62 result = self.fd.ram_lib.getDdrWindowingResults()
/tools/test/connectivity/acts_tests/tests/google/fuchsia/input/
DTouchTest.py31 self.fd = self.fuchsia_devices[0]
46 result = self.fd.input_report_lib.getDescriptor(
56 result = self.fd.input_report_lib.getReports(
/tools/test/connectivity/acts/framework/acts/
Dbase_test.py103 for fd in getattr(test_instance, 'fuchsia_devices', []):
104 if not fd.skip_sl4f:
105 fd.logging_lib.logI("%s BEGIN %s" %
120 for fd in getattr(test_instance, 'fuchsia_devices', []):
121 if not fd.skip_sl4f:
122 fd.logging_lib.logI("%s END %s" %
/tools/treble/build/sandbox/
Dnsjail.cfg119 # Some tools (like llvm-link) look for file descriptors in /dev/fd
121 src: "/proc/self/fd"
122 dst: "/dev/fd"
/tools/test/connectivity/acts_tests/tests/google/fuchsia/bt/gatt/
DGattConnectionStressTest.py53 for fd in self.fuchsia_devices:
54 fd.take_bug_report(test_name, begin_time)

12