Searched refs:getProcessPid (Results 1 – 7 of 7) sorted by relevance
75 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()
252 verify(mMockDevice, never()).getProcessPid(anyString()); in testNoAdbRootFlush_noOp()
109 String pid = mDevice.getProcessPid(processName); in resetCoverage()139 String pid = mDevice.getProcessPid(processName); in forceCoverageFlush()
1634 public String getProcessPid(String process) throws DeviceNotAvailableException; in getProcessPid() method
2313 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()
5499 String pidString = getProcessPid(processName); in getProcessByName()5874 public String getProcessPid(String process) throws DeviceNotAvailableException { in getProcessPid() method in NativeDevice
2534 String pid = getProcessPid(process); in dumpHeap()