Home
last modified time | relevance | path

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

/tools/tradefederation/core/javatests/com/android/tradefed/suite/checker/
DSystemServerStatusCheckerTest.java61 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()
/tools/tradefederation/core/src/com/android/tradefed/suite/checker/
DSystemServerStatusChecker.java57 mSystemServerProcess = device.getProcessByName("system_server"); in preExecutionCheck()
/tools/tradefederation/core/javatests/com/android/tradefed/device/
DTestDeviceFuncTest.java656 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()
DNativeDeviceTest.java2366 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()
/tools/tradefederation/contrib/src/com/android/performance/tests/
DHermeticMemoryTest.java187 ProcessInfo processData = mTestDevice.getProcessByName(pkgActivitySplit[0]); in getProcessId()
/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/device/
DINativeDevice.java1608 public ProcessInfo getProcessByName(String processName) throws DeviceNotAvailableException; in getProcessByName() method
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/
DInstrumentationTest.java1032 getDevice().getProcessByName("system_server")); in doTestRun()
/tools/tradefederation/core/src/com/android/tradefed/device/
DNativeDevice.java5498 public ProcessInfo getProcessByName(String processName) throws DeviceNotAvailableException { in getProcessByName() method in NativeDevice
5659 ProcessInfo currSystemServerProcess = getProcessByName("system_server"); in deviceSoftRestartedSince()
5692 ProcessInfo currSystemServerProcess = getProcessByName("system_server"); in deviceSoftRestarted()