Home
last modified time | relevance | path

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

/frameworks/base/services/tests/powerservicetests/src/com/android/server/power/
DNotifierTest.java79 @Mock private SystemPropertiesWrapper mSystemPropertiesMock; field in NotifierTest
104 when(mSystemPropertiesMock.get(eq(SYSTEM_PROPERTY_QUIESCENT), anyString())).thenReturn(""); in setUp()
322 return mSystemPropertiesMock;
DPowerManagerServiceTest.java177 @Mock private SystemPropertiesWrapper mSystemPropertiesMock; field in PowerManagerServiceTest
241 when(mSystemPropertiesMock.get(eq(SYSTEM_PROPERTY_QUIESCENT), anyString())).thenReturn(""); in setUp()
316 return mSystemPropertiesMock; in createService()
513 when(mSystemPropertiesMock.get(eq(SYSTEM_PROPERTY_REBOOT_REASON), any())).thenReturn( in testGetLastShutdownReasonInternal()
1751 when(mSystemPropertiesMock.get(eq(SYSTEM_PROPERTY_QUIESCENT), any())).thenReturn("1"); in testQuiescentBoot_ShouldBeAsleep()
1762 when(mSystemPropertiesMock.get(eq(SYSTEM_PROPERTY_QUIESCENT), any())).thenReturn("1"); in testQuiescentBoot_DesiredScreenPolicyShouldBeOff()
1771 when(mSystemPropertiesMock.get(eq(SYSTEM_PROPERTY_QUIESCENT), any())).thenReturn("1"); in testQuiescentBoot_WakeUp_DesiredScreenPolicyShouldBeBright()
1781 when(mSystemPropertiesMock.get(eq(SYSTEM_PROPERTY_QUIESCENT), any())).thenReturn("1"); in testQuiescentBoot_WakeKeyBeforeBootCompleted_AwakeAfterBootCompleted()