Home
last modified time | relevance | path

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

1234567

/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/asuite/atest/
Dbazel_mode_unittest.py118 def assertTargetInWorkspace(self, name, package=''): argument
119 build_file = self.workspace_out_path.joinpath(package, 'BUILD.bazel')
131 def assertTargetNotInWorkspace(self, name, package=''): argument
132 build_file = self.workspace_out_path.joinpath(package, 'BUILD.bazel')
147 def assertInBuildFile(self, substring, package=''): argument
148 build_file = self.workspace_out_path.joinpath(package, 'BUILD.bazel')
151 def assertNotInBuildFile(self, substring, package=''): argument
152 build_file = self.workspace_out_path.joinpath(package, 'BUILD.bazel')
155 def assertFileInWorkspace(self, relative_path, package=''): argument
156 path = self.workspace_out_path.joinpath(package, relative_path)
[all …]
Dbazel_mode.py285 package = self.path_to_package.get(package_path)
287 if not package:
288 package = Package(package_path)
289 self.path_to_package[package_path] = package
291 target = package.get_target(target_name)
297 package.add_target(target)
346 for package in self.path_to_package.values():
347 package.generate(self.workspace_out_path)
/tools/external_updater/
Dcrates_updater.py52 package: str
62 self.package = match.group(1)
78 url = "https://crates.io/api/v1/crates/{}/versions".format(self.package)
94 url = "https://crates.io/api/v1/crates/" + self.package
101 .format(self.package, self._new_ver))
113 self.package, self.package, self._new_ver)
137 shutil.move(Path(tmp_dir.name) / self.package, self.package_dir)
/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.py265 def start_service(self, ad, package, service_id, extras, action_type): argument
275 ad.log.info('Starting service %s/.%s.', package, service_id)
278 package, package + '.' + service_id,
282 def start_activity(self, ad, package, activity_id, extras=None): argument
291 ad.log.info('Starting activity %s/.%s.', package, activity_id)
294 package, package + '.' + activity_id,
/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/acloud/setup/
Dsetup_common_test.py55 package = "fake_pkg"
57 setup_common.InstallPackage(package)
64 setup_common.InstallPackage(package)
/tools/asuite/atest-py2/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,
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/gnss/
Dgnss_test_utils.py1530 def check_location_runtime_permissions(ad, package, permissions): argument
1540 "dumpsys package %s | grep ACCESS_FINE_LOCATION" % package)
1542 ad.log.info("ACCESS_FINE_LOCATION is NOT granted on %s" % package)
1544 ad.log.debug("Grant %s on %s" % (permission, package))
1545 ad.adb.shell("pm grant %s %s" % (package, permission))
1547 ad.log.info("ACCESS_FINE_LOCATION is granted on %s" % package)
1551 "Fail to grant ACCESS_FINE_LOCATION on %s" % package)
1672 def build_instrumentation_call(package, argument
1694 cmd_builder.set_manifest_package(package)
2005 package = ad.adb.getprop("ro.cw.home_package_names")
[all …]
/tools/test/connectivity/acts_tests/
Dsetup.py127 for package in required_packages:
128 self.announce('Installing %s...' % package, log.INFO)
130 ['-v', '--no-cache-dir', package])
/tools/test/connectivity/acts/framework/
Dsetup.py128 for package in required_packages:
129 self.announce('Installing %s...' % package, log.INFO)
131 ['-v', '--no-cache-dir', package])
/tools/asuite/atest/test_finders/
Dmodule_finder.py673 def find_test_by_package_name(self, package, module_name=None, argument
685 _, methods = test_finder_utils.split_methods(package)
697 test_finder_utils.FIND_REFERENCE_TYPE.PACKAGE, search_dir, package)
706 test_filter = frozenset([test_info.TestFilter(package, frozenset())])
724 module_name, package = module_package.split(':')
731 package, module_info.test_name,
Dtest_finder_utils.py243 package = match.group('package')
245 return '%s.%s' % (package, cls)
314 package = get_package_name(test_path)
322 parent_fqcn = package + '.' + parent_cls
/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;
/tools/security/fuzzing/example_fuzzer/
DAndroid.bp1 package {
12 // The advanced features below allow you to package your corpus and
/tools/platform-compat/javatest/com/android/class2nonsdklist/
DAndroid.bp15 package {
21 // Only compile source java files in this package.
/tools/test/mobly_snippets/gft/
DAndroid.bp15 package {
25 // TODO: use prebuilt package when available
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/instrumentation/device/command/
Dinstrumentation_command_builder.py153 def add_test_package(self, package): argument
156 self._packages.append(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/dexter/
DAndroid.bp1 package {
/tools/security/fuzzing/fuzzer_parser/
DAndroid.bp1 package {
/tools/security/fuzzing/system_fuzzers/libcrypto_utils/
DAndroid.bp1 package {
/tools/security/fuzzing/orphans/libexif/
DAndroid.bp1 package {

1234567