Home
last modified time | relevance | path

Searched refs:EventLog (Results 1 – 25 of 123) 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()
219 EventLog.writeEvent(EventLog.getTagCode("auditd"), in testGeneratesEvents_spoofed_validFile()
247 EventLog.writeEvent(EventLog.getTagCode("auditd"), in testGeneratesEvents_spoofed_validFile_untrustedApp()
285 EventLog.writeEvent(EventLog.getTagCode("auditd"), in testGeneratesEvents_spoofed_pathTraversal()
314 EventLog.writeEvent(EventLog.getTagCode("auditd"), in testGeneratesEvents_spoofed_otherAppFile()
516 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()
147 EventLog.writeEvent(EventLogTags.BACKUP_INITIALIZE); in run()
150 EventLog.writeEvent(EventLogTags.BACKUP_SUCCESS, 0, millis); in run()
156 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.java52 import android.util.EventLog;
470 EventLog.writeEvent(EventLogTags.RESTORE_AGENT_FAILURE, in startRestore()
511 EventLog.writeEvent(EventLogTags.RESTORE_TRANSPORT_FAILURE); in dispatchNextRestore()
520 EventLog.writeEvent(EventLogTags.RESTORE_SUCCESS, mCount, millis); in dispatchNextRestore()
533 EventLog.writeEvent(EventLogTags.RESTORE_AGENT_FAILURE, pkgName, in dispatchNextRestore()
551 EventLog.writeEvent(EventLogTags.RESTORE_AGENT_FAILURE, pkgName, in dispatchNextRestore()
577 EventLog.writeEvent(EventLogTags.RESTORE_AGENT_FAILURE, in dispatchNextRestore()
624 EventLog.writeEvent(EventLogTags.RESTORE_TRANSPORT_FAILURE); in dispatchNextRestore()
649 EventLog.writeEvent(EventLogTags.RESTORE_AGENT_FAILURE, packageName, in restoreKeyValue()
662 EventLog.writeEvent(EventLogTags.RESTORE_AGENT_FAILURE, packageName, in restoreKeyValue()
[all …]
/frameworks/base/services/robotests/src/com/android/server/testing/shadows/
DShadowEventLog.java19 import android.util.EventLog;
30 @Implements(EventLog.class)
/frameworks/base/services/contentcapture/java/com/android/server/contentcapture/
DRemoteContentCaptureService.java34 import android.util.EventLog;
93 EventLog.writeEvent(EventLogTags.CC_CONNECT_STATE_CHANGED, in handleOnConnectedStateChanged()
107 EventLog.writeEvent(EventLogTags.CC_CONNECT_STATE_CHANGED, in handleOnConnectedStateChanged()
DContentCapturePerUserService.java63 import android.util.EventLog;
203 EventLog.writeEvent(EventLogTags.CC_CONNECT_STATE_CHANGED, mUserId, in onServiceDied()
638 EventLog.writeEvent(EventLogTags.CC_CURRENT_ALLOWLIST, mUserId, in setContentCaptureWhitelist()
642 EventLog.writeEvent(EventLogTags.CC_SET_ALLOWLIST, mUserId, in setContentCaptureWhitelist()
725 EventLog.writeEvent(EventLogTags.CC_CURRENT_ALLOWLIST, mUserId, addingCount); in updateContentCaptureOptions()
731 EventLog.writeEvent(EventLogTags.CC_UPDATE_OPTIONS, mUserId, addingCount); in updateContentCaptureOptions()
/frameworks/base/services/core/java/com/android/server/
DSystemServiceManager.java33 import android.util.EventLog;
377 EventLog.writeEvent(EventLogTags.SSM_USER_STARTING, userId); in onUserStarting()
385 EventLog.writeEvent(EventLogTags.SSM_USER_UNLOCKING, userId); in onUserUnlocking()
393 EventLog.writeEvent(EventLogTags.SSM_USER_UNLOCKED, userId); in onUserUnlocked()
401 EventLog.writeEvent(EventLogTags.SSM_USER_SWITCHING, from, to); in onUserSwitching()
428 EventLog.writeEvent(EventLogTags.SSM_USER_STOPPING, userId); in onUserStopping()
436 EventLog.writeEvent(EventLogTags.SSM_USER_STOPPED, userId); in onUserStopped()
454 EventLog.writeEvent(EventLogTags.SSM_USER_COMPLETED_EVENT, userId, eventFlags); in onUserCompletedEvent()
/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.java37 import android.util.EventLog;
390 EventLog.writeEvent(EventLogTags.FULL_BACKUP_PACKAGE, packageName); in run()
569 EventLog.writeEvent(EventLogTags.FULL_BACKUP_AGENT_FAILURE, packageName, in run()
585 EventLog.writeEvent(EventLogTags.FULL_BACKUP_QUOTA_EXCEEDED, in run()
595 EventLog.writeEvent(EventLogTags.BACKUP_AGENT_FAILURE, packageName); in run()
604 EventLog.writeEvent(EventLogTags.FULL_BACKUP_CANCELLED, packageName); in run()
612 EventLog.writeEvent(EventLogTags.FULL_BACKUP_TRANSPORT_FAILURE); in run()
622 EventLog.writeEvent(EventLogTags.FULL_BACKUP_SUCCESS, packageName); in run()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DSlicePermissionActivity.java33 import android.util.EventLog;
117 EventLog.writeEvent(0x534e4554, "159145361", getUid(callingPkg)); in verifyCallingPkg()
/frameworks/native/services/surfaceflinger/
DAndroid.bp163 "EventLog/EventLog.cpp",
259 logtags: ["EventLog/EventLogTags.logtags"],
/frameworks/base/packages/DynamicSystemInstallationService/src/com/android/dynsystem/
DDynamicSystemInstallationService.java61 import android.util.EventLog;
122 EventLog.writeEvent( in logEventProgressUpdate()
133 EventLog.writeEvent(EVENT_DSU_INSTALL_COMPLETE); in logEventComplete()
137 EventLog.writeEvent(EVENT_DSU_INSTALL_FAILED, cause); in logEventFailed()
141 EventLog.writeEvent(EVENT_DSU_INSTALL_INSUFFICIENT_SPACE); in logEventInsufficientSpace()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowSurfaceController.java36 import android.util.EventLog;
130 EventLog.writeEvent(EventLogTags.WM_WALLPAPER_SURFACE, in hideSurface()
272 EventLog.writeEvent(EventLogTags.WM_WALLPAPER_SURFACE, in showRobustly()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/core/lifecycle/
DHideNonSystemOverlayMixin.java62 android.util.EventLog.writeEvent(0x534e4554, "120484087", -1, ""); in onStart()
/frameworks/base/services/core/java/com/android/server/power/
DNotifier.java51 import android.util.EventLog;
775 EventLog.writeEvent(EventLogTags.POWER_SCREEN_BROADCAST_SEND, 1); in sendNextBroadcast()
793 EventLog.writeEvent(EventLogTags.POWER_SCREEN_BROADCAST_STOP, 2, 1); in sendWakeUpBroadcast()
801 EventLog.writeEvent(EventLogTags.POWER_SCREEN_BROADCAST_DONE, 1,
816 EventLog.writeEvent(EventLogTags.POWER_SCREEN_BROADCAST_STOP, 3, 1); in sendGoToSleepBroadcast()
824 EventLog.writeEvent(EventLogTags.POWER_SCREEN_BROADCAST_DONE, 0,
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/
DAuthenticationClient.java34 import android.util.EventLog;
212 EventLog.writeEvent(0x534e4554, "159249069", appInfo != null ? appInfo.uid : -1, in onAuthenticated()
220 EventLog.writeEvent(0x534e4554, "159249069", appInfo != null ? appInfo.uid : -1, in onAuthenticated()

12345