Searched refs:getProcessPid (Results 1 – 11 of 11) sorted by relevance
72 doReturn("123").when(mMockDevice).getProcessPid("com.android.bluetooth"); in testResetAll_calledForAllProcesses()73 doReturn("4567").when(mMockDevice).getProcessPid("com.google.android.gms.persistent"); in testResetAll_calledForAllProcesses()74 doReturn("890").when(mMockDevice).getProcessPid("com.android.phone"); in testResetAll_calledForAllProcesses()101 doReturn("123").when(mMockDevice).getProcessPid("com.android.phone"); in testResetSpecific_calledForSpecificProcesses()120 doReturn("123").when(mMockDevice).getProcessPid("com.android.bluetooth"); in testDumpAll_calledForAllProcesses()121 doReturn("4567").when(mMockDevice).getProcessPid("com.google.android.gms.persistent"); in testDumpAll_calledForAllProcesses()122 doReturn("890").when(mMockDevice).getProcessPid("com.android.phone"); in testDumpAll_calledForAllProcesses()161 doReturn("234").when(mMockDevice).getProcessPid("com.android.bluetooth"); in testDumpSpecific_calledForSpecificProcesses()
97 doReturn("12").when(mMockDevice).getProcessPid(processes.get(0)); in testFlushCoverageSpecificProcesses_flushSpecificCommandCalled()98 doReturn("789").when(mMockDevice).getProcessPid(processes.get(1)); in testFlushCoverageSpecificProcesses_flushSpecificCommandCalled()121 verify(mMockDevice, never()).getProcessPid(anyString()); in testNoAdbRootFlush_noOp()
415 EasyMock.expect(mMockITestDevice.getProcessPid(processNames.get(0))).andReturn("1"); in testNativeCoverageSpecificProcesses()416 EasyMock.expect(mMockITestDevice.getProcessPid(processNames.get(0))).andReturn("1"); in testNativeCoverageSpecificProcesses()417 EasyMock.expect(mMockITestDevice.getProcessPid(processNames.get(0))).andReturn("1"); in testNativeCoverageSpecificProcesses()418 EasyMock.expect(mMockITestDevice.getProcessPid(processNames.get(1))).andReturn("1000"); in testNativeCoverageSpecificProcesses()419 EasyMock.expect(mMockITestDevice.getProcessPid(processNames.get(1))).andReturn("1000"); in testNativeCoverageSpecificProcesses()420 EasyMock.expect(mMockITestDevice.getProcessPid(processNames.get(1))).andReturn("1000"); in testNativeCoverageSpecificProcesses()
100 String pid = mDevice.getProcessPid(processName); in resetCoverage()130 String pid = mDevice.getProcessPid(processName); in forceCoverageFlush()
72 String pid = mDevice.getProcessPid(processName); in forceCoverageFlush()
195 doReturn("123").when(mMockDevice).getProcessPid("mediaserver"); in testCoverageFlushSpecificProcesses_flushCommandCalled()196 doReturn("56789").when(mMockDevice).getProcessPid("adbd"); in testCoverageFlushSpecificProcesses_flushCommandCalled()
571 EasyMock.expect(mMockITestDevice.getProcessPid(processNames.get(0))).andReturn("1"); in testNativeCoverageSpecificProcesses()572 EasyMock.expect(mMockITestDevice.getProcessPid(processNames.get(1))).andReturn("1000"); in testNativeCoverageSpecificProcesses()
2290 assertEquals(fakePid, spy.getProcessPid("system_server")); in testGetProcessPid()2301 assertEquals(fakePid, spy.getProcessPid("system_server")); in testGetProcessPidWithNewLine()2311 assertNull(spy.getProcessPid("system_server")); in testGetProcessPidInvalidOutput()2321 assertNull(spy.getProcessPid("system_server")); in testGetProcessPidEmptyOutput()
1484 public String getProcessPid(String process) throws DeviceNotAvailableException; in getProcessPid() method
4565 String pidString = getProcessPid(processName); in getProcessByName()4838 public String getProcessPid(String process) throws DeviceNotAvailableException { in getProcessPid() method in NativeDevice
1855 String pid = getProcessPid(process); in dumpHeap()