Home
last modified time | relevance | path

Searched refs:getProcessPid (Results 1 – 7 of 7) sorted by relevance

/tools/tradefederation/core/javatests/com/android/tradefed/util/
DJavaCodeCoverageFlusherTest.java75 doReturn("123").when(mMockDevice).getProcessPid("com.android.bluetooth"); in testResetAll_calledForAllProcesses()
76 doReturn("4567").when(mMockDevice).getProcessPid("com.google.android.gms.persistent"); in testResetAll_calledForAllProcesses()
77 doReturn("890").when(mMockDevice).getProcessPid("com.android.phone"); in testResetAll_calledForAllProcesses()
105 doReturn("123").when(mMockDevice).getProcessPid("com.android.phone"); in testResetSpecific_calledForSpecificProcesses()
125 doReturn("123").when(mMockDevice).getProcessPid("com.android.bluetooth"); in testDumpAll_calledForAllProcesses()
126 doReturn("4567").when(mMockDevice).getProcessPid("com.google.android.gms.persistent"); in testDumpAll_calledForAllProcesses()
127 doReturn("890").when(mMockDevice).getProcessPid("com.android.phone"); in testDumpAll_calledForAllProcesses()
167 doReturn("234").when(mMockDevice).getProcessPid("com.android.bluetooth"); in testDumpSpecific_calledForSpecificProcesses()
DNativeCodeCoverageFlusherTest.java252 verify(mMockDevice, never()).getProcessPid(anyString()); in testNoAdbRootFlush_noOp()
/tools/tradefederation/core/src/com/android/tradefed/util/
DJavaCodeCoverageFlusher.java109 String pid = mDevice.getProcessPid(processName); in resetCoverage()
139 String pid = mDevice.getProcessPid(processName); in forceCoverageFlush()
/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/device/
DINativeDevice.java1634 public String getProcessPid(String process) throws DeviceNotAvailableException; in getProcessPid() method
/tools/tradefederation/core/javatests/com/android/tradefed/device/
DNativeDeviceTest.java2313 assertEquals(fakePid, spy.getProcessPid("system_server")); in testGetProcessPid()
2323 assertEquals(fakePid, spy.getProcessPid("system_server")); in testGetProcessPidWithNewLine()
2332 assertNull(spy.getProcessPid("system_server")); in testGetProcessPidInvalidOutput()
2341 assertNull(spy.getProcessPid("system_server")); in testGetProcessPidEmptyOutput()
/tools/tradefederation/core/src/com/android/tradefed/device/
DNativeDevice.java5499 String pidString = getProcessPid(processName); in getProcessByName()
5874 public String getProcessPid(String process) throws DeviceNotAvailableException { in getProcessPid() method in NativeDevice
DTestDevice.java2534 String pid = getProcessPid(process); in dumpHeap()