Lines Matching refs:StateManager
4033 StateManager::getInstance().clear(); in TEST()
4040 StateManager::getInstance().registerListener(SCREEN_STATE_ATOM_ID, valueProducer); in TEST()
4041 EXPECT_EQ(1, StateManager::getInstance().getStateTrackersCount()); in TEST()
4042 EXPECT_EQ(1, StateManager::getInstance().getListenersCount(SCREEN_STATE_ATOM_ID)); in TEST()
4067 StateManager::getInstance().onLogEvent(*screenEvent); in TEST()
4100 StateManager::getInstance().onLogEvent(*screenEvent); in TEST()
4142 StateManager::getInstance().onLogEvent(*screenEvent); in TEST()
4308 StateManager::getInstance().clear(); in TEST()
4314 StateManager::getInstance().registerListener(SCREEN_STATE_ATOM_ID, valueProducer); in TEST()
4315 EXPECT_EQ(1, StateManager::getInstance().getStateTrackersCount()); in TEST()
4316 EXPECT_EQ(1, StateManager::getInstance().getListenersCount(SCREEN_STATE_ATOM_ID)); in TEST()
4341 StateManager::getInstance().onLogEvent(*screenEvent); in TEST()
4374 StateManager::getInstance().onLogEvent(*screenEvent); in TEST()
4407 StateManager::getInstance().onLogEvent(*screenEvent); in TEST()
4439 StateManager::getInstance().onLogEvent(*screenEvent); in TEST()
4657 StateManager::getInstance().clear(); in TEST()
4663 StateManager::getInstance().registerListener(UID_PROCESS_STATE_ATOM_ID, valueProducer); in TEST()
4664 EXPECT_EQ(1, StateManager::getInstance().getStateTrackersCount()); in TEST()
4665 EXPECT_EQ(1, StateManager::getInstance().getListenersCount(UID_PROCESS_STATE_ATOM_ID)); in TEST()
4675 StateManager::getInstance().onLogEvent(*uidProcessEvent); in TEST()
4683 StateManager::getInstance().onLogEvent(*uidProcessEvent); in TEST()
4713 StateManager::getInstance().onLogEvent(*uidProcessEvent); in TEST()
4721 StateManager::getInstance().onLogEvent(*uidProcessEvent); in TEST()
4861 StateManager::getInstance().clear(); in TEST()
4868 StateManager::getInstance().registerListener(util::BATTERY_SAVER_MODE_STATE_CHANGED, in TEST()
4870 EXPECT_EQ(1, StateManager::getInstance().getStateTrackersCount()); in TEST()
4871 EXPECT_EQ(1, StateManager::getInstance().getListenersCount( in TEST()
4894 StateManager::getInstance().onLogEvent(*batterySaverOnEvent); in TEST()
4926 StateManager::getInstance().onLogEvent(*batterySaverOffEvent); in TEST()
4952 StateManager::getInstance().onLogEvent(*batterySaverOnEvent); in TEST()
5058 StateManager::getInstance().clear(); in TEST()
5065 StateManager::getInstance().registerListener(util::BATTERY_SAVER_MODE_STATE_CHANGED, in TEST()
5067 EXPECT_EQ(1, StateManager::getInstance().getStateTrackersCount()); in TEST()
5068 EXPECT_EQ(1, StateManager::getInstance().getListenersCount( in TEST()
5079 StateManager::getInstance().onLogEvent(*batterySaverOnEvent); in TEST()
5163 StateManager::getInstance().clear(); in TEST()
5170 StateManager::getInstance().registerListener(util::BATTERY_SAVER_MODE_STATE_CHANGED, in TEST()
5172 EXPECT_EQ(1, StateManager::getInstance().getStateTrackersCount()); in TEST()
5173 EXPECT_EQ(1, StateManager::getInstance().getListenersCount( in TEST()
5195 StateManager::getInstance().onLogEvent(*batterySaverOnEvent); in TEST()
5223 StateManager::getInstance().onLogEvent(*batterySaverOffEvent); in TEST()
5260 StateManager::getInstance().onLogEvent(*batterySaverOnEvent); in TEST()
5387 StateManager::getInstance().clear(); in TEST()
5395 StateManager::getInstance().registerListener(util::BATTERY_SAVER_MODE_STATE_CHANGED, in TEST()
5397 EXPECT_EQ(1, StateManager::getInstance().getStateTrackersCount()); in TEST()
5398 EXPECT_EQ(1, StateManager::getInstance().getListenersCount( in TEST()
5404 StateManager::getInstance().onLogEvent(*batterySaverOnEvent); in TEST()
5458 StateManager::getInstance().onLogEvent(*batterySaverOffEvent); in TEST()
5486 StateManager::getInstance().onLogEvent(*batterySaverOnEvent); in TEST()
5678 StateManager::getInstance().clear(); in TEST()
5685 StateManager::getInstance().registerListener(UID_PROCESS_STATE_ATOM_ID, valueProducer); in TEST()
5686 EXPECT_EQ(1, StateManager::getInstance().getStateTrackersCount()); in TEST()
5687 EXPECT_EQ(1, StateManager::getInstance().getListenersCount(UID_PROCESS_STATE_ATOM_ID)); in TEST()
5693 StateManager::getInstance().onLogEvent(*uidProcessEvent); in TEST()
5700 StateManager::getInstance().onLogEvent(*uidProcessEvent); in TEST()
5707 StateManager::getInstance().onLogEvent(*uidProcessEvent); in TEST()
5737 StateManager::getInstance().onLogEvent(*uidProcessEvent); in TEST()
5845 StateManager::getInstance().clear(); in TEST()
5853 StateManager::getInstance().registerListener(util::BATTERY_SAVER_MODE_STATE_CHANGED, in TEST()
5855 EXPECT_EQ(1, StateManager::getInstance().getStateTrackersCount()); in TEST()
5856 EXPECT_EQ(1, StateManager::getInstance().getListenersCount( in TEST()
5863 StateManager::getInstance().onLogEvent(*batterySaverOnEvent); in TEST()
5901 StateManager::getInstance().onLogEvent(*batterySaverOffEvent); in TEST()
6059 StateManager::getInstance().clear(); in TEST()
6067 StateManager::getInstance().registerListener(util::BATTERY_SAVER_MODE_STATE_CHANGED, in TEST()
6069 EXPECT_EQ(1, StateManager::getInstance().getStateTrackersCount()); in TEST()
6070 EXPECT_EQ(1, StateManager::getInstance().getListenersCount( in TEST()
6077 StateManager::getInstance().onLogEvent(*batterySaverOnEvent); in TEST()
6089 StateManager::getInstance().onLogEvent(*batterySaverOffEvent); in TEST()
6109 StateManager::getInstance().onLogEvent(*batterySaverOnEvent); in TEST()
6275 StateManager::getInstance().clear(); in TEST()
6282 StateManager::getInstance().registerListener(UID_PROCESS_STATE_ATOM_ID, valueProducer); in TEST()
6283 EXPECT_EQ(1, StateManager::getInstance().getStateTrackersCount()); in TEST()
6284 EXPECT_EQ(1, StateManager::getInstance().getListenersCount(UID_PROCESS_STATE_ATOM_ID)); in TEST()
6293 StateManager::getInstance().onLogEvent(*uidProcessEvent); in TEST()
6300 StateManager::getInstance().onLogEvent(*uidProcessEvent); in TEST()
6321 StateManager::getInstance().onLogEvent(*uidProcessEvent); in TEST()
7263 StateManager::getInstance().clear(); in TEST()
7269 StateManager::getInstance().registerListener(SCREEN_STATE_ATOM_ID, valueProducer); in TEST()
7274 StateManager::getInstance().onLogEvent(*screenEvent); in TEST()
7287 StateManager::getInstance().onLogEvent(*screenEvent); in TEST()
7302 StateManager::getInstance().onLogEvent(*screenEvent); in TEST()
7316 StateManager::getInstance().onLogEvent(*screenEvent); in TEST()