/tools/test/connectivity/acts_tests/tests/google/gnss/ |
D | LabTtffTest.py | 27 mode = 'cs' 28 self.gnss_ttff_ffpe(mode) 34 mode = 'ws' 35 self.gnss_ttff_ffpe(mode) 41 mode = 'hs' 42 self.gnss_ttff_ffpe(mode)
|
D | GnssPowerMeasurementTest.py | 27 mode='standalone', freq=self.meas_interval, meas=True) 32 mode='standalone', freq=self.meas_interval, meas=True) 37 mode='standalone', freq=self.interval, meas=True) 42 mode='standalone', freq=self.interval, meas=True)
|
D | GnssConcurrencyTest.py | 351 def preset_mcu_test(self, mode): argument 357 self.add_ttff_conf(mode) 365 def reset_mcu_test(self, mode): argument 371 self.delete_gps_conf(mode) 406 def run_mcu_ttff_loops(self, mode, loops): argument 490 mode = "CS" 491 self.preset_mcu_test(mode) 492 self.run_mcu_ttff_loops(mode, self.ttff_test_cycle) 493 self.reset_mcu_test(mode) 496 mode = "WS" [all …]
|
D | GnssVendorFeaturesTest.py | 78 def ttff_with_assist(self, mode, criteria): argument 91 gutils.start_ttff_by_gtw_gpstool(self.ad, mode, iteration=self.ttff_test_cycle) 93 result = gutils.check_ttff_data(self.ad, ttff_data, mode, criteria) 96 "seconds." % (gnss_constant.TTFF_MODE.get(mode), criteria)) 107 gutils.run_ttff(self.ad, mode="cs", criteria=self.xtra_cs_criteria, 120 gutils.run_ttff(self.ad, mode="ws", criteria=self.xtra_ws_criteria, 133 gutils.run_ttff(self.ad, mode="hs", criteria=self.xtra_hs_criteria, 150 gutils.run_ttff(self.ad, mode="cs", criteria=self.xtra_cs_criteria, 166 gutils.run_ttff(self.ad, mode="ws", criteria=self.xtra_ws_criteria, 182 gutils.run_ttff(self.ad, mode="hs", criteria=self.xtra_hs_criteria,
|
D | GnssSuplTest.py | 105 def run_ttff(self, mode, criteria): argument 112 return gutils.run_ttff(self.ad, mode, criteria, self.ttff_test_cycle, 115 def supl_ttff_weak_gnss_signal(self, mode, criteria): argument 124 self.run_ttff(mode, criteria) 136 def check_position_mode(self, begin_time: int, mode: str): 139 return all([result["log_message"].split(" ")[-1] == mode for result in logcat_results]) 216 self.run_ttff(mode="cs", criteria=self.supl_cs_criteria)
|
D | LocationPlatinumTest.py | 72 def get_and_verify_ttff(self, mode): argument 78 if mode in self.test_types: 79 test_type = self.test_types.get(mode) 81 raise signals.TestFailure('Unrecognized mode %s' % mode) 87 self.ad, ttff_mode=mode, iteration=1, aid_data=True)
|
/tools/test/connectivity/acts/framework/acts/controllers/ap_lib/ |
D | hostapd_ap_preset.py | 50 mode=None, argument 125 mode = _get_or_default(mode, hostapd_constants.MODE_11N_MIXED) 140 mode=mode, 154 mode = _get_or_default(mode, hostapd_constants.MODE_11AC_MIXED) 161 mode = hostapd_constants.MODE_11N_MIXED 199 mode=mode, 213 mode = hostapd_constants.MODE_11B 215 mode = hostapd_constants.MODE_11A 221 mode=mode, 237 mode = hostapd_constants.MODE_11G [all …]
|
/tools/netsim/rust/daemon/src/bluetooth/ |
D | advertise_settings.rs | 41 pub mode: AdvertiseMode, field 77 if let Some(mode) = value.interval.as_ref() { in try_from() 78 builder.mode(mode.into()); in try_from() 102 interval: Some(value.mode.try_into()?), in try_from() 116 mode: Option<AdvertiseMode>, field 131 mode: self.mode.unwrap_or_default(), in build() 139 pub fn mode(&mut self, mode: AdvertiseMode) -> &mut Self { in mode() method 140 self.mode = Some(mode); in mode() 188 IntervalProto::AdvertiseMode(mode) => match mode.enum_value_or_default() { in from() 275 let mode = AdvertiseMode::new(Duration::from_millis(200)); in test_build() localVariable [all …]
|
/tools/test/connectivity/acts/framework/acts/controllers/ap_lib/third_party_ap_profiles/ |
D | asus.py | 112 mode = hostapd_constants.MODE_11N_MIXED 119 mode = hostapd_constants.MODE_11AC_MIXED 138 mode=mode, 205 mode = hostapd_constants.MODE_11G 214 mode = hostapd_constants.MODE_11A 237 mode=mode, 328 mode = hostapd_constants.MODE_11N_MIXED 340 mode = hostapd_constants.MODE_11AC_MIXED 361 mode=mode, 470 mode=hostapd_constants.MODE_11N_MIXED, [all …]
|
D | tplink.py | 110 mode = hostapd_constants.MODE_11N_MIXED 119 mode = hostapd_constants.MODE_11AC_MIXED 142 mode=mode, 218 mode = hostapd_constants.MODE_11N_MIXED 229 mode = hostapd_constants.MODE_11AC_MIXED 268 mode=mode, 356 mode = hostapd_constants.MODE_11N_MIXED 364 mode = hostapd_constants.MODE_11AC_MIXED 386 mode=mode, 460 mode=hostapd_constants.MODE_11N_MIXED,
|
D | linksys.py | 109 mode=hostapd_constants.MODE_11N_MIXED, 170 mode = hostapd_constants.MODE_11G 176 mode = hostapd_constants.MODE_11A 187 mode=mode, 301 mode=hostapd_constants.MODE_11AC_MIXED,
|
D | netgear.py | 120 mode = hostapd_constants.MODE_11N_MIXED 128 mode = hostapd_constants.MODE_11AC_MIXED 160 mode=mode, 263 mode=hostapd_constants.MODE_11N_MIXED,
|
/tools/netsim/ui/ts/ |
D | navigation-bar.ts | 81 let mode = 'main'; 83 mode = 'trace'; 85 mode = 'oslib'; 87 window.dispatchEvent(new CustomEvent('changeModeEvent', {detail: {mode}}));
|
/tools/test/connectivity/acts_tests/tests/google/wifi/ |
D | WifiSensitivityTest.py | 302 with open(results_file_path, mode='w') as csv_file: 610 mode for mode in modes 611 if mode in self.VALID_TEST_CONFIGS[channel] 613 for mode in requested_modes: 614 bandwidth = int(''.join([x for x in mode if x.isdigit()])) 615 if 'VHT' in mode: 616 rates = self.VALID_RATES[mode] 617 elif 'HT' in mode: 618 rates = self.VALID_RATES[mode] 619 elif 'legacy' in mode and channel < 14: [all …]
|
D | WifiTxPowerCheckTest.py | 187 with open(sar_csv, mode='r') as f: 469 [(mode, rate, 1) 470 for (mode, 478 [(mode, rate - 8 * ('VHT' in mode), 2) 479 for (mode, 608 mode = 'HE' + str(result['testcase_params']['bandwidth']) 610 mode = 'HE' + str(result['testcase_params']['bandwidth']) 611 regulatory_power = result['wl_curpower']['regulatory_limits'][(mode, 0, 613 board_power = result['wl_curpower']['board_limits'][(mode, str(0), 2)] 745 scipy.stats.mode(chain_0_power).mode[0], [all …]
|
/tools/test/connectivity/acts/framework/acts/controllers/rohdeschwarz_lib/ |
D | cmx500_iperf_measurement.py | 145 def __init__(self, mode): argument 150 self._perf.mode = mode 179 def test_type(self, mode): argument 185 if not isinstance(mode, IPerfType): 190 if mode == IPerfType.IPERF: 192 elif mode == IPerfType.IPERF3: 194 elif mode == IPerfType.NAT: 198 "Unsupported IPerf application: {}".format(mode)) 316 if self._perf.mode == IPerfMode.CLIENT:
|
D | cmw500_handover_simulator.py | 57 mode = cmw500.DuplexMode.TDD if 33 <= int( 64 self._lte.configure_incoming_handover_lte(mode, band, channel, 184 def handover_mode(self, mode): argument 186 if not isinstance(mode, HandoverMode): 189 self.tech, mode.value)) 261 def configure_incoming_handover_lte(self, mode, band, channel, bandwidth): argument 271 self.configure_handover(mode, band, channel, bandwidth) 274 bts.duplex_mode = mode 287 def configure_handover(self, mode, band, channel, bandwidth, emit='NS01'): argument 300 if not isinstance(mode, cmw500.DuplexMode): [all …]
|
/tools/tradefederation/core/util_apps/ContentProvider/main/java/android/tradefed/contentprovider/ |
D | ManagedFileContentProvider.java | 177 public ParcelFileDescriptor openFile(Uri uri, String mode) throws FileNotFoundException { in openFile() argument 179 final int fileMode = modeToMode(mode); in openFile() 248 private static int modeToMode(String mode) { in modeToMode() argument 250 if ("r".equals(mode)) { in modeToMode() 252 } else if ("w".equals(mode) || "wt".equals(mode)) { in modeToMode() 257 } else if ("wa".equals(mode)) { in modeToMode() 262 } else if ("rw".equals(mode)) { in modeToMode() 264 } else if ("rwt".equals(mode)) { in modeToMode() 270 throw new IllegalArgumentException("Invalid mode: " + mode); in modeToMode()
|
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/bt/ |
D | BtMultiprofileBaseTest.py | 38 mode=None, argument 44 scan_callback = self.start_ble_scan(self.dut, mode) 51 scan_callback = self.start_ble_scan(self.dut, mode) 61 scan_callback = self.start_ble_scan(self.dut, mode) 70 advertise_callback = self.start_ble_adv(self.dut, mode, 2) 77 self.start_ble_connection(self.dut, self.android_devices[2], mode) 89 scan_callback = self.start_ble_scan(self.dut, mode) 100 advertise_callback = self.start_ble_adv(self.dut, mode, 2)
|
/tools/security/remote_provisioning/hwtrust/src/dice/ |
D | entry.rs | 26 mode: DiceMode, field 52 pub fn mode(&self) -> DiceMode { in mode() method 53 self.mode in mode() 91 writeln!(f, "Mode: {:?}", self.mode)?; in fmt() 115 debug.field("Mode", &self.mode); in fmt() 155 mode: Default::default(), in with_subject_public_key() 207 pub fn mode(mut self, mode: DiceMode) -> Self { in mode() method 208 self.0.mode = mode; in mode()
|
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/gnss/ |
D | LabTtffTestBase.py | 281 def get_and_verify_ttff(self, mode): argument 287 if mode not in self.test_types: 289 test_type = self.test_types.get(mode) 295 ttff_mode=mode, 350 def verify_pe(self, mode): argument 365 if mode not in ffpe_types: 367 test_type = ffpe_types.get(mode) 369 ttff_data = self.get_and_verify_ttff(mode) 452 mode, argument 476 if mode != 'cs': [all …]
|
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/wifi/wifi_retail_ap/ |
D | google_wifi.py | 211 mode=self.ap_settings[interface]['mode'], 246 mode=None, argument 265 self.ap_settings[interface]['mode'] = mode 272 elif 'legacy' in mode.lower(): 275 elif 'vht' in mode.lower(): 280 elif 'ht' in mode.lower():
|
/tools/security/remote_provisioning/hwtrust/src/cbor/dice/ |
D | entry.rs | 88 .mode(f.mode.ok_or_else(|| anyhow!("mode required"))?) in from_entries() 104 mode: Option<DiceMode>, field 163 let mut mode = FieldValue::new("mode"); in from_entries() localVariable 179 MODE => &mut mode, in from_entries() 204 mode: validate_mode(profile, mode)?, in from_entries() 246 fn validate_mode(profile: &Profile, mode: FieldValue) -> Result<Option<DiceMode>> { in validate_mode() 247 Ok(if !mode.is_bytes() && profile.mode_type == ModeType::IntOrBytes { in validate_mode() 248 mode.into_optional_i64()? in validate_mode() 250 mode.into_optional_bytes()? in validate_mode() 251 .map(|mode| { in validate_mode() [all …]
|
/tools/tradefederation/core/test_framework/com/android/tradefed/device/metric/ |
D | BluetoothHciSnoopLogCollector.java | 180 private void setSnoopLogModeProperty(String mode) throws DeviceNotAvailableException { in setSnoopLogModeProperty() argument 181 if (mode == null) { in setSnoopLogModeProperty() 183 mode = ""; in setSnoopLogModeProperty() 186 boolean successfullySetPropOnDevice = device.setProperty(SNOOP_LOG_MODE_PROPERTY, mode); in setSnoopLogModeProperty() 190 SNOOP_LOG_MODE_PROPERTY, mode, device.getSerialNumber()); in setSnoopLogModeProperty()
|
/tools/asuite/atest/bazel/scripts/ |
D | gen_workspace_archive.sh | 40 (${ANDROID_BUILD_TOP}/build/soong/soong_ui.bash --dumpvar-mode --abs $1) 73 build/soong/soong_ui.bash --make-mode WRAPPER_TOOL=atest $targets 82 --bazel-mode \
|