Home
last modified time | relevance | path

Searched refs:settings (Results 1 – 25 of 58) sorted by relevance

123

/tools/test/connectivity/acts/framework/acts/controllers/ap_lib/
Dhostapd_security.py97 settings = collections.OrderedDict()
100 settings['wep_default_key'] = self.wep_default_key
101 settings['wep_key' + str(self.wep_default_key)] = self.password
103 settings['auth_server_addr'] = self.radius_server_ip
104 settings['auth_server_port'] = self.radius_server_port
105 settings[
107 settings['wpa_key_mgmt'] = hostapd_constants.ENT_KEY_MGMT
108 settings['ieee8021x'] = hostapd_constants.IEEE8021X
109 settings['wpa'] = hostapd_constants.WPA2
111 settings['wpa'] = self.security_mode
[all …]
Dhostapd_bss_settings.py39 settings = collections.OrderedDict()
40 settings['bss'] = self.name
42 settings['bssid'] = self.bssid
44 settings['ssid'] = self.ssid
45 settings['ignore_broadcast_ssid'] = 1 if self.hidden else 0
50 settings[k] = v
52 return settings
/tools/test/connectivity/acts/framework/acts/controllers/utils_lib/ssh/
Dformatter.py22 def format_ssh_executable(self, settings): argument
33 return settings.executable
35 def format_host_name(self, settings): argument
46 return '%s@%s' % (settings.username, settings.hostname)
103 settings, argument
121 options = settings.construct_ssh_options()
126 flags = settings.construct_ssh_flags()
132 host_name = self.format_host_name(settings)
133 executable = self.format_ssh_executable(settings)
141 settings, argument
[all …]
/tools/netsim/rust/daemon/src/bluetooth/
Dadvertise_settings.rs279 let settings = AdvertiseSettingsBuilder::new() in test_build() localVariable
288 settings in test_build()
306 let settings = AdvertiseSettings::from_proto(&proto); in test_from_proto_succeeds() localVariable
307 assert!(settings.is_ok()); in test_from_proto_succeeds()
320 assert_eq!(exp_settings, settings.unwrap()); in test_from_proto_succeeds()
343 let settings = AdvertiseSettings::from_proto(&proto); in test_into_proto() localVariable
344 assert!(settings.is_ok()); in test_into_proto()
345 let settings: Result<AdvertiseSettingsProto, _> = settings.as_ref().unwrap().try_into(); in test_into_proto() localVariable
346 assert!(settings.is_ok()); in test_into_proto()
348 assert_eq!(proto, settings.unwrap()); in test_into_proto()
[all …]
Dbeacon.rs98 let advertise_settings = AdvertiseSettings::from_proto(&beacon_proto.settings)?; in from_proto()
102 .settings in from_proto()
306 if let Some(patch_settings) = patch.settings.as_ref() { in ble_beacon_patch()
369 settings: MessageField::some((&beacon.advertise_settings).try_into()?), in ble_beacon_get()
422 fn new_test_beacon_with_settings(settings: AdvertiseSettingsProto) -> ChipIdentifier { in new_test_beacon_with_settings()
432 settings: MessageField::some(settings), in new_test_beacon_with_settings()
450 let settings = AdvertiseSettingsProto { in test_beacon_get() localVariable
455 let id = new_test_beacon_with_settings(settings); in test_beacon_get()
462 beacon.settings.interval.as_ref().map(AdvertiseMode::from).unwrap().interval; in test_beacon_get()
470 let settings = AdvertiseSettingsProto { in test_beacon_patch() localVariable
[all …]
/tools/test/connectivity/acts_tests/tests/google/fuchsia/wlan/functional/
DSoftApTest.py62 def get_test_name_from_settings(settings): argument
63 return settings['test_name']
215 def start_soft_ap(self, settings): argument
229 ssid = settings['ssid']
230 security_type = settings['security_type']
231 password = settings.get('password', '')
232 connectivity_mode = settings['connectivity_mode']
233 operating_band = settings['operating_band']
235 self.log.info('Starting SoftAP on DUT with settings: %s' % settings)
245 def stop_soft_ap(self, settings): argument
[all …]
DWlanRebootTest.py432 def run_reboot_test(self, settings): argument
470 iterations = settings.get('iterations', 1)
472 ipv4 = settings.get('ipv4', None)
473 ipv6 = settings.get('ipv6', None)
474 reboot_device = settings['reboot_device']
475 reboot_type = settings['reboot_type']
476 band = settings['band']
477 security_mode = settings.get('security_mode', None)
478 password = settings.get('password', None)
485 interrupt = settings.get('interrupt', None)
[all …]
/tools/metalava/metalava-model/src/main/java/com/android/tools/metalava/model/
DModelOptions.kt32 private val settings: Map<Key<*>, Any>, constant in com.android.tools.metalava.model.ModelOptions
36 return settings[key]?.let { key.kClass.cast(it) } ?: key.default in get()
44 return settings.isEmpty() in isEmpty()
50 internal val settings = mutableMapOf<Key<*>, Any>() constant in com.android.tools.metalava.model.ModelOptions.ModelOptionsBuilder
66 settings[key] = value in set()
77 return ModelOptions(description, builder.settings.toMap()) in build()
/tools/test/connectivity/acts_tests/tests/google/fuchsia/wlan/performance/
DChannelSweepTest.py71 def get_test_name(settings): argument
73 return settings.get('test_name')
501 def run_channel_performance_tests(self, settings): argument
553 test_channels = settings['test_channels']
554 test_channel_bandwidth = settings['test_channel_bandwidth']
555 test_security = settings.get('test_security', None)
556 test_name = settings.get('test_name', self.test_name)
557 base_test_name = settings.get('base_test_name', 'test')
558 min_tx_throughput = settings.get('min_tx_throughput',
560 min_rx_throughput = settings.get('min_rx_throughput',
[all …]
/tools/test/connectivity/acts_tests/tests/google/wifi/
DWifiScannerTests.config4 …"radio0": {"settings": {"channel": 1}, "wifi-iface" : [{"ssid": "Test_1", "key": "hahahaha", "encr…
6 …"radio1": {"settings": {"channel": 40}, "wifi-iface" : [{"ssid": "Test_40", "key": "hahahaha", "en…
10 …"radio0": {"settings": {"channel": 6}, "wifi-iface" : [{"ssid": "Test_6", "key": "hahahaha", "encr…
12 …"radio1": {"settings": {"channel": 40}, "wifi-iface" : [{"ssid": "Test_40", "key": "hahahaha", "en…
16 …"radio0": {"settings": {"channel": 10}, "wifi-iface" : [{"ssid": "Test_10", "key": "hahahaha", "en…
18 …"radio1": {"settings": {"channel": 44}, "wifi-iface" : [{"ssid": "Test_44", "key": "hahahaha", "en…
22 …"radio0": {"settings": {"channel": 11}, "wifi-iface" : [{"ssid": "Test_11", "key": "hahahaha", "en…
24 …"radio1": {"settings": {"channel": 149}, "wifi-iface" : [{"ssid": "Test_149", "key": "hahahaha", "…
/tools/netsim/rust/cli/src/
Drequests.rs285 settings: AdvertiseSettingsProto, in get_create_device_req_bytes()
295 settings: MessageField::some(settings), in get_create_device_req_bytes()
311 settings: AdvertiseSettingsProto, in get_patch_device_req_bytes()
322 settings: MessageField::some(settings), in get_patch_device_req_bytes()
343 let settings = AdvertiseSettingsProto { in test_beacon_create_all_params_ble() localVariable
361 settings, in test_beacon_create_all_params_ble()
387 let settings = AdvertiseSettingsProto { in test_beacon_patch_all_params_ble() localVariable
404 settings, in test_beacon_patch_all_params_ble()
487 let settings = AdvertiseSettingsProto { in test_beacon_create_ble_tx_power() localVariable
496 settings, in test_beacon_create_ble_tx_power()
[all …]
Dresponse.rs119 if let Some(advertise_mode) = &args.settings.advertise_mode { in print_response()
129 if let Some(tx_power_level) = &args.settings.tx_power_level { in print_response()
139 if args.settings.scannable { in print_response()
142 if let Some(timeout) = args.settings.timeout { in print_response()
154 if args.settings.scannable { in print_response()
157 if let Some(timeout) = args.settings.timeout { in print_response()
/tools/netsim/ui/ts/
Ddevice-info.ts347 if (!ble_beacon.settings) {
355 ble_beacon.settings.advertiseMode ?
358 ${ble_beacon.settings.advertiseMode?.replace('-', ' ')}
362 ${ble_beacon.settings.milliseconds?.toString().concat(' ms')}
365 ble_beacon.settings.txPowerLevel ?
368 ${ble_beacon.settings.txPowerLevel?.replace('-', ' ')}
372 ${ble_beacon.settings.dbm?.toString().concat(' dBm')}
376 <div class="info">${ble_beacon.settings.scannable}</div>
380 ${ble_beacon.settings.timeout?.toString().concat(' ms')}
/tools/netsim/ui/dist/js/
Ddevice-info.js15 …EditForm(),n.patchDevice({device:i})}handleGetBleBeacon(e){return i`${e.settings?i`<div class="set…
18 ${e.settings.advertiseMode?i`<div class="label">Advertise Mode:</div>
20 ${null===(t=e.settings.advertiseMode)||void 0===t?void 0:t.replace("-"," ")}
23 ${null===(s=e.settings.milliseconds)||void 0===s?void 0:s.toString().concat(" ms")}
25 ${e.settings.txPowerLevel?i`<div class="label">Transmit Power Level:</div>
27 ${null===(o=e.settings.txPowerLevel)||void 0===o?void 0:o.replace("-"," ")}
30 ${null===(a=e.settings.dbm)||void 0===a?void 0:a.toString().concat(" dBm")}
34 <div class="info">${e.settings.scannable}</div>
38 ${null===(d=e.settings.timeout)||void 0===d?void 0:d.toString().concat(" ms")}
/tools/asuite/atest/bazel/resources/rules/
Dplatform_transitions.bzl27 def _host_transition_impl(settings, attr):
28 _ignore = (settings, attr)
39 def _device_transition_impl(settings, attr):
40 _ignore = (settings, attr)
Dcommon_settings.bzl18 More documentation on how to use build settings at
19 https://docs.bazel.build/versions/master/skylark/config.html#user-defined-build-settings
/tools/test/connectivity/acts_tests/tests/google/fuchsia/wlan/compliance/
DWlanPhyCompliance11NTest.py48 def generate_test_name(settings): argument
59 if cap in settings['n_capabilities']:
62 if settings['chbw'] == 'HT40-':
64 elif settings['chbw'] == 'HT40+':
67 chbw = settings['chbw']
68 return 'test_11n_%s_%s_%s_%s_%s' % (settings['frequency'], chbw,
69 settings['security'],
70 settings['n_mode'], ''.join(ret))
DWlanPhyCompliance11ACTest.py90 def generate_test_name(settings): argument
100 chbw = settings['chbw']
101 sec = 'wpa2' if settings['security'] else 'open'
104 if cap in settings['ac_capabilities']:
/tools/test/connectivity/acts_tests/tests/google/fuchsia/dhcp/
DDhcpv4InteropTest.py180 def run_test_case_expect_dhcp_success(self, settings): argument
193 additional_parameters=settings['dhcp_parameters'],
194 additional_options=settings['dhcp_options'])
288 self.run_test_case_expect_dhcp_success(settings={
294 self.run_test_case_expect_dhcp_success(settings={
457 def generate_test_name(self, settings): argument
458 return settings["dhcp_options"]["test_name"]
/tools/test/connectivity/acts/framework/acts/controllers/
Daccess_point.py44 from acts.controllers.utils_lib.ssh import settings
213 self.ssh_settings = settings.from_config(configs['ssh_config'])
861 for settings in hostapd_configs:
862 if type(settings) == hostapd_config.HostapdConfig:
863 config = settings
867 elif type(settings) == dict:
868 config = settings['hostapd_config']
869 setup_bridge = settings.get('setup_bridge', False)
870 additional_parameters = settings.get('additional_parameters',
/tools/netsim/ui/ts/netsim/
Dmodel.ts102 settings:|Chip_BleBeacon_AdvertiseSettings|undefined; property
235 settings:|Chip_BleBeacon_AdvertiseSettings|undefined; property
/tools/loganalysis/
D.gitignore2 .settings
/tools/trebuchet/
Dgradle.properties1 # Project-wide Gradle settings.
D.gitignore19 .settings/
/tools/carrier_settings/proto/
Dcarrier_settings.proto29 // Version number of current carrier’s settings
44 // A collection of multiple carriers’ settings
128 // Whether visible in APN settings.
130 // Whether editable in APN settings.

123