Home
last modified time | relevance | path

Searched refs:package (Results 1 – 25 of 86) sorted by relevance

1234

/tools/test/connectivity/acts/framework/tests/event/
Dsubscription_bundle_test.py38 package = SubscriptionBundle()
39 package.add_subscription = Mock()
41 package.add(event, func, event_filter=event_filter, order=order)
43 self.assertEqual(package.add_subscription.call_count, 1)
44 subscription = package.add_subscription.call_args[0][0]
55 package = SubscriptionBundle()
56 package._registered = True
59 package.add_subscription(mock_subscription)
67 package = SubscriptionBundle()
69 package.add_subscription(mock_subscription)
[all …]
/tools/test/connectivity/acts_tests/tests/google/tel/live/
DTelLiveProjectFiTest.py172 def start_service(self, ad, package, service_id, extras, action_type): argument
182 ad.log.info('Starting service %s/.%s.', package, service_id)
185 package, package + '.' + service_id,
189 def start_activity(self, ad, package, activity_id, extras=None): argument
198 ad.log.info('Starting activity %s/.%s.', package, activity_id)
201 package, package + '.' + activity_id,
/tools/test/connectivity/acts_tests/tests/google/tel/lab/
DTelLabProjectFiTest.py268 def start_service(self, ad, package, service_id, extras, action_type): argument
278 ad.log.info('Starting service %s/.%s.', package, service_id)
281 package, package + '.' + service_id,
285 def start_activity(self, ad, package, activity_id, extras=None): argument
294 ad.log.info('Starting activity %s/.%s.', package, activity_id)
297 package, package + '.' + activity_id,
/tools/asuite/atest/test_finders/
Dmodule_finder.py482 def find_test_by_package_name(self, package, module_name=None, argument
494 _, methods = test_finder_utils.split_methods(package)
506 test_finder_utils.FIND_REFERENCE_TYPE.PACKAGE, search_dir, package)
510 test_filter = frozenset([test_info.TestFilter(package, frozenset())])
528 module_name, package = module_package.split(':')
535 package, module_info.test_name,
Dtest_finder_utils.py192 package = match.group('package')
194 return '%s.%s' % (package, cls)
/tools/tradefederation/core/atest/test_finders/
Dmodule_finder.py471 def find_test_by_package_name(self, package, module_name=None, argument
483 _, methods = test_finder_utils.split_methods(package)
495 test_finder_utils.FIND_REFERENCE_TYPE.PACKAGE, search_dir, package)
499 test_filter = frozenset([test_info.TestFilter(package, frozenset())])
517 module_name, package = module_package.split(':')
524 package, module_info.test_name,
Dtest_finder_utils.py185 package = match.group('package')
187 return '%s.%s' % (package, cls)
/tools/test/connectivity/acts/framework/acts/test_utils/gnss/
Dgnss_test_utils.py1272 def check_location_runtime_permissions(ad, package, permissions): argument
1282 "dumpsys package %s | grep ACCESS_FINE_LOCATION" % package)
1284 ad.log.info("ACCESS_FINE_LOCATION is NOT granted on %s" % package)
1286 ad.log.debug("Grant %s on %s" % (permission, package))
1287 ad.adb.shell("pm grant %s %s" % (package, permission))
1289 ad.log.info("ACCESS_FINE_LOCATION is granted on %s" % package)
1293 "Fail to grant ACCESS_FINE_LOCATION on %s" % package)
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/dev_utils/proto/google/protobuf/
Ddescriptor.proto42 package google.protobuf;
59 optional string package = 2; // e.g. "foo", "foo.bar", etc. field
266 // Sets the Java package where classes generated from this .proto will be
267 // placed. By default, the proto package is used, but this is often
318 // Sets the Go package where structs generated from this .proto will be
319 // placed. If omitted, the Go package will be derived from the following:
320 // - The basename of the package import path, if provided.
321 // - Otherwise, the package statement in the .proto file, if present.
/tools/repohooks/tools/
Dspelling.txt816 pacakge||package
817 pachage||package
818 packacge||package
819 packege||package
820 packge||package
822 pakage||package
Dpylintrc52 # A comma-separated list of package or module names from where C extensions may
179 # Put messages in a separate file for each module / package specified on the
243 # install python-enchant package.
/tools/acloud/
Drevert_host_setup.sh12 for package in ${PACKAGES[@]};
14 echo " - uninstalling $package"
15 sudo su -c "apt-get purge $package -y && apt-get autoremove -y"
/tools/external_updater/
Dcrates_updater.py34 package: str
42 self.package = match.group(1)
47 url = "https://crates.io/api/v1/crates/" + self.package
/tools/test/connectivity/acts_tests/
Dsetup.py103 for package in required_packages:
104 self.announce('Installing %s...' % package, log.INFO)
106 ['-v', '--no-cache-dir', package])
/tools/test/connectivity/acts/framework/
Dsetup.py109 for package in required_packages:
110 self.announce('Installing %s...' % package, log.INFO)
112 ['-v', '--no-cache-dir', package])
/tools/metalava/
DFORMAT.md435 In the codebase, these are typically in the android.annotation. package,
471 This basically builds on the same idea from having an implicit package for
475 This only applies to the java.lang package, not any subpackages, so for example
501 * Fix formatting for package private elements. These had two spaces of
DREADME.md123 and reinsert during import. Specifically, drop "java.lang." from package
134 instead of the full package name, e.g. `@UiThread` instead of
176 public method inherited from a package protected super class, which the API
178 anyway since it packages package private classes. Metalava strictly applies
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/dev_utils/proto/
Daudiowear.proto3 //package audiowear;
4 package apollo.lib.apollo_dev_util_lib.proto;
Dapollo_qa.proto15 //package audiowear;
16 package apollo.lib.apollo_dev_util_lib.proto;
Dplugin.proto48 package google.protobuf.compiler;
124 // This line appears within the scope of the file's package namespace, but
/tools/tradefederation/core/tests/res/testconfigs/yaml/
Dtest-config.tf_yaml13 - package: "android.package"
/tools/test/connectivity/acts/framework/acts/controllers/
Dandroid_device.py1524 package = self.adb.shell(
1527 wizard_package = package.split('=')[1]
1528 activity = package.split('=')[0].split('/')[-2]
/tools/test/connectivity/acts/framework/acts/test_utils/instrumentation/device/command/
Dinstrumentation_command_builder.py153 def add_test_package(self, package): argument
156 self._packages.append(package)
/tools/tradefederation/core/
DAndroid.bp185 args: tradefed_docs_only_args + "--package",
211 "-package " +
/tools/test/connectivity/acts/framework/acts/
Dbase_test.py948 for package in self.all_subscriptions:
949 package.unregister()

1234