Searched refs:getProcessByName (Results 1 – 8 of 8) sorted by relevance
57 EasyMock.expect(mMockDevice.getProcessByName(EasyMock.eq("system_server"))) in testSystemServerProcessNotRestarted()69 EasyMock.expect(mMockDevice.getProcessByName(EasyMock.eq("system_server"))) in testSystemServerProcessRestartedWithoutDeviceReboot()83 EasyMock.expect(mMockDevice.getProcessByName(EasyMock.eq("system_server"))) in testSystemServerProcessRestartedWithAbnormalDeviceReboot()101 EasyMock.expect(mMockDevice.getProcessByName(EasyMock.eq("system_server"))).andReturn(null); in testFailToGetSystemServerProcess()
618 systemServer = mTestDevice.getProcessByName("system_server"); in waitForSystemServerProcess()634 ProcessInfo prev = mTestDevice.getProcessByName("system_server"); in testDeviceSoftRestart()660 String.format("kill %s", mTestDevice.getProcessByName("system_server").getPid())); in testDeviceSoftRestart()
2336 assertEquals(Integer.parseInt(fakePid), spy.getProcessByName("system_server").getPid()); in testGetProcessByName()2339 spy.getProcessByName("system_server").getStartTime()); in testGetProcessByName()2349 assertNull(spy.getProcessByName("system_server")); in testGetProcessByNameInvalidProcess()2360 assertNull(spy.getProcessByName("system_server")); in testGetProcessByNameInvalidStartTime()
4564 public ProcessInfo getProcessByName(String processName) throws DeviceNotAvailableException { in getProcessByName() method in NativeDevice4710 ProcessInfo currSystemServerProcess = getProcessByName("system_server"); in deviceSoftRestartedSince()4743 ProcessInfo currSystemServerProcess = getProcessByName("system_server"); in deviceSoftRestarted()
57 mSystemServerProcess = device.getProcessByName("system_server"); in preExecutionCheck()
1458 public ProcessInfo getProcessByName(String processName) throws DeviceNotAvailableException; in getProcessByName() method
186 ProcessInfo processData = mTestDevice.getProcessByName(pkgActivitySplit[0]); in getProcessId()
1067 getDevice().getProcessByName("system_server")); in runWithRerun()