Searched refs:mSystemCB (Results 1 – 4 of 4) sorted by relevance
/frameworks/av/services/mediaresourcemanager/test/ |
D | ResourceManagerServiceTestUtils.h | 227 mSystemCB = new TestSystemCallback(); in SetUp() 229 mService = ResourceManagerService::CreateNew(new TestProcessInfo, mSystemCB); in SetUp() 231 mService = ResourceManagerService::Create(new TestProcessInfo, mSystemCB); in SetUp() 243 sp<TestSystemCallback> mSystemCB; variable
|
D | ResourceManagerService_test.cpp | 875 EXPECT_EQ(1u, mSystemCB->eventCount()); in testBatteryStats() 876 EXPECT_EQ(EventType::VIDEO_RESET, mSystemCB->lastEventType()); in testBatteryStats() 887 EXPECT_EQ(2u, mSystemCB->eventCount()); in testBatteryStats() 888 EXPECT_EQ(EventEntry({EventType::VIDEO_ON, kTestUid1}), mSystemCB->lastEvent()); in testBatteryStats() 892 EXPECT_EQ(2u, mSystemCB->eventCount()); in testBatteryStats() 903 EXPECT_EQ(3u, mSystemCB->eventCount()); in testBatteryStats() 904 EXPECT_EQ(EventEntry({EventType::VIDEO_ON, kTestUid2}), mSystemCB->lastEvent()); in testBatteryStats() 908 EXPECT_EQ(3u, mSystemCB->eventCount()); in testBatteryStats() 913 EXPECT_EQ(4u, mSystemCB->eventCount()); in testBatteryStats() 914 EXPECT_EQ(EventEntry({EventType::VIDEO_OFF, kTestUid1}), mSystemCB->lastEvent()); in testBatteryStats() [all …]
|
/frameworks/av/services/mediaresourcemanager/ |
D | ResourceManagerService.cpp | 177 mSystemCB(systemResource), in ResourceManagerService() 182 mSystemCB->noteResetVideo(); in ResourceManagerService() 277 if (mSystemCB->requestCpusetBoost(true) != OK) { in onFirstAdded() 284 mSystemCB->noteStartVideo(uid); in onFirstAdded() 293 mSystemCB->requestCpusetBoost(false); in onLastRemoved() 298 mSystemCB->noteStopVideo(uid); in onLastRemoved()
|
D | ResourceManagerService.h | 247 sp<SystemCallbackInterface> mSystemCB; variable
|