Home
last modified time | relevance | path

Searched refs:channel (Results 1 – 20 of 20) sorted by relevance

/tools/test/connectivity/acts/framework/acts/controllers/ap_lib/
Dhostapd_config.py24 def ht40_plus_allowed(channel): argument
26 channel_supported = (channel in hostapd_constants.HT40_ALLOW_MAP[
31 def ht40_minus_allowed(channel): argument
33 channel_supported = (channel in hostapd_constants.HT40_ALLOW_MAP[
38 def get_frequency_for_channel(channel): argument
50 if channel == channel_iter:
53 raise ValueError('Unknown channel value: %r.' % channel)
75 def _get_11ac_center_channel_from_channel(self, channel): argument
79 channel = int(channel)
86 if lower_channel_bound <= channel <= upper_channel_bound:
[all …]
Dhostapd_ap_preset.py20 channel=None, argument
61 if channel:
62 frequency = hostapd_config.get_frequency_for_channel(channel)
64 channel = hostapd_config.get_channel_for_frequency(frequency)
98 if hostapd_config.ht40_plus_allowed(channel):
100 elif hostapd_config.ht40_minus_allowed(channel):
/tools/test/connectivity/acts/framework/acts/test_utils/audio_analysis_lib/
Daudio_data.py73 def __init__(self, binary, channel, sample_format): argument
83 self.channel = channel
84 self.channel_data = [[] for _ in range(self.channel)]
108 n_frames = len(np_array) / self.channel
110 np_array = np_array.reshape(int(n_frames), self.channel)
Dcheck_quality.py171 channel=self._n_channels,
218 for channel_idx in range(self._raw_data.channel):
429 def read_audio_file(filename, channel, bit_width, rate): argument
454 binary=binary, channel=channel, sample_format='S%d_LE' % bit_width)
498 channel, argument
535 raw_data, rate = read_audio_file(filename, channel, bit_width, rate)
/tools/test/connectivity/acts/framework/tests/
DSnifferSanityTest.py39 for channel in self._channels:
41 override_configs={Sniffer.CONFIG_KEY_CHANNEL: channel},
57 for channel in self._channels:
59 override_configs={Sniffer.CONFIG_KEY_CHANNEL: channel},
69 for channel in self._channels:
71 override_configs={Sniffer.CONFIG_KEY_CHANNEL: channel},
Daudio_analysis_unittest.py135 for channel in [0, 1]:
137 data.channel_data[channel], saturate_value)
140 logging.debug('channel %s: %s', channel, spectral)
142 abs(spectral[0][0] - golden_frequency[channel]) < 5,
/tools/test/connectivity/acts/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", "…
DSetupWifiNetworkTest.py59 self.channel = hostapd_constants.AP_DEFAULT_CHANNEL_2G
61 self.channel = hostapd_constants.AP_DEFAULT_CHANNEL_5G
67 channel=self.channel,
76 channel=self.channel,
DWifiRvrTest.py321 def rvr_test_func(self, channel, mode): argument
345 band = self.access_point.band_lookup_by_channel(channel)
347 frequency = wutils.WifiEnums.channel_2G_to_freq[channel]
349 frequency = wutils.WifiEnums.channel_5G_to_freq[channel]
354 self.access_point.set_channel(band, channel)
362 self.main_network[band]["channel"] = channel
371 "fixed_attenuation"][str(channel)]
383 channel = int(test_params[4][2:])
395 rvr_result = self.rvr_test_func(channel, mode)
DWifiThroughputStabilityTest.py216 def throughput_stability_test_func(self, channel, mode): argument
231 band = self.access_point.band_lookup_by_channel(channel)
232 self.access_point.set_channel(band, channel)
243 self.main_network[band]["channel"] = channel
328 channel = int(test_params[6][2:])
342 test_result = self.throughput_stability_test_func(channel, mode)
DWifiSoftApAcsTest.py184 channel = self.get_softap_acs(softap)
185 return channel
194 channel = self.get_softap_acs(softap)
195 return channel
/tools/test/connectivity/acts/tests/google/bt/audio_lab/
DBtChameleonTest.py63 channel, audio_to_play): argument
93 channel=channel,
152 channel = audio_channel_mode_8
162 channel=channel,
213 channel = audio_channel_mode_8
222 channel=channel,
/tools/test/connectivity/acts/tests/sample/
DConfigurableAccessPointTest.py37 channel=6, ssid='ImagineYourNetworkHere')
/tools/test/connectivity/acts/framework/acts/test_utils/wifi/
Dwifi_power_test_utils.py255 channel = network["channel"]
257 channel=channel,
265 config_bridge = ap.generate_bridge_configs(channel)
270 log.info("AP started on channel {} with SSID {}".format(channel, ssid))
DWifiBaseTest.py289 channel=ap_settings["channel"],
298 channel=ap_settings["channel"],
Dwifi_test_utils.py1433 for channel in scan_channels:
1434 if channel in WifiEnums.DFS_5G_FREQUENCIES:
/tools/test/connectivity/acts/framework/acts/controllers/
Daccess_point.py236 'channel %d' % hostapd_config.channel)
382 def generate_bridge_configs(self, channel): argument
392 if channel < 15:
/tools/test/connectivity/acts/framework/acts/controllers/anritsu_lib/
Dmg3710a.py348 def set_channel(self, channel, sg=1): argument
359 cmd = "SOUR{}:FREQ:CHAN:NUMB {}".format(sg, channel)
/tools/metalava/gradle/wrapper/
Dgradle-wrapper.jar ... .RandomAccessFile randomAccessFile java.nio.channels.FileChannel channel private long getTimeMillis () private static void maybeCloseQuietly ( ...
/tools/test/connectivity/acts/framework/acts/test_utils/coex/
Dcoex_test_utils.py156 channel=network["channel"],