Home
last modified time | relevance | path

Searched refs:bitness (Results 1 – 24 of 24) sorted by relevance

/test/vts/utils/python/vndk/
Dvndk_utils.py47 def FormatVndkPath(pattern, bitness, version=""): argument
58 return pattern.format(LIB=("lib64" if str(bitness) == "64" else "lib"),
62 def GetVndkDirectory(bitness, version): argument
73 bitness, version)
76 def GetVndkExtDirectories(bitness): argument
85 return [FormatVndkPath("/odm/{LIB}/vndk", bitness),
86 FormatVndkPath("/vendor/{LIB}/vndk", bitness)]
89 def GetVndkSpExtDirectories(bitness): argument
98 return [FormatVndkPath("/odm/{LIB}/vndk-sp", bitness),
99 FormatVndkPath("/vendor/{LIB}/vndk-sp", bitness)]
/test/vts-testcase/vndk/dependency/
Dvts_vndk_dependency_test.py82 def __init__(self, target_path, bitness, deps, runpaths): argument
86 self.bitness = bitness
90 lib_dir_name = "lib64" if bitness == 64 else "lib"
262 objs.append(self.ElfObject(target_path, elf.bitness, deps,
266 def _FindLibsInLinkPaths(self, bitness, link_paths, objs): argument
281 if (obj.bitness == bitness and
338 def _TestElfDependency(self, bitness, objs): argument
349 vndk_sp_ext_dirs = vndk_utils.GetVndkSpExtDirectories(bitness)
351 vendor_link_paths = [vndk_utils.FormatVndkPath(x, bitness) for
353 vendor_namespace = self._FindLibsInLinkPaths(bitness,
[all …]
DVtsVndkDependencyTest.py86 def __init__(self, target_path, bitness, deps, runpaths): argument
90 self.bitness = bitness
94 lib_dir_name = "lib64" if bitness == 64 else "lib"
257 objs.append(self.ElfObject(target_path, elf.bitness, deps,
261 def _FindLibsInLinkPaths(self, bitness, link_paths, objs): argument
276 if (obj.bitness == bitness and
333 def _TestElfDependency(self, bitness, objs): argument
344 vndk_sp_ext_dirs = vndk_utils.GetVndkSpExtDirectories(bitness)
346 vendor_link_paths = [vndk_utils.FormatVndkPath(x, bitness) for
348 vendor_namespace = self._FindLibsInLinkPaths(bitness,
[all …]
/test/vts/utils/native/testability_checker/
DVtsTestabilityCheckerMain.cpp50 string bitness = "32"; in main() local
69 bitness = string(optarg); in main()
70 if (bitness != "32" && bitness != "64") { in main()
71 cerr << "Invalid bitness " << bitness << endl; in main()
100 if (bitness == "32") { in main()
102 } else if (bitness == "64") { in main()
/test/vts-testcase/vndk/files/
Dvts_vndk_files_test.py121 def _TestVndkCoreDirectory(self, bitness): argument
128 vndk_utils.GetVndkDirectory(bitness, self._vndk_version),
144 def _TestNoLlndkInVendor(self, bitness): argument
147 vndk_utils.FormatVndkPath(self._TARGET_VENDOR_LIB, bitness),
163 def _TestNoLlndkInOdm(self, bitness): argument
166 vndk_utils.FormatVndkPath(self._TARGET_ODM_LIB, bitness),
/test/vts/utils/python/precondition/
Dprecondition_utils.py55 bitness = str(getattr(test_instance, keys.ConfigKeys.IKEY_ABI_BITNESS, ""))
74 if file_path_prefix and bitness:
76 logging.debug("Test bitness: %s", bitness)
77 tag = "_" + bitness + "bit"
83 "not found.").format(path_prefix, bitness)
91 shell, hal, bitness, run_as_compliance_test)
/test/vts/harnesses/tradefed/src/com/android/tradefed/targetprep/
DVtsHalAdapterPreparer.java92 String bitness = in setUp() local
95 pushAdapter(device, bitness); in setUp()
119 command = String.format("%s /data/nativetest%s/%s %s %s %d", SCRIPT_PATH, bitness, in setUp()
186 private void pushAdapter(ITestDevice device, String bitness) in pushAdapter() argument
190 invocationHelper.getTestsDir(), String.format(VTS_NATIVE_TEST_DIR, bitness)); in pushAdapter()
195 adapter, String.format(TARGET_NATIVE_TEST_DIR, bitness) + mAdapterBinaryName); in pushAdapter()
/test/vts-testcase/vndk/abi/
Dvts_vndk_abi_test.py195 entry_offset = index * dumper.bitness // 8
304 def _TestAbiCompatibility(self, bitness): argument
321 bitness)
325 dump_version, primary_abi, bitness))
327 target_dirs = vndk_utils.GetVndkExtDirectories(bitness)
328 target_dirs += vndk_utils.GetVndkSpExtDirectories(bitness)
329 target_dirs += [vndk_utils.GetVndkDirectory(bitness, dump_version)]
/test/vts/utils/python/hal/
Dhal_service_name_utils.py27 def GetHalServiceName(shell, hal, bitness="64", run_as_compliance_test=False): argument
44 if bitness == "32":
51 cmd += " -b " + bitness + " " + hal
/test/vts/utils/python/coverage/
Dsancov_utils.py311 bitness, offsets = sancov_parser.ParseSancovFile(
313 binary_to_sancov[binary] = (bitness, offsets)
321 for path, bitness in self._SEARCH_PATHS:
328 bitness is None
329 or binary_to_sancov[basename][0] == bitness):
Dsancov_parser_test.py95 bitness, offsets = sancov_parser.ParseSancovFile(self.GOLDEN_SANCOV_PATH)
96 self.assertEqual(self.GOLDEN_EXPECTED_BITNESS, bitness)
/test/framework/harnesses/host_controller/utils/parser/
Dresult_utils.py125 bitness = str(GetAbiBitness(abi))
129 return bitness, module_name, testcase_name, test_name
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/testtype/
DBusinessLogicHostTestBase.java82 String bitness = (getAbi() != null) ? getAbi().getBitness() : ""; in loadBusinessLogic() local
85 businessLogicFile = helper.getBusinessLogicHostFile(bitness + moduleName); in loadBusinessLogic()
/test/vts/harnesses/tradefed/tests/src/com/android/tradefed/targetprep/
DVtsTraceCollectPreparerTest.java195 private File createTestFile(String fileName, String bitness) throws Exception { in createTestFile() argument
196 if (bitness == "32") { in createTestFile()
200 } else if (bitness == "64") { in createTestFile()
/test/vts/utils/python/profiling/
Dprofiling_utils.py194 bitness = getattr(self, keys.ConfigKeys.IKEY_ABI_BITNESS, None)
195 if bitness == '64':
197 elif bitness == '32':
201 'instrumentation lib path.', bitness)
/test/vts/utils/python/controllers/
Dandroid_device.py619 def getCpuAbiList(self, bitness=""): argument
629 out = self.getProp("ro.product.cpu.abilist" + str(bitness))
1293 for bitness in bits:
1295 self.log_path, 'vts_agent_%s_%s.log' % (bitness, self.serial))
1300 bit=bitness,
1314 bitness=bitness,
1329 if bitness == '32':
/test/framework/harnesses/host_controller/command_processor/
Dcommand_sheet.py323 def _LoadSrcResults(src_xml, max_return, bitness=""): argument
339 return not bitness or bitness == name[0]
/test/vts-testcase/vndk/
Dutils.py78 def GetCpuAbiList(self, bitness=""): argument
88 out = self._GetProp("ro.product.cpu.abilist" + str(bitness))
/test/suite_harness/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/presubmit/
DValidateTestsAbi.java199 String bitness = AbiUtils.getBitness(buildTarget.iterator().next()); in testBinariesAbis() local
200 assertTrue(subSet.get(i).endsWith(bitness)); in testBinariesAbis()
/test/vts-testcase/security/poc/host/
DSecurityPoCKernelTest.py70 bitness = getattr(self, keys.ConfigKeys.IKEY_ABI_BITNESS)
71 bitness_suffix = "64" if bitness == "64" else ""
/test/vts/utils/python/library/
Delf_parser.py105 self.bitness = 32
120 self.bitness = 64
407 if self.bitness == 32:
/test/vti/dashboard/src/test/java/com/android/vts/job/
DVtsProfilingStatsJobServletTest.java122 String bitness = "64"; in createProfilingRun() local
125 new DeviceInfoEntity(testRunKey, branch, product, flavor, id, bitness, abiName); in createProfilingRun()
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/targetprep/
DBusinessLogicPreparer.java228 String bitness = (mAbi != null) ? mAbi.getBitness() : ""; in setUp() local
229 buildHelper.setBusinessLogicHostFile(hostFile, bitness + mModuleName); in setUp()
/test/vts/proto/
DVtsReportMessage.proto89 // ABI bitness that is current in use for the test. Example: '32', '64',