Home
last modified time | relevance | path

Searched refs:EventLog (Results 1 – 25 of 103) sorted by relevance

12345

/frameworks/native/services/surfaceflinger/EventLog/
DEventLog.cpp29 ANDROID_SINGLETON_STATIC_INSTANCE(EventLog) in ANDROID_SINGLETON_STATIC_INSTANCE() argument
32 EventLog::EventLog() { in ANDROID_SINGLETON_STATIC_INSTANCE()
35 void EventLog::doLogFrameDurations(const std::string_view& name, const int32_t* durations, in doLogFrameDurations()
37 EventLog::TagBuffer buffer(LOGTAG_SF_FRAME_DUR); in doLogFrameDurations()
47 void EventLog::logFrameDurations(const std::string_view& name, const int32_t* durations, in logFrameDurations()
49 EventLog::getInstance().doLogFrameDurations(name, durations, numDurations); in logFrameDurations()
54 EventLog::TagBuffer::TagBuffer(int32_t tag) in TagBuffer()
58 void EventLog::TagBuffer::log() { in log()
69 void EventLog::TagBuffer::startList(int8_t count) { in startList()
81 void EventLog::TagBuffer::endList() { in endList()
[all …]
DEventLog.h27 class EventLog : public Singleton<EventLog> {
34 EventLog();
64 friend class Singleton<EventLog>;
65 EventLog(const EventLog&);
66 EventLog& operator =(const EventLog&);
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DSecurityEventTest.java35 import android.util.EventLog;
36 import android.util.EventLog.Event;
62 EventLog.writeEvent(TAG_ADB_SHELL_CMD, 0); in testSecurityEventId()
72 EventLog.writeEvent(TAG_ADB_SHELL_CMD, "test"); in testSecurityEventParceling()
93 EventLog.writeEvent(TAG_ADB_SHELL_CMD, "command"); in testSecurityEventRedaction()
99 EventLog.writeEvent(TAG_MEDIA_MOUNT, new Object[] {"path", "label"}); in testSecurityEventRedaction()
106 EventLog.writeEvent(TAG_MEDIA_UNMOUNT, new Object[] {"path", "label"}); in testSecurityEventRedaction()
113 EventLog.writeEvent(TAG_APP_PROCESS_START, new Object[] {"process", 12345L, in testSecurityEventRedaction()
121 EventLog.writeEvent(TAG_CERT_AUTHORITY_INSTALLED, new Object[] {1, "subject", 10}); in testSecurityEventRedaction()
128 EventLog.writeEvent(TAG_CERT_AUTHORITY_REMOVED, new Object[] {1, "subject", 20}); in testSecurityEventRedaction()
[all …]
/frameworks/base/services/backup/java/com/android/server/backup/keyvalue/
DKeyValueBackupReporter.java26 import android.util.EventLog;
106 EventLog.writeEvent(EventLogTags.BACKUP_START, transportName); in onTransportReady()
115 EventLog.writeEvent(EventLogTags.BACKUP_INITIALIZE); in onTransportInitialized()
117 EventLog.writeEvent(EventLogTags.BACKUP_TRANSPORT_FAILURE, "(initialize)"); in onTransportInitialized()
201 EventLog.writeEvent(EventLogTags.BACKUP_AGENT_FAILURE, packageName, e.toString()); in onCallAgentDoBackupError()
210 EventLog.writeEvent(EventLogTags.BACKUP_AGENT_FAILURE, packageName, "bad key"); in onAgentIllegalKey()
269 EventLog.writeEvent(EventLogTags.BACKUP_PACKAGE, packageName, size); in onPackageBackupComplete()
285 EventLog.writeEvent(EventLogTags.BACKUP_QUOTA_EXCEEDED, packageName); in onPackageBackupQuotaExceeded()
306 EventLog.writeEvent(EventLogTags.BACKUP_TRANSPORT_FAILURE, packageName); in onPackageBackupNonIncrementalAndNonIncrementalRequired()
312 EventLog.writeEvent(EventLogTags.BACKUP_TRANSPORT_FAILURE, packageName); in onPackageBackupTransportFailure()
[all …]
/frameworks/base/core/tests/coretests/src/android/util/
DEventLogTest.java23 import android.util.EventLog.Event;
38 EventLog.writeEvent(314, 123); in testWithNewData()
60 EventLog.writeEvent(expectedTag, markerData); in createEvent()
66 EventLog.readEvents(new int[] {expectedTag}, events); in createEvent()
/frameworks/base/tests/DynamicCodeLoggerIntegrationTests/src/com/android/server/pm/dex/
DDynamicCodeLoggerIntegrationTests.java27 import android.util.EventLog;
28 import android.util.EventLog.Event;
103 EventLog.writeEvent(SNET_TAG, "Dummy event"); in primeEventLog()
217 EventLog.writeEvent(EventLog.getTagCode("auditd"), in testGeneratesEvents_spoofed_validFile()
245 EventLog.writeEvent(EventLog.getTagCode("auditd"), in testGeneratesEvents_spoofed_validFile_untrustedApp()
283 EventLog.writeEvent(EventLog.getTagCode("auditd"), in testGeneratesEvents_spoofed_pathTraversal()
312 EventLog.writeEvent(EventLog.getTagCode("auditd"), in testGeneratesEvents_spoofed_otherAppFile()
514 EventLog.readEvents(new int[] { SNET_TAG }, events); in readSnetEvents()
/frameworks/base/core/java/android/metrics/
DMetricsReader.java19 import android.util.EventLog;
169 Event(EventLog.Event nativeEvent) { in Event()
208 ArrayList<EventLog.Event> nativeEvents = new ArrayList<>(); in readEvents()
210 EventLog.readEventsOnWrapping(tags, horizonNs, nativeEvents); in readEvents()
211 for (EventLog.Event nativeEvent : nativeEvents) { in readEvents()
/frameworks/base/services/core/java/com/android/server/pm/
DDynamicCodeLoggingService.java27 import android.util.EventLog;
226 int[] tags = { EventLog.getTagCode("auditd") }; in processAuditEvents()
235 List<EventLog.Event> events = new ArrayList<>(); in processAuditEvents()
236 EventLog.readEvents(tags, events); in processAuditEvents()
244 EventLog.Event event = events.get(i); in processAuditEvents()
/frameworks/base/services/backup/java/com/android/server/backup/internal/
DPerformInitializeTask.java27 import android.util.EventLog;
128 EventLog.writeEvent(EventLogTags.BACKUP_START, transportDirName); in run()
146 EventLog.writeEvent(EventLogTags.BACKUP_INITIALIZE); in run()
149 EventLog.writeEvent(EventLogTags.BACKUP_SUCCESS, 0, millis); in run()
155 EventLog.writeEvent(EventLogTags.BACKUP_TRANSPORT_FAILURE, "(initialize)"); in run()
/frameworks/base/core/java/com/android/internal/view/menu/
DContextMenuBuilder.java23 import android.util.EventLog;
87 EventLog.writeEvent(50001, 1); in showDialog()
106 EventLog.writeEvent(50001, 1); in showPopup()
/frameworks/base/services/backup/java/com/android/server/backup/restore/
DPerformUnifiedRestoreTask.java53 import android.util.EventLog;
464 EventLog.writeEvent(EventLogTags.RESTORE_AGENT_FAILURE, in startRestore()
505 EventLog.writeEvent(EventLogTags.RESTORE_TRANSPORT_FAILURE); in dispatchNextRestore()
514 EventLog.writeEvent(EventLogTags.RESTORE_SUCCESS, mCount, millis); in dispatchNextRestore()
527 EventLog.writeEvent(EventLogTags.RESTORE_AGENT_FAILURE, pkgName, in dispatchNextRestore()
545 EventLog.writeEvent(EventLogTags.RESTORE_AGENT_FAILURE, pkgName, in dispatchNextRestore()
571 EventLog.writeEvent(EventLogTags.RESTORE_AGENT_FAILURE, in dispatchNextRestore()
618 EventLog.writeEvent(EventLogTags.RESTORE_TRANSPORT_FAILURE); in dispatchNextRestore()
643 EventLog.writeEvent(EventLogTags.RESTORE_AGENT_FAILURE, packageName, in restoreKeyValue()
656 EventLog.writeEvent(EventLogTags.RESTORE_AGENT_FAILURE, packageName, in restoreKeyValue()
[all …]
/frameworks/base/services/core/java/com/android/server/
DSystemServiceManager.java29 import android.util.EventLog;
289 EventLog.writeEvent(EventLogTags.SSM_USER_STARTING, userId); in onUserStarting()
303 EventLog.writeEvent(EventLogTags.SSM_USER_UNLOCKING, userId); in onUserUnlocking()
311 EventLog.writeEvent(EventLogTags.SSM_USER_UNLOCKED, userId); in onUserUnlocked()
319 EventLog.writeEvent(EventLogTags.SSM_USER_SWITCHING, from, to); in onUserSwitching()
346 EventLog.writeEvent(EventLogTags.SSM_USER_STOPPING, userId); in onUserStopping()
354 EventLog.writeEvent(EventLogTags.SSM_USER_STOPPED, userId); in onUserStopped()
/frameworks/base/services/robotests/src/com/android/server/testing/shadows/
DShadowEventLog.java19 import android.util.EventLog;
30 @Implements(EventLog.class)
/frameworks/base/core/java/android/bluetooth/
DBluetoothHidDeviceAppSdpSettings.java21 import android.util.EventLog;
63 EventLog.writeEvent(0x534e4554, "119819889", -1, ""); in BluetoothHidDeviceAppSdpSettings()
/frameworks/opt/car/services/src/com/android/internal/car/
DCarServiceHelperService.java61 import android.util.EventLog;
248 EventLog.writeEvent(EventLogTags.CAR_HELPER_BOOT_PHASE, phase); in onBootPhase()
274 EventLog.writeEvent(EventLogTags.CAR_HELPER_START); in onStart()
337 EventLog.writeEvent(EventLogTags.CAR_HELPER_USER_UNLOCKING, user.getUserIdentifier()); in onUserUnlocking()
347 EventLog.writeEvent(EventLogTags.CAR_HELPER_USER_UNLOCKED, userId); in onUserUnlocked()
362 EventLog.writeEvent(EventLogTags.CAR_HELPER_USER_STARTING, user.getUserIdentifier()); in onUserStarting()
371 EventLog.writeEvent(EventLogTags.CAR_HELPER_USER_STOPPING, user.getUserIdentifier()); in onUserStopping()
382 EventLog.writeEvent(EventLogTags.CAR_HELPER_USER_STOPPED, user.getUserIdentifier()); in onUserStopped()
391 EventLog.writeEvent(EventLogTags.CAR_HELPER_USER_SWITCHING, in onUserSwitching()
/frameworks/base/services/core/java/com/android/server/updates/
DConfigUpdateInstallReceiver.java24 import android.util.EventLog;
78 EventLog.writeEvent(EventLogTags.CONFIG_INSTALL_FAILED, in onReceive()
96 EventLog.writeEvent(EventLogTags.CONFIG_INSTALL_FAILED, errMsg); in onReceive()
/frameworks/base/core/java/com/android/internal/os/
DBinderInternal.java25 import android.util.EventLog;
195 EventLog.writeEvent(2741, reason); in forceGc()
/frameworks/base/services/backup/java/com/android/server/backup/fullbackup/
DPerformFullTransportBackupTask.java40 import android.util.EventLog;
376 EventLog.writeEvent(EventLogTags.FULL_BACKUP_PACKAGE, packageName); in run()
555 EventLog.writeEvent(EventLogTags.FULL_BACKUP_AGENT_FAILURE, packageName, in run()
571 EventLog.writeEvent(EventLogTags.FULL_BACKUP_QUOTA_EXCEEDED, in run()
581 EventLog.writeEvent(EventLogTags.BACKUP_AGENT_FAILURE, packageName); in run()
590 EventLog.writeEvent(EventLogTags.FULL_BACKUP_CANCELLED, packageName); in run()
598 EventLog.writeEvent(EventLogTags.FULL_BACKUP_TRANSPORT_FAILURE); in run()
608 EventLog.writeEvent(EventLogTags.FULL_BACKUP_SUCCESS, packageName); in run()
/frameworks/native/services/surfaceflinger/
DAndroid.bp155 "EventLog/EventLog.cpp",
249 logtags: ["EventLog/EventLogTags.logtags"],
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DSlicePermissionActivity.java33 import android.util.EventLog;
114 EventLog.writeEvent(0x534e4554, "159145361", getUid(callingPkg)); in verifyCallingPkg()
/frameworks/base/core/java/com/android/internal/util/
DLatencyTracker.java23 import android.util.EventLog;
328 EventLog.writeEvent(EventLogTags.SYSUI_LATENCY, action, duration); in logActionDeprecated()
/frameworks/base/services/core/java/com/android/server/power/
DNotifier.java49 import android.util.EventLog;
718 EventLog.writeEvent(EventLogTags.POWER_SCREEN_BROADCAST_SEND, 1); in sendNextBroadcast()
736 EventLog.writeEvent(EventLogTags.POWER_SCREEN_BROADCAST_STOP, 2, 1); in sendWakeUpBroadcast()
744 EventLog.writeEvent(EventLogTags.POWER_SCREEN_BROADCAST_DONE, 1,
759 EventLog.writeEvent(EventLogTags.POWER_SCREEN_BROADCAST_STOP, 3, 1); in sendGoToSleepBroadcast()
767 EventLog.writeEvent(EventLogTags.POWER_SCREEN_BROADCAST_DONE, 0,
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/
DAuthenticationClient.java36 import android.util.EventLog;
237 EventLog.writeEvent(0x534e4554, "159249069", appInfo != null ? appInfo.uid : -1, in onAuthenticated()
245 EventLog.writeEvent(0x534e4554, "159249069", appInfo != null ? appInfo.uid : -1, in onAuthenticated()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/core/lifecycle/
DHideNonSystemOverlayMixin.java62 android.util.EventLog.writeEvent(0x534e4554, "120484087", -1, ""); in onStart()
/frameworks/base/packages/SystemUI/src/com/android/systemui/wifi/
DWifiDebuggingActivity.java34 import android.util.EventLog;
112 EventLog.writeEvent(0x534e4554, "62187985"); // safety net logging in onCreate()

12345