/cts/common/util/src/com/android/compatibility/common/util/ |
D | AbiUtils.java | 121 public static boolean isAbiSupportedByCompatibility(String abi) { in isAbiSupportedByCompatibility() argument 122 return ABIS_SUPPORTED_BY_COMPATIBILITY.contains(abi); in isAbiSupportedByCompatibility() 130 public static String createAbiFlag(String abi) { in createAbiFlag() argument 131 if (abi == null || abi.isEmpty() || !isAbiSupportedByCompatibility(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()
|
D | TestFilter.java | 45 String abi = null, name = null, test = null; in createFrom() local 56 abi = parts[0]; in createFrom() 66 return new TestFilter(abi, name, test); in createFrom() 76 public TestFilter(String abi, String name, String test) { in TestFilter() argument 77 mAbi = abi; in TestFilter()
|
/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()
|
/cts/common/host-side/util/src/com/android/compatibility/common/util/ |
D | MetricsStore.java | 46 public static void storeResult(IBuildInfo buildInfo, String abi, String classMethodName, in storeResult() argument 49 mMap.put(generateTestKey(startTime, abi, classMethodName), reportLog); in storeResult() 56 public static ReportLog removeResult(IBuildInfo buildInfo, String abi, String classMethodName) { in removeResult() argument 58 return mMap.remove(generateTestKey(startTime, abi, classMethodName)); in removeResult() 64 private static String generateTestKey(String startTime, String abi, String classMethodName) { in generateTestKey() argument 65 return String.format("%s#%s#%s", startTime, abi, classMethodName); in generateTestKey()
|
/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.getAbisSupportedByCompatibility()) { 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 runTestCpuAbiCommon() 61 assertTrue(abiList.contains(abi)); in runTestCpuAbiCommon() 62 assertFalse(VMRuntime.is64BitAbi(abi)); in runTestCpuAbiCommon() 66 for (String abi : Build.SUPPORTED_64_BIT_ABIS) { in runTestCpuAbiCommon() 67 assertTrue(abiList.contains(abi)); in runTestCpuAbiCommon() 68 assertTrue(VMRuntime.is64BitAbi(abi)); in runTestCpuAbiCommon()
|
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/ |
D | SplitTests.java | 93 public void setAbi(IAbi abi) { in setAbi() argument 94 mAbi = abi; in setAbi() 168 final String abi = mAbi.getName(); in testNativeSingle() local 169 final String apk = ABI_TO_APK.get(abi); in testNativeSingle() 170 assertNotNull("Failed to find APK for ABI " + abi, apk); in testNativeSingle() 183 final String abi = mAbi.getName(); in testNativeSingleNatural() local 184 final String apk = ABI_TO_APK.get(abi); in testNativeSingleNatural() 185 assertNotNull("Failed to find APK for ABI " + abi, apk); in testNativeSingleNatural() 324 public BaseInstallMultiple(ITestDevice device, IBuildInfo buildInfo, IAbi abi) { in BaseInstallMultiple() argument 327 mAbi = abi; in BaseInstallMultiple()
|
D | DocumentsTestCase.java | 38 public void setAbi(IAbi abi) { in setAbi() argument 39 mAbi = abi; in setAbi()
|
D | UsesLibraryHostTest.java | 41 public void setAbi(IAbi abi) { in setAbi() argument 42 mAbi = abi; in setAbi()
|
D | AdoptableHostTest.java | 47 public void setAbi(IAbi abi) { in setAbi() argument 48 mAbi = abi; in setAbi() 77 final String abi = mAbi.getName(); in testApps() local 78 final String apk = ABI_TO_APK.get(abi); in testApps() 79 assertNotNull("Failed to find APK for ABI " + abi, apk); in testApps()
|
D | PrivilegedUpdateTests.java | 53 public void setAbi(IAbi abi) { in setAbi() argument 54 mAbi = abi; in setAbi()
|
/cts/common/util/tests/src/com/android/compatibility/common/util/ |
D | AbiUtilsTest.java | 54 String abi = AbiUtils.parseAbi(ABI_ID); in testParseAbi() local 55 assertEquals("Incorrect abi name", ABI_NAME, abi); in testParseAbi()
|
/cts/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/testtype/ |
D | ModuleRepo.java | 253 for (IAbi abi : abis) { in initialize() 255 String id = AbiUtils.createId(abi.getName(), name); in initialize() 287 addFiltersToTest(test, abi, name); in initialize() 297 addModuleDef(name, abi, test, pathArg); in initialize() 334 String abi = filter.getAbi(); in addFilters() local 335 if (abi == null) { in addFilters() 340 addFilter(abi, filter, filters); in addFilters() 345 private static void addFilter(String abi, TestFilter filter, in addFilter() argument 347 getFilter(filters, AbiUtils.createId(abi, filter.getName())).add(filter); in addFilter() 359 private void addModuleDef(String name, IAbi abi, IRemoteTest test, in addModuleDef() argument [all …]
|
/cts/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/testtype/ |
D | ModuleDefTest.java | 47 IAbi abi = new Abi(ABI, ""); in testAccessors() local 49 IModuleDef def = new ModuleDef(NAME, abi, mockTest, new ArrayList<ITargetPreparer>()); in testAccessors() 87 public void setAbi(IAbi abi) { in setAbi() argument
|
/cts/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/targetprep/ |
D | FilePusher.java | 56 public void setAbi(IAbi abi) { in setAbi() argument 57 mAbi = abi; in setAbi()
|
/cts/tools/tradefed-host/src/com/android/cts/tradefed/result/ |
D | TestPackageResult.java | 95 public void setAbi(String abi) { in setAbi() argument 96 mAbi = abi; in setAbi() 236 String abi = metrics.get(CtsTest.PACKAGE_ABI_METRIC); in populateMetrics() local 237 if (abi != null) { in populateMetrics() 238 setAbi(abi); in populateMetrics()
|
/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/cts-xml-generator/src/com/android/cts/xmlgenerator/ |
D | XmlGenerator.java | 267 String abi = a.trim(); in removeUnsupportedAbis() local 268 if (!AbiUtils.isAbiSupportedByCompatibility(abi)) { in removeUnsupportedAbis() 270 String.format("Unrecognised ABI %s in %s", abi, description)); in removeUnsupportedAbis() 272 supportedAbis.remove(abi); in removeUnsupportedAbis()
|
/cts/hostsidetests/ui/src/android/ui/cts/ |
D | InstallTimeTest.java | 53 public void setAbi(IAbi abi) { in setAbi() argument 54 mAbi = abi; in setAbi()
|
D | TaskSwitchingTest.java | 66 public void setAbi(IAbi abi) { in setAbi() argument 67 mAbi = abi; in setAbi()
|