Home
last modified time | relevance | path

Searched refs:MetricsLibraryTest (Results 1 – 2 of 2) sorted by relevance

/system/core/metricsd/
Dmetrics_library_test.cc27 class MetricsLibraryTest : public testing::Test { class
51 TEST_F(MetricsLibraryTest, AreMetricsEnabledFalse) { in TEST_F() argument
56 TEST_F(MetricsLibraryTest, AreMetricsEnabledTrue) { in TEST_F() argument
61 void MetricsLibraryTest::VerifyEnabledCacheHit(bool to_value) { in VerifyEnabledCacheHit()
77 void MetricsLibraryTest::VerifyEnabledCacheEviction(bool to_value) { in VerifyEnabledCacheEviction()
89 TEST_F(MetricsLibraryTest, AreMetricsEnabledCaching) { in TEST_F() argument
96 TEST_F(MetricsLibraryTest, AreMetricsEnabledNoCaching) { in TEST_F() argument
/system/core/metricsd/include/metrics/
Dmetrics_library.h135 friend class MetricsLibraryTest; variable
137 FRIEND_TEST(MetricsLibraryTest, AreMetricsEnabled);
138 FRIEND_TEST(MetricsLibraryTest, AreMetricsEnabledNoCaching);
139 FRIEND_TEST(MetricsLibraryTest, FormatChromeMessage);
140 FRIEND_TEST(MetricsLibraryTest, FormatChromeMessageTooLong);
141 FRIEND_TEST(MetricsLibraryTest, IsDeviceMounted);
142 FRIEND_TEST(MetricsLibraryTest, SendMessageToChrome);
143 FRIEND_TEST(MetricsLibraryTest, SendMessageToChromeUMAEventsBadFileLocation);