Home
last modified time | relevance | path

Searched refs:logAndPrint (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/services/usb/java/com/android/server/usb/hal/port/
DUsbPortAidl.java22 import static com.android.server.usb.UsbPortManager.logAndPrint;
135 logAndPrint(Log.INFO, null, "USB HAL AIDL version: USB_HAL_V2_0"); in getUsbHalVersion()
145 logAndPrint(Log.ERROR, mPw, "Usb AIDL hal service died"); in serviceDied()
195 logAndPrint(Log.ERROR, mPw, "Proxy is null. Retry ! opID: " in enableContaminantPresenceDetection()
214 logAndPrint(Log.ERROR, mPw, "Proxy is null. Retry ! opID:" in queryPortStatus()
232 logAndPrint(Log.ERROR, mPw, "Proxy is null. Retry ! opID:" in switchMode()
255 logAndPrint(Log.ERROR, mPw, "Proxy is null. Retry ! opID:" in switchPowerRole()
276 logAndPrint(Log.ERROR, mPw, "Proxy is null. Retry ! opID:" in switchDataRole()
302 logAndPrint(Log.ERROR, mPw, in resetUsbPort()
311 logAndPrint(Log.INFO, mPw, "resetUsbPort: operationID exists ! opID:" in resetUsbPort()
[all …]
DUsbPortHalInstance.java18 import static com.android.server.usb.UsbPortManager.logAndPrint;
33 logAndPrint(Log.DEBUG, null, "Querying USB HAL version"); in getInstance()
35 logAndPrint(Log.INFO, null, "USB HAL AIDL present"); in getInstance()
39 logAndPrint(Log.INFO, null, "USB HAL HIDL present"); in getInstance()
DUsbPortHidl.java41 import static com.android.server.usb.UsbPortManager.logAndPrint;
106 logAndPrint(Log.INFO, null, "USB HAL HIDL version: " + version); in getUsbHalVersion()
121 logAndPrint(Log.ERROR, pw, "Usb hal service died cookie: " + cookie); in serviceDied()
132 logAndPrint(Log.INFO, null, "Usb hal service started " + fqName + " " + name); in onRegistration()
187 logAndPrint(Log.ERROR, null, in UsbPortHidl()
203 logAndPrint(Log.ERROR, mPw, "Proxy is null. Retry !"); in enableContaminantPresenceDetection()
225 logAndPrint(Log.ERROR, mPw, "Proxy is null. Retry !"); in queryPortStatus()
241 logAndPrint(Log.ERROR, mPw, "Proxy is null. Retry !"); in switchMode()
263 logAndPrint(Log.ERROR, mPw, "Proxy is null. Retry !"); in switchPowerRole()
305 logAndPrint(Log.ERROR, mPw, "Proxy is null. Retry !"); in switchDataRole()
[all …]
/frameworks/base/services/usb/java/com/android/server/usb/hal/gadget/
DUsbGadgetHalInstance.java18 import static com.android.server.usb.UsbPortManager.logAndPrint;
34 logAndPrint(Log.DEBUG, pw, "Querying USB Gadget HAL version"); in getInstance()
36 logAndPrint(Log.INFO, pw, "USB Gadget HAL AIDL present"); in getInstance()
40 logAndPrint(Log.INFO, pw, "USB Gadget HAL HIDL present"); in getInstance()
44 logAndPrint(Log.ERROR, pw, "USB Gadget HAL AIDL/HIDL not present"); in getInstance()
DUsbGadgetAidl.java20 import static com.android.server.usb.UsbDeviceManager.logAndPrint;
71 logAndPrint(Log.ERROR, mPw, "Usb Gadget AIDL hal service died"); in serviceDied()
195 logAndPrint(Log.INFO, mPw, "Usb setCurrentUsbFunctionsCb" in setCurrentUsbFunctionsCb()
199 logAndPrint(Log.ERROR, mPw, "Usb setCurrentUsbFunctionsCb failed" in setCurrentUsbFunctionsCb()
211 logAndPrint(Log.INFO, mPw, "Usb getCurrentUsbFunctionsCb" in getCurrentUsbFunctionsCb()
215 logAndPrint(Log.ERROR, mPw, "Usb getCurrentUsbFunctionsCb failed" in getCurrentUsbFunctionsCb()
224 logAndPrint(Log.INFO, mPw, "getUsbSpeedCb speed:" in getUsbSpeedCb()
232 logAndPrint(Log.INFO, mPw, "Usb resetCb status:" in resetCb()
235 logAndPrint(Log.ERROR, mPw, "Usb resetCb status" in resetCb()
DUsbGadgetHidl.java23 import static com.android.server.usb.UsbDeviceManager.logAndPrint;
76 logAndPrint(Log.INFO, mPw, "USB Gadget HAL HIDL version: " + version); in getGadgetHalVersion()
91 logAndPrint(Log.ERROR, mPw, "Usb Gadget hal service died cookie: " + cookie); in serviceDied()
102 logAndPrint(Log.INFO, mPw, "Usb gadget hal service started " + fqName + " " + name); in onRegistration()
149 logAndPrint(Log.ERROR, pw, "Failed to register service start notification"); in UsbGadgetHidl()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbPortManager.java186 logAndPrint(Log.DEBUG, null, "getInstance done"); in UsbPortManager()
378 logAndPrint(Log.ERROR, pw, "enableLimitPowerTransfer: No such port: " + portId in enableLimitPowerTransfer()
418 logAndPrint(Log.ERROR, pw, "enableUsbDataWhileDocked: No such port: " + portId in enableUsbDataWhileDocked()
461 logAndPrint(Log.ERROR, pw, "enableUsbData: No such port: " + portId in enableUsbData()
542 logAndPrint(Log.ERROR, pw, "resetUsbPort: No such port: " + portId in resetUsbPort()
584 logAndPrint(Log.ERROR, pw, "Attempted to set USB port into unsupported " in setPortRoles()
621 logAndPrint(Log.ERROR, pw, "Found mismatch in supported USB role combinations " in setPortRoles()
632 logAndPrint(Log.INFO, pw, "Setting USB port mode and role: portId=" + portId in setPortRoles()
656 logAndPrint(Log.ERROR, pw, "Trying to set the USB port mode: " in setPortRoles()
1069 logAndPrint(Log.WARN, pw, "Ignoring inconsistent current mode from USB " in addOrUpdatePortLocked()
[all …]
DUsbDeviceManager.java518 public static void logAndPrint(int priority, IndentingPrintWriter pw, String msg) { in logAndPrint() method in UsbDeviceManager
/frameworks/base/services/
Dart-wear-profile24252 PLcom/android/server/usb/UsbPortManager;->logAndPrint(ILcom/android/internal/util/IndentingPrintWri…