/system/tools/aidl/ |
D | options_unittest.cpp | 129 TEST(OptionsTests, EndsWith) { in TEST() argument 130 EXPECT_TRUE(EndsWith("foo", "")); in TEST() 131 EXPECT_TRUE(EndsWith("foo", "o")); in TEST() 132 EXPECT_TRUE(EndsWith("foo", "foo")); in TEST() 133 EXPECT_FALSE(EndsWith("foo", "fooo")); in TEST() 134 EXPECT_FALSE(EndsWith("", "o")); in TEST() 135 EXPECT_TRUE(EndsWith("", "")); in TEST()
|
D | options.cpp | 140 if (!EndsWith(options->input_file_name_, ".aidl")) { in Parse() 238 if (!EndsWith(options->input_file_name_, ".aidl")) { in Parse() 246 bool EndsWith(const string& str, const string& suffix) { in EndsWith() function 257 if (!EndsWith(*str, old_suffix)) return false; in ReplaceSuffix()
|
D | options.h | 99 bool EndsWith(const std::string& str, const std::string& suffix);
|
/system/core/base/ |
D | strings_test.cpp | 159 ASSERT_FALSE(android::base::EndsWith("", "foo")); in TEST() 160 ASSERT_TRUE(android::base::EndsWith("", "")); in TEST() 164 ASSERT_TRUE(android::base::EndsWith("foo", "")); in TEST() 165 ASSERT_TRUE(android::base::EndsWith("foo", "o")); in TEST() 166 ASSERT_TRUE(android::base::EndsWith("foo", "oo")); in TEST() 167 ASSERT_TRUE(android::base::EndsWith("foo", "foo")); in TEST() 171 ASSERT_FALSE(android::base::EndsWith("foo", "foobar")); in TEST() 175 ASSERT_FALSE(android::base::EndsWith("foobar", "oba")); in TEST() 176 ASSERT_FALSE(android::base::EndsWith("foobar", "foo")); in TEST()
|
D | strings.cpp | 93 bool EndsWith(const std::string& s, const char* suffix) { in EndsWith() function
|
/system/connectivity/shill/supplicant/ |
D | wpa_supplicant_unittest.cc | 26 using testing::EndsWith; 43 EXPECT_CALL(log, Log(logging::LOG_ERROR, _, EndsWith("no depth parameter."))); in TEST_F() 57 Log(logging::LOG_ERROR, _, EndsWith("no subject parameter."))); in TEST_F() 71 EXPECT_CALL(log, Log(logging::LOG_ERROR, _, EndsWith("no depth parameter."))); in TEST_F()
|
D | supplicant_eap_state_handler_unittest.cc | 27 using testing::EndsWith; 40 EndsWith("Authentication starting."))); in StartEAP() 69 EndsWith("accepted method " + kEAPMethod))); in TEST_F() 80 EndsWith("Completed authentication successfully."))); in TEST_F() 141 EXPECT_CALL(log_, Log(logging::LOG_ERROR, _, EndsWith( in TEST_F() 157 EXPECT_CALL(log_, Log(logging::LOG_ERROR, _, EndsWith( in TEST_F()
|
/system/connectivity/shill/ |
D | mock_log_unittest.cc | 69 ::testing::EndsWith("mock_log_unittest.cc"), kMessage)); in TEST_F() 107 ::testing::EndsWith(".cc"), in TEST_F()
|
D | ipconfig_unittest.cc | 42 using testing::EndsWith; 285 EndsWith("No current DHCP lease"))); in TEST_F() 300 EndsWith("Current DHCP lease has already expired"))); in TEST_F()
|
D | crypto_des_cbc.cc | 86 if (!base::EndsWith(text, kSentinel, base::CompareCase::SENSITIVE)) { in Decrypt()
|
/system/core/base/include/android-base/ |
D | strings.h | 63 bool EndsWith(const std::string& s, const char* suffix);
|
/system/core/include/ziparchive/ |
D | zip_archive.h | 59 bool EndsWith(const ZipString& suffix) const { in EndsWith() function
|
/system/update_engine/ |
D | p2p_manager.cc | 342 if (!(base::EndsWith(name.value(), ext_visible, in PerformHousekeeping() 344 base::EndsWith(name.value(), ext_non_visible, in PerformHousekeeping() 679 if (base::EndsWith(name.value(), ext_visible, in CountSharedFiles() 681 base::EndsWith(name.value(), ext_non_visible, in CountSharedFiles()
|
D | test_http_server.cc | 93 } while (!base::EndsWith(headers, EOL EOL, base::CompareCase::SENSITIVE)); in ParseRequest()
|
/system/connectivity/shill/ethernet/ |
D | ethernet_unittest.cc | 57 using testing::EndsWith; 400 EndsWith("EAP Service lacks 802.1X credentials; " in TEST_F() 413 EndsWith("EAP Service lost 802.1X credentials; " in TEST_F() 424 EndsWith("EAP authenticator not detected; " in TEST_F()
|
/system/firewalld/ |
D | iptables.cc | 70 base::EndsWith(iface, "-", base::CompareCase::SENSITIVE) || in IsValidInterfaceName() 72 base::EndsWith(iface, ".", base::CompareCase::SENSITIVE)) { in IsValidInterfaceName()
|
/system/connectivity/shill/wifi/ |
D | wifi_unittest.cc | 105 using ::testing::EndsWith; 1631 EndsWith("silently resetting current_service_."))); in TEST_F() 1951 EXPECT_CALL(log, Log(_, _, EndsWith("already connecting or connected."))); in TEST_F() 1967 EXPECT_CALL(log, Log(_, _, EndsWith("already connecting or connected."))); in TEST_F() 2541 EXPECT_CALL(log, Log(_, _, EndsWith( in TEST_F() 2591 EXPECT_CALL(log, Log(_, _, EndsWith( in TEST_F() 2825 Log(logging::LOG_INFO, _, EndsWith(" DisconnectReason to 4"))); in TEST_F() 2829 Log(logging::LOG_INFO, _, EndsWith("Reason to 0 (was 4)"))); in TEST_F() 3241 EndsWith("gateway was never found."))).Times(1); in TEST_F() 3249 EndsWith("Cannot reassociate."))).Times(1); in TEST_F() [all …]
|
D | wifi_endpoint.cc | 372 if (base::EndsWith(method, WPASupplicant::kKeyManagementMethodSuffixEAP, in ParseKeyManagementMethods() 375 } else if (base::EndsWith(method, in ParseKeyManagementMethods()
|
/system/core/adb/ |
D | bugreport.cpp | 240 if (!android::base::EndsWith(dest_file, ".zip")) { in DoIt()
|
/system/connectivity/shill/dhcp/ |
D | dhcpv6_config_unittest.cc | 162 EXPECT_CALL(log, Log(_, _, ::testing::EndsWith("status 10"))); in StopRunningConfigAndExpect()
|
D | dhcpv4_config_unittest.cc | 229 EXPECT_CALL(log, Log(_, _, ::testing::EndsWith("status 10"))); in StopRunningConfigAndExpect()
|
/system/extras/simpleperf/ |
D | cmd_stat.cpp | 320 if (android::base::EndsWith(type_name, "-misses")) { in GetCommentForSummary()
|
D | environment.cpp | 190 if (android::base::EndsWith(name, ".ko")) { in GetAllModuleFiles()
|
/system/netd/tests/ |
D | binder_test.cpp | 281 && android::base::EndsWith(line, suffix.c_str())) { in ipRuleExistsForRange()
|
/system/connectivity/shill/net/ |
D | netlink_message_unittest.cc | 45 using testing::EndsWith;
|