Home
last modified time | relevance | path

Searched refs:mode (Results 1 – 25 of 66) sorted by relevance

123

/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/data_storage/bigquery/
Dtest_bigquery_utils.py137 bigquery.SchemaField('ELD', 'TIMESTAMP', mode='nullable'),
138 bigquery.SchemaField('FIELD', 'STRING', mode='nullable'),
139 bigquery.SchemaField('IELD', 'BOOLEAN', mode='nullable')
203 bigquery.SchemaField('FIELD1', 'BOOLEAN', mode='nullable'),
204 bigquery.SchemaField('FIELD2', 'INTEGER', mode='nullable'),
205 bigquery.SchemaField('FIELD3', 'STRING', mode='nullable'),
206 bigquery.SchemaField('FIELD4', 'TIMESTAMP', mode='nullable'),
207 bigquery.SchemaField('FIELD5', 'FLOAT', mode='nullable')
228 bigquery.SchemaField('FIELD1', 'STRING', mode='nullable'),
229 bigquery.SchemaField('FIELD2', 'STRING', mode='nullable'),
[all …]
/tools/test/connectivity/acts/framework/acts/controllers/ap_lib/
Dhostapd_ap_preset.py67 mode = None
83 mode = hostapd_constants.MODE_11N_MIXED
97 mode=mode,
107 mode = hostapd_constants.MODE_11AC_MIXED
114 mode = hostapd_constants.MODE_11N_MIXED
149 mode=mode,
Dhostapd_config.py304 mode=None, argument
406 if self._n_capabilities and mode is None:
407 mode = hostapd_constants.MODE_11N_PURE
408 self._mode = mode
/tools/tradefederation/core/util-apps/ContentProvider/main/java/android/tradefed/contentprovider/
DManagedFileContentProvider.java186 public ParcelFileDescriptor openFile(@NonNull Uri uri, @NonNull String mode) in openFile() argument
189 final int fileMode = modeToMode(mode); in openFile()
257 private static int modeToMode(String mode) { in modeToMode() argument
259 if ("r".equals(mode)) { in modeToMode()
261 } else if ("w".equals(mode) || "wt".equals(mode)) { in modeToMode()
266 } else if ("wa".equals(mode)) { in modeToMode()
271 } else if ("rw".equals(mode)) { in modeToMode()
273 } else if ("rwt".equals(mode)) { in modeToMode()
279 throw new IllegalArgumentException("Invalid mode: " + mode); in modeToMode()
/tools/test/connectivity/acts/tests/google/net/
DDnsOverTlsTest.py126 mode = self.dut.droid.getPrivateDnsMode()
127 asserts.assert_true(mode == dns_mode,
277 mode = self.dut.droid.getPrivateDnsMode()
280 mode == PRIVATE_DNS_MODE_STRICT and specifier == DNS_QUAD9,
327 mode = self.dut.droid.getPrivateDnsMode()
328 asserts.assert_true(mode == PRIVATE_DNS_MODE_OPPORTUNISTIC,
354 mode = self.dut.droid.getPrivateDnsMode()
358 mode == PRIVATE_DNS_MODE_STRICT and specifier != hostname,
/tools/test/connectivity/acts/tests/google/wifi/
DWifiThroughputStabilityTest.py193 def throughput_stability_test_func(self, channel, mode): argument
218 self.access_point.set_bandwidth(band, mode)
315 mode = test_params[7]
322 self.test_params["UDP_rates"][mode])
331 test_result = self.throughput_stability_test_func(channel, mode)
338 for mode in modes:
343 mode[0], mode[1])
DWifiSensitivityTest.py166 with open(results_file_path, mode='w') as csv_file:
391 for mode in self.VALID_TEST_CONFIGS[channel]:
392 if "VHT" in mode:
394 elif "HT" in mode:
396 elif "legacy" in mode and channel < 14:
398 elif "legacy" in mode and channel > 14:
406 if "legacy" in mode:
408 channel, mode,
412 channel, mode, rate[0], rate[1], chain)
DWifiOtaTest.py86 for channel, mode, angle, traffic_type, direction in itertools.product(
88 if channel not in allowed_configs[mode]:
91 traffic_type, direction, channel, mode, angle)
220 for channel, mode, angle in itertools.product(channels, modes, angles):
221 if channel not in allowed_configs[mode]:
224 channel, mode, angle)
DWifiRssiTest.py458 self.access_point.set_bandwidth(band, self.mode)
500 self.mode) in self.testbed_params["ap_tx_power"]:
502 "{}_{}".format(str(self.channel), self.mode)]
545 self.mode = test_params[5]
585 self.mode = test_params[4]
615 self.mode = test_params[4]
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/
DSandboxedInvocationExecutionTest.java109 public IInvocationExecution createInvocationExec(RunMode mode) { in setUp()
111 (InvocationExecution) Mockito.spy(super.createInvocationExec(mode)); in setUp()
176 public IInvocationExecution createInvocationExec(RunMode mode) { in testParentSandboxInvocation_sharding()
276 public IInvocationExecution createInvocationExec(RunMode mode) { in testInvocation_sharding_notTests()
278 (InvocationExecution) Mockito.spy(super.createInvocationExec(mode)); in testInvocation_sharding_notTests()
339 public IInvocationExecution createInvocationExec(RunMode mode) { in testInvocation_preInvocationFailing()
341 (InvocationExecution) Mockito.spy(super.createInvocationExec(mode)); in testInvocation_preInvocationFailing()
/tools/metalava/src/test/java/com/android/tools/metalava/
DConvertTest.kt93 fun `Test convert new with compat mode and api strip`() { in Test convert new with compat mode and api strip()
230 fun `Test convert new without compat mode and no strip`() { in Test convert new without compat mode and no strip()
518 fun `Test convert new to v2 without compat mode and no strip`() { in Test convert new to v2 without compat mode and no strip()
587 fun `Test convert new to v1 signatures with compat mode and no strip`() { in Test convert new to v1 signatures with compat mode and no strip()
DJDiffXmlTest.kt482 fun `Test enums compat mode`() { in Test enums compat mode()
850 fun `Interface extends, compat mode`() { in Interface extends, compat mode()
883 fun `Interface extends, non-compat mode`() { in Interface extends, non-compat mode()
DApiFileTest.kt1121 fun `Enum class, non-compat mode`() { in Enum class, non-compat mode()
1194 fun `Do not include inherited public methods from private parents in compat mode`() { in Do not include inherited public methods from private parents in compat mode()
1319 fun `Annotation class extraction, non-compat mode`() { in Annotation class extraction, non-compat mode()
1650 fun `Check all modifiers, non-compat mode`() { in Check all modifiers, non-compat mode()
2233 fun `Implementing package private class, non-compat mode`() { in Implementing package private class, non-compat mode()
/tools/tradefederation/core/atest/test_runners/
Drobolectric_test_runner_unittest.py69 event_file = tempfile.NamedTemporaryFile(mode='w+r', delete=False)
86 event_file = tempfile.NamedTemporaryFile(mode='w+r', delete=True)
107 event_file = tempfile.NamedTemporaryFile(mode='w+r', delete=True)
120 event_file = tempfile.NamedTemporaryFile(mode='w+r', delete=True)
/tools/tradefederation/core/src/com/android/tradefed/invoker/
DTestInvocation.java638 RunMode mode = RunMode.REGULAR; in invoke() local
640 mode = RunMode.SANDBOX; in invoke()
643 mode = RunMode.PARENT_SANDBOX; in invoke()
646 mode = RunMode.REMOTE_INVOCATION; in invoke()
648 IInvocationExecution invocationPath = createInvocationExec(mode); in invoke()
696 if (RunMode.REGULAR.equals(mode) || RunMode.SANDBOX.equals(mode)) { in invoke()
811 public IInvocationExecution createInvocationExec(RunMode mode) { in createInvocationExec() argument
812 switch (mode) { in createInvocationExec()
/tools/test/connectivity/acts/tests/google/wifi/aware/
DREADME.md19 in a particular mode and expect the tester to capture an over-the-air
45 * **aware_default_power_mode**: The power mode in which to run all tests. Options
49 * wifi_aware.json: Normal (high power/interactive) test mode.
50 * wifi_aware_non_interactive.json: Low power (non-interactive) test mode.
/tools/tradefederation/core/src/com/android/tradefed/device/cloud/
DRemoteFileUtil.java137 ScpMode mode) { in internalScpExec() argument
146 mode); in internalScpExec()
151 if (ScpMode.PULL.equals(mode)) { in internalScpExec()
DGceRemoteCmdFormatter.java91 ScpMode mode) { in getScpCommand() argument
107 if (ScpMode.PULL.equals(mode)) { in getScpCommand()
/tools/test/connectivity/acts/framework/tests/metrics/
Dcore_test.py218 mode='wb')
269 mode='wb')
324 call_1 = call(binary_1, file_path_1, mode='wb')
325 call_2 = call(binary_2, file_path_2, mode='wb')
/tools/test/connectivity/tools/lab/
DREADME.md61 recovery: list of phone sn's that are in recovery mode
62 question: list of phone sn's in ??? mode
63 device: list of phone sn's that are in device mode
/tools/tradefederation/core/src/com/android/tradefed/sandbox/
DTradefedSandbox.java314 DumpCmd mode = DumpCmd.RUN_CONFIG; in prepareConfiguration() local
316 mode = DumpCmd.TEST_MODE; in prepareConfiguration()
322 createClasspath(mRootFolder), mRunUtil, args, mode, mGlobalConfig); in prepareConfiguration()
338 mode, in prepareConfiguration()
/tools/test/connectivity/acts/framework/tests/libs/metrics/
Drecordable_metric_test.py58 mode='w')
62 mode='w')
/tools/test/connectivity/acts/framework/acts/libs/metrics/
Dmetric.py67 with open(metric_file, mode='w') as f:
136 stream_file = open(channel_file, mode='w')
/tools/test/connectivity/acts/framework/acts/metrics/
Dcore.py190 dump_string_to_file(metric.get_binary(), filename, mode='wb')
212 dump_string_to_file(metric.get_descriptor_binary(), filename, mode='wb')
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/
Dapollo_lib.py414 mode = '0' if cmd == 'Off' else '1'
415 cmd = 'Pow ' + mode
641 def set_ohd(self, mode='AUTO'): argument
653 if mode != 'AUTO':
656 if mode == 'ON':

123