Home
last modified time | relevance | path

Searched refs:getProcessByName (Results 1 – 8 of 8) sorted by relevance

/tools/tradefederation/core/tests/src/com/android/tradefed/suite/checker/
DSystemServerStatusCheckerTest.java57 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()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DTestDeviceFuncTest.java618 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()
DNativeDeviceTest.java2336 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()
/tools/tradefederation/core/src/com/android/tradefed/device/
DNativeDevice.java4564 public ProcessInfo getProcessByName(String processName) throws DeviceNotAvailableException { in getProcessByName() method in NativeDevice
4710 ProcessInfo currSystemServerProcess = getProcessByName("system_server"); in deviceSoftRestartedSince()
4743 ProcessInfo currSystemServerProcess = getProcessByName("system_server"); in deviceSoftRestarted()
/tools/tradefederation/core/src/com/android/tradefed/suite/checker/
DSystemServerStatusChecker.java57 mSystemServerProcess = device.getProcessByName("system_server"); in preExecutionCheck()
/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/device/
DINativeDevice.java1458 public ProcessInfo getProcessByName(String processName) throws DeviceNotAvailableException; in getProcessByName() method
/tools/tradefederation/contrib/src/com/android/performance/tests/
DHermeticMemoryTest.java186 ProcessInfo processData = mTestDevice.getProcessByName(pkgActivitySplit[0]); in getProcessId()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/
DInstrumentationTest.java1067 getDevice().getProcessByName("system_server")); in runWithRerun()