Searched refs:EndsWith (Results 1 - 25 of 31) sorted by relevance

12

/system/connectivity/shill/supplicant/
H A Dwpa_supplicant_unittest.cc26 using testing::EndsWith;
43 EXPECT_CALL(log, Log(logging::LOG_ERROR, _, EndsWith("no depth parameter.")));
57 Log(logging::LOG_ERROR, _, EndsWith("no subject parameter.")));
71 EXPECT_CALL(log, Log(logging::LOG_ERROR, _, EndsWith("no depth parameter.")));
H A Dsupplicant_eap_state_handler_unittest.cc27 using testing::EndsWith;
40 EndsWith("Authentication starting.")));
69 EndsWith("accepted method " + kEAPMethod)));
80 EndsWith("Completed authentication successfully.")));
141 EXPECT_CALL(log_, Log(logging::LOG_ERROR, _, EndsWith(
157 EXPECT_CALL(log_, Log(logging::LOG_ERROR, _, EndsWith(
/system/tools/aidl/
H A Doptions_unittest.cpp129 TEST(OptionsTests, EndsWith) {
130 EXPECT_TRUE(EndsWith("foo", ""));
131 EXPECT_TRUE(EndsWith("foo", "o"));
132 EXPECT_TRUE(EndsWith("foo", "foo"));
133 EXPECT_FALSE(EndsWith("foo", "fooo"));
134 EXPECT_FALSE(EndsWith("", "o"));
135 EXPECT_TRUE(EndsWith("", ""));
H A Doptions.cpp140 if (!EndsWith(options->input_file_name_, ".aidl")) {
238 if (!EndsWith(options->input_file_name_, ".aidl")) {
246 bool EndsWith(const string& str, const string& suffix) { function in namespace:android::aidl
257 if (!EndsWith(*str, old_suffix)) return false;
H A Doptions.h99 bool EndsWith(const std::string& str, const std::string& suffix);
/system/core/base/
H A Dstrings_test.cpp159 ASSERT_FALSE(android::base::EndsWith("", "foo"));
160 ASSERT_TRUE(android::base::EndsWith("", ""));
164 ASSERT_TRUE(android::base::EndsWith("foo", ""));
165 ASSERT_TRUE(android::base::EndsWith("foo", "o"));
166 ASSERT_TRUE(android::base::EndsWith("foo", "oo"));
167 ASSERT_TRUE(android::base::EndsWith("foo", "foo"));
171 ASSERT_FALSE(android::base::EndsWith("foo", "foobar"));
175 ASSERT_FALSE(android::base::EndsWith("foobar", "oba"));
176 ASSERT_FALSE(android::base::EndsWith("foobar", "foo"));
H A Dstrings.cpp93 bool EndsWith(const std::string& s, const char* suffix) { function in namespace:android::base
/system/connectivity/shill/
H A Dmock_log_unittest.cc69 ::testing::EndsWith("mock_log_unittest.cc"), kMessage));
107 ::testing::EndsWith(".cc"),
H A Dipconfig_unittest.cc42 using testing::EndsWith;
285 EndsWith("No current DHCP lease")));
300 EndsWith("Current DHCP lease has already expired")));
H A Dcrypto_des_cbc.cc86 if (!base::EndsWith(text, kSentinel, base::CompareCase::SENSITIVE)) {
/system/core/base/include/android-base/
H A Dstrings.h63 bool EndsWith(const std::string& s, const char* suffix);
/system/core/include/ziparchive/
H A Dzip_archive.h59 bool EndsWith(const ZipString& suffix) const { function in struct:ZipString
/system/connectivity/shill/ethernet/
H A Dethernet_unittest.cc57 using testing::EndsWith;
400 EndsWith("EAP Service lacks 802.1X credentials; "
413 EndsWith("EAP Service lost 802.1X credentials; "
424 EndsWith("EAP authenticator not detected; "
/system/update_engine/
H A Dp2p_manager.cc342 if (!(base::EndsWith(name.value(), ext_visible,
344 base::EndsWith(name.value(), ext_non_visible,
679 if (base::EndsWith(name.value(), ext_visible,
681 base::EndsWith(name.value(), ext_non_visible,
H A Dtest_http_server.cc93 } while (!base::EndsWith(headers, EOL EOL, base::CompareCase::SENSITIVE));
/system/firewalld/
H A Diptables.cc70 base::EndsWith(iface, "-", base::CompareCase::SENSITIVE) ||
72 base::EndsWith(iface, ".", base::CompareCase::SENSITIVE)) {
/system/core/adb/
H A Dbugreport.cpp240 if (!android::base::EndsWith(dest_file, ".zip")) {
/system/connectivity/shill/wifi/
H A Dwifi_endpoint.cc372 if (base::EndsWith(method, WPASupplicant::kKeyManagementMethodSuffixEAP,
375 } else if (base::EndsWith(method,
H A Dwifi_unittest.cc105 using ::testing::EndsWith;
1631 EndsWith("silently resetting current_service_.")));
1951 EXPECT_CALL(log, Log(_, _, EndsWith("already connecting or connected.")));
1967 EXPECT_CALL(log, Log(_, _, EndsWith("already connecting or connected.")));
2541 EXPECT_CALL(log, Log(_, _, EndsWith(
2591 EXPECT_CALL(log, Log(_, _, EndsWith(
2825 Log(logging::LOG_INFO, _, EndsWith(" DisconnectReason to 4")));
2829 Log(logging::LOG_INFO, _, EndsWith("Reason to 0 (was 4)")));
3241 EndsWith("gateway was never found."))).Times(1);
3249 EndsWith("Canno
[all...]
H A Dwifi_service_unittest.cc66 using ::testing::EndsWith;
990 EndsWith("choosing the first.")));
1676 EndsWith("disconnect due to no remaining endpoints.")));
/system/connectivity/shill/dhcp/
H A Ddhcpv6_config_unittest.cc162 EXPECT_CALL(log, Log(_, _, ::testing::EndsWith("status 10")));
/system/extras/simpleperf/
H A Dcmd_stat.cpp320 if (android::base::EndsWith(type_name, "-misses")) {
H A Denvironment.cpp190 if (android::base::EndsWith(name, ".ko")) {
/system/netd/tests/
H A Dbinder_test.cpp281 && android::base::EndsWith(line, suffix.c_str())) {
/system/connectivity/shill/cellular/
H A Dcellular_capability_gsm_unittest.cc392 ::testing::EndsWith("cellular_capability_gsm.cc"),

Completed in 858 milliseconds

12