HomeSort by relevance Sort by last modified time
    Searched full:desiredtype (Results 1 - 2 of 2) sorted by null

  /frameworks/base/core/java/android/content/
ClipDescription.java 90 * @param desiredType A desired MIME type that may be a pattern such as *\/*.
93 public static boolean compareMimeTypes(String concreteType, String desiredType) {
94 final int typeLength = desiredType.length();
95 if (typeLength == 3 && desiredType.equals("*/*")) {
99 final int slashpos = desiredType.indexOf('/');
101 if (typeLength == slashpos+2 && desiredType.charAt(slashpos+1) == '*') {
102 if (desiredType.regionMatches(0, concreteType, 0, slashpos+1)) {
105 } else if (desiredType.equals(concreteType)) {
  /prebuilts/sdk/14/
android.jar 

Completed in 236 milliseconds