Home
last modified time | relevance | path

Searched refs:LOGGER (Results 1 – 25 of 34) sorted by relevance

12

/packages/modules/StatsD/statsd/tools/localtools/src/com/android/statsd/shelltools/testdrive/
DTestDrive.java105 private static final Logger LOGGER = Logger.getLogger(TestDrive.class.getName()); field in TestDrive
120 Utils.setUpLogger(LOGGER, false); in main()
123 configuration, args, Utils.getDeviceSerials(LOGGER), in main()
124 Utils.getDefaultDevice(LOGGER))) { in main()
139 LOGGER.severe("Usage: ./test_drive [options] <atomId1> <atomId2> ... <atomIdN>"); in printUsageMessage()
140 LOGGER.severe("OPTIONS"); in printUsageMessage()
141 LOGGER.severe("-h, --help"); in printUsageMessage()
142 LOGGER.severe("\tPrint this message"); in printUsageMessage()
143 LOGGER.severe("-one"); in printUsageMessage()
144 LOGGER.severe("\tCreating one event metric to catch all pushed atoms"); in printUsageMessage()
[all …]
/packages/apps/DeskClock/src/com/android/deskclock/
DAsyncRingtonePlayer.kt73 LOGGER.d("Posting play.") in <lambda>()
79 LOGGER.d("Posting stop.") in <lambda>()
85 LOGGER.v("Adjusting volume.") in <lambda>()
158 LOGGER.e("Must be on the AsyncRingtonePlayer thread!", in <lambda>()
227 LOGGER.i("Play ringtone via android.media.MediaPlayer.") in <lambda>()
238 LOGGER.v("Using default alarm: $alarmNoise") in <lambda>()
243 LOGGER.e("Error occurred while playing audio. Stopping AlarmKlaxon.") in <lambda>()
256 LOGGER.e("Using the fallback ringtone, could not play $alarmNoise", t) in <lambda>()
266 LOGGER.e("Failed to play fallback ringtone", t2) in <lambda>()
300 LOGGER.v("Using the in-call alarm") in <lambda>()
[all …]
DHandleApiCalls.kt68 LOGGER.i("onCreate: $intent") in onCreate()
80 LOGGER.wtf(e) in onCreate()
107 LOGGER.i("No scheduled alarms") in doInBackground()
160 LOGGER.i("Alarm dismissed: $alarm") in doInBackground()
191 LOGGER.i("No firing alarms") in doInBackground()
215 LOGGER.i("Illegal hour: $hour") in handleSetAlarm()
225 LOGGER.i("Illegal minute: $minutes") in handleSetAlarm()
247 LOGGER.i("Missing alarm time; opening UI") in handleSetAlarm()
270 LOGGER.i("Updated alarm: $alarm") in handleSetAlarm()
281 LOGGER.i("Created new alarm: $alarm") in handleSetAlarm()
[all …]
DDeskClockBackupAgent.kt107 LOGGER.i("Waiting for %s to complete the data restore", ACTION_COMPLETE_RESTORE) in onRestoreFinished()
111 private val LOGGER = LogUtils.Logger("DeskClockBackupAgent") constant
126 LOGGER.i("processRestoredData() started") in processRestoredData()
147 LOGGER.i("DeskClockBackupAgent scheduled alarm instance: %s", alarmInstance) in processRestoredData()
154 LOGGER.i("processRestoredData() completed") in processRestoredData()
DScreensaver.kt75 LOGGER.v("Screensaver created") in onCreate()
85 LOGGER.v("Screensaver attached to window") in onAttachedToWindow()
131 LOGGER.v("Screensaver detached from window") in onDetachedFromWindow()
148 LOGGER.v("Screensaver configuration changed") in onConfigurationChanged()
199 private val LOGGER = LogUtils.Logger("Screensaver") constant
DHandleShortcuts.kt56 LOGGER.e("Error handling intent: $intent", e) in onCreate()
64 private val LOGGER = LogUtils.Logger("HandleShortcuts") constant
/packages/modules/Connectivity/service-t/src/com/android/server/connectivity/mdns/
DMdnsSocketClient.java57 private static final MdnsLogger LOGGER = new MdnsLogger(TAG); field in MdnsSocketClient
125 LOGGER.w("Discovery is already in progress."); in startDiscovery()
164 LOGGER.log("Stop discovery."); in stopDiscovery()
243 LOGGER.w("sendMdnsPacket() is called after discovery already stopped"); in sendMdnsPacket()
257 LOGGER.w("A socket thread already exists."); in createAndStartSendThread()
267 LOGGER.w("A multicast receiver thread already exists."); in createAndStartReceiverThreads()
289 LOGGER.log("Trigger send thread."); in triggerSendThread()
294 LOGGER.w("Socket thread is null"); in triggerSendThread()
311 LOGGER.log("wait For Send Thread To Stop"); in waitForSendThreadToStop()
313 LOGGER.w("socket thread is already dead."); in waitForSendThreadToStop()
[all …]
DConnectivityMonitorWithConnectivityManager.java33 private static final MdnsLogger LOGGER = new MdnsLogger(TAG); field in ConnectivityMonitorWithConnectivityManager
54 LOGGER.log("network available."); in ConnectivityMonitorWithConnectivityManager()
61 LOGGER.log("network lost."); in ConnectivityMonitorWithConnectivityManager()
67 LOGGER.log("network unavailable."); in ConnectivityMonitorWithConnectivityManager()
85 LOGGER.log("Start watching connectivity changes"); in startWatchingConnectivityChanges()
101 LOGGER.log("Stop watching connectivity changes"); in stopWatchingConnectivityChanges()
DMulticastNetworkInterfaceProvider.java44 private static final MdnsLogger LOGGER = new MdnsLogger(TAG); field in MulticastNetworkInterfaceProvider
86 LOGGER.log("No network interface available for mDNS scanning."); in getMulticastNetworkInterfaces()
136 LOGGER.e("Failed to get network interfaces.", e); in getNetworkInterfaces()
139 LOGGER.e("Failed to call getNetworkInterfaces API", e); in getNetworkInterfaces()
163 LOGGER.e(String.format("Failed to check interface %s.", in canScanOnInterface()
DMdnsSocket.java40 private static final MdnsLogger LOGGER = new MdnsLogger("MdnsSocket"); field in MdnsSocket
125 LOGGER.e("Failed to retrieve interface index for socket.", e); in getInterfaceIndex()
/packages/modules/Connectivity/nearby/tests/robotests/src/com/android/libraries/testing/deviceshadower/internal/bluetooth/
DBlueletImpl.java81 private static final Logger LOGGER = Logger.create("BlueletImpl"); field in BlueletImpl
138 LOGGER.d(String.format("Address: %s, setAdapterInitialState(%d)", address, state)); in setAdapterInitialState()
236 LOGGER.d(String.format("Address: %s, enableAdapter()", address)); in enableAdapter()
250 LOGGER.d(String.format("Address: %s, disableAdapter()", address)); in disableAdapter()
280 LOGGER.d(String.format("Address: %s, setInterruptible(%d)", address, identifier)); in setInterruptible()
285 LOGGER.d(String.format("Address: %s, interrupt(%d)", address, identifier)); in interrupt()
315 LOGGER.d( in setBondState()
332 LOGGER.d( in onPairingRequest()
353 LOGGER.d( in onFetchedUuids()
404 LOGGER.d( in setProfileConnectionState()
[all …]
DGattDelegate.java65 private static final Logger LOGGER = Logger.create("GattDelegate"); field in GattDelegate
208 LOGGER.d(String.format("Client registered on %s, clientIf: %d", mAddress, getClientIf())); in registerClient()
214 LOGGER.d(String.format("Client unregistered on %s, clientIf: %d", mAddress, clientIf)); in unregisterClient()
292 LOGGER.d(String.format("startMultiAdvertising(%d) on %s", appIf, mAddress)); in startMultiAdvertising()
339 LOGGER.d(String.format("stopAdvertising(%d) on %s", appIf, mAddress)); in stopMultiAdvertising()
342 LOGGER.d(String.format("Advertising already stopped on %s, clientIf: %d", mAddress, in stopMultiAdvertising()
361 LOGGER.d(String.format("startScan(%d) on %s", appIf, mAddress)); in startScan()
375 LOGGER.e( in startScan()
432 LOGGER.e( in scan()
452 LOGGER.d(String.format("stopScan(%d) on %s", appIf, mAddress)); in stopScan()
[all …]
DIBluetoothImpl.java43 private static final Logger LOGGER = Logger.create("BlueletImpl"); field in IBluetoothImpl
212 LOGGER.d(String.format("CONFIRMED")); in setPairingConfirmation()
215 LOGGER.d(String.format("NOT CONFIRMED")); in setPairingConfirmation()
/packages/apps/DeskClock/src/com/android/deskclock/alarms/
DAlarmActivity.kt77 LOGGER.v("Received broadcast: %s", action) in onReceive()
84 else -> LOGGER.i("Unknown broadcast: %s", action) in onReceive()
87 LOGGER.v("Ignored broadcast: %s", action) in onReceive()
94 LOGGER.i("Finished binding to AlarmService") in onServiceConnected()
98 LOGGER.i("Disconnected from AlarmService") in onServiceDisconnected()
137 LOGGER.e("Error displaying alarm for intent: %s", getIntent()) in onCreate()
141 LOGGER.i("Skip displaying alarm for instance: %s", mAlarmInstance) in onCreate()
146 LOGGER.i("Displaying alarm for instance: %s", mAlarmInstance) in onCreate()
224 LOGGER.i("No alarm instance for instanceId: %d", instanceId) in onResume()
231 LOGGER.i("Skip displaying alarm for instance: %s", mAlarmInstance) in onResume()
[all …]
DAlarmTimeClickHandler.kt77 LOGGER.d("Updating alarm enabled state to $newState") in setAlarmEnabled()
86 LOGGER.d("Updating vibrate state to $newState") in setAlarmVibrationEnabled()
147 LOGGER.d("Deleting alarm.") in onDeleteClicked()
198 private val LOGGER = LogUtils.Logger("AlarmTimeClickHandler") constant
/packages/modules/Connectivity/nearby/tests/robotests/src/com/android/libraries/testing/deviceshadower/internal/bluetooth/connection/
DRfcommDelegate.java50 private static final Logger LOGGER = Logger.create("RfcommDelegate"); field in RfcommDelegate
86 LOGGER.e( in createSocketChannel()
94 LOGGER.e(String.format("Address %s: failed to write port to incoming data, fd: %s", in createSocketChannel()
106 LOGGER.e(String.format("Device %s is not defined.", remoteAddress)); in connectSocket()
111 LOGGER.e(String.format("Address %s: failed to connect socket, uuid: %s", mAddress, in connectSocket()
119 LOGGER.e(String.format("Address %s: failed to write port to incoming data, fd: %s", in connectSocket()
129 LOGGER.e( in connectSocket()
260 LOGGER.d(String.format("Address %s: Connection already closed. fd: %s.", mAddress, in shutdownInput()
277 LOGGER.d(String.format("Address %s: Connection already closed. fd: %s.", mAddress, in shutdownOutput()
318 LOGGER.d(String.format("Address %s: init connection to %s, clientFd: %s", in initiateConnectToClient()
[all …]
DSdpHandler.java38 private static final Logger LOGGER = Logger.create("RfcommDelegate"); field in SdpHandler
62 LOGGER.d(String.format("Address %s: createServiceRecord with uuid %s", mAddress, uuid)); in createServiceRecord()
85 LOGGER.d(String.format("Address %s: removeServiceRecord with uuid %s", mAddress, uuid)); in removeServiceRecord()
104 LOGGER.e(String.format("Address %s: uuid %s not registered.", mAddress, uuid)); in lookupChannel()
115 LOGGER.d(String.format("Address %s: Uuid %s in use.", mAddress, uuid)); in isUuidRegistered()
118 LOGGER.d(String.format("Address %s: Uuid %s not registered.", mAddress, uuid)); in isUuidRegistered()
124 LOGGER.e(String.format("Address %s: No available channel.", mAddress)); in checkChannelAvailability()
DPhysicalLink.java41 private static final Logger LOGGER = Logger.create("RfcommDelegate"); field in PhysicalLink
101 LOGGER.d("Connection doesn't exist, FileDescriptor: " + fd); in closeConnection()
108 LOGGER.d("Connection doesn't exist, FileDescriptor: " + fd); in closeConnection()
/packages/modules/Connectivity/nearby/tests/robotests/src/com/android/libraries/testing/deviceshadower/internal/nfc/
DNfcletImpl.java38 private static final Logger LOGGER = Logger.create("NfcletImpl"); field in NfcletImpl
53 LOGGER.v("NFC receiver get beam share data from remote"); in onNear()
59 LOGGER.v("NFC sender onNdefPushComplete"); in onNear()
72 LOGGER.v("Enable NFC Adapter"); in enable()
82 LOGGER.v("Disable NFC Adapter"); in disable()
/packages/modules/Virtualization/vmbase/src/
Dlogger.rs30 static mut LOGGER: Logger = Logger::new(); variable
64 unsafe { Self { old_enabled: LOGGER.swap_enabled(false) } } in new()
72 LOGGER.swap_enabled(self.old_enabled); in drop()
81 log::set_logger(&LOGGER)?; in init()
/packages/apps/DeskClock/src/com/android/deskclock/events/
DLogEventTracker.kt32 LOGGER.d("[%s] [%s]", safeGetString(category), safeGetString(action)) in sendEvent()
34 LOGGER.d("[%s] [%s] [%s]", safeGetString(category), safeGetString(action), in sendEvent()
47 private val LOGGER = LogUtils.Logger("Events") constant
/packages/modules/Connectivity/nearby/tests/robotests/src/com/android/libraries/testing/deviceshadower/internal/
DDeviceShadowEnvironmentImpl.java54 private static final Logger LOGGER = Logger.create("DeviceShadowEnvironmentImpl"); field in DeviceShadowEnvironmentImpl
79 LOGGER.e("Internal exception", exception); in checkInternalExceptions()
104 LOGGER.e( in await()
125 LOGGER.e("Failed to terminate executor."); in await()
292 LOGGER.e("Fail to call code on device: " + address, e); in run()
/packages/apps/DeskClock/src/com/android/deskclock/uidata/
DPeriodicCallbackModel.kt125 LOGGER.i("Executing periodic callback for %s because the period ended", mPeriod) in run()
131 LOGGER.i("Executing periodic callback for %s because the time changed", mPeriod) in runAndReschedule()
159 private val LOGGER = LogUtils.Logger("Periodic") constant
/packages/apps/DeskClock/src/com/android/alarmclock/
DDigitalAppWidgetCityViewsFactory.kt62 LOGGER.i("DigitalAppWidgetCityViewsFactory onCreate $mWidgetId") in onCreate()
66 LOGGER.i("DigitalAppWidgetCityViewsFactory onDestroy $mWidgetId") in onDestroy()
211 private val LOGGER = LogUtils.Logger("DigWidgetViewsFactory") constant
/packages/modules/Connectivity/nearby/tests/robotests/src/com/android/libraries/testing/deviceshadower/internal/common/
DScheduler.java38 private static final Logger LOGGER = Logger.create("Scheduler"); field in Scheduler
168 LOGGER.e("Error in scheduler runnable " + r, e); in ScheduledRunnable()

12