Searched refs:deviceSoftRestarted (Results 1 – 7 of 7) sorted by relevance
63 when(mMockDevice.deviceSoftRestarted(Mockito.any())).thenReturn(false); in testSystemServerProcessNotRestarted()74 when(mMockDevice.deviceSoftRestarted(Mockito.any())).thenReturn(true); in testSystemServerProcessRestartedWithoutDeviceReboot()86 when(mMockDevice.deviceSoftRestarted(Mockito.any())) in testSystemServerProcessRestartedWithAbnormalDeviceReboot()
87 if (!device.deviceSoftRestarted(mSystemServerProcess)) { in postExecutionCheck()
684 assertFalse(mTestDevice.deviceSoftRestarted(prev)); in testDeviceSoftRestart()691 assertTrue(mTestDevice.deviceSoftRestarted(prev)); in testDeviceSoftRestart()702 assertFalse(mTestDevice.deviceSoftRestarted(prev)); in testDeviceSoftRestart()709 assertTrue(mTestDevice.deviceSoftRestarted(prev)); in testDeviceSoftRestart()712 assertTrue(mTestDevice.deviceSoftRestarted(prev)); in testDeviceSoftRestart()
2680 assertTrue(spy.deviceSoftRestarted(prev1)); in testDeviceSoftRestarted()2681 assertFalse(spy.deviceSoftRestarted(prev2)); in testDeviceSoftRestarted()2690 spy.deviceSoftRestarted( in testDeviceSoftRestartedWithSystemServerStopped()2712 spy.deviceSoftRestarted(new ProcessInfo("system", 123, "system_server", 1559000000L)); in testDeviceSoftRestartedWithAbnormalReboot()2738 spy.deviceSoftRestarted( in testDeviceSoftRestartedNotAfterNormalReboot()2760 spy.deviceSoftRestarted( in testDeviceSoftRestartedAfterNormalReboot()
159 restarted = getDevice().deviceSoftRestarted(mSystemServerProcess); in testRunFailed()
1661 public boolean deviceSoftRestarted(ProcessInfo prevSystemServerProcess) in deviceSoftRestarted() method
5686 public boolean deviceSoftRestarted(ProcessInfo prevSystemServerProcess) in deviceSoftRestarted() method in NativeDevice