/tools/test/connectivity/acts/framework/acts/controllers/ap_lib/ |
D | hostapd_ap_preset.py | 46 channel=None, argument 102 if channel: 103 frequency = hostapd_config.get_frequency_for_channel(channel) 105 channel = hostapd_config.get_channel_for_frequency(frequency) 149 if hostapd_config.ht40_plus_allowed(channel): 151 elif hostapd_config.ht40_minus_allowed(channel): 154 if channel == 165: 214 channel=channel, 237 channel=channel, 306 if hostapd_config.ht40_plus_allowed(channel): [all …]
|
D | hostapd_config.py | 24 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) 74 def _get_11ac_center_channel_from_channel(self, channel): argument 78 channel = int(channel) 85 if lower_channel_bound <= channel <= upper_channel_bound: [all …]
|
/tools/test/connectivity/acts_tests/tests/google/fuchsia/wlan/compliance/ |
D | WlanPhyComplianceABGTest.py | 136 channel=hostapd_constants.AP_DEFAULT_CHANNEL_2G, 145 channel=hostapd_constants.AP_DEFAULT_CHANNEL_2G, 154 channel=hostapd_constants.AP_DEFAULT_CHANNEL_2G, 163 channel=hostapd_constants.AP_DEFAULT_CHANNEL_2G, 172 channel=hostapd_constants.AP_DEFAULT_CHANNEL_2G, 181 channel=hostapd_constants.AP_DEFAULT_CHANNEL_2G, 190 channel=hostapd_constants.AP_DEFAULT_CHANNEL_2G, 200 channel=hostapd_constants.AP_DEFAULT_CHANNEL_2G, 210 channel=hostapd_constants.AP_DEFAULT_CHANNEL_2G, 221 channel=hostapd_constants.AP_DEFAULT_CHANNEL_2G, [all …]
|
D | VapeInteropTest.py | 88 channel=hostapd_constants.AP_DEFAULT_CHANNEL_2G, 96 channel=hostapd_constants.AP_DEFAULT_CHANNEL_2G, 109 channel=hostapd_constants.AP_DEFAULT_CHANNEL_2G, 117 channel=hostapd_constants.AP_DEFAULT_CHANNEL_2G, 130 channel=hostapd_constants.AP_DEFAULT_CHANNEL_2G, 138 channel=hostapd_constants.AP_DEFAULT_CHANNEL_2G, 151 channel=hostapd_constants.AP_DEFAULT_CHANNEL_5G, 159 channel=hostapd_constants.AP_DEFAULT_CHANNEL_5G, 172 channel=hostapd_constants.AP_DEFAULT_CHANNEL_2G, 180 channel=hostapd_constants.AP_DEFAULT_CHANNEL_2G, [all …]
|
D | WlanSecurityComplianceABGTest.py | 215 channel=hostapd_constants.AP_DEFAULT_CHANNEL_5G, 232 channel=hostapd_constants.AP_DEFAULT_CHANNEL_5G, 249 channel=hostapd_constants.AP_DEFAULT_CHANNEL_5G, 266 channel=hostapd_constants.AP_DEFAULT_CHANNEL_5G, 283 channel=hostapd_constants.AP_DEFAULT_CHANNEL_5G, 300 channel=hostapd_constants.AP_DEFAULT_CHANNEL_5G, 317 channel=hostapd_constants.AP_DEFAULT_CHANNEL_5G, 334 channel=hostapd_constants.AP_DEFAULT_CHANNEL_5G, 351 channel=hostapd_constants.AP_DEFAULT_CHANNEL_5G, 367 channel=hostapd_constants.AP_DEFAULT_CHANNEL_5G, [all …]
|
/tools/test/connectivity/acts_tests/tests/google/fuchsia/wlan/performance/ |
D | ChannelSweepTest.py | 231 def setup_ap(self, channel, channel_bandwidth, security_profile=None): argument 245 if channel > MAX_2_4_CHANNEL: 256 if hostapd_config.ht40_plus_allowed(channel): 258 elif hostapd_config.ht40_minus_allowed(channel): 261 raise ValueError('Invalid Channel: %s' % channel) 269 channel=channel, 280 'Error: %s' % (channel, channel_bandwidth, err)) 284 % (ssid, channel, channel_bandwidth)) 288 def get_and_verify_iperf_address(self, channel, device, interface=None): argument 305 if channel <= MAX_2_4_CHANNEL: [all …]
|
/tools/test/connectivity/acts/framework/acts/controllers/ap_lib/third_party_ap_profiles/ |
D | asus.py | 24 channel=None, argument 109 if channel <= 11: 134 channel=channel, 153 channel=None, argument 203 if channel <= 11: 233 channel=channel, 249 channel=None, argument 325 if channel <= 11: 357 channel=channel, 375 channel=None, argument [all …]
|
D | tplink.py | 24 channel=None, argument 106 if channel <= 11: 138 channel=channel, 156 channel=None, argument 214 if channel <= 11: 242 if hostapd_config.ht40_plus_allowed(channel): 244 elif hostapd_config.ht40_minus_allowed(channel): 264 channel=channel, 283 channel=None, argument 352 if channel <= 11: [all …]
|
D | linksys.py | 24 channel=None, argument 88 if channel <= 11: 105 channel=channel, 123 channel=None, argument 168 if channel <= 11: 183 channel=channel, 198 channel=None, argument 273 if channel <= 11: 297 channel=channel,
|
D | actiontec.py | 23 channel=None, argument 43 if channel > 11: 47 'Invalid channel (%s)' % channel) 69 channel=channel, 84 channel=None, argument 109 if channel > 11: 111 'Invalid channel (%s)' % channel) 142 channel=channel,
|
D | netgear.py | 24 channel=None, argument 117 if channel <= 11: 133 if hostapd_config.ht40_plus_allowed(channel): 135 elif hostapd_config.ht40_minus_allowed(channel): 156 channel=channel, 175 channel=None, argument 241 if channel <= 11: 259 channel=channel,
|
/tools/test/connectivity/acts/framework/acts/controllers/monsoon_lib/sampling/engine/ |
D | calibration.py | 36 def add(self, channel, origin, granularity, value): argument 61 def get(self, channel, origin, granularity): argument 83 def add(self, channel, origin, granularity, value): argument 92 window = self._calibrations[(channel, origin, granularity)] 100 def get(self, channel, origin, granularity): argument 101 window = self._calibrations[(channel, origin, granularity)] 104 (channel, origin, granularity))) 121 def add(self, channel, origin, granularity, value): argument 133 self._calibrations[(channel, origin, granularity)] = value 135 def get(self, channel, origin, granularity): argument [all …]
|
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/wifi/wifi_retail_ap/ |
D | netgear_rax120.py | 178 channel=None, 188 if channel: 189 if channel not in self.capabilities['channels'][network]: 191 channel, network)) 192 setting_to_update[network]['channel'] = channel 236 def set_channel(self, network, channel): argument 244 channel=channel) 247 def set_channel_and_bandwidth(self, network, channel, bandwidth): argument 256 network, channel=channel, bandwidth=bandwidth) 351 channel = self.ap_settings[key[0]][key[1]] [all …]
|
D | netgear_raxe500.py | 195 channel=None, 206 if channel: 207 if channel not in self.capabilities['channels'][network]: 209 channel, network)) 210 if isinstance(channel, str) and '6g' in channel: 211 channel = int(channel[2:]) 212 setting_to_update[network]['channel'] = channel 257 def set_channel(self, network, channel): argument 265 channel=channel) 268 def set_channel_and_bandwidth(self, network, channel, bandwidth): argument [all …]
|
D | netgear_rax200.py | 185 channel=None, 195 if channel: 196 if channel not in self.capabilities['channels'][network]: 198 channel, network)) 199 setting_to_update[network]['channel'] = channel 244 def set_channel(self, network, channel): argument 252 channel=channel) 255 def set_channel_and_bandwidth(self, network, channel, bandwidth): argument 264 network, channel=channel, bandwidth=bandwidth)
|
/tools/test/connectivity/acts/framework/acts/controllers/monsoon_lib/sampling/hvpm/ |
D | calibrations.py | 70 channel = i >> 1 71 self.add(channel, origin, granularity, 72 sample[channel, granularity]) 103 def build_status_packet_attribute_name(channel, origin, granularity): argument 122 if channel == Channel.MAIN: 123 channel = 'main' 124 elif channel == Channel.USB: 125 channel = 'usb' 126 elif channel == Channel.AUX: 127 channel = 'aux' [all …]
|
/tools/test/connectivity/acts_tests/tests/google/wifi/ |
D | WifiSensitivityTest.py | 267 channel = testcase_params['channel'] 268 if channel not in channels_tested: 269 channels_tested.append(channel) 271 testclass_results_dict[test_id][channel] = result[ 274 testclass_results_dict[test_id][channel] = '' 280 for channel in testclass_results_dict[test_id].keys(): 281 metric_tag = collections.OrderedDict(test_id, channel=channel) 285 sensitivity_result = testclass_results_dict[test_id][channel] 299 for channel in channels_tested: 300 csv_header.append('Ch. ' + str(channel)) [all …]
|
D | WifiTxPowerCheckTest.py | 76 ('6g', 1): ['6g{}'.format(channel) for channel in range(1, 46, 4)], 77 ('6g', 2): ['6g{}'.format(channel) for channel in range(49, 94, 4)], 78 ('6g', 3): ['6g{}'.format(channel) for channel in range(97, 114, 4)], 79 ('6g', 4): ['6g{}'.format(channel) for channel in range(117, 158, 4)], 80 ('6g', 5): ['6g{}'.format(channel) for channel in range(161, 186, 4)], 81 ('6g', 6): ['6g{}'.format(channel) for channel in range(189, 234, 4)] 421 channel = int( 427 wl_curpower_out, channel, bandwidth) 429 channel, bandwidth) 431 'channel': channel, [all …]
|
D | WifiScannerTests.config | 4 …"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", "…
|
D | WifiRvrTest.py | 717 for channel, mode, traffic_type, traffic_direction in itertools.product( 720 if channel not in allowed_configs[bandwidth]: 723 traffic_type, traffic_direction, channel, mode) 725 channel=channel, 843 for channel, mode, chain, traffic_type, traffic_direction in itertools.product( 846 if channel not in allowed_configs[bandwidth]: 849 traffic_type, traffic_direction, channel, mode, chain) 851 channel=channel, 1003 for channel, mode, angle, traffic_type, direction in itertools.product( 1006 if channel not in allowed_configs[bandwidth]: [all …]
|
/tools/test/connectivity/acts/framework/acts/controllers/ |
D | asus_axe11000_ap.py | 252 channel = 0 255 channel = key 258 self.ap_settings["2g"]["channel"] = channel 290 channel = 0 293 channel = key 296 self.ap_settings["5g"]["channel"] = channel 318 channel = 0 321 channel = key 324 self.ap_settings["6g"]["channel"] = channel 353 def _set_channel(self, band, channel): argument [all …]
|
/tools/test/connectivity/acts_tests/tests/google/bt/audio_lab/ |
D | BtChameleonTest.py | 61 channel, audio_to_play): argument 91 channel=channel, 150 channel = audio_channel_mode_8 160 channel=channel, 211 channel = audio_channel_mode_8 220 channel=channel,
|
/tools/test/connectivity/acts_tests/tests/google/bt/performance/ |
D | BtInterferenceDynamicTest.py | 124 def get_rssi_at_channel(self, channel): argument 132 if item['chan'] == channel: 166 self.wifi_int_pairs[i].channel), 167 self.wifi_int_pairs[i].channel)) 192 self.get_rssi_at_channel(self.wifi_int_pairs[i].channel), 193 self.wifi_int_pairs[i].channel)) 241 self.wifi_int_pairs[current_int_pair[0]].channel, 243 self.wifi_int_pairs[current_int_pair[0]].channel))) 276 tag = 'chan_{}'.format(obj.channel) 299 obj.channel, iperf_throughput)) [all …]
|
/tools/test/connectivity/acts/framework/acts/controllers/monsoon_lib/sampling/lvpm_stock/ |
D | calibrations.py | 74 for channel in Channel.values: 75 self.add(channel, origin, granularity, sample[channel]) 89 for channel, granularity in pairs: 96 self._calibrations[(channel, Origin.REFERENCE, granularity)] - 97 self._calibrations[(channel, Origin.ZERO, granularity)]) 102 self._calibrations[(channel, Origin.SCALE,
|
/tools/apksig/src/main/java/com/android/apksig/util/ |
D | DataSources.java | 63 public static DataSource asDataSource(FileChannel channel) { in asDataSource() argument 64 if (channel == null) { in asDataSource() 67 return new FileChannelDataSource(channel); in asDataSource() 74 public static DataSource asDataSource(FileChannel channel, long offset, long size) { in asDataSource() argument 75 if (channel == null) { in asDataSource() 78 return new FileChannelDataSource(channel, offset, size); in asDataSource()
|