Home
last modified time | relevance | path

Searched refs:abi (Results 1 – 25 of 36) sorted by relevance

12

/cts/tools/tradefed-host/src/com/android/cts/tradefed/util/
DCtsHostStore.java40 …public static void storeCtsResult(String deviceSerial, String abi, String classMethodName, String … in storeCtsResult() argument
41 mMap.put(generateTestKey(deviceSerial, abi, classMethodName), result); in storeCtsResult()
48 public static String removeCtsResult(String deviceSerial, String abi, String classMethodName) { in removeCtsResult() argument
49 return mMap.remove(generateTestKey(deviceSerial, abi, classMethodName)); in removeCtsResult()
55 private static String generateTestKey(String deviceSerial, String abi, String classMethodName) { in generateTestKey() argument
56 return String.format("%s#%s#%s", deviceSerial, abi, classMethodName); in generateTestKey()
/cts/common/util/src/com/android/compatibility/common/util/
DMetricsStore.java41 String deviceSerial, String abi, String classMethodName, ReportLog reportLog) { in storeResult() argument
42 mMap.put(generateTestKey(deviceSerial, abi, classMethodName), reportLog); in storeResult()
49 public static ReportLog removeResult(String deviceSerial, String abi, String classMethodName) { in removeResult() argument
50 return mMap.remove(generateTestKey(deviceSerial, abi, classMethodName)); in removeResult()
56 private static String generateTestKey(String deviceSerial, String abi, String classMethodName) { in generateTestKey() argument
57 return String.format("%s#%s#%s", deviceSerial, abi, classMethodName); in generateTestKey()
DMetricsReportLog.java33 public MetricsReportLog(String deviceSerial, String abi, String classMethodName) { in MetricsReportLog() argument
35 mAbi = abi; in MetricsReportLog()
/cts/libs/commonutil/src/com/android/cts/util/
DAbiUtils.java121 public static boolean isAbiSupportedByCts(String abi) { in isAbiSupportedByCts() argument
122 return ABIS_SUPPORTED_BY_CTS.contains(abi); in isAbiSupportedByCts()
130 public static String createAbiFlag(String abi) { in createAbiFlag() argument
131 if (abi == null || abi.isEmpty() || !isAbiSupportedByCts(abi)) { in createAbiFlag()
134 return String.format("--abi %s ", abi); in createAbiFlag()
143 public static String createId(String abi, String name) { in createId() argument
144 return String.format("%s %s", abi, name); in createId()
191 for (String abi : descSegments[1].split(",")) { in parseAbiList()
192 String trimmedAbi = abi.trim(); in parseAbiList()
/cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/
DTestPackageRepo.java127 String abi = def.getAbi().getName(); in parseModuleTestConfigs() local
131 if (!mTestMap.containsKey(abi)) { in parseModuleTestConfigs()
132 mTestMap.put(abi, new HashMap<String, TestPackageDef>()); in parseModuleTestConfigs()
134 mTestMap.get(abi).put(name, def); in parseModuleTestConfigs()
177 String abi = parts[0]; in getTestPackage() local
179 if (mTestMap.containsKey(abi) && mTestMap.get(abi).containsKey(name)) { in getTestPackage()
180 return mTestMap.get(abi).get(name); in getTestPackage()
191 for (String abi : mTestMap.keySet()) { in getPackageIds()
192 Map<String, TestPackageDef> testNameMap = mTestMap.get(abi); in getPackageIds()
208 for (String abi : mTestMap.keySet()) { in getPackageNames()
[all …]
DTestPackageXmlParser.java91 Abi abi = new Abi(abiName, AbiUtils.getBitness(abiName)); in startElement() local
105 packageDef.setAbi(abi); in startElement()
159 for (String abi : abiList.split(",")) { in startElement()
161 abis.add(abi.trim()); in startElement()
164 for (String abi : abis) { in startElement()
165 mPackageDefs.get(abi).addTest(mTestId, timeout); in startElement()
DCtsInstrumentationApkTest.java51 public void setAbi(IAbi abi) { in setAbi() argument
52 mAbi = abi; in setAbi()
DWrappedGTest.java63 public void setAbi(IAbi abi) { in setAbi() argument
64 mAbi = abi; in setAbi()
DGeeTest.java104 public void setAbi(IAbi abi) { in setAbi() argument
105 mAbi = abi; in setAbi()
/cts/tools/tradefed-host/tests/src/com/android/cts/tradefed/testtype/
DTestPlanTest.java99 for (String abi : sortedAbis) { in assertTestData()
100 String test1Id = AbiUtils.createId(abi, TEST_NAME1); in assertTestData()
101 String test2Id = AbiUtils.createId(abi, TEST_NAME2); in assertTestData()
118 for (String abi : abis) { in testParse_exclude()
119 String test1Id = AbiUtils.createId(abi, TEST_NAME1); in testParse_exclude()
142 for (String abi : abis) { in assertMultiExcluded()
143 String test1Id = AbiUtils.createId(abi, TEST_NAME1); in assertMultiExcluded()
160 for (String abi : abis) { in testParse_classExclude()
161 String test1Id = AbiUtils.createId(abi, TEST_NAME1); in testParse_classExclude()
183 for (String abi : abis) { in testSerialize_packages()
[all …]
/cts/tools/tradefed-host/src/com/android/cts/tradefed/device/
DDeviceInfoCollector.java58 for (String abi : AbiUtils.getAbisSupportedByCts()) {
59 IDS.add(AbiUtils.createId(abi, APP_PACKAGE_NAME)); in AbiUtils.createId() argument
60 EXTENDED_IDS.add(AbiUtils.createId(abi, EXTENDED_APP_PACKAGE_NAME)); in AbiUtils.createId() argument
72 public static void collectDeviceInfo(ITestDevice device, String abi, File testApkDir, in collectDeviceInfo() argument
74 runInstrumentation(device, abi, testApkDir, listener, APK_NAME, APP_PACKAGE_NAME, in collectDeviceInfo()
86 public static void collectExtendedDeviceInfo(ITestDevice device, String abi, File testApkDir, in collectExtendedDeviceInfo() argument
92 runInstrumentation(device, abi, testApkDir, listener, EXTENDED_APK_NAME, in collectExtendedDeviceInfo()
98 private static void runInstrumentation(ITestDevice device, String abi, File testApkDir, in runInstrumentation() argument
114 instrTest.setRunName(AbiUtils.createId(abi, packageName)); in runInstrumentation()
/cts/tests/tests/os/src/android/os/cts/
DCpuFeatures.java68 for (String abi : Build.SUPPORTED_64_BIT_ABIS) { in isArm64CpuIn32BitMode()
69 if (abi.equals("arm64-v8a")) { in isArm64CpuIn32BitMode()
DBuildTest.java60 for (String abi : Build.SUPPORTED_32_BIT_ABIS) { in testCpuAbiCommon()
61 assertTrue(abiList.contains(abi)); in testCpuAbiCommon()
62 assertFalse(VMRuntime.is64BitAbi(abi)); in testCpuAbiCommon()
66 for (String abi : Build.SUPPORTED_64_BIT_ABIS) { in testCpuAbiCommon()
67 assertTrue(abiList.contains(abi)); in testCpuAbiCommon()
68 assertTrue(VMRuntime.is64BitAbi(abi)); in testCpuAbiCommon()
/cts/hostsidetests/appsecurity/src/com/android/cts/appsecurity/
DSplitTests.java89 public void setAbi(IAbi abi) { in setAbi() argument
90 mAbi = abi; in setAbi()
163 final String abi = mAbi.getName(); in testNativeSingle() local
164 final String apk = ABI_TO_APK.get(abi); in testNativeSingle()
165 assertNotNull("Failed to find APK for ABI " + abi, apk); in testNativeSingle()
178 final String abi = mAbi.getName(); in testNativeSingleNatural() local
179 final String apk = ABI_TO_APK.get(abi); in testNativeSingleNatural()
180 assertNotNull("Failed to find APK for ABI " + abi, apk); in testNativeSingleNatural()
307 public BaseInstallMultiple(ITestDevice device, CtsBuildHelper build, IAbi abi) { in BaseInstallMultiple() argument
310 mAbi = abi; in BaseInstallMultiple()
DDocumentsTest.java42 public void setAbi(IAbi abi) { in setAbi() argument
43 mAbi = abi; in setAbi()
DAdoptableHostTest.java45 public void setAbi(IAbi abi) { in setAbi() argument
46 mAbi = abi; in setAbi()
75 final String abi = mAbi.getName(); in testApps() local
76 final String apk = ABI_TO_APK.get(abi); in testApps()
77 assertNotNull("Failed to find APK for ABI " + abi, apk); in testApps()
DPermissionsHostTest.java41 public void setAbi(IAbi abi) { in setAbi() argument
42 mAbi = abi; in setAbi()
/cts/hostsidetests/monkey/src/com/android/cts/monkey/
DAbstractMonkeyTest.java30 public void setAbi(IAbi abi) { in setAbi() argument
31 mAbi = abi; in setAbi()
/cts/tools/tradefed-host/src/com/android/cts/tradefed/result/
DTestPackageResult.java98 public void setAbi(String abi) { in setAbi() argument
99 mAbi = abi; in setAbi()
239 String abi = metrics.get(CtsTest.PACKAGE_ABI_METRIC); in populateMetrics() local
240 if (abi != null) { in populateMetrics()
241 setAbi(abi); in populateMetrics()
/cts/hostsidetests/sample/src/android/sample/cts/
DSampleHostTest.java83 public void setAbi(IAbi abi) { in setAbi() argument
84 mAbi = abi; in setAbi()
/cts/hostsidetests/net/src/com/android/cts/net/
DHostsideNetworkTests.java45 public void setAbi(IAbi abi) { in setAbi() argument
46 mAbi = abi; in setAbi()
/cts/tools/cts-xml-generator/src/com/android/cts/xmlgenerator/
DXmlGenerator.java261 String abi = a.trim(); in removeUnsupportedAbis() local
262 if (!AbiUtils.isAbiSupportedByCts(abi)) { in removeUnsupportedAbis()
264 String.format("Unrecognised ABI %s in %s", abi, description)); in removeUnsupportedAbis()
266 supportedAbis.remove(abi); in removeUnsupportedAbis()
/cts/suite/cts/hostTests/uihost/src/com/android/cts/uihost/
DInstallTimeTest.java53 public void setAbi(IAbi abi) { in setAbi() argument
54 mAbi = abi; in setAbi()
DTaskSwitchingTest.java65 public void setAbi(IAbi abi) { in setAbi() argument
66 mAbi = abi; in setAbi()
/cts/hostsidetests/usb/src/com/android/cts/usb/
DTestUsbTest.java51 public void setAbi(IAbi abi) { in setAbi() argument
52 mAbi = abi; in setAbi()

12