Home
last modified time | relevance | path

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

/system/core/base/
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.cpp148 if (!android::base::EndsWithIgnoreCase(file, ".apk") && in install_app_streamed()
149 !android::base::EndsWithIgnoreCase(file, ".apex")) { in install_app_streamed()
154 if (android::base::EndsWithIgnoreCase(file, ".apex")) { in install_app_streamed()
246 if (android::base::EndsWithIgnoreCase(argv[i], ".apex")) { in install_app_legacy()
249 if (android::base::EndsWithIgnoreCase(argv[i], ".apk")) { in install_app_legacy()
404 if (android::base::EndsWithIgnoreCase(argv[i], ".apex")) { in install_multiple_app()
408 if (android::base::EndsWithIgnoreCase(file, ".apk") || in install_multiple_app()
409 android::base::EndsWithIgnoreCase(file, ".dm") || in install_multiple_app()
410 android::base::EndsWithIgnoreCase(file, ".fsv_sig")) { in install_multiple_app()
532 if (android::base::EndsWithIgnoreCase(file, ".apk") || in install_multi_package()
[all …]
Dbugreport.cpp251 if (!android::base::EndsWithIgnoreCase(dest_file, ".zip")) { in DoIt()
/system/core/base/include/android-base/
Dstrings.h66 bool EndsWithIgnoreCase(std::string_view s, std::string_view suffix);