Home
last modified time | relevance | path

Searched refs:sl4f (Results 1 – 25 of 35) sorted by relevance

12

/tools/test/connectivity/acts_tests/tests/google/fuchsia/bt/
DFuchsiaBtScanTest.py40 self.pri_dut.sl4f.bts_lib.initBluetoothSys()
41 self.sec_dut.sl4f.bts_lib.initBluetoothSys()
65 self.sec_dut.sl4f.bts_lib.setName(local_name)
66 self.sec_dut.sl4f.bts_lib.setDiscoverable(False)
68 self.pri_dut.sl4f.bts_lib.requestDiscovery(True)
70 self.pri_dut.sl4f.bts_lib.requestDiscovery(False)
71 discovered_devices = self.pri_dut.sl4f.bts_lib.getKnownRemoteDevices()
102 self.sec_dut.sl4f.bts_lib.setName(local_name)
103 self.sec_dut.sl4f.bts_lib.setDiscoverable(True)
105 self.pri_dut.sl4f.bts_lib.requestDiscovery(True)
[all …]
Dcommand_input.py115 self.pri_dut.sl4f.gattc_lib.bleStartBleScan(scan_filter)
119 scan_res = self.pri_dut.sl4f.gattc_lib.bleGetDiscoveredDevices(
132 self.pri_dut.sl4f.gattc_lib.bleStopBleScan()
137 self.pri_dut.sl4f.bts_lib.requestDiscovery(True)
143 device_list = self.pri_dut.sl4f.bts_lib.getKnownRemoteDevices(
162 self.pri_dut.sl4f.bts_lib.requestDiscovery(False)
441 result = self.pri_dut.sl4f.ble_lib.bleStartBleAdvertising(
484 self.pri_dut.sl4f.ble_lib.bleStopBleAdvertising()
511 connection_status = self.pri_dut.sl4f.gattc_lib.bleConnectToPeripheral(
540 connection_status = self.pri_dut.sl4f.gattc_lib.bleConnectToPeripheral(
[all …]
DBleFuchsiaTest.py47 res = self.fuchsia_adv.sl4f.ble_lib.blePublishService(
71 self.fuchsia_adv.sl4f.ble_lib.bleStartBleAdvertising(
83 self.fuchsia_adv.sl4f.ble_lib.bleStopBleAdvertising()
95 res = self.fuchsia_adv.sl4f.ble_lib.blePublishService(
115 self.fuchsia_adv.sl4f.ble_lib.bleStartBleAdvertising(
124 self.fuchsia_adv.sl4f.ble_lib.bleStopBleAdvertising()
130 connect = self.fuchsia_scan.sl4f.gattc_lib.bleConnectToPeripheral(did)
133 services = self.fuchsia_scan.sl4f.gattc_lib.listServices(did)
136 dconnect = self.fuchsia_scan.sl4f.gattc_lib.bleDisconnectPeripheral(
141 self.fuchsia_adv.sl4f.ble_lib.bleStopBleAdvertising()
DGapSecSemTest.py48 fd.sl4f.bts_lib.initBluetoothSys()
62 fd.sl4f.ble_lib.bleStopBleAdvertising()
69 fd.sl4f.bts_lib.requestDiscovery(False)
100 peripheral.sl4f.ble_lib.bleStartBleAdvertising(
103 central.sl4f.gattc_lib.bleStartBleScan(scan_filter)
112 connect_result = central.sl4f.gattc_lib.bleConnectToPeripheral(
149 central.sl4f.bts_lib.acceptPairing("KEYBOARD", "DISPLAY")
151 peripheral.sl4f.bts_lib.acceptPairing("KEYBOARD", "DISPLAY")
159 pair_result = central.sl4f.bts_lib.pair(identifier, security_level,
162 device_list = peripheral.sl4f.bts_lib.getKnownRemoteDevices(
[all …]
DBleFuchsiaAndroidTest.py102 connect = self.fd.sl4f.gattc_lib.bleConnectToPeripheral(did)
105 services = self.fd.sl4f.gattc_lib.listServices(did)
108 dconnect = self.fd.sl4f.gattc_lib.bleDisconnectPeripheral(did)
112 self.fd.sl4f.print_clients()
139 self.fd.sl4f.ble_lib.bleStartBleAdvertising(adv_data, scan_response,
161 self.fd.sl4f.ble_lib.bleStopBleAdvertising()
DFuchsiaBtMacAddressTest.py39 device.sl4f.bts_lib.initBluetoothSys()
61 device.sl4f.bts_lib.getActiveAdapterAddress().get("result"))
DBluetoothCmdLineTest.py35 self.dut.sl4f.bts_lib.initBluetoothSys()
36 self.dut.sl4f.sdp_lib.init()
/tools/test/connectivity/acts_tests/tests/google/fuchsia/bt/ep/
DBtFuchsiaEPTest.py53 fd.sl4f.bts_lib.initBluetoothSys()
61 self.sec_dut.sl4f.ble_lib.bleStopBleAdvertising()
106 self.sec_dut.sl4f.ble_lib.bleStartBleAdvertising(
113 self.sec_dut.sl4f.ble_lib.bleStopBleAdvertising()
144 self.pri_dut.sl4f.bts_lib.setName(source_device_name)
146 self.sec_dut.sl4f.ble_lib.bleStartBleAdvertising(
156 connect_result = self.pri_dut.sl4f.gattc_lib.bleConnectToPeripheral(
175 self.pri_dut.sl4f.bts_lib.pair(device["id"], security_level,
190 disconnect_result = self.pri_dut.sl4f.gattc_lib.bleDisconnectPeripheral(
197 self.sec_dut.sl4f.ble_lib.bleStopBleAdvertising()
[all …]
/tools/test/connectivity/acts/framework/acts/controllers/fuchsia_lib/lib_controllers/
Dwlan_policy_controller.py24 from acts.controllers.fuchsia_lib.sl4f import SL4F
48 def __init__(self, sl4f: SL4F, ffx: FFX):
52 self.sl4f = sl4f
74 response = self.sl4f.basemgr_lib.killBasemgr()
106 response = self.sl4f.wlan_policy_lib.wlanCreateClientController()
114 response = self.sl4f.wlan_policy_lib.wlanGetSavedNetworks()
160 start_response = self.sl4f.wlan_policy_lib.wlanStartClientConnections()
173 stop_response = self.sl4f.wlan_policy_lib.wlanStopClientConnections()
199 self.sl4f.wlan_policy_lib.wlanSetNewListener()
253 self.sl4f.wlan_policy_lib.wlanSetNewListener()
[all …]
Dwlan_controller.py75 response = self.device.sl4f.wlan_lib.wlanGetIfaceIdList()
87 response = self.device.sl4f.wlan_lib.wlanQueryInterface(id)
142 country_code_response = self.device.sl4f.regulatory_region_lib.setRegion(
151 phy_ids_response = self.device.sl4f.wlan_lib.wlanPhyIdList()
159 get_country_response = self.device.sl4f.wlan_lib.wlanGetCountry(
Dnetstack_controller.py40 response = self.device.sl4f.netstack_lib.netstackListInterfaces()
/tools/test/connectivity/acts_tests/tests/google/fuchsia/wlan_policy/
DRegulatoryRecoveryTest.py71 fd.sl4f.wlan_ap_policy_lib.wlanStopAllAccessPoint()
104 fd.sl4f.wlan_policy_lib.wlanSetNewListener()
105 fd.sl4f.wlan_ap_policy_lib.wlanSetNewListener()
108 client_state = fd.sl4f.wlan_policy_lib.wlanGetUpdate()
118 ap_state = fd.sl4f.wlan_ap_policy_lib.wlanGetUpdate()
139 fd.sl4f.wlan_ap_policy_lib.wlanStartAccessPoint(
146 fd.sl4f.wlan_policy_lib.wlanSetNewListener()
147 fd.sl4f.wlan_ap_policy_lib.wlanSetNewListener()
151 client_state = fd.sl4f.wlan_policy_lib.wlanGetUpdate()
161 ap_state = fd.sl4f.wlan_ap_policy_lib.wlanGetUpdate()
DStartStopClientConnectionsTest.py82 result_connect = fd.sl4f.wlan_policy_lib.wlanConnect(
113 fd.sl4f.wlan_policy_lib.wlanSetNewListener()
114 curr_state = fd.sl4f.wlan_policy_lib.wlanGetUpdate()
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/fuchsia/
Dbt_test_utils.py48 fd.sl4f.gattc_lib.bleStartBleScan(scan_filter)
53 scan_res = fd.sl4f.gattc_lib.bleGetDiscoveredDevices()['result']
62 fd.sl4f.gattc_lib.bleStopBleScan()
86 fd.sl4f.bts_lib.requestDiscovery(True)
91 scan_res = fd.sl4f.bts_lib.getKnownRemoteDevices()['result']
99 fd.sl4f.bts_lib.requestDiscovery(False)
113 fd.sl4f.bts_lib.requestDiscovery(True)
114 device_list = fd.sl4f.bts_lib.getKnownRemoteDevices()['result']
115 fd.sl4f.bts_lib.requestDiscovery(False)
120 log.info(fd.sl4f.bts_lib.forgetDevice(d['id'])['result'])
[all …]
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/abstract_devices/
Dbluetooth_device.py777 self.device.sl4f.sdp_lib.cleanUp()
852 self.device.sl4f.bts_lib.acceptPairing()
863 self.device.sl4f.bts_lib.setDiscoverable(is_discoverable)
868 return self.device.sl4f.bts_lib.getPairingPin()['result']
876 self.device.sl4f.bts_lib.inputPairingPin(pin)
881 self.device.sl4f.bts_lib.initBluetoothSys()
886 return self.device.sl4f.bts_lib.getActiveAdapterAddress().get("result")
893 self.device.sl4f.bts_lib.setName(name)
911 result = self.device.sl4f.gattc_lib.writeCharByIdWithoutResponse(
937 result = self.device.sl4f.gattc_lib.writeCharById(
[all …]
Dwlan_device.py359 bss_scan_response = self.device.sl4f.wlan_lib.wlanScanForBSSInfo()
373 connection_response = self.device.sl4f.wlan_lib.wlanConnectToNetwork(
385 disconnect_response = self.device.sl4f.wlan_lib.wlanDisconnect()
392 return self.device.sl4f.wlan_lib.wlanStatus()
429 return self.device.sl4f.wlan_lib.wlanGetIfaceIdList().get('result')
446 result = self.device.sl4f.wlan_lib.wlanDestroyIface(iface_id)
/tools/test/connectivity/acts_tests/tests/google/fuchsia/netstack/
DNetstackIfaceTest.py38 interfaces = self.dut.sl4f.netstack_lib.netstackListInterfaces()
41 self.dut.sl4f.netstack_lib.enableInterface(identifier)
69 interfaces = self.dut.sl4f.netstack_lib.netstackListInterfaces()
102 result = self.dut.sl4f.netstack_lib.netstackListInterfaces()
121 result = self.dut.sl4f.netstack_lib.disableInterface(identifier)
145 result = self.dut.sl4f.netstack_lib.enableInterface(identifier)
/tools/test/connectivity/acts_tests/tests/google/fuchsia/wlan/facade/
DWlanDeprecatedConfigurationTest.py55 wlan_ifaces = self.dut.device.sl4f.wlan_lib.wlanGetIfaceIdList()
61 iface_info = self.dut.device.sl4f.wlan_lib.wlanQueryInterface(
87 response = self.dut.device.sl4f.wlan_ap_policy_lib.wlanStartAccessPoint(
101 response = self.dut.device.sl4f.wlan_ap_policy_lib.wlanStopAllAccessPoint(
118 response = (self.dut.device.sl4f.wlan_deprecated_configuration_lib.
DWlanFacadeTest.py38 result = self.dut.device.sl4f.wlan_lib.wlanPhyIdList()
46 wlan_lib = self.dut.device.sl4f.wlan_lib
64 wlan_lib = self.dut.device.sl4f.wlan_lib
DWlanStatusTest.py52 status = fd.sl4f.wlan_lib.wlanStatus()
71 status = fd.sl4f.wlan_lib.wlanStatus()
/tools/test/connectivity/acts_tests/tests/google/fuchsia/bt/gatt/
DGattConnectionStressTest.py68 self.fuchsia_server_dut.sl4f.ble_lib.bleStartBleAdvertising(
75 connect_result = self.fuchsia_client_dut.sl4f.gattc_lib.bleConnectToPeripheral(
82 disconnect_result = self.fuchsia_client_dut.sl4f.gattc_lib.bleDisconnectPeripheral(
89 self.fuchsia_server_dut.sl4f.ble_lib.bleStopBleAdvertising()
/tools/test/connectivity/acts_tests/tests/google/fuchsia/logging/
DFuchsiaLoggingTest.py30 result = self.dut.sl4f.logging_lib.logE(self.message)
37 result = self.dut.sl4f.logging_lib.logI(self.message)
44 result = self.dut.sl4f.logging_lib.logW(self.message)
/tools/test/connectivity/acts_tests/tests/google/fuchsia/wlan/functional/
DWlanScanTest.py145 fd.sl4f.wlan_lib.wlanDisconnect()
194 bss_scan_response = fd.sl4f.wlan_lib.wlanScanForBSSInfo().get('result')
195 connection_response = fd.sl4f.wlan_lib.wlanConnectToNetwork(
209 scan_response = fd.sl4f.wlan_lib.wlanStartScan()
DChannelSwitchTest.py310 response = self.dut.device.sl4f.wlan_ap_policy_lib.wlanStartAccessPoint(
323 response = self.dut.device.sl4f.wlan_ap_policy_lib.wlanStopAllAccessPoint(
366 query = self.dut.device.sl4f.wlan_lib.wlanQueryInterface(iface_id)
371 status = self.dut.device.sl4f.wlan_lib.wlanStatus(iface_id)
/tools/test/connectivity/acts/framework/acts/controllers/
Dfuchsia_device.py34 from acts.controllers.fuchsia_lib.sl4f import SL4F
274 def sl4f(self): member in FuchsiaDevice
285 @sl4f.deleter
286 def sl4f(self): member in FuchsiaDevice
372 self.wlan_policy_controller = WlanPolicyController(self.sl4f, self.ffx)
553 self.sl4f.hardware_power_statecontrol_lib.suspendReboot(
878 response = self.sl4f.regulatory_region_lib.setRegion(
886 ascii_cc = self.sl4f.wlan_lib.wlanGetCountry(0).get(
902 del self.sl4f

12