Home
last modified time | relevance | path

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

/test/vts/drivers/hal/common/driver_manager/
DVtsHalDriverManager.cpp49 const string& package_name, const string& component_name, in LoadTargetComponent() argument
54 component_class, package_name, version_major, version_minor, in LoadTargetComponent()
60 package_name, component_name); in LoadTargetComponent()
66 GetVersionString(version_major, version_minor), package_name, in LoadTargetComponent()
72 GetHidlHalDriverLibName(package_name, version_major, version_minor); in LoadTargetComponent()
88 package_name, component_name); in LoadTargetComponent()
95 package_name, component_name); in LoadTargetComponent()
112 call_msg->package_name(), call_msg->component_name()); in CallFunction()
185 call_msg->package_name(), call_msg->component_name()); in GetAttribute()
251 const string& package_name, const int version_major, in GetDriverIdForHidlHalInterface() argument
[all …]
/test/app_compat/csuite/tools/script/
Dgenerate_module.py151 def _generate_module_files(package_name, root_dir, build_module_template, argument
161 package_dir = _create_package_dir(root_dir, package_name)
167 write_module(build_module_template, package_name, f)
170 write_module(test_module_template, package_name, f)
173 def _create_package_dir(root_dir, package_name): argument
174 package_dir_path = os.path.join(root_dir, package_name)
180 def write_module(template: string.Template, package_name: Text,
184 package_name=package_name, auto_generate_note=_AUTO_GENERATE_NOTE)
Dgenerate_module_test.py48 package_name = 'a.package.name'
54 self.assertIn(package_name, out.getvalue())
75 package_name = 'a.package.name'
84 self.assertIn(package_name, out_str)
/test/app_compat/csuite/integration_tests/
Dcsuite_test_utils.py77 def add_module(self, package_name: Text) -> Text:
79 module_name = 'csuite_%s' % package_name
85 package_list_path.write_text(package_name + '\n')
93 out_dir.joinpath(package_name, 'AndroidTest.xml'), out_file_path)
146 def add_package_apks(self, package_name: Text,
149 apk_dir = self._root_dir.joinpath(package_name)
198 def uninstall(self, package_name: Text, check: bool = None):
200 self.run(['uninstall', package_name], check=check)
Dcsuite_crash_detection_test.py90 def assert_package_not_installed(self, package_name): argument
91 self.assertNotIn(package_name, self.adb.list_packages())
93 def expect_package_not_installed(self, package_name): argument
95 self.assert_package_not_installed(package_name)
/test/vts/utils/python/profiling/
Dprofiling_utils.py82 def __init__(self, package_name, version, interface_name): argument
83 self.package_name = package_name
284 package_name, version = package.split("@")
291 package_name, version, interface_name)
294 package_name, version, interface_name)
306 def _GetTotalApis(self, package_name, version, interface_name): argument
320 if not package_name.startswith(DEFAULT_HAL_ROOT):
321 logging.warning("Unsupported hal package: %s", package_name)
324 hal_package_path = package_name[len(DEFAULT_HAL_ROOT):].replace(
/test/vts/drivers/hal/common/include/driver_manager/
DVtsHalDriverManager.h55 const string& package_name,
80 DriverId GetDriverIdForHidlHalInterface(const string& package_name,
104 const string& package_name,
149 const string& package_name,
/test/vts/drivers/hal/common/utils/
DInterfaceSpecUtil.cpp120 string GetHidlHalDriverLibName(const string& package_name, in GetHidlHalDriverLibName() argument
123 return package_name + "@" + GetVersionString(version_major, version_minor) + in GetHidlHalDriverLibName()
127 string GetInterfaceFQName(const string& package_name, const int version_major, in GetInterfaceFQName() argument
130 return package_name + "@" + GetVersionString(version_major, version_minor) + in GetInterfaceFQName()
/test/vts/drivers/hal/common/include/utils/
DInterfaceSpecUtil.h74 string GetHidlHalDriverLibName(const string& package_name,
88 string GetInterfaceFQName(const string& package_name, const int version_major,
/test/vts/drivers/hal/common/component_loader/
DHalDriverLoader.cpp42 const int component_class, const string& package_name, in FindComponentSpecification() argument
54 string package_path = package_name; in FindComponentSpecification()
82 if (spec_msg->package() != package_name || in FindComponentSpecification()
161 string package_name = spec_msg.package(); in GetHidlHalDriver() local
/test/vts/utils/python/controllers/
Dandroid_device.py1354 def getPackagePid(self, package_name): argument
1370 out = self.adb.shell('%s | grep "S %s"' % (cmd, package_name))
1371 if package_name not in out:
1375 self.log.info('apk %s has pid %s.', package_name, pid)
1385 'Exception %s', package_name, cmd, e)
1386 self.log.debug("apk %s is not running", package_name)
/test/vts/drivers/hal/common/include/component_loader/
DHalDriverLoader.h45 const string& package_name,
/test/vts-testcase/security/system_property/
Dvts_treble_sys_prop_test.py413 package_name = os.path.dirname(
415 with resources.open_text(package_name, resource_name) as resource:
/test/vts/utils/python/web/
Dweb_utils.py178 api_coverage.hal_interface.hal_package_name = api_coverage_data.package_name
/test/vts/proto/
DComponentSpecificationMessage.proto204 optional bytes package_name = 25; field