/external/autotest/server/ |
D | adb_utils.py | 18 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/ |
D | test_pkgimport.py | 15 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/ |
D | textclassifier_jni.h | 43 #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/ |
D | test_pkgimport.py | 8 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'))
|
D | test_import.py | 621 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)
|
D | test_pkgutil.py | 83 package_name = "unreadable_package" 84 d = os.path.join(self.dirname, package_name)
|
/external/libmojo/third_party/jinja2/ |
D | loaders.py | 210 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/ |
D | setup.py | 50 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/ |
D | system_app.py | 49 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/ |
D | ruby_generator.cc | 304 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/ |
D | device_utils.py | 680 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/ |
D | device_utils.py | 848 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__.py | 61 for package_name in protocol_handler_packages: 62 module_name = '%s.protocol_%s' % (package_name, protocol,)
|
/external/clang/ |
D | build.py | 193 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,
|
D | update-prebuilts.py | 91 def package_name(build_number, host): function 101 filename = package_name(build_number, host)
|
/external/python/cpython3/Lib/test/test_import/ |
D | __init__.py | 814 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/ |
D | markdown.py | 163 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/ |
D | uibench.py | 44 package = packages[0].package_name 47 test_package = packages[1].package_name
|
D | systemui.py | 42 test_package = packages[0].package_name
|
/external/autotest/client/common_lib/ |
D | packages.py | 728 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/ |
D | go_generator.h | 51 grpc::string package_name; member
|
/external/autotest/server/site_tests/testbed_DummyTest/ |
D | testbed_DummyTest.py | 32 package_name=constants.SL4A_PACKAGE)
|
/external/libmojo/base/android/ |
D | build_info.h | 94 const char* package_name() const { in package_name() function
|
/external/lisa/libs/utils/android/ |
D | workload.py | 68 … 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/ |
D | acts_lib.py | 188 package_name=constants.SL4A_PACKAGE, 207 package_name=apk_info['package'],
|