Home
last modified time | relevance | path

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

/tools/loganalysis/tests/src/com/android/loganalysis/parser/
DKernelLogParserTest.java264 LowMemoryKillerItem lmkItem = kernelLog.getLowMemoryKillerEvents().get(0); in testLowMemoryKillerParse() local
265 assertEquals(KernelLogParser.LOW_MEMORY_KILLER, lmkItem.getCategory()); in testLowMemoryKillerParse()
266 assertEquals(3699, lmkItem.getPid()); in testLowMemoryKillerParse()
267 assertEquals(".qcrilmsgtunnel", lmkItem.getProcessName()); in testLowMemoryKillerParse()
268 assertEquals(100, lmkItem.getAdjustment()); in testLowMemoryKillerParse()
269 assertEquals(LMK_MESSAGE, lmkItem.getStack()); in testLowMemoryKillerParse()
/tools/loganalysis/src/com/android/loganalysis/parser/
DKernelLogParser.java185 LowMemoryKillerItem lmkItem = new LowMemoryKillerItem(); in checkAndAddKernelEvent() local
188 lmkItem.setProcessName(m.group(1)); in checkAndAddKernelEvent()
189 lmkItem.setPid(Integer.parseInt(m.group(2))); in checkAndAddKernelEvent()
190 lmkItem.setAdjustment(Integer.parseInt(m.group(3))); in checkAndAddKernelEvent()
192 kernelLogItem = lmkItem; in checkAndAddKernelEvent()