/frameworks/native/services/surfaceflinger/EventLog/ |
D | EventLog.cpp | 29 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 …]
|
D | EventLog.h | 27 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/ |
D | SecurityEventTest.java | 35 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/core/tests/utiltests/src/android/util/ |
D | EventLogTest.java | 24 import android.util.EventLog.Event; 46 EventLog.writeEvent(42, 42); in testSimple() 47 EventLog.writeEvent(42, 42L); in testSimple() 48 EventLog.writeEvent(42, 42f); in testSimple() 49 EventLog.writeEvent(42, "forty-two"); in testSimple() 50 EventLog.writeEvent(42, 42, "forty-two", null, 42); in testSimple() 57 EventLog.writeEvent(314, 123); in testWithNewData() 79 EventLog.writeEvent(expectedTag, markerData); in createEvent() 85 EventLog.readEvents(new int[] {expectedTag}, events); in createEvent()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/ |
D | EventLogImpl.kt | 22 class EventLogImpl @Inject constructor() : EventLog { 24 android.util.EventLog.writeEvent(tag, value) 27 android.util.EventLog.writeEvent(tag, value) 30 android.util.EventLog.writeEvent(tag, value) 33 android.util.EventLog.writeEvent(tag, value) 36 android.util.EventLog.writeEvent(tag, *values)
|
D | EventLogModule.kt | 25 @SysUISingleton @Binds fun bindEventLog(eventLogImpl: EventLogImpl?): EventLog?
|
D | EventLog.kt | 28 interface EventLog { interface
|
/frameworks/base/services/backup/java/com/android/server/backup/keyvalue/ |
D | KeyValueBackupReporter.java | 26 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() 265 EventLog.writeEvent(EventLogTags.BACKUP_PACKAGE, packageName, size); in onPackageBackupComplete() 281 EventLog.writeEvent(EventLogTags.BACKUP_QUOTA_EXCEEDED, packageName); in onPackageBackupQuotaExceeded() 301 EventLog.writeEvent(EventLogTags.BACKUP_TRANSPORT_FAILURE, packageName); in onPackageBackupNonIncrementalAndNonIncrementalRequired() 307 EventLog.writeEvent(EventLogTags.BACKUP_TRANSPORT_FAILURE, packageName); in onPackageBackupTransportFailure() [all …]
|
/frameworks/base/tests/DynamicCodeLoggerIntegrationTests/src/com/android/server/pm/dex/ |
D | DynamicCodeLoggerIntegrationTests.java | 30 import android.util.EventLog; 31 import android.util.EventLog.Event; 111 EventLog.writeEvent(SNET_TAG, "Dummy event"); in primeEventLog() 227 EventLog.writeEvent(EventLog.getTagCode("auditd"), in testGeneratesEvents_spoofed_validFile() 255 EventLog.writeEvent(EventLog.getTagCode("auditd"), in testGeneratesEvents_spoofed_validFile_untrustedApp() 293 EventLog.writeEvent(EventLog.getTagCode("auditd"), in testGeneratesEvents_spoofed_pathTraversal() 322 EventLog.writeEvent(EventLog.getTagCode("auditd"), in testGeneratesEvents_spoofed_otherAppFile() 524 EventLog.readEvents(new int[] { SNET_TAG }, events); in readSnetEvents()
|
/frameworks/base/core/java/android/metrics/ |
D | MetricsReader.java | 19 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/ravenwood/runtime-helper-src/framework/com/android/platform/test/ravenwood/nativesubstitution/ |
D | EventLog_host.java | 43 final String tagName = android.util.EventLog.getTagName(tag); in writeEvent() 61 public static void readEvents(int[] tags, Collection<android.util.EventLog.Event> output) { in readEvents() 66 Collection<android.util.EventLog.Event> output) { in readEventsOnWrapping()
|
/frameworks/base/services/backup/java/com/android/server/backup/internal/ |
D | PerformInitializeTask.java | 27 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/ |
D | ContextMenuBuilder.java | 23 import android.util.EventLog; 87 EventLog.writeEvent(50001, 1); in showDialog() 106 EventLog.writeEvent(50001, 1); in showPopup()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | DynamicCodeLoggingService.java | 27 import android.util.EventLog; 253 int[] tags = { EventLog.getTagCode("auditd") }; in processAuditEvents() 262 List<EventLog.Event> events = new ArrayList<>(); in processAuditEvents() 263 EventLog.readEvents(tags, events); in processAuditEvents() 271 EventLog.Event event = events.get(i); in processAuditEvents()
|
/frameworks/base/services/backup/java/com/android/server/backup/restore/ |
D | PerformUnifiedRestoreTask.java | 56 import android.util.EventLog; 542 EventLog.writeEvent( in startRestore() 592 EventLog.writeEvent(EventLogTags.RESTORE_TRANSPORT_FAILURE); in dispatchNextRestore() 601 EventLog.writeEvent( in dispatchNextRestore() 624 EventLog.writeEvent( in dispatchNextRestore() 653 EventLog.writeEvent( in dispatchNextRestore() 698 EventLog.writeEvent(EventLogTags.RESTORE_AGENT_FAILURE, pkgName, message); in dispatchNextRestore() 754 EventLog.writeEvent(EventLogTags.RESTORE_TRANSPORT_FAILURE); in dispatchNextRestore() 788 EventLog.writeEvent( in restoreKeyValue() 804 EventLog.writeEvent( in restoreKeyValue() [all …]
|
/frameworks/base/services/robotests/src/com/android/server/testing/shadows/ |
D | ShadowEventLog.java | 19 import android.util.EventLog; 30 @Implements(EventLog.class)
|
/frameworks/base/services/core/java/com/android/server/selinux/ |
D | SelinuxAuditLogsCollector.java | 18 import android.util.EventLog; 19 import android.util.EventLog.Event; 87 EventLog.readEvents(new int[] {tagCode}, events); in collectLogLines()
|
/frameworks/base/services/contentcapture/java/com/android/server/contentcapture/ |
D | RemoteContentCaptureService.java | 34 import android.util.EventLog; 93 EventLog.writeEvent(EventLogTags.CC_CONNECT_STATE_CHANGED, in handleOnConnectedStateChanged() 107 EventLog.writeEvent(EventLogTags.CC_CONNECT_STATE_CHANGED, in handleOnConnectedStateChanged()
|
/frameworks/base/services/tests/selinux/src/com/android/server/selinux/ |
D | SelinuxAuditLogsCollectorTest.java | 32 import android.util.EventLog; 546 EventLog.writeEvent( in writeTestLog() 560 EventLog.writeEvent( in writeTestLog() 576 EventLog.writeEvent( in writeTestLog() 598 EventLog.writeEvent( in writeTestLog() 620 EventLog.writeEvent( in writeTestLog()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/interruption/ |
D | VisualInterruptionDecisionProviderTestUtil.kt | 31 import com.android.systemui.util.EventLog 43 eventLog: EventLog, in createProviderByFlag()
|
/frameworks/base/services/core/java/com/android/server/updates/ |
D | ConfigUpdateInstallReceiver.java | 24 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/services/core/java/com/android/server/ |
D | SystemServiceManager.java | 34 import android.util.EventLog; 408 EventLog.writeEvent(EventLogTags.SSM_USER_STARTING, userId); in onUserStarting() 416 EventLog.writeEvent(EventLogTags.SSM_USER_UNLOCKING, userId); in onUserUnlocking() 424 EventLog.writeEvent(EventLogTags.SSM_USER_UNLOCKED, userId); in onUserUnlocked() 432 EventLog.writeEvent(EventLogTags.SSM_USER_SWITCHING, from, to); in onUserSwitching() 460 EventLog.writeEvent(EventLogTags.SSM_USER_STOPPING, userId); in onUserStopping() 468 EventLog.writeEvent(EventLogTags.SSM_USER_STOPPED, userId); in onUserStopped() 486 EventLog.writeEvent(EventLogTags.SSM_USER_COMPLETED_EVENT, userId, eventFlags); in onUserCompletedEvent()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | WindowSurfaceController.java | 33 import android.util.EventLog; 104 EventLog.writeEvent(EventLogTags.WM_WALLPAPER_SURFACE, in hideSurface() 176 EventLog.writeEvent(EventLogTags.WM_WALLPAPER_SURFACE, in showRobustly()
|
/frameworks/base/services/core/java/com/android/server/appop/ |
D | AppOpsUidStateTrackerImpl.java | 82 private final EventLog mEventLog; 118 mEventLog = new EventLog(executor, executorThread); in AppOpsUidStateTrackerImpl() 408 private static class EventLog { class in AppOpsUidStateTrackerImpl 439 EventLog(DelayableExecutor executor, Thread executorThread) { in EventLog() method in AppOpsUidStateTrackerImpl.EventLog 448 mExecutor.execute(PooledLambda.obtainRunnable(EventLog::logUpdateUidProcStateAsync, in logUpdateUidProcState() 473 mExecutor.execute(PooledLambda.obtainRunnable(EventLog::logCommitUidStateAsync, in logCommitUidState() 506 mExecutor.execute(PooledLambda.obtainRunnable(EventLog::logEvalForegroundModeAsync, in logEvalForegroundMode()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | BinderInternal.java | 25 import android.util.EventLog; 195 EventLog.writeEvent(2741, reason); in forceGc()
|