/tools/test/connectivity/acts/framework/acts/controllers/ap_lib/ |
D | hostapd_ap_preset.py | 46 channel=None, argument 100 if channel: 101 frequency = hostapd_config.get_frequency_for_channel(channel) 103 channel = hostapd_config.get_channel_for_frequency(frequency) 146 if hostapd_config.ht40_plus_allowed(channel): 148 elif hostapd_config.ht40_minus_allowed(channel): 151 if channel == 165: 210 channel=channel, 232 channel=channel, 299 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/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/google/fuchsia/wlan/ |
D | VapeInteropTest.py | 86 channel=hostapd_constants.AP_DEFAULT_CHANNEL_2G, 94 channel=hostapd_constants.AP_DEFAULT_CHANNEL_2G, 104 channel=hostapd_constants.AP_DEFAULT_CHANNEL_2G, 112 channel=hostapd_constants.AP_DEFAULT_CHANNEL_2G, 122 channel=hostapd_constants.AP_DEFAULT_CHANNEL_2G, 130 channel=hostapd_constants.AP_DEFAULT_CHANNEL_2G, 140 channel=hostapd_constants.AP_DEFAULT_CHANNEL_5G, 148 channel=hostapd_constants.AP_DEFAULT_CHANNEL_5G, 158 channel=hostapd_constants.AP_DEFAULT_CHANNEL_2G, 166 channel=hostapd_constants.AP_DEFAULT_CHANNEL_2G, [all …]
|
D | WlanPhyComplianceABGTest.py | 102 channel=hostapd_constants.AP_DEFAULT_CHANNEL_2G, 111 channel=hostapd_constants.AP_DEFAULT_CHANNEL_2G, 120 channel=hostapd_constants.AP_DEFAULT_CHANNEL_2G, 129 channel=hostapd_constants.AP_DEFAULT_CHANNEL_2G, 138 channel=hostapd_constants.AP_DEFAULT_CHANNEL_2G, 147 channel=hostapd_constants.AP_DEFAULT_CHANNEL_2G, 156 channel=hostapd_constants.AP_DEFAULT_CHANNEL_2G, 166 channel=hostapd_constants.AP_DEFAULT_CHANNEL_2G, 176 channel=hostapd_constants.AP_DEFAULT_CHANNEL_2G, 186 channel=hostapd_constants.AP_DEFAULT_CHANNEL_2G, [all …]
|
D | WlanSecurityComplianceABGTest.py | 166 channel=hostapd_constants.AP_DEFAULT_CHANNEL_5G, 179 channel=hostapd_constants.AP_DEFAULT_CHANNEL_5G, 192 channel=hostapd_constants.AP_DEFAULT_CHANNEL_5G, 205 channel=hostapd_constants.AP_DEFAULT_CHANNEL_5G, 218 channel=hostapd_constants.AP_DEFAULT_CHANNEL_5G, 231 channel=hostapd_constants.AP_DEFAULT_CHANNEL_5G, 244 channel=hostapd_constants.AP_DEFAULT_CHANNEL_5G, 257 channel=hostapd_constants.AP_DEFAULT_CHANNEL_5G, 270 channel=hostapd_constants.AP_DEFAULT_CHANNEL_5G, 282 channel=hostapd_constants.AP_DEFAULT_CHANNEL_5G, [all …]
|
D | ChannelSweepTest.py | 132 channel = settings['channel'] 134 if channel > 14: 144 if hostapd_config.ht40_plus_allowed(channel): 146 elif hostapd_config.ht40_minus_allowed(channel): 149 raise ValueError('Invalid Channel: %s' % channel) 157 channel=channel, 221 channel = int(test.group(1)) 223 if channel not in allowed_channels: 224 raise ValueError("Invalid channel: %s" % channel) 225 if channel <= 14 and bandwidth not in BANDWIDTH_24: [all …]
|
D | BeaconLossTest.py | 78 def beacon_loss(self, channel): argument 82 channel=channel, 85 if channel > 14: 127 self.beacon_loss(channel=hostapd_constants.AP_DEFAULT_CHANNEL_2G) 130 self.beacon_loss(channel=hostapd_constants.AP_DEFAULT_CHANNEL_5G)
|
/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 …]
|
D | packet.py | 91 channel = channel_and_reading_granularity[0] 94 data_index = self.get_index(channel, reading_or_granularity) 103 def get_index(channel, reading_or_granularity): argument 116 return 6 + channel 118 return 9 - channel 120 return channel * 2 + reading_or_granularity
|
/tools/test/connectivity/acts/framework/acts/controllers/ap_lib/third_party_ap_profiles/ |
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 | 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 | 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 | 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,
|
D | securifi.py | 22 def securifi_almond(iface_wlan_2g=None, channel=None, security=None, argument 50 if channel > 11: 52 'Invalid channel (%s)' % channel) 91 channel=channel,
|
D | belkin.py | 23 channel=None, argument 54 if channel > 11: 56 'Invalid channel (%s)' % channel) 90 channel=channel,
|
/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/framework/acts/test_utils/audio_analysis_lib/ |
D | audio_data.py | 73 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)
|
/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,
|
D | stock_transformers.py | 352 for channel in Channel.values: 353 fine_zero = calibration_data.get(channel, Origin.ZERO, 355 fine_scale = calibration_data.get(channel, Origin.SCALE, 357 coarse_zero = calibration_data.get(channel, Origin.ZERO, 359 coarse_scale = calibration_data.get(channel, Origin.SCALE, 368 readings[:, channel] = np.where( 369 measurements[:, channel] & 1, 370 ((measurements[:, channel] & ~1) - coarse_zero) * coarse_scale, 371 (measurements[:, channel] - fine_zero) * fine_scale)
|
/tools/test/connectivity/acts/tests/google/wifi/ |
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 | SetupWifiNetworkTest.py | 59 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,
|
D | WifiSensitivityTest.py | 234 channel = testcase_params['channel'] 235 if channel not in channels_tested: 236 channels_tested.append(channel) 238 testclass_results_dict[test_id][channel] = result[ 241 testclass_results_dict[test_id][channel] = '' 247 for channel in testclass_results_dict[test_id].keys(): 248 metric_tag = collections.OrderedDict(test_id, channel=channel) 252 sensitivity_result = testclass_results_dict[test_id][channel] 266 for channel in channels_tested: 267 csv_header.append('Ch. ' + str(channel)) [all …]
|
/tools/test/connectivity/acts/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,
|