Searched refs:startsWithIgnoreCase (Results 1 – 7 of 7) sorted by relevance
/packages/providers/MediaProvider/tests/src/com/android/providers/media/util/ |
D | StringUtilsTest.java | 20 import static com.android.providers.media.util.StringUtils.startsWithIgnoreCase; 51 assertTrue(startsWithIgnoreCase("image/jpg", "image/")); in testStartsWithIgnoreCase() 52 assertTrue(startsWithIgnoreCase("Image/Jpg", "image/")); in testStartsWithIgnoreCase() 54 assertFalse(startsWithIgnoreCase("image/", "image/jpg")); in testStartsWithIgnoreCase() 56 assertFalse(startsWithIgnoreCase("image/jpg", "audio/")); in testStartsWithIgnoreCase() 57 assertFalse(startsWithIgnoreCase("image/jpg", null)); in testStartsWithIgnoreCase() 58 assertFalse(startsWithIgnoreCase(null, "audio/")); in testStartsWithIgnoreCase() 59 assertFalse(startsWithIgnoreCase(null, null)); in testStartsWithIgnoreCase()
|
/packages/providers/MediaProvider/src/com/android/providers/media/util/ |
D | MimeUtils.java | 108 return StringUtils.startsWithIgnoreCase(mimeType, "audio/"); in isAudioMimeType() 113 return StringUtils.startsWithIgnoreCase(mimeType, "video/"); in isVideoMimeType() 128 return StringUtils.startsWithIgnoreCase(mimeType, "image/"); in isImageMimeType() 184 if (StringUtils.startsWithIgnoreCase(mimeType, "text/")) return true; in isDocumentMimeType()
|
D | StringUtils.java | 69 public static boolean startsWithIgnoreCase(@Nullable String target, @Nullable String other) { in startsWithIgnoreCase() method in StringUtils
|
D | FileUtils.java | 1202 if (StringUtils.startsWithIgnoreCase(relativePath, "Android/media")) { 1206 return StringUtils.startsWithIgnoreCase(relativePath, crossUserRoot + "/Android/media");
|
/packages/providers/MediaProvider/tools/photopicker-gradle/app/src/main/java/com/android/providers/media/tools/photopicker/ |
D | PhotoPickerToolActivity.java | 299 return startsWithIgnoreCase(mimeType, "video/"); in isVideoMimeType() 305 private static boolean startsWithIgnoreCase(@Nullable String target, @Nullable String other) { in startsWithIgnoreCase() method in PhotoPickerToolActivity
|
/packages/providers/MediaProvider/tools/photopicker/src/com/android/providers/media/tools/photopicker/ |
D | PhotoPickerToolActivity.java | 354 return startsWithIgnoreCase(mimeType, "video/"); in isVideoMimeType() 360 private static boolean startsWithIgnoreCase(@Nullable String target, @Nullable String other) { in startsWithIgnoreCase() method in PhotoPickerToolActivity
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
D | MediaProvider.java | 2984 StringUtils.startsWithIgnoreCase(mimeType, supportedPrimaryMimeType)); in isMimeTypeSupportedInPath() 9026 && StringUtils.startsWithIgnoreCase(mimeTypeFilter, "image/");
|