Searched refs:desiredType (Results 1 – 3 of 3) sorted by relevance
177 public static boolean compareTypes(SliceItem item, String desiredType) { in compareTypes() argument178 final int typeLength = desiredType.length(); in compareTypes()179 if (typeLength == 3 && desiredType.equals("*/*")) { in compareTypes()182 if (item.getSubType() == null && desiredType.indexOf('/') < 0) { in compareTypes()183 return item.getFormat().equals(desiredType); in compareTypes()186 .matches(desiredType.replaceAll("\\*", ".*")); in compareTypes()
228 public static boolean compareMimeTypes(String concreteType, String desiredType) { in compareMimeTypes() argument229 final int typeLength = desiredType.length(); in compareMimeTypes()230 if (typeLength == 3 && desiredType.equals("*/*")) { in compareMimeTypes()234 final int slashpos = desiredType.indexOf('/'); in compareMimeTypes()236 if (typeLength == slashpos+2 && desiredType.charAt(slashpos+1) == '*') { in compareMimeTypes()237 if (desiredType.regionMatches(0, concreteType, 0, slashpos+1)) { in compareMimeTypes()240 } else if (desiredType.equals(concreteType)) { in compareMimeTypes()
AndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...