/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | DevicePolicyEventLoggerTest.java | 40 final DevicePolicyEventLogger eventLogger = DevicePolicyEventLogger in testAllFields() local 47 assertThat(eventLogger.getEventId()).isEqualTo(5); in testAllFields() 48 assertThat(eventLogger.getBoolean()).isTrue(); in testAllFields() 49 assertThat(eventLogger.getStringArray()).asList() in testAllFields() 51 assertThat(eventLogger.getAdminPackageName()).isEqualTo("com.test.package"); in testAllFields() 52 assertThat(eventLogger.getInt()).isEqualTo(4321); in testAllFields() 53 assertThat(eventLogger.getTimePeriod()).isEqualTo(1234L); in testAllFields() 104 final DevicePolicyEventLogger eventLogger = DevicePolicyEventLogger in testDefaultValues() local 106 assertThat(eventLogger.getEventId()).isEqualTo(0); in testDefaultValues() 107 assertThat(eventLogger.getBoolean()).isFalse(); in testDefaultValues() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/ |
D | TakeScreenshotServiceTest.kt | 76 private val eventLogger = UiEventLoggerFake() constant in com.android.systemui.screenshot.TakeScreenshotServiceTest 126 assertWithMessage("UiEvent count").that(eventLogger.numLogs()).isEqualTo(2) in takeScreenshotFullscreen_userLocked() 128 val requestEvent = eventLogger.get(0) in takeScreenshotFullscreen_userLocked() 137 val failureEvent = eventLogger.get(1) in takeScreenshotFullscreen_userLocked() 166 assertWithMessage("Expected two UiEvents").that(eventLogger.numLogs()).isEqualTo(2) in takeScreenshotFullscreen_screenCaptureDisabled_allUsers() 168 val requestEvent = eventLogger.get(0) in takeScreenshotFullscreen_screenCaptureDisabled_allUsers() 179 val failureEvent = eventLogger.get(1) in takeScreenshotFullscreen_screenCaptureDisabled_allUsers() 197 eventLogger, in createService()
|
D | TakeScreenshotExecutorTest.kt | 56 private val eventLogger = UiEventLoggerFake() in <lambda>() constant in com.android.systemui.screenshot.TakeScreenshotExecutorTest 65 eventLogger, in <lambda>() 97 assertThat(eventLogger.numLogs()).isEqualTo(2) in <lambda>() 98 assertThat(eventLogger.get(0).eventId) in <lambda>() 100 assertThat(eventLogger.get(0).packageName).isEqualTo(topComponent.packageName) in <lambda>() 101 assertThat(eventLogger.get(1).eventId) in <lambda>() 103 assertThat(eventLogger.get(1).packageName).isEqualTo(topComponent.packageName) in <lambda>() 131 assertThat(eventLogger.numLogs()).isEqualTo(1) in <lambda>() 132 assertThat(eventLogger.get(0).eventId) in <lambda>() 134 assertThat(eventLogger.get(0).packageName).isEqualTo(topComponent.packageName) in <lambda>() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/ |
D | TileServiceRequestController.kt | 50 private val eventLogger: TileRequestDialogEventLogger, in <lambda>() constant in com.android.systemui.qs.external.TileServiceRequestController 111 val instanceId = eventLogger.newInstanceId() in requestTileAdd() 115 eventLogger.logTileAlreadyAdded(packageName, instanceId) in requestTileAdd() 123 eventLogger.logUserResponse(response, packageName, instanceId) in requestTileAdd() 141 eventLogger.logDialogShown(packageName, instanceId) in requestTileAdd()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/notetask/ |
D | NoteTaskControllerTest.kt | 104 @Mock private lateinit var eventLogger: NoteTaskEventLogger in <lambda>() variable in com.android.systemui.notetask.NoteTaskControllerTest 152 eventLogger = eventLogger, in <lambda>() 180 verify(eventLogger).logNoteTaskOpened(expectedInfo) in <lambda>() 195 verify(eventLogger).logNoteTaskClosed(expectedInfo) in <lambda>() 210 verifyZeroInteractions(bubbles, keyguardManager, userManager, eventLogger) in <lambda>() 224 verifyZeroInteractions(bubbles, keyguardManager, userManager, eventLogger) in <lambda>() 235 verifyZeroInteractions(bubbles, keyguardManager, userManager, eventLogger) in <lambda>() 246 verifyZeroInteractions(bubbles, keyguardManager, userManager, eventLogger) in <lambda>() 277 verify(eventLogger).logNoteTaskOpened(expectedInfo) in <lambda>() 301 verify(eventLogger).logNoteTaskOpened(expectedInfo) in <lambda>() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/notetask/ |
D | NoteTaskController.kt | 77 private val eventLogger: NoteTaskEventLogger, constant in com.android.systemui.notetask.NoteTaskController 105 eventLogger.logNoteTaskOpened(info) in onBubbleExpandChanged() 108 eventLogger.logNoteTaskClosed(info) in onBubbleExpandChanged() 236 eventLogger.logNoteTaskClosed(info) in awaitShowNoteTaskAsUser() 241 eventLogger.logNoteTaskOpened(info) in awaitShowNoteTaskAsUser()
|
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger_middleware/ |
D | SoundTriggerMiddlewareLogging.java | 158 var eventLogger = new EventLogger(SESSION_MAX_EVENT_SIZE, in attach() local 161 var callbackWrapper = new CallbackLogging(callback, eventLogger, originatorIdentity); in attach() 163 result.attach(mDelegate.attach(handle, callbackWrapper, isTrusted), eventLogger); in attach() local 170 mSessionEventLoggers.add(eventLogger); in attach() 191 void attach(@NonNull ISoundTriggerModule delegate, EventLogger eventLogger) { in attach() argument 193 mEventLogger = eventLogger; in attach() 379 EventLogger eventLogger, Identity originatorIdentity) { in CallbackLogging() argument 381 mEventLogger = Objects.requireNonNull(eventLogger); in CallbackLogging()
|
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger/ |
D | SoundTriggerService.java | 317 ModuleProperties moduleProperties, EventLogger eventLogger) { in newSoundTriggerHelper() argument 318 return newSoundTriggerHelper(moduleProperties, eventLogger, false); in newSoundTriggerHelper() 321 ModuleProperties moduleProperties, EventLogger eventLogger, boolean isTrusted) { in newSoundTriggerHelper() argument 341 eventLogger, in newSoundTriggerHelper() 412 var eventLogger = new EventLogger(SESSION_MAX_EVENT_SIZE, in attachAsOriginator() local 419 newSoundTriggerHelper(moduleProperties, eventLogger), eventLogger); in attachAsOriginator() 435 var eventLogger = new EventLogger(SESSION_MAX_EVENT_SIZE, in attachAsMiddleman() local 442 newSoundTriggerHelper(moduleProperties, eventLogger), eventLogger); in attachAsMiddleman() 522 SoundTriggerHelper soundTriggerHelper, EventLogger eventLogger) { in SoundTriggerSessionStub() argument 526 mEventLogger = eventLogger; in SoundTriggerSessionStub() [all …]
|
D | DeviceStateHandler.java | 132 public DeviceStateHandler(Executor callbackExecutor, EventLogger eventLogger) { in DeviceStateHandler() argument 134 mEventLogger = Objects.requireNonNull(eventLogger); in DeviceStateHandler()
|
D | SoundTriggerHelper.java | 125 SoundTriggerHelper(Context context, EventLogger eventLogger, in SoundTriggerHelper() argument 132 mEventLogger = eventLogger; in SoundTriggerHelper()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/user/ui/dialog/ |
D | UserSwitcherDialogCoordinator.kt | 58 private val eventLogger: Lazy<UiEventLogger>, in <lambda>() constant in com.android.systemui.user.ui.dialog.UserSwitcherDialogCoordinator 122 uiEventLogger = eventLogger.get(), in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/ |
D | InternetTileNewImplTest.kt | 81 @Mock private lateinit var eventLogger: QsEventLogger variable in com.android.systemui.qs.tiles.InternetTileNewImplTest 112 eventLogger, in setUp()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | BatteryStatsHistory.java | 601 MonotonicClock monotonicClock, TraceDelegate tracer, EventLogger eventLogger) { in BatteryStatsHistory() argument 603 clock, monotonicClock, tracer, eventLogger, null); in BatteryStatsHistory() 610 @NonNull EventLogger eventLogger, @Nullable BatteryStatsHistory writableHistory) { in BatteryStatsHistory() argument 617 mEventLogger = eventLogger; in BatteryStatsHistory()
|
/frameworks/base/services/core/java/com/android/server/power/stats/ |
D | BatteryStatsImpl.java | 11240 @NonNull BatteryStatsHistory.EventLogger eventLogger) { in BatteryStatsImpl() argument 11268 mClock, mMonotonicClock, traceDelegate, eventLogger); in BatteryStatsImpl()
|