Searched refs:getProcessByName (Results 1 – 8 of 8) sorted by relevance
61 when(mMockDevice.getProcessByName(Mockito.eq("system_server"))) in testSystemServerProcessNotRestarted()72 when(mMockDevice.getProcessByName(Mockito.eq("system_server"))) in testSystemServerProcessRestartedWithoutDeviceReboot()84 when(mMockDevice.getProcessByName(Mockito.eq("system_server"))) in testSystemServerProcessRestartedWithAbnormalDeviceReboot()101 when(mMockDevice.getProcessByName(Mockito.eq("system_server"))).thenReturn(null); in testFailToGetSystemServerProcess()
57 mSystemServerProcess = device.getProcessByName("system_server"); in preExecutionCheck()
656 systemServer = mTestDevice.getProcessByName("system_server"); in waitForSystemServerProcess()677 ProcessInfo prev = mTestDevice.getProcessByName("system_server"); in testDeviceSoftRestart()706 String.format("kill %s", mTestDevice.getProcessByName("system_server").getPid())); in testDeviceSoftRestart()
2366 ProcessInfo info = spy.getProcessByName("system_server"); in runTestGetProcessByName()2367 assertEquals(Integer.parseInt(fakePid), spy.getProcessByName("system_server").getPid()); in runTestGetProcessByName()2370 spy.getProcessByName("system_server").getStartTime()); in runTestGetProcessByName()2388 assertNull(spy.getProcessByName("system_server")); in testGetProcessByNameInvalidProcess()2398 assertNull(spy.getProcessByName("system_server")); in testGetProcessByNameInvalidStartTime()
187 ProcessInfo processData = mTestDevice.getProcessByName(pkgActivitySplit[0]); in getProcessId()
1608 public ProcessInfo getProcessByName(String processName) throws DeviceNotAvailableException; in getProcessByName() method
1032 getDevice().getProcessByName("system_server")); in doTestRun()
5498 public ProcessInfo getProcessByName(String processName) throws DeviceNotAvailableException { in getProcessByName() method in NativeDevice5659 ProcessInfo currSystemServerProcess = getProcessByName("system_server"); in deviceSoftRestartedSince()5692 ProcessInfo currSystemServerProcess = getProcessByName("system_server"); in deviceSoftRestarted()