Home
last modified time | relevance | path

Searched refs:slashIndex (Results 1 – 2 of 2) sorted by relevance

/aosp14/frameworks/base/core/java/android/content/om/
H A DFabricatedOverlay.java371 final int slashIndex = name.indexOf('/'); /* must contain '/' */ in ensureValidResourceName() local
376 slashIndex >= 0 /* It must contain the type name */ in ensureValidResourceName()
378 && (slashIndex - colonIndex) > 2 /* The shortest length of type is "id" */, in ensureValidResourceName()
/aosp14/frameworks/base/core/java/android/nfc/
H A DNdefRecord.java424 int slashIndex = mimeType.indexOf('/'); in createMime() local
425 if (slashIndex == 0) throw new IllegalArgumentException("mimeType must have major type"); in createMime()
426 if (slashIndex == mimeType.length() - 1) { in createMime()