Searched refs:EndsWithIgnoreCase (Results 1 – 8 of 8) sorted by relevance
/system/libbase/ |
D | strings_test.cpp | 213 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 …]
|
D | strings.cpp | 110 bool EndsWithIgnoreCase(std::string_view s, std::string_view suffix) { in EndsWithIgnoreCase() function
|
/system/core/adb/client/ |
D | adb_install.cpp | 170 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 …]
|
D | bugreport.cpp | 253 if (!android::base::EndsWithIgnoreCase(dest_file, ".zip")) { in DoIt()
|
D | incremental.cpp | 154 if (android::base::EndsWithIgnoreCase(file, ".apk")) { in can_install()
|
D | incremental_utils.cpp | 361 if (!android::base::EndsWithIgnoreCase(filepath, ".apk"sv)) { in PriorityBlocksForFile()
|
/system/security/fsverity_init/ |
D | fsverity_init.cpp | 45 if (!android::base::EndsWithIgnoreCase(entry.path().c_str(), ".der")) continue; in LoadKeyFromDirectory()
|
/system/libbase/include/android-base/ |
D | strings.h | 67 bool EndsWithIgnoreCase(std::string_view s, std::string_view suffix);
|