Home
last modified time | relevance | path

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

1234567

/external/chromium-trace/catapult/devil/devil/android/tools/
Dwebview_app.py49 package_name = apk_helper.GetPackageName(apk)
52 if package_name != expected_package:
55 (package_name, expected_package), str(device))
76 with _UninstallNonSystemApp(device, package_name):
77 all_paths = device.GetApplicationPaths(package_name)
87 device, package_name, apk,
89 _SetWebViewProvider(device, package_name)
94 _SetWebViewProvider(device, package_name)
110 def _SetWebViewProvider(device, package_name): argument
113 device.SetWebViewImplementation(package_name)
[all …]
Dsystem_app.py69 package_name, argument
81 relocate_app = _RelocateApp(device, package_name, storage_dir.name)
110 package_name = match.group(2)
111 if package_name == package:
253 def _RelocateApp(device, package_name, relocate_to): argument
256 system_package_paths = _FindSystemPackagePaths(device, [package_name])
268 logger.info('No system package "%s"', package_name)
/external/python/setuptools/tests/
Dtest_pypi.py34 def _package_install(package_name, tmp_dir=None, local_setuptools=True): argument
41 package_dir = os.path.join(tmp_dir, "test_%s" % package_name)
50 returncode = subprocess.call([pip_path, "install", package_name])
54 def test_package_install(package_name, tmpdir): argument
60 new_exit_status = _package_install(package_name, tmp_dir=str(tmpdir))
63 package_name)
64 old_exit_status = _package_install(package_name, tmp_dir=str(tmpdir),
77 if not metafunc.config.option.package_name:
81 packages = metafunc.config.option.package_name
/external/oss-fuzz/infra/base-images/base-sanitizer-libs-builder/
Dmsan_build.py142 def FindPackageDebs(package_name, work_directory): argument
154 if deb.pkgname == package_name:
168 if any(dep[0] == package_name for dep in dependency):
224 def GetPackage(package_name): argument
226 version = apt_cache[package_name].candidate
315 def GetBuildList(package_name): argument
318 pkg = apt_cache[package_name]
361 def Build(self, package_name, output_directory, create_subdirs=False): argument
363 deb_paths = FindPackageDebs(package_name, self.work_dir)
365 print('Source package already built for', package_name)
[all …]
/external/python/cpython3/Lib/test/test_importlib/
Dtest_pkg_import.py15 self.package_name = 'PACKAGE_'
16 while self.package_name in sys.modules:
17 self.package_name += random.choice(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/python/cpython3/Tools/peg_generator/scripts/
Ddownload_pypi_packages.py32 def download_package_json(package_name: str) -> None:
67 package_name = package["project"]
70 download_package_json(package_name)
73 package_json = load_json(package_name)
76 download_package_code(package_name, package_json)
82 remove_json(package_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'))
/external/perfetto/src/trace_processor/util/
Ddescriptors.cc70 const std::string& package_name, in AddExtensionField() argument
83 extendee_name = package_name + "." + extendee_name; in AddExtensionField()
95 const std::string& package_name, in AddNestedProtoDescriptors() argument
103 parent_idx ? descriptors_[*parent_idx].full_name() : package_name; in AddNestedProtoDescriptors()
116 ProtoDescriptor proto_descriptor(file_name, package_name, full_name, in AddNestedProtoDescriptors()
151 AddEnumProtoDescriptors(file_name, package_name, idx, *it, in AddNestedProtoDescriptors()
155 RETURN_IF_ERROR(AddNestedProtoDescriptors(file_name, package_name, idx, *it, in AddNestedProtoDescriptors()
160 extensions->emplace_back(package_name, *ext_it); in AddNestedProtoDescriptors()
167 const std::string& package_name, in AddEnumProtoDescriptors() argument
174 parent_idx ? descriptors_[*parent_idx].full_name() : package_name; in AddEnumProtoDescriptors()
[all …]
/external/perfetto/src/trace_processor/importers/proto/
Dandroid_probes_tracker.h45 bool ShouldInsertPackage(const std::string& package_name) const { in ShouldInsertPackage() argument
46 auto it = seen_packages_.find(package_name); in ShouldInsertPackage()
50 void InsertedPackage(std::string package_name) { in InsertedPackage() argument
51 seen_packages_.emplace(std::move(package_name)); in InsertedPackage()
/external/python/asn1crypto/dev/
Dbuild.py11 from . import package_root, package_name, has_tests_package
48 module_info = imp.find_module('version', [os.path.join(package_root, package_name)])
49 version_mod = imp.load_module('%s.version' % package_name, *module_info)
51 pkg_name_info = (package_name, version_mod.__version__)
65 print('Building %s_tests-%s' % (package_name, version_mod.__version__))
Drelease.py9 from . import package_name, package_root, has_tests_package
56 twine.cli.dispatch(['upload', 'dist/%s-%s*' % (package_name, tag)])
58 twine.cli.dispatch(['upload', 'dist/%s_tests-%s*' % (package_name, tag)])
/external/libtextclassifier/native/utils/java/
Djni-base.h40 #define TC3_JNI_METHOD_NAME_INTERNAL(package_name, class_name, method_name) \ argument
41 Java_##package_name##_##class_name##_##method_name
43 #define TC3_JNI_METHOD_PRIMITIVE(return_type, package_name, class_name, \ argument
46 package_name, class_name, method_name)
50 #define TC3_JNI_METHOD2(return_type, package_name, class_name, method_name) \ argument
51 TC3_JNI_METHOD_PRIMITIVE(return_type, package_name, class_name, method_name)
56 #define TC3_JNI_METHOD_NAME2(package_name, class_name, method_name) \ argument
57 TC3_JNI_METHOD_NAME_INTERNAL(package_name, class_name, method_name)
/external/icing/icing/text_classifier/lib3/utils/java/
Djni-base.h38 #define TC3_JNI_METHOD_NAME_INTERNAL(package_name, class_name, method_name) \ argument
39 Java_##package_name##_##class_name##_##method_name
41 #define TC3_JNI_METHOD_PRIMITIVE(return_type, package_name, class_name, \ argument
44 package_name, class_name, method_name)
48 #define TC3_JNI_METHOD2(return_type, package_name, class_name, method_name) \ argument
49 TC3_JNI_METHOD_PRIMITIVE(return_type, package_name, class_name, method_name)
54 #define TC3_JNI_METHOD_NAME2(package_name, class_name, method_name) \ argument
55 TC3_JNI_METHOD_NAME_INTERNAL(package_name, class_name, method_name)
/external/perfetto/src/trace_processor/metrics/android/
Dprocess_metadata.sql41 plist.package_name, field
54 OR process.name LIKE plist.package_name || '%')
64 'package_name', package_list.package_name,
78 'package_name', package_name,
/external/toolchain-utils/llvm_tools/
Dllvm_patch_management_unittest.py193 package_name = 'test-package/package1'
200 chroot_path, revision, patch_file_name, [package_name],
207 mock_get_filesdir_path.assert_called_once_with(chroot_path, package_name)
282 package_name = 'test-package/package2'
285 chroot_path, revision, patch_file_name, [package_name],
288 self.assertDictEqual(patch_info, {package_name: expected_patch_results})
290 mock_get_filesdir_path.assert_called_once_with(chroot_path, package_name)
/external/rust/crates/grpcio-sys/grpc/third_party/upb/cmake/
Dstaleness_test_lib.py33 self.package_name = file_list.pop()
54 target = os.path.join(config.package_name, filename)
55 generated = os.path.join(config.package_name, config.pattern % filename)
64 print(" bazel build %s:%s" % (config.package_name, config.target_name))
153 error_msg += " bazel-bin/%s/%s --fix\n\n" % (config.package_name,
/external/python/jinja/src/jinja2/
Dloaders.py248 def __init__(self, package_name, package_path="templates", encoding="utf-8"): argument
256 self.package_name = package_name
261 import_module(package_name)
262 spec = importlib.util.find_spec(package_name)
520 package_name = f"_jinja2_module_templates_{id(self):x}"
524 mod = _TemplateModule(package_name)
531 sys.modules[package_name] = weakref.proxy(
532 mod, lambda x: sys.modules.pop(package_name, None)
539 self.package_name = package_name
/external/libchrome/third_party/jinja2/
Dloaders.py220 def __init__(self, package_name, package_path='templates', argument
224 provider = get_provider(package_name)
437 package_name = '_jinja2_module_templates_%x' % id(self)
441 mod = _TemplateModule(package_name)
448 sys.modules[package_name] = weakref.proxy(mod,
449 lambda x: sys.modules.pop(package_name, None))
455 self.package_name = package_name
468 module = '%s.%s' % (self.package_name, key)
/external/grpc-grpc-java/compiler/src/java_plugin/cpp/
Djava_plugin.cpp14 static string JavaPackageToDir(const string& package_name) { in JavaPackageToDir() argument
15 string package_dir = package_name; in JavaPackageToDir()
51 string package_name = java_grpc_generator::ServiceJavaPackage( in Generate() local
53 string package_filename = JavaPackageToDir(package_name); in Generate()
/external/perfetto/test/trace_processor/memory/
Dandroid_lmk_reason.out35 package_name: "app"
40 package_name: "app"
45 package_name: "shared_uid_app"
/external/chromium-trace/catapult/devil/devil/android/
Ddevice_utils.py1166 package_name = apk.GetPackageName()
1173 self._FakeInstall(fake_apk_paths, fake_modules, package_name)
1194 def _FakeInstall(self, fake_apk_paths, fake_modules, package_name): argument
1196 device_dir = posixpath.join(self.MODULES_SRC_DIRECTORY_PATH, package_name)
1285 package_name = apk.GetPackageName()
1286 device_apk_paths = self._GetApplicationPathsInternal(package_name)
1302 package_name, apk_paths))
1310 logger.info('Uninstalling package %s', package_name)
1311 self.Uninstall(package_name)
1315 self._cache['package_apk_paths'].pop(package_name, 0)
[all …]
/external/perfetto/test/trace_processor/startup/
Dandroid_startup.out4 package_name: "com.google.android.calendar"
10 package_name: "com.google.android.calendar"
15 package_name: "com.google.android.calendar"
/external/rust/crates/grpcio-sys/grpc/src/compiler/
Druby_generator_string-inl.h105 std::string package_name = file->package(); in RubyPackage() local
107 package_name = file->options().ruby_package(); in RubyPackage()
113 package_name = ReplaceAll(package_name, "::", "."); in RubyPackage()
115 return package_name; in RubyPackage()
/external/pigweed/pw_build/py/pw_build/
Dcopy_from_cipd.py87 def check_version(manifest, cipd_path, package_name): argument
88 base_package_name = os.path.basename(package_name)
100 if package_name in entry['path']:
133 check_version(args.manifest, args.cipd_package_root, args.package_name)
/external/protobuf/src/google/protobuf/compiler/ruby/
Druby_generator.cc402 std::string package_name; in GeneratePackageModules() local
408 package_name = file->options().ruby_package(); in GeneratePackageModules()
414 if (package_name.find("::") != std::string::npos) { in GeneratePackageModules()
421 package_name = file->package(); in GeneratePackageModules()
429 while (!package_name.empty()) { in GeneratePackageModules()
430 size_t dot_index = package_name.find(delimiter); in GeneratePackageModules()
433 component = package_name; in GeneratePackageModules()
434 package_name = ""; in GeneratePackageModules()
436 component = package_name.substr(0, dot_index); in GeneratePackageModules()
437 package_name = package_name.substr(dot_index + delimiter_size); in GeneratePackageModules()

1234567