Home
last modified time | relevance | path

Searched refs:threadNames (Results 1 – 2 of 2) sorted by relevance

/aosp14/frameworks/base/core/tests/coretests/src/com/android/internal/os/
H A DKernelCpuThreadReaderDiffTest.java156 assertThat(threadNames(processes1)).containsExactly("thread0"); in test_threshold()
161 assertThat(threadNames(processes2)).containsExactly("__OTHER_THREADS"); in test_threshold()
166 assertThat(threadNames(processes3)).containsExactly("thread0"); in test_threshold()
182 assertThat(threadNames(processes1)).containsExactly("thread0"); in test_newThread()
188 assertThat(threadNames(processes2)).containsExactly("thread0", "thread1"); in test_newThread()
205 assertThat(threadNames(processes1)).containsExactly("thread0", "thread1"); in test_stoppedThread()
210 assertThat(threadNames(processes2)).containsExactly("thread0"); in test_stoppedThread()
227 assertThat(threadNames(processes1)).containsExactly("__OTHER_THREADS"); in test_nonNegativeOtherThreads()
239 assertThat(threadNames(processes3)).containsExactly("thread0", "thread1"); in test_nonNegativeOtherThreads()
254 assertThat(threadNames(processes1)).containsExactly("__OTHER_THREADS"); in test_otherThreadsOnZeroDiff()
[all …]
H A DKernelCpuThreadReaderTest.java106 String[] threadNames, int[] cpuFrequencies, int[][] cpuTimes) throws IOException { in setupDirectory() argument
125 Files.write(threadPath.resolve("comm"), threadNames[i].getBytes()); in setupDirectory()
140 String[] threadNames, int[] cpuFrequencies, int[][] cpuTimes) { in checkResults() argument
155 assertEquals(threadNames[threadCount], threadCpuUsage.threadName); in checkResults()