Home
last modified time | relevance | path

Searched refs:SubscriberReporter (Results 1 – 9 of 9) sorted by relevance

/packages/modules/StatsD/statsd/tests/subscriber/
DSubscriberReporter_test.cpp53 SubscriberReporter::getInstance().setBroadcastSubscriber(configKey1, subscriptionId1, pir1); in SetUp()
54 SubscriberReporter::getInstance().setBroadcastSubscriber(configKey1, subscriptionId2, pir2); in SetUp()
55 SubscriberReporter::getInstance().setBroadcastSubscriber(configKey2, subscriptionId1, pir3); in SetUp()
59 SubscriberReporter::getInstance(); in TearDown()
60 SubscriberReporter::getInstance().unsetBroadcastSubscriber(configKey1, subscriptionId1); in TearDown()
61 SubscriberReporter::getInstance().unsetBroadcastSubscriber(configKey1, subscriptionId2); in TearDown()
62 SubscriberReporter::getInstance().unsetBroadcastSubscriber(configKey2, subscriptionId1); in TearDown()
66 ASSERT_TRUE(SubscriberReporter::getInstance().mIntentMap.empty()); in TearDown()
71 SubscriberReporter::broadcastSubscriberDied(pir1.get()); in TEST_F()
77 EXPECT_THAT(SubscriberReporter::getInstance().mIntentMap, ContainerEq(expectedIntentMap)); in TEST_F()
[all …]
/packages/modules/StatsD/statsd/src/subscriber/
DSubscriberReporter.h44 class SubscriberReporter {
47 static SubscriberReporter& getInstance() { in getInstance()
48 static SubscriberReporter subscriberReporter; in getInstance()
52 ~SubscriberReporter(){}; in ~SubscriberReporter()
53 SubscriberReporter(SubscriberReporter const&) = delete;
54 void operator=(SubscriberReporter const&) = delete;
78 SubscriberReporter();
DSubscriberReporter.cpp30 void SubscriberReporter::broadcastSubscriberDied(void* rawPir) { in broadcastSubscriberDied()
31 SubscriberReporter& thiz = getInstance(); in broadcastSubscriberDied()
54 SubscriberReporter::SubscriberReporter() : in SubscriberReporter() function in android::os::statsd::SubscriberReporter
58 void SubscriberReporter::setBroadcastSubscriber(const ConfigKey& configKey, in setBroadcastSubscriber()
78 void SubscriberReporter::unsetBroadcastSubscriber(const ConfigKey& configKey, in unsetBroadcastSubscriber()
91 void SubscriberReporter::alertBroadcastSubscriber(const ConfigKey& configKey, in alertBroadcastSubscriber()
132 void SubscriberReporter::sendBroadcastLocked(const shared_ptr<IPendingIntentRef>& pir, in sendBroadcastLocked()
/packages/modules/StatsD/statsd/tests/anomaly/
DAlarmTracker_test.cpp173 SubscriberReporter::getInstance().setBroadcastSubscriber(kConfigKey, broadcastSubRandId, in TEST()
175 SubscriberReporter::getInstance().setBroadcastSubscriber(kConfigKey, broadcastSubAlwaysId, in TEST()
177 SubscriberReporter::getInstance().setBroadcastSubscriber(kConfigKey, broadcastSubNeverId, in TEST()
201 SubscriberReporter::getInstance().unsetBroadcastSubscriber(kConfigKey, broadcastSubRandId); in TEST()
202 SubscriberReporter::getInstance().unsetBroadcastSubscriber(kConfigKey, broadcastSubAlwaysId); in TEST()
203 SubscriberReporter::getInstance().unsetBroadcastSubscriber(kConfigKey, broadcastSubNeverId); in TEST()
DAnomalyTracker_test.cpp477 SubscriberReporter::getInstance().setBroadcastSubscriber(kConfigKey, broadcastSubRandId, in TEST()
479 SubscriberReporter::getInstance().setBroadcastSubscriber(kConfigKey, broadcastSubAlwaysId, in TEST()
481 SubscriberReporter::getInstance().setBroadcastSubscriber(kConfigKey, broadcastSubNeverId, in TEST()
509 SubscriberReporter::getInstance().unsetBroadcastSubscriber(kConfigKey, broadcastSubRandId); in TEST()
510 SubscriberReporter::getInstance().unsetBroadcastSubscriber(kConfigKey, broadcastSubAlwaysId); in TEST()
511 SubscriberReporter::getInstance().unsetBroadcastSubscriber(kConfigKey, broadcastSubNeverId); in TEST()
/packages/modules/StatsD/statsd/tests/e2e/
DConfigUpdate_e2e_test.cpp2193 SubscriberReporter::getInstance().setBroadcastSubscriber(key, preserveSubId, preserveBroadcast); in TEST_F()
2194 SubscriberReporter::getInstance().setBroadcastSubscriber(key, replaceSubId, replaceBroadcast); in TEST_F()
2195 SubscriberReporter::getInstance().setBroadcastSubscriber(key, removeSubId, removeBroadcast); in TEST_F()
2275 SubscriberReporter::getInstance().setBroadcastSubscriber(key, newSubId, newBroadcast); in TEST_F()
2309 SubscriberReporter::getInstance().unsetBroadcastSubscriber(key, preserveSubId); in TEST_F()
2310 SubscriberReporter::getInstance().unsetBroadcastSubscriber(key, replaceSubId); in TEST_F()
2311 SubscriberReporter::getInstance().unsetBroadcastSubscriber(key, removeSubId); in TEST_F()
2312 SubscriberReporter::getInstance().unsetBroadcastSubscriber(key, newSubId); in TEST_F()
2413 SubscriberReporter::getInstance().setBroadcastSubscriber(key, preserveSubId, preserveBroadcast); in TEST_F()
2414 SubscriberReporter::getInstance().setBroadcastSubscriber(key, replaceSubId, replaceBroadcast); in TEST_F()
[all …]
/packages/modules/StatsD/statsd/src/anomaly/
Dsubscriber_util.cpp68 SubscriberReporter::getInstance().alertBroadcastSubscriber(configKey, subscription, in triggerSubscribers()
/packages/modules/StatsD/statsd/src/
DStatsService.cpp1331 SubscriberReporter::getInstance() in setBroadcastSubscriber()
1344 SubscriberReporter::getInstance() in unsetBroadcastSubscriber()
/packages/modules/StatsD/statsd/
DAndroid.bp123 "src/subscriber/SubscriberReporter.cpp",