Home
last modified time | relevance | path

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

/tools/test/connectivity/acts/framework/acts/test_utils/fuchsia/
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 …]
Dbt_test_utils.py20 def le_scan_for_device_by_name(fd, argument
38 fd.gattc_lib.bleStartBleScan(scan_filter)
43 scan_res = fd.gattc_lib.bleGetDiscoveredDevices()['result']
51 fd.gattc_lib.bleStopBleScan()
/tools/test/connectivity/acts/tests/google/fuchsia/wlan/
DWlanScanTest.py141 for fd in self.fuchsia_devices:
146 for fd in self.fuchsia_devices:
147 fd.wlan_lib.wlanDisconnect()
177 def scan_while_connected(self, wlan_network_params, fd): argument
190 connection_response = fd.wlan_lib.wlanConnectToNetwork(
194 self.basic_scan_request(fd)
196 def basic_scan_request(self, fd): argument
203 scan_response = fd.wlan_lib.wlanStartScan()
232 for fd in self.fuchsia_devices:
233 self.basic_scan_request(fd)
[all …]
DRebootStressTest.py44 self.fd = self.fuchsia_devices[0]
45 self.wlan_device = create_wlan_device(self.fd)
66 self.fd.reboot()
DDownloadStressTest.py58 self.fd = self.fuchsia_devices[0]
59 self.wlan_device = create_wlan_device(self.fd)
94 self.fd,
DPingStressTest.py50 self.fd = self.fuchsia_devices[0]
51 self.wlan_device = create_wlan_device(self.fd)
DConnectionStressTest.py50 self.fd = self.fuchsia_devices[0]
51 self.dut = create_wlan_device(self.fd)
/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/test/connectivity/acts/tests/google/fuchsia/bt/
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()
134 self.fd.ble_lib.bleStartBleAdvertising(adv_data, interval)
155 self.fd.ble_lib.bleStopBleAdvertising()
/tools/security/sanitizer-status/
Dsanitizer-status.c55 int fd = open("/data/asan", O_DIRECTORY | O_PATH | O_CLOEXEC, 0); in data_asan_exists() local
56 if(fd < 0) { in data_asan_exists()
60 close(fd); in data_asan_exists()
84 int fd = open(kcov_file, O_RDWR); in test_kcov() local
85 if (fd == -1) { in test_kcov()
89 close(fd); in test_kcov()
/tools/test/connectivity/acts/framework/acts/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/treble/build/sandbox/
Dnsjail.cfg110 # Some tools (like llvm-link) look for file descriptors in /dev/fd
112 src: "/proc/self/fd"
113 dst: "/dev/fd"
/tools/test/connectivity/acts/framework/acts/controllers/
Dfuchsia_device.py107 for fd in fds:
108 fd.clean_up()
109 del fd
122 for fd in fds:
123 info = {"ip": fd.ip}
/tools/dexter/slicer/
Dbytecode_encoder.cc60 dex::u2 fd = (d & 0xf); in Pack_4_4_4_4() local
61 SLICER_CHECK(fd == d); in Pack_4_4_4_4()
62 return (fa << 12) | (fb << 8) | (fc << 4) | fd; in Pack_4_4_4_4()
/tools/security/fuzzing/example_fuzzer/
DREADME.md90 Freed heap region: fd