/packages/modules/StatsD/statsd/tests/subscriber/ |
D | SubscriberReporter_test.cpp | 53 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/ |
D | SubscriberReporter.h | 44 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();
|
D | SubscriberReporter.cpp | 30 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/ |
D | AlarmTracker_test.cpp | 173 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()
|
D | AnomalyTracker_test.cpp | 477 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/ |
D | ConfigUpdate_e2e_test.cpp | 2193 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/ |
D | subscriber_util.cpp | 68 SubscriberReporter::getInstance().alertBroadcastSubscriber(configKey, subscription, in triggerSubscribers()
|
/packages/modules/StatsD/statsd/src/ |
D | StatsService.cpp | 1331 SubscriberReporter::getInstance() in setBroadcastSubscriber() 1344 SubscriberReporter::getInstance() in unsetBroadcastSubscriber()
|
/packages/modules/StatsD/statsd/ |
D | Android.bp | 123 "src/subscriber/SubscriberReporter.cpp",
|