Searched refs:slashIndex (Results 1 – 4 of 4) sorted by relevance
843 int slashIndex = name.indexOf("/"); in insertSettingLocked() local845 && 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 …]
1381 int slashIndex = name.indexOf("/"); in getAllConfigFlags() local1382 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()
407 final int slashIndex = name.indexOf('/'); /* must contain '/' */ in ensureValidResourceName() local412 slashIndex >= 0 /* It must contain the type name */ in ensureValidResourceName()414 && (slashIndex - colonIndex) > 2 /* The shortest length of type is "id" */, in ensureValidResourceName()
424 int slashIndex = mimeType.indexOf('/'); in createMime() local425 if (slashIndex == 0) throw new IllegalArgumentException("mimeType must have major type"); in createMime()426 if (slashIndex == mimeType.length() - 1) { in createMime()