Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/content/
DClipDescription.java133 final int slashpos = desiredType.indexOf('/'); in compareMimeTypes() local
134 if (slashpos > 0) { in compareMimeTypes()
135 if (typeLength == slashpos+2 && desiredType.charAt(slashpos+1) == '*') { in compareMimeTypes()
136 if (desiredType.regionMatches(0, concreteType, 0, slashpos+1)) { in compareMimeTypes()
DIntentFilter.java774 final int slashpos = type.indexOf('/'); in addDataType() local
776 if (slashpos > 0 && typelen >= slashpos+2) { in addDataType()
778 if (typelen == slashpos+2 && type.charAt(slashpos+1) == '*') { in addDataType()
779 String str = type.substring(0, slashpos); in addDataType()
1984 final int slashpos = type.indexOf('/'); in findMimeType() local
1985 if (slashpos > 0) { in findMimeType()
1986 if (mHasPartialTypes && t.contains(type.substring(0, slashpos))) { in findMimeType()
1989 if (typeLength == slashpos+2 && type.charAt(slashpos+1) == '*') { in findMimeType()
1995 if (type.regionMatches(0, v, 0, slashpos+1)) { in findMimeType()
/frameworks/base/services/core/java/com/android/server/
DIntentResolver.java393 int slashpos = resolvedType.indexOf('/'); in queryIntent() local
394 if (slashpos > 0) { in queryIntent()
395 final String baseType = resolvedType.substring(0, slashpos); in queryIntent()
397 if (resolvedType.length() != slashpos+2 in queryIntent()
398 || resolvedType.charAt(slashpos+1) != '*') { in queryIntent()
579 final int slashpos = name.indexOf('/'); in register_mime_types() local
580 if (slashpos > 0) { in register_mime_types()
581 baseName = name.substring(0, slashpos).intern(); in register_mime_types()
588 if (slashpos > 0) { in register_mime_types()
610 final int slashpos = name.indexOf('/'); in unregister_mime_types() local
[all …]