Home
last modified time | relevance | path

Searched refs:logcat (Results 1 – 15 of 15) sorted by relevance

/tools/loganalysis/tests/src/com/android/loganalysis/parser/
DLogcatParserTest.java48 LogcatItem logcat = new LogcatParser("2012").parse(lines); in testParse_anr() local
49 assertNotNull(logcat); in testParse_anr()
50 assertEquals(parseTime("2012-04-25 17:17:08.445"), logcat.getStartTime()); in testParse_anr()
51 assertEquals(parseTime("2012-04-25 17:17:08.445"), logcat.getStopTime()); in testParse_anr()
52 assertEquals(1, logcat.getEvents().size()); in testParse_anr()
53 assertEquals(1, logcat.getAnrs().size()); in testParse_anr()
54 assertEquals(312, logcat.getAnrs().get(0).getPid().intValue()); in testParse_anr()
55 assertEquals(366, logcat.getAnrs().get(0).getTid().intValue()); in testParse_anr()
56 assertEquals("", logcat.getAnrs().get(0).getLastPreamble()); in testParse_anr()
57 assertEquals("", logcat.getAnrs().get(0).getProcessPreamble()); in testParse_anr()
[all …]
DLogcatParserFuncTest.java41 LogcatItem logcat = null; in testParse() local
44 logcat = new LogcatParser().parse(logcatReader); in testParse()
56 assertNotNull(logcat); in testParse()
57 assertNotNull(logcat.getStartTime()); in testParse()
58 assertNotNull(logcat.getStopTime()); in testParse()
64 logcat.getStartTime().toString(), in testParse()
65 logcat.getStopTime().toString(), in testParse()
66 logcat.getAnrs().size(), in testParse()
67 logcat.getJavaCrashes().size(), in testParse()
68 logcat.getNativeCrashes().size())); in testParse()
/tools/test/connectivity/acts/framework/tests/controllers/android_lib/
Dlogcat_test.py20 from acts.controllers.android_lib import logcat
21 from acts.controllers.android_lib.logcat import TimestampTracker
34 self._get_log_level = logcat._get_log_level
37 logcat._get_log_level = self._get_log_level
64 level = logcat._get_log_level(BASE_TIMESTAMP + 'V')
70 level = logcat._get_log_level(BASE_TIMESTAMP + 'D')
76 level = logcat._get_log_level(BASE_TIMESTAMP + 'I')
82 level = logcat._get_log_level(BASE_TIMESTAMP + 'W')
88 level = logcat._get_log_level(BASE_TIMESTAMP + 'E')
94 level = logcat._get_log_level('--------- beginning of main')
[all …]
/tools/loganalysis/src/com/android/loganalysis/item/
DLogcatItem.java162 LogcatItem logcat = (LogcatItem) other; in merge() local
164 Date start = logcat.getStartTime().before(getStartTime()) ? in merge()
165 logcat.getStartTime() : getStartTime(); in merge()
166 Date stop = logcat.getStopTime().after(getStopTime()) ? in merge()
167 logcat.getStopTime() : getStopTime(); in merge()
168 Date overlapStart = logcat.getStartTime().after(getStartTime()) ? in merge()
169 logcat.getStartTime() : getStartTime(); in merge()
170 Date overlapStop = logcat.getStopTime().before(getStopTime()) ? in merge()
171 logcat.getStopTime() : getStopTime(); in merge()
178 !logcat.getEvents().contains(event)) { in merge()
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/result/
DLogcatCrashResultForwarderTest.java76 String logcat = in testCaptureTestCrash_oneCrashingLogcat() local
90 .andReturn(new ByteArrayInputStreamSource(logcat.getBytes())); in testCaptureTestCrash_oneCrashingLogcat()
125 String logcat = in testCaptureTestCrash_oneCrashingLogcatAfterTestEnded() local
139 .andReturn(new ByteArrayInputStreamSource(logcat.getBytes())); in testCaptureTestCrash_oneCrashingLogcatAfterTestEnded()
173 String logcat = in testCaptureTestCrash_duplicateStack() local
187 .andReturn(new ByteArrayInputStreamSource(logcat.getBytes())); in testCaptureTestCrash_duplicateStack()
/tools/test/graphicsbenchmark/functional_tests/hostside/src/com/android/game/qualification/test/
DMemoryTests.java82 …BufferedReader logcat = new BufferedReader(new InputStreamReader(logcatSource.createInputStream())… in testMemoryAllocationLimit()
85 String s = logcat.readLine(); in testMemoryAllocationLimit()
93 s = logcat.readLine(); in testMemoryAllocationLimit()
/tools/loganalysis/src/com/android/loganalysis/
DLogAnalyzer.java124 LogcatItem logcat = new LogcatParser().parse(reader); in run() local
125 printLogcat(logcat); in run()
240 private void printLogcat(LogcatItem logcat) { in printLogcat() argument
242 printJson(logcat); in printLogcat()
/tools/tradefederation/contrib/src/com/android/media/tests/
DAudioLoopbackTest.java840 private void saveLogcatForIteration(ResultData data, InputStreamSource logcat, int iteration) { in saveLogcatForIteration() argument
841 if (logcat == null) { in saveLogcatForIteration()
853 Files.copy(logcat.createInputStream(), temp.toPath(), REPLACE_EXISTING); in saveLogcatForIteration()
854 logcat.close(); in saveLogcatForIteration()
/tools/test/connectivity/acts/framework/acts/controllers/fuchsia_lib/
Dsyslog_lib.py24 from acts.controllers.android_lib.logcat import TimestampTracker
/tools/test/connectivity/acts/framework/acts/test_utils/bt/
DBtSarBaseTest.py245 bt_adb_log = ad.adb.logcat('-b all -t %s' % begin_time)
/tools/test/connectivity/acts/tests/google/bt/pts/instructions/
DGATT_PTS_INSTRUCTIONS878 # Have a logcat going as such: adb logcat | grep GattServer11onCharacteristicReadRequest
1157 Note: This test is a little tricky. Need to monitor logcat as such: adb logcat | grep offset.
DSM_PTS_INSTRUCTIONS208 5. After it fails grab the logcat.
/tools/test/connectivity/acts/framework/acts/controllers/
Dandroid_device.py36 from acts.controllers.android_lib import logcat
814 self.adb_logcat_process = logcat.create_logcat_keepalive_process(
/tools/test/connectivity/acts/framework/acts/test_utils/tel/
DTelephonyBaseTest.py471 output = ad.adb.logcat("-t 1")
/tools/tradefederation/core/tests/res/testdata/
Dtradefed-prebuilt-cts-8.0_r21.jarMETA-INF/ META-INF/MANIFEST.MF jline/ jline/CompletionHandler.class CompletionHandler ...