Home
last modified time | relevance | path

Searched refs:package_name (Results 1 – 25 of 43) sorted by relevance

12

/external/autotest/server/
Dadb_utils.py18 def install_apk_from_build(host, apk, build_artifact, package_name=None, argument
37 if package_name and not force_reinstall:
38 if host.is_apk_installed(package_name):
39 logging.info('Package %s is already installed.', package_name)
71 if package_name and not host.is_apk_installed(package_name):
73 package_name)
/external/python/cpython3/Lib/test/
Dtest_pkgimport.py15 self.package_name = 'PACKAGE_'
16 while self.package_name in sys.modules:
17 self.package_name += random.choose(string.ascii_letters)
18 self.module_name = self.package_name + '.foo'
22 for module_name in (self.package_name, self.module_name):
30 self.package_name)
58 self.assertFalse(hasattr(sys.modules[self.package_name], 'foo'))
/external/libtextclassifier/
Dtextclassifier_jni.h43 #define JNI_METHOD_NAME_INTERNAL(package_name, class_name, method_name) \ argument
44 Java_##package_name##_##class_name##_##method_name
46 #define JNI_METHOD_PRIMITIVE(return_type, package_name, class_name, \ argument
49 package_name, class_name, method_name)
53 #define JNI_METHOD2(return_type, package_name, class_name, method_name) \ argument
54 JNI_METHOD_PRIMITIVE(return_type, package_name, class_name, method_name)
59 #define JNI_METHOD_NAME2(package_name, class_name, method_name) \ argument
60 JNI_METHOD_NAME_INTERNAL(package_name, class_name, method_name)
/external/python/cpython2/Lib/test/
Dtest_pkgimport.py8 self.package_name = 'PACKAGE_'
9 while self.package_name in sys.modules:
10 self.package_name += random.choose(string.letters)
11 self.module_name = self.package_name + '.foo'
15 for module_name in (self.package_name, self.module_name):
23 self.package_name)
57 self.assertFalse(hasattr(sys.modules[self.package_name], 'foo'))
Dtest_import.py621 package_name = 'sample' variable in TestSymbolicallyLinkedPackage
626 if os.path.exists(self.package_name):
627 symlink_support.remove_symlink(self.package_name)
639 symlink_support.symlink(self.tagged, self.package_name)
641 assert os.path.isdir(self.package_name)
642 assert os.path.isfile(os.path.join(self.package_name, '__init__.py'))
646 return self.package_name + '-tagged'
659 __import__(self.package_name)
663 if os.path.exists(self.package_name):
664 symlink_support.remove_symlink(self.package_name)
Dtest_pkgutil.py83 package_name = "unreadable_package"
84 d = os.path.join(self.dirname, package_name)
/external/libmojo/third_party/jinja2/
Dloaders.py210 def __init__(self, package_name, package_path='templates', argument
214 provider = get_provider(package_name)
427 package_name = '_jinja2_module_templates_%x' % id(self)
431 mod = _TemplateModule(package_name)
438 sys.modules[package_name] = weakref.proxy(mod,
439 lambda x: sys.modules.pop(package_name, None))
445 self.package_name = package_name
458 module = '%s.%s' % (self.package_name, key)
/external/devlib/
Dsetup.py50 package_name = rel_dir.replace(os.sep, '.') variable
52 packages.append(package_name)
53 data_files[package_name] = data
57 data_files[package_name].extend([os.path.relpath(f, package_dir) for f in filepaths])
/external/chromium-trace/catapult/devil/devil/android/tools/
Dsystem_app.py49 def ReplaceSystemApp(device, package_name, replacement_apk): argument
59 relocate_app = _RelocateApp(device, package_name, storage_dir.name)
113 def _RelocateApp(device, package_name, relocate_to): argument
116 system_package_paths = _FindSystemPackagePaths(device, [package_name])
130 logger.info('No system package "%s"', package_name)
/external/protobuf/src/google/protobuf/compiler/ruby/
Druby_generator.cc304 std::string package_name, in GeneratePackageModules() argument
307 while (!package_name.empty()) { in GeneratePackageModules()
308 size_t dot_index = package_name.find("."); in GeneratePackageModules()
311 component = package_name; in GeneratePackageModules()
312 package_name = ""; in GeneratePackageModules()
314 component = package_name.substr(0, dot_index); in GeneratePackageModules()
315 package_name = package_name.substr(dot_index + 1); in GeneratePackageModules()
/external/libmojo/third_party/catapult/devil/devil/android/
Ddevice_utils.py680 package_name = base_apk.GetPackageName()
681 device_apk_paths = self._GetApplicationPathsInternal(package_name)
698 self._ComputeStaleApks(package_name, all_apks))
703 self.Uninstall(package_name)
708 self._cache['package_apk_paths'].pop(package_name, 0)
709 self._cache['package_apk_checksums'].pop(package_name, 0)
711 partial = package_name if len(apks_to_install) < len(all_apks) else None
721 self.GrantPermissions(package_name, permissions)
724 self._cache['package_apk_checksums'][package_name] = host_checksums
728 self.ForceStop(package_name)
[all …]
/external/chromium-trace/catapult/devil/devil/android/
Ddevice_utils.py848 package_name = base_apk.GetPackageName()
849 device_apk_paths = self._GetApplicationPathsInternal(package_name)
866 self._ComputeStaleApks(package_name, all_apks))
871 self.Uninstall(package_name)
876 self._cache['package_apk_paths'].pop(package_name, 0)
877 self._cache['package_apk_checksums'].pop(package_name, 0)
879 partial = package_name if len(apks_to_install) < len(all_apks) else None
889 self.ForceStop(package_name)
894 self.GrantPermissions(package_name, permissions)
897 self._cache['package_apk_checksums'][package_name] = host_checksums
[all …]
/external/chromium-trace/catapult/third_party/pyserial/serial/
D__init__.py61 for package_name in protocol_handler_packages:
62 module_name = '%s.protocol_%s' % (package_name, protocol,)
/external/clang/
Dbuild.py193 package_name = 'clang-' + build_name
195 install_dir = os.path.join(install_host_dir, package_name)
209 tarball_name = package_name + '-' + host
213 'tar', '-cjC', install_host_dir, '-f', package_path, package_name
697 package_name = 'clang-' + args.build_name
699 install_dir = os.path.join(install_host_dir, package_name)
710 prebuilts_version=package_name,
720 prebuilts_version=package_name,
Dupdate-prebuilts.py91 def package_name(build_number, host): function
101 filename = package_name(build_number, host)
/external/python/cpython3/Lib/test/test_import/
D__init__.py814 package_name = 'sample' variable in TestSymbolicallyLinkedPackage
815 tagged = package_name + '-tagged'
819 test.support.rmtree(self.package_name)
832 os.symlink(self.tagged, self.package_name, target_is_directory=True)
833 self.addCleanup(test.support.unlink, self.package_name)
836 self.assertEqual(os.path.isdir(self.package_name), True)
838 assert os.path.isfile(os.path.join(self.package_name, '__init__.py'))
852 assert os.path.exists(self.package_name)
853 assert os.path.exists(os.path.join(self.package_name, '__init__.py'))
856 importlib.import_module(self.package_name)
/external/chromium-trace/catapult/devil/devil/utils/
Dmarkdown.py163 for package_name in reversed(module_names):
167 r = imp.find_module(package_name, d)
168 full_module_name += package_name
/external/lisa/libs/utils/android/workloads/
Duibench.py44 package = packages[0].package_name
47 test_package = packages[1].package_name
Dsystemui.py42 test_package = packages[0].package_name
/external/autotest/client/common_lib/
Dpackages.py728 checksum, package_name = line.split(None, 1)
729 self._checksum_dict[package_name] = checksum
813 package_name = os.path.basename(pkg_path)
814 if not checksum_dict or package_name not in checksum_dict:
817 repository_checksum = checksum_dict[package_name]
/external/flatbuffers/grpc/src/compiler/
Dgo_generator.h51 grpc::string package_name; member
/external/autotest/server/site_tests/testbed_DummyTest/
Dtestbed_DummyTest.py32 package_name=constants.SL4A_PACKAGE)
/external/libmojo/base/android/
Dbuild_info.h94 const char* package_name() const { in package_name() function
/external/lisa/libs/utils/android/
Dworkload.py68 … required_packages = [package.package_name for package in sc.packages if package.apk_path==None]
70 required_packages = [package.package_name for package in sc.packages]
/external/autotest/site_utils/
Dacts_lib.py188 package_name=constants.SL4A_PACKAGE,
207 package_name=apk_info['package'],

12