/cts/tools/tradefed-host/src/com/android/cts/tradefed/util/ |
D | CtsHostStore.java | 40 …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/ |
D | MetricsStore.java | 41 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()
|
D | MetricsReportLog.java | 33 public MetricsReportLog(String deviceSerial, String abi, String classMethodName) { in MetricsReportLog() argument 35 mAbi = abi; in MetricsReportLog()
|
/cts/libs/commonutil/src/com/android/cts/util/ |
D | AbiUtils.java | 121 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/ |
D | TestPackageRepo.java | 127 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 …]
|
D | TestPackageXmlParser.java | 91 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()
|
D | CtsInstrumentationApkTest.java | 51 public void setAbi(IAbi abi) { in setAbi() argument 52 mAbi = abi; in setAbi()
|
D | WrappedGTest.java | 63 public void setAbi(IAbi abi) { in setAbi() argument 64 mAbi = abi; in setAbi()
|
D | GeeTest.java | 104 public void setAbi(IAbi abi) { in setAbi() argument 105 mAbi = abi; in setAbi()
|
/cts/tools/tradefed-host/tests/src/com/android/cts/tradefed/testtype/ |
D | TestPlanTest.java | 99 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/ |
D | DeviceInfoCollector.java | 58 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/ |
D | CpuFeatures.java | 68 for (String abi : Build.SUPPORTED_64_BIT_ABIS) { in isArm64CpuIn32BitMode() 69 if (abi.equals("arm64-v8a")) { in isArm64CpuIn32BitMode()
|
D | BuildTest.java | 60 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/ |
D | SplitTests.java | 89 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()
|
D | DocumentsTest.java | 42 public void setAbi(IAbi abi) { in setAbi() argument 43 mAbi = abi; in setAbi()
|
D | AdoptableHostTest.java | 45 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()
|
D | PermissionsHostTest.java | 41 public void setAbi(IAbi abi) { in setAbi() argument 42 mAbi = abi; in setAbi()
|
/cts/hostsidetests/monkey/src/com/android/cts/monkey/ |
D | AbstractMonkeyTest.java | 30 public void setAbi(IAbi abi) { in setAbi() argument 31 mAbi = abi; in setAbi()
|
/cts/tools/tradefed-host/src/com/android/cts/tradefed/result/ |
D | TestPackageResult.java | 98 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/ |
D | SampleHostTest.java | 83 public void setAbi(IAbi abi) { in setAbi() argument 84 mAbi = abi; in setAbi()
|
/cts/hostsidetests/net/src/com/android/cts/net/ |
D | HostsideNetworkTests.java | 45 public void setAbi(IAbi abi) { in setAbi() argument 46 mAbi = abi; in setAbi()
|
/cts/tools/cts-xml-generator/src/com/android/cts/xmlgenerator/ |
D | XmlGenerator.java | 261 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/ |
D | InstallTimeTest.java | 53 public void setAbi(IAbi abi) { in setAbi() argument 54 mAbi = abi; in setAbi()
|
D | TaskSwitchingTest.java | 65 public void setAbi(IAbi abi) { in setAbi() argument 66 mAbi = abi; in setAbi()
|
/cts/hostsidetests/usb/src/com/android/cts/usb/ |
D | TestUsbTest.java | 51 public void setAbi(IAbi abi) { in setAbi() argument 52 mAbi = abi; in setAbi()
|