Home
last modified time | relevance | path

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

/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsState.java843 int slashIndex = name.indexOf("/"); in insertSettingLocked() local
845 && slashIndex != -1 in insertSettingLocked()
846 && slashIndex != 0 in insertSettingLocked()
847 && slashIndex != name.length(); in insertSettingLocked()
850 String namespace = name.substring(0, slashIndex); in insertSettingLocked()
851 String flag = name.substring(slashIndex + 1); in insertSettingLocked()
1015 int slashIndex = flagName.indexOf("/"); in setSettingsLocked()
1016 boolean stageFlag = slashIndex > 0 && slashIndex != flagName.length(); in setSettingsLocked()
1019 String flagWithoutNamespace = flagName.substring(slashIndex + 1); in setSettingsLocked()
1675 int slashIndex = stagedFlagName.indexOf("/");
[all …]
DSettingsProvider.java1381 int slashIndex = name.indexOf("/"); in getAllConfigFlags() local
1382 boolean validSlashIndex = slashIndex != -1 in getAllConfigFlags()
1383 && slashIndex != 0 in getAllConfigFlags()
1384 && slashIndex != name.length(); in getAllConfigFlags()
1386 String flagName = name.substring(slashIndex + 1); in getAllConfigFlags()
/frameworks/base/core/java/android/content/om/
DFabricatedOverlay.java407 final int slashIndex = name.indexOf('/'); /* must contain '/' */ in ensureValidResourceName() local
412 slashIndex >= 0 /* It must contain the type name */ in ensureValidResourceName()
414 && (slashIndex - colonIndex) > 2 /* The shortest length of type is "id" */, in ensureValidResourceName()
/frameworks/base/nfc/java/android/nfc/
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()