Home
last modified time | relevance | path

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

/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DJavaCodeCoverageFlusherTest.java72 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()
DNativeCodeCoverageFlusherTest.java97 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()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/rust/
DRustBinaryTestTest.java415 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()
/tools/tradefederation/core/src/com/android/tradefed/util/
DJavaCodeCoverageFlusher.java100 String pid = mDevice.getProcessPid(processName); in resetCoverage()
130 String pid = mDevice.getProcessPid(processName); in forceCoverageFlush()
DNativeCodeCoverageFlusher.java72 String pid = mDevice.getProcessPid(processName); in forceCoverageFlush()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
DNativeCodeCoverageListenerTest.java195 doReturn("123").when(mMockDevice).getProcessPid("mediaserver"); in testCoverageFlushSpecificProcesses_flushCommandCalled()
196 doReturn("56789").when(mMockDevice).getProcessPid("adbd"); in testCoverageFlushSpecificProcesses_flushCommandCalled()
DGTestTest.java571 EasyMock.expect(mMockITestDevice.getProcessPid(processNames.get(0))).andReturn("1"); in testNativeCoverageSpecificProcesses()
572 EasyMock.expect(mMockITestDevice.getProcessPid(processNames.get(1))).andReturn("1000"); in testNativeCoverageSpecificProcesses()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DNativeDeviceTest.java2290 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()
/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/device/
DINativeDevice.java1484 public String getProcessPid(String process) throws DeviceNotAvailableException; in getProcessPid() method
/tools/tradefederation/core/src/com/android/tradefed/device/
DNativeDevice.java4565 String pidString = getProcessPid(processName); in getProcessByName()
4838 public String getProcessPid(String process) throws DeviceNotAvailableException { in getProcessPid() method in NativeDevice
DTestDevice.java1855 String pid = getProcessPid(process); in dumpHeap()