Home
last modified time | relevance | path

Searched refs:logs (Results 1 – 25 of 50) sorted by relevance

12

/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/
H A DBootReceiverFixFsckFsStatTest.java35 final String[] logs = { in testTreeOptimization() local
53 doTestFsckFsStat(logs, 0x405, 0x5, 0, logs.length); in testTreeOptimization()
56 System.arraycopy(logs, 0, doubleLogs, 0, logs.length); in testTreeOptimization()
57 System.arraycopy(logs, 0, doubleLogs, logs.length, logs.length); in testTreeOptimization()
59 doTestFsckFsStat(doubleLogs, 0x402, 0x2, logs.length, logs.length * 2); in testTreeOptimization()
81 doTestFsckFsStat(logs, 0x405, 0x405, 0, logs.length); in testQuotaOnly()
102 doTestFsckFsStat(logs, 0x405, 0x405, 0, logs.length); in testOrphaned()
121 doTestFsckFsStat(logs, 0x405, 0x5, 0, logs.length); in testTimestampAdjustment()
139 doTestFsckFsStat(logs, 0x405, 0x5, 0, logs.length); in testTimestampAdjustmentNoFixLine()
163 doTestFsckFsStat(logs, 0x405, 0x405, 0, logs.length); in testTimestampAdjustmentWithQuotaFix()
[all …]
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/log/table/
H A DLogDiffsForTableTest.kt76 val logs = dumpLog() regex
99 assertThat(logs)
134 assertThat(logs)
143 assertThat(logs)
147 assertThat(logs)
151 assertThat(logs)
274 val logs = dumpLog() regex
297 assertThat(logs)
332 assertThat(logs)
341 assertThat(logs)
[all …]
H A DFakeLogProxy.kt31 val logs: MutableList<String> = mutableListOf()
34 logs.add("V $tag: $message")
38 logs.add("D $tag: $message")
42 logs.add("I $tag: $message")
46 logs.add("W $tag: $message")
50 logs.add("E $tag: $message")
54 logs.add("WTF $tag: $message")
H A DTableLogBufferTest.kt943 assertThat(localLogcat.logs).isEmpty()
953 assertThat(localLogcat.logs).hasSize(1)
963 assertThat(localLogcat.logs).hasSize(1)
975 assertThat(localLogcat.logs).isEmpty()
985 assertThat(localLogcat.logs).hasSize(1)
1004 assertThat(localLogcat.logs).hasSize(1)
1010 assertThat(localLogcat.logs[0]).isEqualTo(expectedLine)
1027 assertThat(localLogcat.logs).hasSize(4)
1037 for ((msg, logLine) in expected zip localLogcat.logs) {
/aosp14/frameworks/base/core/java/com/android/internal/logging/testing/
H A DFakeMetricsLogger.java16 private Queue<LogMaker> logs = new LinkedList<>(); field in FakeMetricsLogger
20 logs.offer(log); in saveLog()
24 return logs; in getLogs()
28 logs.clear(); in reset()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/volume/
H A DEventsTest.java93 Queue<LogMaker> logs = mLegacyLogger.getLogs(); in testLogEvent() local
95 assertEquals(0, logs.size()); in testLogEvent()
97 assertEquals(mExpectedMetrics.length, logs.size()); in testLogEvent()
99 assertEquals(mExpectedMetrics[0], logs.remove().getCategory()); in testLogEvent()
102 assertEquals(mExpectedMetrics[1], logs.remove().getCategory()); in testLogEvent()
/aosp14/frameworks/base/apct-tests/perftests/windowmanager/src/android/wm/
H A DWindowManagerPerfTestBase.java146 final ArrayList<LogMaker> logs = new ArrayList<>(); in getMetrics() local
151 logs.add(b); in getMetrics()
155 final TransitionMetrics[] infoArray = new TransitionMetrics[logs.size()]; in getMetrics()
157 final LogMaker log = logs.get(i); in getMetrics()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/footer/domain/interactor/
H A DFooterActionsInteractorTest.kt87 val logs = uiEventLogger.logs regex
88 assertThat(logs)
120 assertThat(metricsLogger.logs.toList())
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
H A DStatusBarStateControllerImplTest.kt82 val logs = uiEventLogger.logs regex
83 assertEquals(3, logs.size)
84 val ids = logs.map(UiEventLoggerFake.FakeUiEvent::eventId)
/aosp14/system/core/bootstat/
H A DREADME.md5 command also aggregates boot event metrics locally and logs the metrics for
38 bootstat logs all boot events recorded using the `-r` option to the EventLog
39 using the Tron histogram. These logs may be uploaded by interested parties
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/temporarydisplay/
H A DTemporaryViewUiEventLoggerTest.kt57 assertThat(uiEventLoggerFake.logs[0].instanceId.id)
58 .isNotEqualTo(uiEventLoggerFake.logs[1].instanceId.id)
/aosp14/frameworks/base/services/core/java/com/android/server/updates/
H A DCertificateTransparencyLogInstallReceiver.java102 JSONArray logs = json.getJSONArray("logs"); in install() local
103 for (int i = 0; i < logs.length(); i++) { in install()
104 JSONObject log = logs.getJSONObject(i); in install()
/aosp14/frameworks/base/tests/SystemMemoryTest/host/src/com/android/tests/sysmem/host/
H A DMetrics.java48 Metrics(Device device, TestMetrics metrics, TestLogData logs) { in Metrics() argument
51 this.mLogs = logs; in Metrics()
/aosp14/frameworks/base/services/core/java/com/android/server/location/eventlog/
H A DLocalEventLog.java211 public static <T> void iterate(LogConsumer<? super T> consumer, LocalEventLog<T>... logs) { in iterate() argument
212 ArrayList<LocalEventLog<T>.LogIterator> its = new ArrayList<>(logs.length); in iterate()
213 for (LocalEventLog<T> log : logs) { in iterate()
/aosp14/frameworks/base/telephony/java/android/service/euicc/
H A DIEuiccServiceDumpResultCallback.aidl21 void onComplete(in String logs); in onComplete() argument
/aosp14/frameworks/base/libs/protoutil/tests/
H A DProtoOutputStream_test.cpp211 ComplexProto::Log log1 = complex.logs(0); in TEST()
215 ComplexProto::Log log2 = complex.logs(1); in TEST()
252 ComplexProto::Log log1 = complex.logs(0); in TEST()
256 ComplexProto::Log log2 = complex.logs(1); in TEST()
309 ComplexProto::Log log1 = complex.logs(0); in TEST()
313 ComplexProto::Log log2 = complex.logs(1); in TEST()
H A Dtest.proto41 repeated Log logs = 2; field
/aosp14/frameworks/base/services/robotests/backup/src/com/android/server/backup/testing/
H A DTestUtils.java124 public static void assertLogcat(String tag, int... logs) { in assertLogcat() argument
129 .containsExactly(IntStream.of(logs).boxed().toArray()); in assertLogcat()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/taptotransfer/receiver/
H A DMediaTttChipControllerReceiverTest.kt195 assertThat(uiEventLoggerFake.logs[0].instanceId).isNotNull()
211 assertThat(uiEventLoggerFake.logs[0].instanceId).isNotNull()
227 assertThat(uiEventLoggerFake.logs[0].instanceId).isNotNull()
243 assertThat(uiEventLoggerFake.logs[0].instanceId).isNotNull()
H A DMediaTttReceiverUiEventLoggerTest.kt31 assertThat(uiEventLoggerFake.logs[0].instanceId).isEqualTo(instanceId)
/aosp14/frameworks/base/core/java/com/android/internal/logging/
H A DEventLogTags.logtags5 # interaction logs
/aosp14/frameworks/base/tools/protologtool/
H A DREADME.md86 * log viewer for reading binary logs,
95 For text-based logs Android LogCat is used as a backend. Message strings are loaded from a viewer c…
100 Binary logs are saved as Protocol Buffers file. They can be read using the ProtoLog tool or special…
/aosp14/frameworks/base/tests/NativeProcessesMemoryTest/src/com/android/tests/nativeprocesses/
H A DNativeProcessesMemoryTest.java69 @Rule public TestLogData logs = new TestLogData(); field in NativeProcessesMemoryTest
171 logs.addTestLog(label + "_showmap", LogDataType.TEXT, source); in logShowmap()
/aosp14/frameworks/base/tests/benchmarks/internal/src/com/android/internal/
H A DLambdaPerfTest.java273 final List<String> logs = shell("logcat -v brief -d tombstoned:I *:S"); in getVmDump() local
274 for (int i = logs.size() - 1; i >= 0; i--) { in getVmDump()
275 final String log = logs.get(i); in getVmDump()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/logging/
H A DNotifications.proto37 // as PriorityBucket order changes from time to time, while logs need to have stable meanings.

12