Home
last modified time | relevance | path

Searched refs:processNames (Results 1 – 4 of 4) sorted by relevance

/tools/tradefederation/core/src/com/android/tradefed/util/
DJavaCodeCoverageFlusher.java46 public JavaCodeCoverageFlusher(ITestDevice device, List<String> processNames) { in JavaCodeCoverageFlusher() argument
48 mProcessNames = ImmutableList.copyOf(processNames); in JavaCodeCoverageFlusher()
89 List<String> processNames = mProcessNames; in resetCoverage() local
91 if (processNames.isEmpty()) { in resetCoverage()
92 processNames = getAllProcessNames(); in resetCoverage()
99 Sets.intersection(javaPackages, ImmutableSet.copyOf(processNames))) { in resetCoverage()
118 List<String> processNames = mProcessNames; in forceCoverageFlush() local
119 if (processNames.isEmpty()) { in forceCoverageFlush()
120 processNames = getAllProcessNames(); in forceCoverageFlush()
129 Sets.intersection(javaPackages, ImmutableSet.copyOf(processNames))) { in forceCoverageFlush()
DNativeCodeCoverageFlusher.java40 public NativeCodeCoverageFlusher(ITestDevice device, List<String> processNames) { in NativeCodeCoverageFlusher() argument
42 mProcessNames = processNames; in NativeCodeCoverageFlusher()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/rust/
DRustBinaryTestTest.java389 final List<String> processNames = new ArrayList<>(); in testNativeCoverageSpecificProcesses() local
390 processNames.add("init"); in testNativeCoverageSpecificProcesses()
391 processNames.add("surfaceflinger"); in testNativeCoverageSpecificProcesses()
396 for (String processName : processNames) { in testNativeCoverageSpecificProcesses()
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()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
DGTestTest.java548 final List<String> processNames = new ArrayList<>(); in testNativeCoverageSpecificProcesses() local
549 processNames.add("init"); in testNativeCoverageSpecificProcesses()
550 processNames.add("surfaceflinger"); in testNativeCoverageSpecificProcesses()
555 for (String processName : processNames) { in testNativeCoverageSpecificProcesses()
571 EasyMock.expect(mMockITestDevice.getProcessPid(processNames.get(0))).andReturn("1"); in testNativeCoverageSpecificProcesses()
572 EasyMock.expect(mMockITestDevice.getProcessPid(processNames.get(1))).andReturn("1000"); in testNativeCoverageSpecificProcesses()