Home
last modified time | relevance | path

Searched refs:apiType (Results 1 – 2 of 2) sorted by relevance

/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/
DApiClass.java232 private static boolean compareType(String apiType, String testType) { in compareType() argument
233 return apiType.equals(testType) || in compareType()
234 isGenericType(apiType) && !testType.equals(VOID) || in compareType()
235 isGenericArrayType(apiType) && isArrayType(testType) || in compareType()
236 isVarArg(apiType) && isArrayType(testType) && in compareType()
237 apiType.startsWith(testType.substring(0, testType.indexOf("["))); in compareType()
/cts/tests/signature/lib/common/src/android/signature/cts/
DReflectionHelper.java530 boolean compare(String apiType, String reflectedType); in compare() argument
540 public boolean compare(String apiType, String reflectedType) { in compare() argument
541 return apiType.equals(reflectedType); in compare()
555 public boolean compare(String apiType, String reflectedType) { in compare() argument
556 if (DefaultTypeComparator.INSTANCE.compare(apiType, reflectedType)) { in compare()
562 int index = apiType.indexOf('<'); in compare()
564 String rawReturnType = apiType.substring(0, index); in compare()