Home
last modified time | relevance | path

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

/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/tests/src/com/android/systemui/statusbar/notification/logging/
DExpansionStateLoggerTest.java52 private NotificationLogger.ExpansionStateLogger mLogger; field in ExpansionStateLoggerTest
59 mLogger = new NotificationLogger.ExpansionStateLogger( 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.java84 private TestableNotificationLogger mLogger; field in NotificationLoggerTest
102 mLogger = new TestableNotificationLogger(mListener, Dependency.get(UiOffloadThread.class), in setUp()
105 mLogger.setUpWithContainer(mListContainer); in setUp()
132 mLogger.getChildLocationsChangedListenerForTest().onChildLocationsChanged(); in testOnChildLocationsChangedReportsVisibilityChanged()
142 mLogger.getChildLocationsChangedListenerForTest().onChildLocationsChanged(); in testOnChildLocationsChangedReportsVisibilityChanged()
154 mLogger.getChildLocationsChangedListenerForTest().onChildLocationsChanged(); in testStoppingNotificationLoggingReportsCurrentNotifications()
159 mLogger.stopNotificationLogging(); in testStoppingNotificationLoggingReportsCurrentNotifications()
/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/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/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/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/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/policy/
DDisplayFoldDurationLogger.java54 private final MetricsLogger mLogger = new MetricsLogger(); field in DisplayFoldDurationLogger
85 mLogger.write( in logFocusedAppWithFoldState()
107 mLogger.write( in log()
DPhoneWindowManager.java496 MetricsLogger mLogger; field in PhoneWindowManager
843 mLogger.action(MetricsProto.MetricsEvent.ACTION_HUSH_GESTURE, mRingerToggleChord); in handleRingerChordGesture()
876 mLogger.count("key_back_down", 1); in interceptBackKeyDown()
890 mLogger.count("key_back_up", 1); in interceptBackKeyUp()
1761 mLogger = new MetricsLogger(); in init()
/frameworks/base/services/core/java/com/android/server/content/
DSyncManager.java259 private final SyncLogger mLogger; field in SyncManager
421 mLogger.log(getJobStats());
422 mLogger.log("Shutting down.");
491 mLogger.log("Removing duplicate sync: ", opy); in cleanupJobs()
536 mLogger.log(summary); in verifyJobScheduler()
582 mLogger = SyncLogger.getInstance(); in SyncManager()
733 mLogger.log("Sync manager initialized: " + Build.FINGERPRINT); in SyncManager()
738 mSyncHandler.post(() -> mLogger.log("onStartUser: user=", userId)); in onStartUser()
746 mSyncHandler.post(() -> mLogger.log("onUnlockUser: user=", userId)); in onUnlockUser()
754 mSyncHandler.post(() -> mLogger.log("onStopUser: user=", userId)); in onStopUser()
[all …]
DSyncStorageEngine.java497 private final SyncLogger mLogger; field in SyncStorageEngine
503 mLogger = SyncLogger.getInstance(); in SyncStorageEngine()
524 if (mLogger.enabled()) { in SyncStorageEngine()
526 mLogger.log("Loaded ", size, " items"); in SyncStorageEngine()
528 mLogger.log(mAuthorities.valueAt(i)); in SyncStorageEngine()
693 mLogger.log("Set sync auto account=", account, in setSyncAutomatically()
771 mLogger.log("Set syncable ", target, " value=", Integer.toString(syncable), in setSyncableStateForEndPoint()
956 mLogger.log("Set master enabled=", flag, " user=", userId, in setMasterSyncAutomatically()
/frameworks/base/core/java/android/widget/
DSelectionActionModeHelper.java529 private SelectionMetricsLogger mLogger; field in SelectionActionModeHelper.SelectionTracker
540 mLogger = new SelectionMetricsLogger(textView); in SelectionTracker()
556 mLogger.logSelectionStarted( in onOriginalSelection()
569 mLogger.logSelectionModified( in onSmartSelection()
599 mLogger.logSelectionModified(selectionStart, selectionEnd, classification, null); in onSelectionUpdated()
622 mLogger.logSelectionAction( in onSelectionAction()
645 mLogger.logSelectionAction( in resetSelection()
664 if (mLogger.isEditTextLogger() != mTextView.isTextEditable()) { in maybeInvalidateLogger()
665 mLogger = new SelectionMetricsLogger(mTextView); in maybeInvalidateLogger()
696 mLogger.logSelectionAction( in run()
[all …]
/frameworks/layoutlib/create/src/com/android/tools/layoutlib/create/
DStubClassAdapter.java48 private Log mLogger; field in StubClassAdapter.Builder
58 mLogger = log; in Builder()
98 return new StubClassAdapter(mLogger, in build()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DSmartReplyViewTest.java99 @Mock private SmartReplyController mLogger; field in SmartReplyViewTest
201 verify(mLogger).smartReplySent(mEntry, 2, TEST_CHOICES[2], in testSendSmartReply_controllerCalled()
472 return mView.inflateRepliesFromRemoteInput(smartReplies, mLogger, mEntry, in inflateSmartReplies()
499 mLogger, in setSmartActions()
520 mLogger, in setSmartRepliesAndActions() local
867 mLogger, mEntry, mHeadsUpManager, true /* useDelayedOnClickListener */); in inflateActionButton()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java575 private final NetworkPolicyLogger mLogger = new NetworkPolicyLogger(); field in NetworkPolicyManagerService
1118 mLogger.meterednessChanged(network.netId, newMetered);
2566 mLogger.uidPolicyChanged(uid, oldPolicy, policy); in setUidPolicy()
2587 mLogger.uidPolicyChanged(uid, oldPolicy, policy); in addUidPolicy()
2605 mLogger.uidPolicyChanged(uid, oldPolicy, policy); in removeUidPolicy()
2693 mLogger.removingUserState(userId); in removeUserStateUL()
2924 mLogger.restrictBackgroundChanged(oldRestrictBackground, mRestrictBackground); in setRestrictBackgroundUL()
2990 mLogger.deviceIdleModeEnabled(enabled); in setDeviceIdleMode()
3608 mLogger.dumpLogs(fout); in dump()
4076 mLogger.appIdleWlChanged(uid, shouldWhitelist); in setAppIdleWhitelist()
[all …]
/frameworks/base/services/core/java/com/android/server/camera/
DCameraServiceProxy.java101 private final MetricsLogger mLogger = new MetricsLogger(); field in CameraServiceProxy
340 mLogger.write(l); in dumpUsageEvents()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DExpandableNotificationRow.java197 private ExpansionLogger mLogger; field in ExpandableNotificationRow
2889 mLogger = logger;
2944 if (mLogger != null) {
2945 mLogger.logNotificationExpansion(mLoggingKey, userAction, nowExpanded);
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt84047 Landroid/widget/SelectionActionModeHelper$SelectionTracker;->mLogger:Landroid/widget/SelectionActio…