Home
last modified time | relevance | path

Searched refs:EndsWithIgnoreCase (Results 1 – 10 of 10) sorted by relevance

/aosp12/system/libbase/
H A Dstrings_test.cpp213 ASSERT_FALSE(android::base::EndsWithIgnoreCase("", "foo")); in TEST()
214 ASSERT_FALSE(android::base::EndsWithIgnoreCase("", "FOO")); in TEST()
215 ASSERT_TRUE(android::base::EndsWithIgnoreCase("", "")); in TEST()
226 ASSERT_TRUE(android::base::EndsWithIgnoreCase("foo", "")); in TEST()
227 ASSERT_TRUE(android::base::EndsWithIgnoreCase("foo", "o")); in TEST()
228 ASSERT_TRUE(android::base::EndsWithIgnoreCase("foo", "O")); in TEST()
229 ASSERT_TRUE(android::base::EndsWithIgnoreCase("foo", "oo")); in TEST()
230 ASSERT_TRUE(android::base::EndsWithIgnoreCase("foo", "oO")); in TEST()
231 ASSERT_TRUE(android::base::EndsWithIgnoreCase("foo", "Oo")); in TEST()
232 ASSERT_TRUE(android::base::EndsWithIgnoreCase("foo", "OO")); in TEST()
[all …]
H A Dstrings.cpp110 bool EndsWithIgnoreCase(std::string_view s, std::string_view suffix) { in EndsWithIgnoreCase() function
/aosp12/packages/modules/adb/client/
H A Dadb_install.cpp170 if (!android::base::EndsWithIgnoreCase(file, ".apk") && in install_app_streamed()
171 !android::base::EndsWithIgnoreCase(file, ".apex")) { in install_app_streamed()
176 if (android::base::EndsWithIgnoreCase(file, ".apex")) { in install_app_streamed()
266 if (android::base::EndsWithIgnoreCase(argv[i], ".apex")) { in install_app_legacy()
269 if (android::base::EndsWithIgnoreCase(argv[i], ".apk")) { in install_app_legacy()
316 if (android::base::EndsWithIgnoreCase(arg, ".apk"sv)) { in install_app_incremental()
545 if (android::base::EndsWithIgnoreCase(argv[i], ".apex")) { in install_multiple_app_streamed()
549 if (android::base::EndsWithIgnoreCase(file, ".apk") || in install_multiple_app_streamed()
550 android::base::EndsWithIgnoreCase(file, ".dm") || in install_multiple_app_streamed()
731 if (android::base::EndsWithIgnoreCase(file, ".apk") || in install_multi_package()
[all …]
H A Dbugreport.cpp263 if (!android::base::EndsWithIgnoreCase(dest_file, ".zip")) { in DoIt()
H A Dincremental.cpp160 if (android::base::EndsWithIgnoreCase(file, ".apk")) { in can_install()
H A Dincremental_utils.cpp374 if (!android::base::EndsWithIgnoreCase(filepath, ".apk"sv)) { in PriorityBlocksForFile()
/aosp12/bootable/recovery/install/
H A Dfuse_install.cpp78 } else if (de->d_type == DT_REG && (android::base::EndsWithIgnoreCase(name, ".zip") || in BrowseDirectory()
79 android::base::EndsWithIgnoreCase(name, ".map"))) { in BrowseDirectory()
222 if (android::base::EndsWithIgnoreCase(path, ".map")) { in ApplyFromSdcard()
/aosp12/system/security/fsverity_init/
H A Dfsverity_init.cpp69 if (!android::base::EndsWithIgnoreCase(entry.path().c_str(), ".der")) continue; in LoadKeyFromDirectory()
/aosp12/system/libbase/include/android-base/
H A Dstrings.h67 bool EndsWithIgnoreCase(std::string_view s, std::string_view suffix);
/aosp12/packages/providers/MediaProvider/jni/
H A DFuseDaemon.cpp442 return android::base::EndsWithIgnoreCase(path, ".mp4") && in is_transcode_supported_path()