Home
last modified time | relevance | path

Searched refs:identifier (Results 1 – 25 of 63) sorted by relevance

123

/tools/test/connectivity/acts/framework/acts/controllers/utils_lib/commands/
Dshell.py66 def is_alive(self, identifier): argument
82 if isinstance(identifier, str):
83 self.run('ps aux | grep -v grep | grep %s' % identifier)
84 elif isinstance(identifier, int):
85 self.signal(identifier, 0)
93 def get_pids(self, identifier): argument
106 result = self.run('ps aux | grep -v grep | grep %s' % identifier)
195 def kill(self, identifier, timeout=10): argument
210 if isinstance(identifier, int):
211 pids = [identifier]
[all …]
/tools/test/connectivity/acts/framework/acts/controllers/fuchsia_lib/bt/
Dbts_lib.py117 def forgetDevice(self, identifier): argument
127 test_args = {"identifier": identifier}
131 def disconnectDevice(self, identifier): argument
141 test_args = {"identifier": identifier}
145 def connectDevice(self, identifier): argument
155 test_args = {"identifier": identifier}
170 def pair(self, identifier, pairing_security_level, non_bondable, argument
194 "identifier": identifier,
Dsdp_lib.py100 def connectL2cap(self, identifier, psm, mode): argument
134 test_args = {"identifier": identifier, "psm": psm, "mode": mode}
/tools/test/connectivity/acts/framework/acts/metrics/loggers/
Dbounded_metrics.py68 identifier = self.context.identifier
69 parts = identifier.rsplit('.', 1)
73 identifier = self.context.identifier
74 parts = identifier.rsplit('.', 1)
Dblackbox.py99 identifier = self.context.identifier
100 parts = identifier.rsplit('.', 1)
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/
DGTestResultParser.java500 private ParsedTestInfo parseTestDescription(String identifier) { in parseTestDescription() argument
504 Matcher time = timePattern.matcher(identifier); in parseTestDescription()
510 identifier = identifier.substring(0, identifier.lastIndexOf(discardPortion)).trim(); in parseTestDescription()
516 Matcher parameterizedMsg = parameterizedPattern.matcher(identifier); in parseTestDescription()
518 identifier = parameterizedMsg.group(1); in parseTestDescription()
521 String[] testId = identifier.split("\\."); in parseTestDescription()
523 CLog.e("Could not detect the test class and test name, received: %s", identifier); in parseTestDescription()
539 private void processRunStartedTag(String identifier) { in processRunStartedTag() argument
542 Matcher numTests = numTestsPattern.matcher(identifier); in processRunStartedTag()
569 private void processRunCompletedTag(String identifier) { in processRunCompletedTag() argument
[all …]
/tools/test/connectivity/acts/framework/acts/controllers/
Daccess_point.py217 self.identifier = self.ssh_settings.hostname
491 for identifier in self._aps:
492 hostapd_logs[identifier] = self._aps.get(
493 identifier).hostapd.pull_logs()
598 def stop_ap(self, identifier): argument
605 if identifier not in list(self._aps.keys()):
608 instance = self._aps.get(identifier)
618 self._ip_cmd.clear_ipv4_addresses(identifier)
620 del self._aps[identifier]
882 def channel_switch(self, identifier, channel_num): argument
[all …]
/tools/test/connectivity/acts_tests/tests/google/fuchsia/netstack/
DNetstackIfaceTest.py40 identifier = item.get('id')
41 self.dut.sl4f.netstack_lib.enableInterface(identifier)
120 for identifier in interface_ids:
121 result = self.dut.sl4f.netstack_lib.disableInterface(identifier)
144 for identifier in disabled_interface_ids:
145 result = self.dut.sl4f.netstack_lib.enableInterface(identifier)
/tools/test/connectivity/acts/framework/acts/controllers/ap_lib/
Ddhcp_config.py124 def __init__(self, identifier, address, lease_time=None): argument
125 self.identifier = identifier
188 identifier = mapping.identifier
190 host_fake_name = 'host%s' % identifier.replace(':', '')
194 lines.append('\thardware ethernet %s;' % identifier)
/tools/external_updater/
Dfileutils.py188 identifier = metadata_pb2.Identifier()
189 identifier.type = IdentifierType[metadata_pb2.URL.Type.Name(url.type)].value
190 identifier.value = url.value
191 identifier.version = metadata.third_party.version
193 metadata.third_party.identifier.append(identifier)
Dtest_base_updater.py42 identifier = metadata_pb2.Identifier()
43 identifier.version = "old version"
49 identifier,
Dbase_updater.py74 for identifier in updated_metadata.third_party.identifier:
75 if identifier == self.current_identifier:
76 identifier.CopyFrom(self.latest_identifier)
Dupdater_utils.py44 for identifier in metadata.third_party.identifier:
45 if identifier.type.lower() != 'homepage':
47 updater = updater_cls(proj_path, identifier, metadata.third_party.version)
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/abstract_devices/
Dwmm_transceiver.py58 def create(config, identifier=None, wlan_devices=None, access_points=None): argument
80 if not identifier:
81 identifier = config['identifier']
105 identifier,
125 if wlan_device_identifier == wd.identifier:
153 identifier, argument
158 self.identifier = identifier
161 {'identifier': self.identifier}))
237 receiver.identifier)
283 receiver.identifier)
/tools/test/graphicsbenchmark/performance_tests/hostside/src/com/android/game/qualification/testtype/
DGameQualificationHostsideController.java260 … TestDescription identifier = new TestDescription(CLASS, t.getName() + "[" + apk.getName() + "]"); in run() local
269 mResultReporter.putRequirements(identifier, req); in run()
273 listener.testStarted(identifier); in run()
277 listener.testAssumptionFailure(identifier, e.getMessage()); in run()
280 listener.testFailed(identifier, e.getMessage()); in run()
282 listener.testEnded(identifier, new HashMap<String, MetricMeasurement.Metric>()); in run()
287 listener.testFailed(identifier, collector.getErrorMessage()); in run()
/tools/test/connectivity/acts/framework/acts/
Dcontext.py235 def identifier(self): member in TestContext
266 def identifier(self): member in RootContext
298 def identifier(self): member in TestClassContext
338 def identifier(self): member in TestCaseContext
/tools/asuite/atest/
Dcli_translator_unittest.py607 identifier = cli_t.parse_test_identifier(given)
609 self.assertEqual('testName', identifier.test_name)
610 self.assertEqual([], identifier.module_names)
611 self.assertEqual([], identifier.binary_names)
617 identifier = cli_t.parse_test_identifier(given)
619 self.assertEqual('testName', identifier.test_name)
620 self.assertEqual(['Module1'], identifier.module_names)
621 self.assertEqual(['Module1.apk'], identifier.binary_names)
627 identifier = cli_t.parse_test_identifier(given)
629 self.assertEqual('testName', identifier.test_name)
[all …]
Dcli_translator.py259 def _valid_modules(self, identifier: TestIdentifier) -> bool:
261 if not self.mod_info.is_module(identifier.test_name):
264 atest_utils.mark_red(identifier.test_name)
273 for module in identifier.module_names
286 for name in identifier.module_names:
305 def _declared_mainline_modules(self, identifier: TestIdentifier) -> bool:
307 test = identifier.test_name
308 mainline_binaries = identifier.binary_names
/tools/test/connectivity/acts/framework/tests/
Dacts_context_test.py175 self.assertRaises(NotImplementedError, lambda: context.identifier)
209 self.assertEqual(context.identifier, TestClass.__name__)
241 identifier = TestClass.__name__ + '.' + TEST_CASE
242 self.assertEqual(context.identifier, identifier)
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/params/
DFoldableHandler.java33 public FoldableHandler(String stateName, long identifier) { in FoldableHandler() argument
35 mIdentifier = identifier; in FoldableHandler()
/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/device/
DDeviceFoldableState.java26 public DeviceFoldableState(long identifier, String name) { in DeviceFoldableState() argument
27 mIdentifier = identifier; in DeviceFoldableState()
/tools/tradefederation/core/proto/monitoring/server/
Dlab_resource.proto100 // identifier: {
104 // identifier: {
108 // identifier: {
117 // identifier: {
126 map<string, string> identifier = 1; field
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/fuchsia/
Dbt_test_utils.py212 identifier = json_conversion.get("identifier")
221 data_dict[identifier] = {
229 data_dict[identifier]["bredr_link_key"] = link_key
235 data_dict[identifier]["le_ltk"] = ltk_key
/tools/external/fat32lib/
DAndroid.bp38 "SPDX-license-identifier-LGPL",
39 "SPDX-license-identifier-LGPL-2.1",
40 "SPDX-license-identifier-LGPL-3.0",
/tools/test/connectivity/acts/framework/acts/metrics/loggers/protos/
Dacts_usage_metadata.proto29 // Contextual identifier: who's invoking the method
32 // Method identifier: fully qualified module + method names

123