Home
last modified time | relevance | path

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

/system/libbase/
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 …]
Dstrings.cpp110 bool EndsWithIgnoreCase(std::string_view s, std::string_view suffix) { in EndsWithIgnoreCase() function
/system/core/adb/client/
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()
551 android::base::EndsWithIgnoreCase(file, ".fsv_sig")) { in install_multiple_app_streamed()
[all …]
Dbugreport.cpp253 if (!android::base::EndsWithIgnoreCase(dest_file, ".zip")) { in DoIt()
Dincremental.cpp154 if (android::base::EndsWithIgnoreCase(file, ".apk")) { in can_install()
Dincremental_utils.cpp361 if (!android::base::EndsWithIgnoreCase(filepath, ".apk"sv)) { in PriorityBlocksForFile()
/system/security/fsverity_init/
Dfsverity_init.cpp45 if (!android::base::EndsWithIgnoreCase(entry.path().c_str(), ".der")) continue; in LoadKeyFromDirectory()
/system/libbase/include/android-base/
Dstrings.h67 bool EndsWithIgnoreCase(std::string_view s, std::string_view suffix);