Searched refs:slashpos (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/services/core/java/com/android/server/ |
D | IntentResolver.java | 415 int slashpos = resolvedType.indexOf('/'); in queryIntent() local 416 if (slashpos > 0) { in queryIntent() 417 final String baseType = resolvedType.substring(0, slashpos); in queryIntent() 419 if (resolvedType.length() != slashpos+2 in queryIntent() 420 || resolvedType.charAt(slashpos+1) != '*') { in queryIntent() 603 final int slashpos = name.indexOf('/'); in register_mime_types() local 604 if (slashpos > 0) { in register_mime_types() 605 baseName = name.substring(0, slashpos).intern(); in register_mime_types() 612 if (slashpos > 0) { in register_mime_types() 634 final int slashpos = name.indexOf('/'); in unregister_mime_types() local [all …]
|
/frameworks/base/core/java/android/content/ |
D | ClipDescription.java | 234 final int slashpos = desiredType.indexOf('/'); in compareMimeTypes() local 235 if (slashpos > 0) { in compareMimeTypes() 236 if (typeLength == slashpos+2 && desiredType.charAt(slashpos+1) == '*') { in compareMimeTypes() 237 if (desiredType.regionMatches(0, concreteType, 0, slashpos+1)) { in compareMimeTypes()
|
D | IntentFilter.java | 982 final int slashpos = type.indexOf('/'); in processMimeType() local 984 if (slashpos <= 0 || typelen < slashpos + 2) { in processMimeType() 990 if (typelen == slashpos + 2 && type.charAt(slashpos + 1) == '*') { in processMimeType() 991 internalType = type.substring(0, slashpos); in processMimeType() 3173 final int slashpos = type.indexOf('/'); in findMimeType() local 3174 if (slashpos > 0) { in findMimeType() 3175 if (hasPartialTypes() && t.contains(type.substring(0, slashpos))) { in findMimeType() 3178 if (typeLength == slashpos+2 && type.charAt(slashpos+1) == '*') { in findMimeType() 3184 if (type.regionMatches(0, v, 0, slashpos+1)) { in findMimeType()
|