Home
last modified time | relevance | path

Searched refs:mLogger (Results 1 – 25 of 50) sorted by relevance

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DDozeLog.java44 private final DozeLogger mLogger; field in DozeLog
61 mLogger = logger; in DozeLog()
86 mLogger.logPickupWakeup(withinVibrationThreshold); in tracePickupWakeUp()
96 mLogger.logPulseStart(reason); in tracePulseStart()
104 mLogger.logPulseFinish(); in tracePulseFinish()
112 mLogger.logNotificationPulse(); in traceNotificationPulse()
121 mLogger.logDozing(dozing); in traceDozing()
130 mLogger.logDozingSuppressed(suppressed); in traceDozingSuppressed()
138 mLogger.logFling(expand, aboveThreshold, thresholdNeeded, screenOnFromTouch); in traceFling()
145 mLogger.logEmergencyCall(); in traceEmergencyCall()
[all …]
/frameworks/base/tests/AccessoryDisplay/sink/src/com/android/accessorydisplay/sink/
DSinkActivity.java72 private Logger mLogger; field in SinkActivity
100 mLogger = new TextLogger(); in onCreate()
113 mLogger.log("Waiting for accessory display source to be attached to USB..."); in onCreate()
146 mLogger.log("USB device attached: " + device); in onDeviceAttached()
153 mLogger.log("USB device detached: " + device); in onDeviceDetached()
166 mLogger.log("Prompting the user for access to the device."); in connect()
178 mLogger.logError("Could not obtain device connection."); in connect()
184 mLogger.logError("Could not claim interface."); in connect()
190 mLogger.log("Connecting to accessory..."); in connect()
194 mLogger.logError("Device does not support accessory protocol."); in connect()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/logging/
DExpansionStateLoggerTest.java52 private NotificationLogger.ExpansionStateLogger mLogger; field in ExpansionStateLoggerTest
60 mLogger = new NotificationLogger.ExpansionStateLogger(mUiBgExecutor); in setUp()
61 mLogger.mBarService = mBarService; in setUp()
66 mLogger.onVisibilityChanged( in testVisible()
77 mLogger.onExpansionChanged(NOTIFICATION_KEY, false, true, in testExpanded()
87 mLogger.onExpansionChanged(NOTIFICATION_KEY, true, false, in testVisibleAndNotExpanded()
89 mLogger.onVisibilityChanged( in testVisibleAndNotExpanded()
100 mLogger.onExpansionChanged(NOTIFICATION_KEY, true, true, in testVisibleAndExpanded()
102 mLogger.onVisibilityChanged( in testVisibleAndExpanded()
114 mLogger.onExpansionChanged(NOTIFICATION_KEY, false, true, in testExpandedAndVisible_expandedBeforeVisible()
[all …]
DNotificationLoggerTest.java89 private TestableNotificationLogger mLogger; field in NotificationLoggerTest
111 mLogger = new TestableNotificationLogger(mListener, mUiBgExecutor, in setUp()
114 mLogger.setUpWithContainer(mListContainer); in setUp()
140 mLogger.getChildLocationsChangedListenerForTest().onChildLocationsChanged(); in testOnChildLocationsChangedReportsVisibilityChanged()
150 mLogger.getChildLocationsChangedListenerForTest().onChildLocationsChanged(); in testOnChildLocationsChangedReportsVisibilityChanged()
162 mLogger.getChildLocationsChangedListenerForTest().onChildLocationsChanged(); in testStoppingNotificationLoggingReportsCurrentNotifications()
168 mLogger.onDozingChanged(false); // Wake to lockscreen in testStoppingNotificationLoggingReportsCurrentNotifications()
169 mLogger.onDozingChanged(true); // And go back to sleep, turning off logging in testStoppingNotificationLoggingReportsCurrentNotifications()
177 mLogger.onPanelExpandedChanged(true); in setStateAsleep()
178 mLogger.onDozingChanged(true); in setStateAsleep()
[all …]
/frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/
DSourceActivity.java49 private Logger mLogger; field in SourceActivity
68 mLogger = new TextLogger(); in onCreate()
71 mLogger.log("Waiting for accessory display sink to be attached to USB..."); in onCreate()
117 mLogger.log("USB accessory attached: " + accessory); in onAccessoryAttached()
124 mLogger.log("USB accessory detached: " + accessory); in onAccessoryDetached()
132mLogger.log("Not connecting to USB accessory because it is not an accessory display sink: " in connect()
143 mLogger.log("Prompting the user for access to the accessory."); in connect()
155 mLogger.logError("Could not obtain accessory connection."); in connect()
160 mLogger.log("Connected."); in connect()
163 mTransport = new UsbAccessoryStreamTransport(mLogger, fd); in connect()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DNotificationClicker.java41 private final NotificationClickerLogger mLogger; field in NotificationClicker
51 mLogger = logger; in NotificationClicker()
69 mLogger.logOnClick(entry); in onClick()
73 mLogger.logMenuVisible(entry); in onClick()
77 mLogger.logParentMenuVisible(entry); in onClick()
83 mLogger.logChildrenExpanded(entry); in onClick()
87 mLogger.logGutsExposed(entry); in onClick()
121 private final NotificationClickerLogger mLogger; field in NotificationClicker.Builder
125 mLogger = logger; in Builder()
135 mLogger, in build()
/frameworks/base/tests/RollbackTest/NetworkStagedRollbackTest/src/com/android/tests/rollback/host/
DNetworkStagedRollbackTest.java57 private WatchdogEventLogger mLogger = new WatchdogEventLogger(); field in NetworkStagedRollbackTest
65 mLogger.start(getDevice()); in setUp()
70 mLogger.stop(); in tearDown()
98 assertTrue(mLogger.watchdogEventOccurred(ROLLBACK_INITIATE, null, in testNetworkFailedRollback()
100 assertTrue(mLogger.watchdogEventOccurred(ROLLBACK_BOOT_TRIGGERED, null, in testNetworkFailedRollback()
102 assertTrue(mLogger.watchdogEventOccurred(ROLLBACK_SUCCESS, null, null, null)); in testNetworkFailedRollback()
133 assertEquals(mLogger.watchdogEventOccurred(null, null, in testNetworkPassedDoesNotRollback()
/frameworks/base/tests/AccessoryDisplay/common/src/com/android/accessorydisplay/common/
DTransport.java38 private final Logger mLogger; field in Transport
59 mLogger = logger; in Transport()
70 return mLogger; in getLogger()
115 mLogger.logError("Send message failed because transport was closed."); in sendMessage()
154 mLogger.logError("Send message failed: " + ex); in sendMessage()
211 mLogger.log("Discarding message " + what in dispatchMessageReceived()
311 mLogger.logError("Read failed: " + ex); in loop()
319 mLogger.logError("Encountered invalid content size: " + contentSize); in loop()
341 mLogger.logError("Encountered invalid content size: " + contentSize); in loop()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DNotifBindPipeline.java83 private final NotifBindPipelineLogger mLogger; field in NotifBindPipeline
94 mLogger = logger; in NotifBindPipeline()
103 mLogger.logStageSet(stage.getClass().getName()); in setStage()
115 mLogger.logManagedRow(entry.getKey()); in manageRow()
157 mLogger.logRequestPipelineRun(entry.getKey()); in requestPipelineRun()
162 mLogger.logRequestPipelineRowNotSet(entry.getKey()); in requestPipelineRun()
180 mLogger.logStartPipeline(entry.getKey()); in startPipeline()
196 mLogger.logFinishedPipeline(entry.getKey(), callbacks.size()); in onPipelineComplete()
DRowContentBindStage.java41 private final RowContentBindStageLogger mLogger; field in RowContentBindStage
50 mLogger = logger; in RowContentBindStage()
60 mLogger.logStageParams(entry.getKey(), params.toString()); in executeStage()
/frameworks/base/core/java/android/speech/tts/
DPlaybackSynthesisCallback.java53 private final AbstractEventLogger mLogger; field in PlaybackSynthesisCallback
64 mLogger = logger; in PlaybackSynthesisCallback()
98 mLogger.onCompleted(TextToSpeech.STOPPED); in stop()
159 mDispatcher, mCallerIdentity, mLogger); in start()
209 mLogger.onEngineDataReceived(); in audioAvailable()
241 mLogger.onEngineComplete(); in done()
255 mLogger.onEngineComplete(); in done()
DSynthesisPlaybackQueueItem.java68 private final AbstractEventLogger mLogger; field in SynthesisPlaybackQueueItem
91 mLogger = logger; in SynthesisPlaybackQueueItem()
125 mLogger.onAudioDataWritten(); in run()
148 mLogger.onCompleted(mStatusCode); in dispatchEndStatus()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/
DNotifCollection.java132 private final NotifCollectionLogger mLogger; field in NotifCollection
162 mLogger = logger; in NotifCollection()
252 mLogger.logNotifDismissedIntercepted(entry.getKey()); in dismissNotifications()
269 mLogger.logRemoteExceptionOnNotificationClear(entry.getKey(), e); in dismissNotifications()
294 mLogger.logDismissAll(userId); in dismissAllNotifications()
301 mLogger.logRemoteExceptionOnClearAllNotifications(e); in dismissAllNotifications()
312 mLogger.logNotifClearAllDismissalIntercepted(entry.getKey()); in dismissAllNotifications()
333 mLogger.logNotifDismissed(entry.getKey()); in locallyDismissNotifications()
343 mLogger.logChildDismissed(otherEntry); in locallyDismissNotifications()
356 mLogger.logDismissOnAlreadyCanceledEntry(canceledEntry); in locallyDismissNotifications()
[all …]
DShadeListBuilder.java81 private final ShadeListBuilderLogger mLogger; field in ShadeListBuilder
121 mLogger = logger; in ShadeListBuilder()
252 mLogger.logOnBuildList();
261 mLogger.logPreGroupFilterInvalidated(filter.getName(), mPipelineState.getState()); in onPreGroupFilterInvalidated()
269 mLogger.logReorderingAllowedInvalidated( in onReorderingAllowedInvalidated()
279 mLogger.logPromoterInvalidated(promoter.getName(), mPipelineState.getState()); in onPromoterInvalidated()
287 mLogger.logNotifSectionInvalidated(section.getName(), mPipelineState.getState()); in onNotifSectionInvalidated()
295 mLogger.logFinalizeFilterInvalidated(filter.getName(), mPipelineState.getState()); in onFinalizeFilterInvalidated()
303 mLogger.logNotifComparatorInvalidated(comparator.getName(), mPipelineState.getState()); in onNotifComparatorInvalidated()
375 mLogger.logEndBuildList( in buildList()
[all …]
/frameworks/base/apex/appsearch/service/java/com/android/server/appsearch/
DAppSearchUserInstance.java31 private final PlatformLogger mLogger; field in AppSearchUserInstance
39 mLogger = Objects.requireNonNull(logger); in AppSearchUserInstance()
46 return mLogger; in getLogger()
/frameworks/base/tests/RollbackTest/StagedRollbackTest/src/com/android/tests/rollback/host/
DStagedRollbackTest.java93 private WatchdogEventLogger mLogger = new WatchdogEventLogger(); field in StagedRollbackTest
103 mLogger.start(getDevice()); in setUp()
114 mLogger.stop(); in tearDown()
173 assertThat(mLogger).eventOccurred(ROLLBACK_INITIATE, null, REASON_APP_CRASH, TESTAPP_A); in testBadApkOnly()
174 assertThat(mLogger).eventOccurred(ROLLBACK_BOOT_TRIGGERED, null, null, null); in testBadApkOnly()
175 assertThat(mLogger).eventOccurred(ROLLBACK_SUCCESS, null, null, null); in testBadApkOnly()
204 assertThat(mLogger).eventOccurred(ROLLBACK_INITIATE, null, REASON_NATIVE_CRASH, null); in testNativeWatchdogTriggersRollback()
205 assertThat(mLogger).eventOccurred(ROLLBACK_BOOT_TRIGGERED, null, null, null); in testNativeWatchdogTriggersRollback()
206 assertThat(mLogger).eventOccurred(ROLLBACK_SUCCESS, null, null, null); in testNativeWatchdogTriggersRollback()
242 assertThat(mLogger).eventOccurred(ROLLBACK_INITIATE, null, REASON_NATIVE_CRASH, null); in testNativeWatchdogTriggersRollbackForAll()
[all …]
/frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/presentation/
DDemoPresentation.java41 private final Logger mLogger; field in DemoPresentation
49 mLogger = logger; in DemoPresentation()
81 mLogger.log("Received touch event: " + event); in onTouchEvent()
/frameworks/base/services/core/java/com/android/server/location/gnss/
DGnssStatusProvider.java45 private final LocationUsageLogger mLogger; field in GnssStatusProvider
52 mLogger = injector.getLocationUsageLogger(); in GnssStatusProvider()
82 mLogger.logLocationApiUsage( in onRegistrationAdded()
96 mLogger.logLocationApiUsage( in onRegistrationRemoved()
DGnssMeasurementsProvider.java87 private final LocationUsageLogger mLogger; field in GnssMeasurementsProvider
94 mLogger = injector.getLocationUsageLogger(); in GnssMeasurementsProvider()
188 mLogger.logLocationApiUsage( in onRegistrationAdded()
202 mLogger.logLocationApiUsage( in onRegistrationRemoved()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarNotificationActivityStarter.java121 private final StatusBarNotificationActivityStarterLogger mLogger; field in StatusBarNotificationActivityStarter
195 mLogger = logger; in StatusBarNotificationActivityStarter()
230 mLogger.logStartingActivityFromClick(sbn.getKey()); in onNotificationClicked()
251 mLogger.logNonClickableNotification(sbn.getKey()); in onNotificationClicked()
294 mLogger.logHandleClickAfterKeyguardDismissed(entry.getKey()); in handleNotificationClickAfterKeyguardDismissed()
323 mLogger.logHandleClickAfterPanelCollapsed(notificationKey); in handleNotificationClickAfterPanelCollapsed()
363 mLogger.logExpandingBubble(notificationKey); in handleNotificationClickAfterPanelCollapsed()
434 mLogger.logStartNotificationIntent(entry.getKey(), intent); in startNotificationIntent()
457 mLogger.logSendingIntentFailed(e); in startNotificationIntent()
556 mLogger.logFullScreenIntentSuppressedByDnD(entry.getKey()); in handleFullScreenIntent()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coalescer/
DGroupCoalescer.java70 private final GroupCoalescerLogger mLogger; field in GroupCoalescer
103 mLogger = logger; in GroupCoalescer()
129 mLogger.logEventCoalesced(sbn.getKey());
178 mLogger.logEarlyEmit(sbn.getKey(), requireNonNull(event.getBatch()).mGroupKey); in maybeEmitBatch()
182 mLogger.logMaxBatchTimeout(sbn.getKey(), batch.mGroupKey); in maybeEmitBatch()
263 mLogger.logEmitBatch(batch.mGroupKey); in emitBatch()
285 mLogger.logMissingRanking(event.getKey()); in applyRanking()
/frameworks/base/services/tests/servicestests/src/com/android/server/appsearch/external/localstorage/
DAppSearchLoggerTest.java62 private TestLogger mLogger; field in AppSearchLoggerTest
76 mLogger = new TestLogger(); in setUp()
394 appSearchImpl.putDocument(testPackageName, testDatabase, doc1, mLogger); in testLoggingStats_initializeWithDocuments_success()
395 appSearchImpl.putDocument(testPackageName, testDatabase, doc2, mLogger); in testLoggingStats_initializeWithDocuments_success()
446 appSearchImpl.putDocument(testPackageName, testDatabase, doc1, mLogger); in testLoggingStats_initialize_failure()
505 mAppSearchImpl.putDocument(testPackageName, testDatabase, document, mLogger); in testLoggingStats_putDocument_success()
507 PutDocumentStats pStats = mLogger.mPutDocumentStats; in testLoggingStats_putDocument_success()
557 testPackageName, testDatabase, document, mLogger)); in testLoggingStats_putDocument_failure()
560 PutDocumentStats pStats = mLogger.mPutDocumentStats; in testLoggingStats_putDocument_failure()
608 mAppSearchImpl.putDocument(testPackageName, testDatabase, document1, mLogger); in testLoggingStats_search_success()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coordinator/
DHideNotifsForOtherUsersCoordinator.java42 private final SharedCoordinatorLogger mLogger; field in HideNotifsForOtherUsersCoordinator
49 mLogger = logger; in HideNotifsForOtherUsersCoordinator()
71 mLogger.logUserOrProfileChanged(
DPreparationCoordinator.java64 private final PreparationCoordinatorLogger mLogger; field in PreparationCoordinator
114 mLogger = logger; in PreparationCoordinator()
302 mLogger.logInflationAborted(entry.getKey(), reason);
308 mLogger.logNotifInflated(entry.getKey());
338 mLogger.logGroupInflationTookTooLong(group.getKey());
342 mLogger.logDelayingGroupRelease(group.getKey(), group.getSummary().getKey());
347 mLogger.logDelayingGroupRelease(group.getKey(), child.getKey());
/frameworks/base/services/core/java/com/android/server/policy/
DDisplayFoldDurationLogger.java54 private final MetricsLogger mLogger = new MetricsLogger(); field in DisplayFoldDurationLogger
85 mLogger.write( in logFocusedAppWithFoldState()
107 mLogger.write( in log()

12