Home
last modified time | relevance | path

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

123

/frameworks/base/services/tests/servicestests/src/com/android/server/
DBootReceiverFixFsckFsStatTest.java35 final String[] logs = { in testTreeOptimization() local
53 doTestFsckFsStat(logs, 0x405, 0x5, 0, logs.length); in testTreeOptimization()
55 final String[] doubleLogs = new String[logs.length * 2]; 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()
58 doTestFsckFsStat(doubleLogs, 0x401, 0x1, 0, logs.length); in testTreeOptimization()
59 doTestFsckFsStat(doubleLogs, 0x402, 0x2, logs.length, logs.length * 2); in testTreeOptimization()
64 final String[] logs = { in testQuotaOnly() local
81 doTestFsckFsStat(logs, 0x405, 0x405, 0, logs.length); in testQuotaOnly()
86 final String[] logs = { in testOrphaned() local
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/log/table/
DLogDiffsForTableTest.kt65 val logs = dumpLog() in boolean_doesNotLogWhenNotCollected() constant
66 assertThat(logs).doesNotContain(COLUMN_PREFIX) in boolean_doesNotLogWhenNotCollected()
67 assertThat(logs).doesNotContain(COLUMN_NAME) in boolean_doesNotLogWhenNotCollected()
68 assertThat(logs).doesNotContain("false") in boolean_doesNotLogWhenNotCollected()
87 val logs = dumpLog() in boolean_logsInitialWhenCollected() constant
88 assertThat(logs) in boolean_logsInitialWhenCollected()
121 val logs = dumpLog() in boolean_logsUpdates() constant
122 assertThat(logs) in boolean_logsUpdates()
126 assertThat(logs) in boolean_logsUpdates()
130 assertThat(logs) in boolean_logsUpdates()
[all …]
/frameworks/base/core/java/com/android/internal/logging/testing/
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()
/frameworks/rs/tests/java_api/Refocus/dataExtraction/
DRefocusTestTimingProcess.txt17 …….logs 1...
19 ……..logs 2...
21 …….logs 3….
24 …..logs 1…..
26 …..logs 2…..
28 …..logs 3…..
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/volume/
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()
/frameworks/av/drm/libmediadrm/interface/mediadrm/
DDrmUtils.h295 status_t GetLogMessagesAidl(const std::shared_ptr<U> &obj, Vector<::V1_4::LogMessage> &logs) { in GetLogMessagesAidl() argument
329 logs.appendVector(allLogs); in GetLogMessagesAidl()
334 status_t GetLogMessages(const sp<U> &obj, Vector<::V1_4::LogMessage> &logs) { in GetLogMessages() argument
372 logs.appendVector(allLogs); in GetLogMessages()
377 const Vector<::V1_4::LogMessage> &logs);
381 Vector<::V1_4::LogMessage> logs; in GetExceptionMessage() local
382 iface->getLogMessages(logs); in GetExceptionMessage()
383 return GetExceptionMessage(err, msg, logs); in GetExceptionMessage()
DICrypto.h90 virtual status_t getLogMessages(Vector<drm::V1_4::LogMessage> &logs) const = 0;
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DStatusBarStateControllerImplTest.kt82 val logs = uiEventLogger.logs in testChangeState_logged() constant
83 assertEquals(3, logs.size) in testChangeState_logged()
84 val ids = logs.map(UiEventLoggerFake.FakeUiEvent::eventId) in testChangeState_logged()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/footer/domain/interactor/
DFooterActionsInteractorTest.kt87 val logs = uiEventLogger.logs in showPowerMenuDialog() constant
88 assertThat(logs) in showPowerMenuDialog()
120 assertThat(metricsLogger.logs.toList()) in showSettings_userSetUp()
/frameworks/av/drm/libmediadrm/
DCryptoHal.cpp109 status_t CryptoHal::getLogMessages(Vector<drm::V1_4::LogMessage>& logs) const { in getLogMessages()
111 if (mCryptoHalAidl->initCheck() == OK) return mCryptoHalAidl->getLogMessages(logs); in getLogMessages()
112 return mCryptoHalHidl->getLogMessages(logs); in getLogMessages()
DDrmUtils.cpp366 const Vector<::V1_4::LogMessage>& logs) { in GetExceptionMessage() argument
379 for (auto log : logs) { in GetExceptionMessage()
406 Vector<::V1_4::LogMessage> logs; in getLogs() local
408 logs.push_back(log); in getLogs()
410 return logs; in getLogs()
/frameworks/base/services/core/java/com/android/server/updates/
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()
/frameworks/base/tests/SystemMemoryTest/host/src/com/android/tests/sysmem/host/
DMetrics.java48 Metrics(Device device, TestMetrics metrics, TestLogData logs) { in Metrics() argument
51 this.mLogs = logs; in Metrics()
/frameworks/base/telephony/java/android/service/euicc/
DIEuiccServiceDumpResultCallback.aidl21 void onComplete(in String logs); in onComplete() argument
/frameworks/base/services/core/java/com/android/server/location/eventlog/
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()
/frameworks/base/core/java/com/android/internal/logging/
DEventLogTags.logtags5 # interaction logs
/frameworks/base/libs/protoutil/tests/
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()
Dtest.proto41 repeated Log logs = 2; field
/frameworks/base/services/robotests/backup/src/com/android/server/backup/testing/
DTestUtils.java124 public static void assertLogcat(String tag, int... logs) { in assertLogcat() argument
129 .containsExactly(IntStream.of(logs).boxed().toArray()); in assertLogcat()
/frameworks/base/tools/protologtool/
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…
/frameworks/base/tests/NativeProcessesMemoryTest/src/com/android/tests/nativeprocesses/
DNativeProcessesMemoryTest.java69 @Rule public TestLogData logs = new TestLogData(); field in NativeProcessesMemoryTest
171 logs.addTestLog(label + "_showmap", LogDataType.TEXT, source); in logShowmap()
/frameworks/av/drm/libmediadrm/include/mediadrm/
DCryptoHal.h50 virtual status_t getLogMessages(Vector<drm::V1_4::LogMessage> &logs) const;
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/domain/interactor/
DKeyguardLongPressInteractorTest.kt149 fun `logs when menu is shown`() = in <lambda>()
161 fun `logs when menu is clicked`() = in <lambda>()
/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/
DCryptoPlugin.cpp252 std::vector<LogMessage> logs = { in getLogMessages() local
254 _hidl_cb(drm::V1_4::Status::OK, toHidlVec(logs)); in getLogMessages()
/frameworks/base/tests/benchmarks/internal/src/com/android/internal/
DLambdaPerfTest.java280 final List<String> logs = shell("logcat -v brief -d tombstoned:I *:S"); in getVmDump() local
281 for (int i = logs.size() - 1; i >= 0; i--) { in getVmDump()
282 final String log = logs.get(i); in getVmDump()

123