Home
last modified time | relevance | path

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

12

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DLogcatLogTest.java34 private LogcatLog mLogger; field in LogcatLogTest
39 mLogger = new LogcatLog(TAG); in setUp()
52 WifiLog.LogMessage logMessage = mLogger.err("hello world"); in logMessageWorksWithParameterlessFormat()
60 WifiLog.LogMessage logMessage = mLogger.err(""); in logMessageWorksWithEmptyFormat()
68 WifiLog.LogMessage logMessage = mLogger.err("%"); in logMessageWorksWithValueOnly()
79 WifiLog.LogMessage logMessage = mLogger.err("%"); in logMessageIsNotConfusedByPlaceholderInValue()
87 WifiLog.LogMessage logMessage = mLogger.err("%stuff"); in logMessageWorksWithValueAtBegin()
95 WifiLog.LogMessage logMessage = mLogger.err("s%uff"); in logMessageWorksWithValueInMiddle()
103 WifiLog.LogMessage logMessage = mLogger.err("stuff%"); in logMessageWorksWithValueAtEnd()
111 WifiLog.LogMessage logMessage = mLogger.err("% %"); in logMessageWorksWithMultipleValues()
[all …]
/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.logFling(expand, aboveThreshold, thresholdNeeded, screenOnFromTouch); in traceFling()
137 mLogger.logEmergencyCall(); in traceEmergencyCall()
146 mLogger.logKeyguardBouncerChanged(showing); in traceKeyguardBouncerChanged()
[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.java42 private final NotificationClickerLogger mLogger; field in NotificationClicker
52 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()
122 private final NotificationClickerLogger mLogger; field in NotificationClicker.Builder
129 mLogger = logger; in Builder()
139 mLogger, in build()
DNotificationEntryManager.java128 private final NotificationEntryManagerLogger mLogger; field in NotificationEntryManager
205 mLogger = logger; in NotificationEntryManager()
304 mLogger.logInflationAborted(key, "pending", reason); in abortExistingInflation()
309 mLogger.logInflationAborted(key, "active", reason); in abortExistingInflation()
341 mLogger.logNotifInflated(entry.getKey(), isNew);
439 mLogger.logRemovalIntercepted(key); in removeNotificationInternal()
454 mLogger.logLifetimeExtended(key, extender.getClass().getName(), "pending"); in removeNotificationInternal()
474 mLogger.logLifetimeExtended(key, extender.getClass().getName(), "active"); in removeNotificationInternal()
498 mLogger.logNotifRemoved(entry.getKey(), removedByUser); in removeNotificationInternal()
600 mLogger.logNotifAdded(entry.getKey()); in addNotificationInternal()
[all …]
/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/tests/RollbackTest/NetworkStagedRollbackTest/src/com/android/tests/rollback/host/
DNetworkStagedRollbackTest.java58 private WatchdogEventLogger mLogger = new WatchdogEventLogger(); field in NetworkStagedRollbackTest
63 mLogger.start(getDevice()); in setUp()
68 mLogger.stop(); in tearDown()
95 List<String> watchdogEvents = mLogger.getWatchdogLoggingEvents(); in testNetworkFailedRollback()
131 List<String> watchdogEvents = mLogger.getWatchdogLoggingEvents(); in testNetworkPassedDoesNotRollback()
/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.java131 private final NotifCollectionLogger mLogger; field in NotifCollection
161 mLogger = logger; in NotifCollection()
246 mLogger.logNotifDismissedIntercepted(entry.getKey()); in dismissNotifications()
265 mLogger.logRemoteExceptionOnNotificationClear(entry.getKey(), e); in dismissNotifications()
290 mLogger.logDismissAll(userId); in dismissAllNotifications()
296 mLogger.logRemoteExceptionOnClearAllNotifications(e); in dismissAllNotifications()
307 mLogger.logNotifClearAllDismissalIntercepted(entry.getKey()); in dismissAllNotifications()
328 mLogger.logNotifDismissed(entry.getKey()); in locallyDismissNotifications()
338 mLogger.logChildDismissed(otherEntry); in locallyDismissNotifications()
351 mLogger.logDismissOnAlreadyCanceledEntry(canceledEntry); in locallyDismissNotifications()
[all …]
DShadeListBuilder.java76 private final ShadeListBuilderLogger mLogger; field in ShadeListBuilder
114 mLogger = logger; in ShadeListBuilder()
225 mLogger.logOnBuildList();
234 mLogger.logPreGroupFilterInvalidated(filter.getName(), mPipelineState.getState()); in onPreGroupFilterInvalidated()
242 mLogger.logPromoterInvalidated(promoter.getName(), mPipelineState.getState()); in onPromoterInvalidated()
250 mLogger.logNotifSectionInvalidated(section.getName(), mPipelineState.getState()); in onNotifSectionInvalidated()
258 mLogger.logFinalizeFilterInvalidated(filter.getName(), mPipelineState.getState()); in onFinalizeFilterInvalidated()
266 mLogger.logNotifComparatorInvalidated(comparator.getName(), mPipelineState.getState()); in onNotifComparatorInvalidated()
332 mLogger.logEndBuildList( in buildList()
337 mLogger.logFinalList(mNotifList); in buildList()
[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/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarNotificationActivityStarter.java125 private final StatusBarNotificationActivityStarterLogger mLogger; field in StatusBarNotificationActivityStarter
199 mLogger = logger; in StatusBarNotificationActivityStarter()
232 mLogger.logStartingActivityFromClick(sbn.getKey()); in onNotificationClicked()
252 mLogger.logNonClickableNotification(sbn.getKey()); in onNotificationClicked()
285 mLogger.logHandleClickAfterKeyguardDismissed(sbn.getKey()); in handleNotificationClickAfterKeyguardDismissed()
322 mLogger.logHandleClickAfterPanelCollapsed(sbn.getKey()); in handleNotificationClickAfterPanelCollapsed()
363 mLogger.logExpandingBubble(notificationKey); in handleNotificationClickAfterPanelCollapsed()
419 mLogger.logStartNotificationIntent(entry.getKey(), intent); in startNotificationIntent()
434 mLogger.logSendingIntentFailed(e); in startNotificationIntent()
506 mLogger.logFullScreenIntentSuppressedByDnD(entry.getKey()); in handleFullScreenIntent()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coalescer/
DGroupCoalescer.java68 private final GroupCoalescerLogger mLogger; field in GroupCoalescer
101 mLogger = logger; in GroupCoalescer()
127 mLogger.logEventCoalesced(sbn.getKey());
167 mLogger.logEarlyEmit(sbn.getKey(), requireNonNull(event.getBatch()).mGroupKey); in maybeEmitBatch()
171 mLogger.logMaxBatchTimeout(sbn.getKey(), batch.mGroupKey); in maybeEmitBatch()
252 mLogger.logEmitBatch(batch.mGroupKey); in emitBatch()
274 mLogger.logMissingRanking(event.getKey()); in applyRanking()
/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.java63 private final PreparationCoordinatorLogger mLogger; field in PreparationCoordinator
102 mLogger = logger; in PreparationCoordinator()
274 mLogger.logInflationAborted(entry.getKey(), reason);
280 mLogger.logNotifInflated(entry.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()
/frameworks/base/tests/RollbackTest/StagedRollbackTest/src/com/android/tests/rollback/host/
DStagedRollbackTest.java88 private WatchdogEventLogger mLogger = new WatchdogEventLogger(); field in StagedRollbackTest
95 mLogger.start(getDevice()); in setUp()
100 mLogger.stop(); in tearDown()
151 List<String> watchdogEvents = mLogger.getWatchdogLoggingEvents(); in testBadApkOnly()
185 List<String> watchdogEvents = mLogger.getWatchdogLoggingEvents(); in testNativeWatchdogTriggersRollback()
226 List<String> watchdogEvents = mLogger.getWatchdogLoggingEvents(); in testNativeWatchdogTriggersRollbackForAll()
299 List<String> watchdogEvents = mLogger.getWatchdogLoggingEvents(); in testRollbackApexWithApkCrashing()
/frameworks/base/services/core/java/com/android/server/content/
DSyncManager.java262 private final SyncLogger mLogger; field in SyncManager
424 mLogger.log(getJobStats());
425 mLogger.log("Shutting down.");
494 mLogger.log("Removing duplicate sync: ", opy); in cleanupJobs()
539 mLogger.log(summary); in verifyJobScheduler()
585 mLogger = SyncLogger.getInstance(); in SyncManager()
736 mLogger.log("Sync manager initialized: " + Build.FINGERPRINT); in SyncManager()
741 mSyncHandler.post(() -> mLogger.log("onStartUser: user=", userId)); in onStartUser()
749 mSyncHandler.post(() -> mLogger.log("onUnlockUser: user=", userId)); in onUnlockUser()
757 mSyncHandler.post(() -> mLogger.log("onStopUser: user=", userId)); in onStopUser()
[all …]
/frameworks/base/core/java/android/widget/
DSelectionActionModeHelper.java527 private SelectionMetricsLogger mLogger; field in SelectionActionModeHelper.SelectionTracker
538 mLogger = new SelectionMetricsLogger(textView); in SelectionTracker()
554 mLogger.logSelectionStarted( in onOriginalSelection()
567 mLogger.logSelectionModified( in onSmartSelection()
597 mLogger.logSelectionModified(selectionStart, selectionEnd, classification, null); in onSelectionUpdated()
620 mLogger.logSelectionAction( in onSelectionAction()
643 mLogger.logSelectionAction( in resetSelection()
662 if (mLogger.isEditTextLogger() != mTextView.isTextEditable()) { in maybeInvalidateLogger()
663 mLogger = new SelectionMetricsLogger(mTextView); in maybeInvalidateLogger()
694 mLogger.logSelectionAction( in run()
[all …]

12