Home
last modified time | relevance | path

Searched refs:desiredType (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/java/android/app/slice/
DSliceQuery.java177 public static boolean compareTypes(SliceItem item, String desiredType) { in compareTypes() argument
178 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()
/frameworks/base/core/java/android/content/
DClipDescription.java228 public static boolean compareMimeTypes(String concreteType, String desiredType) { in compareMimeTypes() argument
229 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()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...