/tools/test/connectivity/acts/framework/acts/controllers/ap_lib/ |
D | hostapd_ap_preset.py | 49 channel=None, argument 107 if channel: 108 frequency = hostapd_config.get_frequency_for_channel(channel) 110 channel = hostapd_config.get_channel_for_frequency(frequency) 155 if hostapd_config.ht40_plus_allowed(channel): 157 elif hostapd_config.ht40_minus_allowed(channel): 160 if channel == 165: 220 channel=channel, 244 channel=channel, 315 if hostapd_config.ht40_plus_allowed(channel): [all …]
|
D | hostapd_config.py | 22 def ht40_plus_allowed(channel): argument 24 channel_supported = (channel in hostapd_constants.HT40_ALLOW_MAP[ 29 def ht40_minus_allowed(channel): argument 31 channel_supported = (channel in hostapd_constants.HT40_ALLOW_MAP[ 36 def get_frequency_for_channel(channel): argument 48 if channel == channel_iter: 51 raise ValueError('Unknown channel value: %r.' % channel) 73 def _get_11ac_center_channel_from_channel(self, channel): argument 77 channel = int(channel) 84 if lower_channel_bound <= channel <= upper_channel_bound: [all …]
|
/tools/test/connectivity/acts_tests/tests/google/fuchsia/wlan/compliance/ |
D | WlanPhyComplianceABGTest.py | 134 channel=hostapd_constants.AP_DEFAULT_CHANNEL_2G, 143 channel=hostapd_constants.AP_DEFAULT_CHANNEL_2G, 152 channel=hostapd_constants.AP_DEFAULT_CHANNEL_2G, 161 channel=hostapd_constants.AP_DEFAULT_CHANNEL_2G, 170 channel=hostapd_constants.AP_DEFAULT_CHANNEL_2G, 179 channel=hostapd_constants.AP_DEFAULT_CHANNEL_2G, 188 channel=hostapd_constants.AP_DEFAULT_CHANNEL_2G, 198 channel=hostapd_constants.AP_DEFAULT_CHANNEL_2G, 208 channel=hostapd_constants.AP_DEFAULT_CHANNEL_2G, 219 channel=hostapd_constants.AP_DEFAULT_CHANNEL_2G, [all …]
|
D | VapeInteropTest.py | 86 channel=hostapd_constants.AP_DEFAULT_CHANNEL_2G, 94 channel=hostapd_constants.AP_DEFAULT_CHANNEL_2G, 107 channel=hostapd_constants.AP_DEFAULT_CHANNEL_2G, 115 channel=hostapd_constants.AP_DEFAULT_CHANNEL_2G, 128 channel=hostapd_constants.AP_DEFAULT_CHANNEL_2G, 136 channel=hostapd_constants.AP_DEFAULT_CHANNEL_2G, 149 channel=hostapd_constants.AP_DEFAULT_CHANNEL_5G, 157 channel=hostapd_constants.AP_DEFAULT_CHANNEL_5G, 170 channel=hostapd_constants.AP_DEFAULT_CHANNEL_2G, 178 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/framework/acts/controllers/rohdeschwarz_lib/ |
D | cmx500_handover_simulator.py | 33 def lte_handover(self, band, channel, bandwidth, source_technology): argument 42 new_primary = self._get_free_lte_cell(band, channel, bandwidth) 51 self._configure_cell(self.cmx.primary_lte_cell, band, channel, 61 self._configure_cell(self.cmx.primary_lte_cell, band, channel, 70 def nr5g_nsa_handover(self, band, channel, bandwidth, secondary_band, argument 88 new_primary = self._get_free_lte_cell(band, channel, bandwidth) 115 channel, bandwidth) 130 def nr5g_sa_handover(self, band, channel, bandwidth, source_technology): argument 139 new_primary = self._get_free_nr_cell(band, channel, bandwidth) 151 self._configure_cell(self.cmx.primary_nr_cell, band, channel, [all …]
|
D | cmw500_handover_simulator.py | 48 def lte_handover(self, band, channel, bandwidth, source_technology): argument 64 self._lte.configure_incoming_handover_lte(mode, band, channel, 68 def wcdma_handover(self, band, channel, source_technology): argument 80 self._wcdma.configure_incoming_handover_wcdma(band, channel) 261 def configure_incoming_handover_lte(self, mode, band, channel, bandwidth): argument 271 self.configure_handover(mode, band, channel, bandwidth) 276 bts.dl_channel = channel 287 def configure_handover(self, mode, band, channel, bandwidth, emit='NS01'): argument 304 mode.value, band, channel, bandwidth.value, emit)) 353 def _dl_channel(self, channel): argument [all …]
|
/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/tests/google/fuchsia/wlan/performance/ |
D | ChannelSweepTest.py | 229 def setup_ap(self, channel, channel_bandwidth, security_profile=None): argument 243 if channel > MAX_2_4_CHANNEL: 254 if hostapd_config.ht40_plus_allowed(channel): 256 elif hostapd_config.ht40_minus_allowed(channel): 259 raise ValueError('Invalid Channel: %s' % channel) 267 channel=channel, 278 'Error: %s' % (channel, channel_bandwidth, err)) 282 % (ssid, channel, channel_bandwidth)) 286 def get_and_verify_iperf_address(self, channel, device, interface=None): argument 303 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 | 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 | 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 | 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/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/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_rs700.py | 156 channel=None, 167 if channel: 168 if channel not in self.capabilities['channels'][network]: 170 channel, network)) 171 if isinstance(channel, str) and '6g' in channel: 172 channel = int(channel[2:]) 173 setting_to_update[network]['channel'] = channel 199 def set_channel(self, network, channel): argument 207 channel=channel) 210 def set_channel_and_bandwidth(self, network, channel, bandwidth): argument [all …]
|
D | netgear_raxe500.py | 187 channel=None, 198 if channel: 199 if channel not in self.capabilities['channels'][network]: 201 channel, network)) 202 if isinstance(channel, str) and '6g' in channel: 203 channel = int(channel[2:]) 204 setting_to_update[network]['channel'] = channel 249 def set_channel(self, network, channel): argument 257 channel=channel) 260 def set_channel_and_bandwidth(self, network, channel, bandwidth): argument [all …]
|
D | netgear_rax200.py | 186 channel=None, 196 if channel: 197 if channel not in self.capabilities['channels'][network]: 199 channel, network)) 200 setting_to_update[network]['channel'] = channel 245 def set_channel(self, network, channel): argument 253 channel=channel) 256 def set_channel_and_bandwidth(self, network, channel, bandwidth): argument 265 network, channel=channel, bandwidth=bandwidth)
|
/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/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 | 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", "…
|
/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()
|
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/audio_analysis_lib/ |
D | audio_data.py | 66 def __init__(self, binary, channel, sample_format): argument 76 self.channel = channel 77 self.channel_data = [[] for _ in range(self.channel)] 101 n_frames = len(np_array) / self.channel 103 np_array = np_array.reshape(int(n_frames), self.channel)
|