Home
last modified time | relevance | path

Searched refs:Log (Results 1 – 25 of 104) sorted by relevance

12345

/device/google/contexthub/util/nanotool/
Dlog.cpp26 Log::LogLevel Log::level_;
27 Logger* Log::logger_;
28 std::chrono::time_point<std::chrono::steady_clock> Log::init_time_;
30 void Log::Initialize(Logger *logger, LogLevel level) { in Initialize()
31 if (Log::logger_) { in Initialize()
32 Log::Warn("Re-initializing logger"); in Initialize()
34 Log::init_time_ = std::chrono::steady_clock::now(); in Initialize()
35 Log::logger_ = logger; in Initialize()
36 Log::SetLevel(level); in Initialize()
39 void Log::SetLevel(LogLevel level) { in SetLevel()
[all …]
Dlog.h32 #define LOGE(fmt, ...) Log::Error(fmt, ##__VA_ARGS__)
33 #define LOGW(fmt, ...) Log::Warn(fmt, ##__VA_ARGS__)
34 #define LOGI(fmt, ...) Log::Info(fmt, ##__VA_ARGS__)
35 #define LOGD(fmt, ...) Log::Debug(fmt, ##__VA_ARGS__)
37 #define LOGD_BUF(buf, len) Log::DebugBuf((const uint8_t *) buf, len)
38 #define LOGD_VEC(vec) Log::DebugBuf(vec)
49 class Log {
/device/google/atv/MdnsOffloadCmdService/src/com/android/tv/mdnsoffloadcmd/
DMdnsOffloadCmdService.java35 import android.util.Log;
97 Log.d(TAG, "Registering on iface{" + iface + "} :" + rawHexPacket); in registerProtocolResponse()
103 Log.e(TAG, "Offload Manager not connected"); in registerProtocolResponse()
107 Log.d(TAG, "Packet offloaded with recordKey=" + recordKey); in registerProtocolResponse()
109 Log.e(TAG, "Error while registering debug packet", e); in registerProtocolResponse()
114 Log.d(TAG, "Registering on iface{" + iface + "} passthrough:" + qname); in registerPassthrough()
117 Log.e(TAG, "Offload Manager not connected"); in registerPassthrough()
122 Log.e(TAG, "Error while adding passthrough qname", e); in registerPassthrough()
131 Log.e(TAG, "Offload Manager not connected"); in removeProtocolResponse()
135 Log.d(TAG, "Removed record " + recordKey); in removeProtocolResponse()
[all …]
/device/google/atv/libraries/BluetoothServices/src/com/google/android/tv/btservices/pairing/
DBluetoothPairer.java33 import android.util.Log;
90 Log.i(TAG, "No handler case available for message: " + msg.what);
122 Log.i(TAG, "Service disconnected, perhaps unexpectedly"); in BluetoothPairer()
128 Log.i(TAG, "Connection made to bluetooth proxy."); in BluetoothPairer()
149 Log.i(TAG, "startPairing: " + device.getAddress() + " " + device.getName()); in startPairing()
151 Log.e(TAG, "Pairing already in progress, you must cancel the " in startPairing()
159 Log.i(TAG, "Already bonded " + device); in startPairing()
230 Log.e(TAG, "addAsInput (handler): non-device connecting: " + device); in onConnectionStateChanged()
242 Log.i(TAG, "addAsInput (handler): no action for transient states"); in onConnectionStateChanged()
245 Log.e(TAG, "addAsInput (handler): unknown state " + state); in onConnectionStateChanged()
[all …]
DBluetoothScanner.java26 import android.util.Log;
78 Log.v(TAG, "startListening"); in startListening()
82 Log.v(TAG, "stopListening receiver=" + receiver); in stopListening()
185 Log.v(TAG, "scan task running");
192 Log.v(TAG, "restart scanning");
221 Log.v(TAG, "Device is a new device."); in onReceive()
230 Log.v(TAG, "Device is an existing device."); in onReceive()
245 Log.v(TAG, device.address + " -- Found"); in onReceive()
249 Log.v(TAG, device.address + " -- Removing"); in onReceive()
255 Log.v(TAG, device.address in onReceive()
/device/generic/goldfish/MultiDisplayProvider/src/com/android/emulator/multidisplay/
DMultiDisplayService.java30 import android.util.Log;
142 Log.i(TAG, "Creating service"); in onCreate()
149 Log.e(TAG, "Failed to loadLibrary: " + e); in onCreate()
158 Log.d(TAG, "Creating display " + i); in onCreate()
312 Log.d(TAG, "deleteVirtualDisplay(" + displayId + ")"); in deleteVirtualDisplay()
339 Log.d(TAG, "addVirtualDisplay(id=" + displayId + ", w=" + w + ", h=" + h in addVirtualDisplay()
369 Log.e(TAG, "failed to open multiDisplay pipe, retry"); in run()
371 Log.d(TAG, "success open multiDisplay pipe"); in run()
373 Log.d(TAG, "waiting to read pipe"); in run()
376 Log.e(TAG, "failed and try again"); in run()
[all …]
/device/google/atv/MdnsOffloadManagerService/src/com/android/tv/mdnsoffloadmanager/
DOffloadWriter.java8 import android.util.Log;
64 Log.e(TAG, "Cannot reset vendor service, service is not connected."); in resetAll()
70 Log.e(TAG, "Failed to reset vendor service.", e); in resetAll()
87 Log.e(TAG, "Cannot set offload state, vendor service is not connected."); in setOffloadState()
93 Log.e(TAG, "Failed to set offload state to {" + enabled + "}.", e); in setOffloadState()
106 Log.d(TAG, "Missed queries:" + missCounter); in retrieveAndClearMetrics()
108 Log.e(TAG, "getAndResetMissCounter failure", e); in retrieveAndClearMetrics()
113 Log.d(TAG, "Hits for record " + recordKey + " : " + hitCounter); in retrieveAndClearMetrics()
115 Log.e(TAG, "getAndResetHitCounter failure for recordKey {" + recordKey + "}", e); in retrieveAndClearMetrics()
210 Log.e(TAG, msg, e); in tryAddProtocolResponses()
[all …]
DMdnsOffloadManagerService.java41 import android.util.Log;
173 Log.e(TAG, msg); in bindVendorService()
180 Log.e(TAG, msg); in bindVendorService()
184 Log.d(TAG, "IMdnsOffloadManager is binding to: " + componentName); in bindVendorService()
192 Log.e(TAG, msg); in bindVendorService()
231 Log.w(TAG, "Unable to get UID of package {" + pkg + "}."); in refreshAppIdAllowlist()
263 Log.e(TAG, "Failed to dump state on handler thread"); in dump()
293 Log.e(TAG, msg, e);
340 Log.e(TAG, msg, e);
383 Log.i(TAG, "IMdnsOffload service bound successfully.");
[all …]
DInterfaceOffloadManager.java3 import android.util.Log;
49 Log.d(TAG, msg); in onNetworkAvailable()
58 Log.d(TAG, msg); in onNetworkLost()
94 Log.e(TAG, "Vendor service disconnected, cannot apply mDNS offload state"); in applyOffloadIntents()
107 Log.e(TAG, "Vendor service disconnected, cannot apply mDNS passthrough state"); in applyPassthroughIntents()
/device/google/cuttlefish/tests/wifi/src/com/android/cuttlefish/wifi/tests/
DWifiE2eTests.java26 import android.util.Log;
62 Log.i(TAG, "Enabling WIFI..."); in enableWifi()
65 Log.i(TAG, "Waiting for WIFI to be enabled..."); in enableWifi()
73 Log.i(TAG, "Disabling WIFI..."); in disableWifi()
77 Log.i(TAG, "Waiting for WIFI to be disabled..."); in disableWifi()
89 Log.i(TAG, "WIFI State: " + currentState); in waitForSupplicantState()
92 Log.i(TAG, "WIFI is now in expected state."); in waitForSupplicantState()
122 Log.i(TAG, "Removing network " + config.networkId + ": " + config.SSID); in testWifiInitialization()
156 Log.i(TAG, "Configuring WIFI..."); in testWifiConnects()
162 Log.i(TAG, "Waiting for connectivity..."); in testWifiConnects()
[all …]
/device/google/atv/libraries/BluetoothServices/src/com/google/android/tv/btservices/
DBluetoothDeviceService.java38 import android.util.Log;
118 if (DEBUG) Log.e(TAG, "unknown state " + state + " " + device);
127 Log.i(TAG, "acl connected " + device);
134 Log.i(TAG, "acl disconnected " + device);
139 Log.i(TAG, "acl disconnect requested: " + device);
149 Log.d(TAG, "Device " + device.getName() + " isRemote(): " + res); in isRemote()
173 Log.i(TAG, "Found activity: " + info.activityInfo + " for intent: " + intent + in startPairingRemoteActivity()
186 Log.w(TAG, "Did not find suitable intents for remote pairing."); in startPairingRemoteActivity()
222 Log.w(TAG, "failed to remove bond: " + device); in forgetDevice()
228 Log.w(TAG, "null device"); in forgetAndRepair()
[all …]
/device/google/atv/libraries/BluetoothServices/src/com/google/android/tv/btservices/remote/
DDefaultProxy.java25 import android.util.Log;
84 Log.w(TAG, "GATT_FAILURE: " + status); in refreshBatteryLevel()
88 Log.i(TAG, "Refresh device " + mDevice + " battery level: " + battery); in refreshBatteryLevel()
144 Log.w(TAG, "GATT failure while reading version: " + status); in refreshVersion()
151 Log.d(TAG, "Disabling Gatt version reading for device " + mDevice in refreshVersion()
158 Log.d(TAG, "Received valid version via Gatt: " + version); in refreshVersion()
175 Log.w(TAG, "Failed to parse version" + e); in stringToVersion()
215 Log.w(TAG, "versionCharacteristic is null for device " + mDevice); in onGattReady()
227 Log.d(TAG, "subscribing to battery level update notification"); in onGattReady()
237 Log.w(TAG, "GATT_FAILURE: " + status); in onGattReady()
[all …]
DTransportManager.java27 import android.util.Log;
92 Log.d(TAG, "gatt timed out");
101 Log.w(TAG, "transport has timed out after " + TRANSPORT_TIMEOUT_MS + "ms");
136 Log.i(TAG, "shutdown: " + mTransport); in shutdownImpl()
189 Log.w(TAG, "timeout packet: " + TransportUtils.byteToString( in processQueueImpl()
204 Log.e(TAG, "processQueueImpl: transport not ready"); in processQueueImpl()
237 Log.e(TAG, "gatt disconnected " + mDevice); in onGattStateChangedImpl()
251 Log.e(TAG, "onWritten: unexpectedly no pending packet"); in onWrittenImpl()
281 Log.w(TAG, "A response came without request: " + TransportUtils.byteToString(status)); in onResponseImpl()
286 Log.e(TAG, "onResponse: did not expect null packets"); in onResponseImpl()
[all …]
DBleConnection.java26 import android.util.Log;
254 Log.i(TAG, "Queueing write request to " + gatt.getDevice()); in writeCharacteristic()
272 Log.i(TAG, "Queueing read request to " + gatt.getDevice()); in readCharacteristic()
291 Log.i(TAG, "Queueing write request to " + gatt.getDevice()); in writeDescriptor()
355 Log.d(TAG, in onConnectionStateChange()
382 Log.w(TAG, "Failed to discover services for " + gatt.getDevice() + ": " + status); in onServicesDiscovered()
397 Log.w(TAG, in onDescriptorWrite()
414 Log.w(TAG, in onCharacteristicWrite()
431 Log.w(TAG, in onCharacteristicRead()
448 Log.i(TAG, "MTU size updated to " + mtu + " for device: " + gatt.getDevice()); in onMtuChanged()
DDfuManager.java22 import android.util.Log;
99 Log.i(TAG, "confirmDfu: start final confirmation"); in confirmDfu()
105 Log.i(TAG, "confirmDfu: wait for disconnect"); in confirmDfu()
112 Log.w(TAG, "confirmDfu: timed out in final wait"); in confirmDfu()
118 Log.e(TAG, "confirmDfu: failed to sleep in loop;"); in confirmDfu()
125 Log.e(TAG, "confirmDfu: failed to sleep out of loop;"); in confirmDfu()
128 Log.i(TAG, "confirmDfu: dfu completed"); in confirmDfu()
DDfuProvider.java26 import android.util.Log;
95 Log.i(TAG, "Found dfu with version: " + dfu.getVersion()); in onPostExecute()
97 Log.e(TAG, "CheckOnDiskDfuFileTask: exception " + e); in onPostExecute()
172 Log.e(TAG, "error in opening md5 digest: " + e); in DfuProvider()
215 Log.e(TAG, "failed to open file: " + absPath); in md5()
226 Log.e(TAG, "failed to read file: " + absPath); in md5()
232 Log.e(TAG, "failed to close file " + absPath); in md5()
DTransport.java29 import android.util.Log;
149 Log.e(TAG, "Cannot find service: " + uuid); in onServicesDiscovered()
156 Log.w(TAG, "onServicesDiscovered received: " + status); in onServicesDiscovered()
195 Log.e(TAG, "onGattStateChanged: gatt is null"); in onGattStateChanged()
201 Log.e(TAG, "failed to discover services"); in onGattStateChanged()
/device/google/cuttlefish/tests/graphics/hotplug/src/com/android/cuttlefish/
DDisplayHotplugHelperApp.java22 import android.util.Log;
66 Log.e(TAG, loggingIdentifier + " displays: " + displayInfo); in logDisplayInfos()
68 Log.e(TAG, "Failed to create display info JSON: " + e); in logDisplayInfos()
75 Log.e(TAG, "onCreate() called"); in onCreate()
84 Log.e(TAG, "onNewIntent() called with uuid " + loggingIdentifier); in onNewIntent()
91 Log.e(TAG, "onResume() called"); in onResume()
/device/google/cuttlefish/guest/monitoring/cuttlefish_service/java/com/android/google/gce/gceservice/
DBluetoothChecker.java22 import android.util.Log;
39 Log.i(LOG_TAG, "Bluetooth checker disabled"); in BluetoothChecker()
52 Log.e(LOG_TAG, "No bluetooth adapter found"); in execute()
56 Log.i(LOG_TAG, "Bluetooth enabled with name: " + bluetoothAdapter.getName()); in execute()
59 Log.i(LOG_TAG, "Bluetooth disabled with name: " + bluetoothAdapter.getName()); in execute()
DGceWifiManager.java26 import android.util.Log;
71 Log.e(LOG_TAG, "Initial WIFI configuration failed due to dependency.", e); in onDependencyFailed()
106 Log.w(LOG_TAG, "Wifi not yet connected."); in execute()
112 Log.i(LOG_TAG, "Wifi connected."); in execute()
121 Log.e(LOG_TAG, "Wifi state change failed due to failing dependency.", e); in onDependencyFailed()
DGceFuture.java18 import android.util.Log;
48 Log.e(LOG_TAG, mName + ": Multiple return values from a future object.", e); in set()
56 Log.w(LOG_TAG, mName + ": Discarding execution exception -- job done.", e); in set()
59 Log.w(LOG_TAG, mName + ": Could not complete job: " + e.getMessage(), e); in set()
/device/google/atv/libraries/BluetoothServices/src/com/google/android/tv/btservices/settings/
DRemoteDfuActivity.java29 import android.util.Log;
95 Log.w(TAG, "error: " + getString(stringResId)); in error()
171 Log.e(TAG, "bt address is empty"); in attemptDfu()
237 Log.e(TAG, "unknown state"); in onDfuProgress()
245 Log.i(TAG, "onDfuProgress: success"); in onDfuProgress()
249 Log.i(TAG, "onDfuProgress: success needs pairing"); in onDfuProgress()
257 Log.i(TAG, "onDfuProgress: other=" + state.code()); in onDfuProgress()
/device/generic/goldfish/radio/RadioConfig/src/com/android/emulator/radio/config/
DMeterService.java32 import android.util.Log;
78 Log.v(TAG, "setting metered mobile data now"); in turnOn()
80 Log.v(TAG, "done setting metered mobile data"); in turnOn()
84 Log.v(TAG, "setting unmetered mobile data now"); in turnOff()
86 Log.v(TAG, "done setting unmetered mobile data"); in turnOff()
/device/generic/goldfish/provision/EmulatorProvisonLib/src/com/android/sdksetup/
DProvisionActivity.java36 import android.util.Log;
54 Log.w(TAG(), "Already provisioned, remove itself."); in onCreate()
102 Log.e(TAG(), "Unable to turn on Wi-Fi"); in provisionWifi()
116 Log.e(TAG(), "Unable to add Wi-Fi network " + quotedSsid + "."); in provisionWifi()
138 Log.i(TAG(), "Setting system screen_off_timeout to be " + screen_off_timeout + " ms"); in provisionDisplay()
159Log.e(TAG(), "Unexpected value `" + displaySettingsName + "` in " + displaySettingsProp); in provisionDisplay()
/device/amlogic/yukawa/services/micmuteprovider/src/com/google/android/tv/hotword/
DHotwordMicToggleProvider.java32 import android.util.Log;
54 Log.e(TAG, "isAllowedPackage uid err: " + e); in isAllowedPackage()
67 if (DEBUG) Log.v(TAG, "micMuted: " + micMuted); in query()
72 Log.e(TAG, "Package not allowed"); in query()

12345