Lines Matching refs:String
26 private static final String TAG = LogHelper.makeLogTag(MediaIDHelper.class);
29 public static final String MEDIA_ID_ROOT = "__ROOT__";
30 public static final String MEDIA_ID_MUSICS_BY_GENRE = "__BY_GENRE__";
31 public static final String MEDIA_ID_MUSICS_BY_SEARCH = "__BY_SEARCH__";
36 public static String createMediaID(String musicID, String... categories) { in createMediaID()
55 public static String createBrowseCategoryMediaID(String categoryType, String categoryValue) { in createBrowseCategoryMediaID()
68 public static String extractMusicIDFromMediaID(String mediaID) { in extractMusicIDFromMediaID()
84 public static String[] getHierarchy(String mediaID) { in getHierarchy()
89 return mediaID.split(String.valueOf(CATEGORY_SEPARATOR)); in getHierarchy()
92 public static String extractBrowseCategoryValueFromMediaID(String mediaID) { in extractBrowseCategoryValueFromMediaID()
93 String[] hierarchy = getHierarchy(mediaID); in extractBrowseCategoryValueFromMediaID()
100 private static boolean isBrowseable(String mediaID) { in isBrowseable()
104 public static String getParentMediaID(String mediaID) { in getParentMediaID()
105 String[] hierarchy = getHierarchy(mediaID); in getParentMediaID()
112 String[] parentHierarchy = Arrays.copyOf(hierarchy, hierarchy.length-1); in getParentMediaID()