/aosp14/frameworks/base/services/usb/java/com/android/server/usb/hal/port/ |
H A D | UsbPortAidl.java | 22 import static com.android.server.usb.UsbPortManager.logAndPrint; 144 logAndPrint(Log.ERROR, mPw, "Usb AIDL hal service died"); in serviceDied() 301 logAndPrint(Log.ERROR, mPw, in resetUsbPort() 341 logAndPrint(Log.ERROR, mPw, in enableUsbData() 384 logAndPrint(Log.ERROR, mPw, in enableLimitPowerTransfer() 425 logAndPrint(Log.ERROR, mPw, in enableUsbDataWhileDocked() 435 logAndPrint(Log.INFO, mPw, in enableUsbDataWhileDocked() 523 UsbPortManager.logAndPrint(Log.ERROR, mPw, in toContaminantProtectionStatus() 700 UsbPortManager.logAndPrint(Log.INFO, mPw, portName in notifyRoleSwitchStatus() 729 UsbPortManager.logAndPrint(Log.ERROR, mPw, portName in notifyEnableUsbDataStatus() [all …]
|
H A D | UsbPortHidl.java | 41 import static com.android.server.usb.UsbPortManager.logAndPrint; 106 logAndPrint(Log.INFO, null, "USB HAL HIDL version: " + version); in getUsbHalVersion() 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() 431 UsbPortManager.logAndPrint(Log.INFO, mPw, "ClientCallback V1_0: " in notifyPortStatusChange() 469 UsbPortManager.logAndPrint(Log.INFO, mPw, "ClientCallback V1_1: " in notifyPortStatusChange_1_1() [all …]
|
H A D | UsbPortHalInstance.java | 18 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()
|
/aosp14/frameworks/base/services/usb/java/com/android/server/usb/hal/gadget/ |
H A D | UsbGadgetHalInstance.java | 18 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()
|
H A D | UsbGadgetAidl.java | 20 import static com.android.server.usb.UsbDeviceManager.logAndPrint; 75 logAndPrint(Log.ERROR, mPw, "Usb Gadget AIDL hal service died"); in serviceDied() 199 logAndPrint(Log.INFO, mPw, "Usb setCurrentUsbFunctionsCb" in setCurrentUsbFunctionsCb() 203 logAndPrint(Log.ERROR, mPw, "Usb setCurrentUsbFunctionsCb failed" in setCurrentUsbFunctionsCb() 215 logAndPrint(Log.INFO, mPw, "Usb getCurrentUsbFunctionsCb" in getCurrentUsbFunctionsCb() 219 logAndPrint(Log.ERROR, mPw, "Usb getCurrentUsbFunctionsCb failed" in getCurrentUsbFunctionsCb() 228 logAndPrint(Log.INFO, mPw, "getUsbSpeedCb speed:" in getUsbSpeedCb() 236 logAndPrint(Log.INFO, mPw, "Usb resetCb status:" in resetCb() 239 logAndPrint(Log.ERROR, mPw, "Usb resetCb status" in resetCb()
|
H A D | UsbGadgetHidl.java | 23 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() 153 logAndPrint(Log.ERROR, pw, "Failed to register service start notification"); in UsbGadgetHidl()
|
/aosp14/frameworks/base/services/usb/java/com/android/server/usb/ |
H A D | UsbPortManager.java | 186 logAndPrint(Log.DEBUG, null, "getInstance done"); in UsbPortManager() 451 logAndPrint(Log.ERROR, pw, "enableUsbData: No such port: " + portId in enableUsbData() 532 logAndPrint(Log.ERROR, pw, "resetUsbPort: No such port: " + portId in resetUsbPort() 574 logAndPrint(Log.ERROR, pw, "Attempted to set USB port into unsupported " in setPortRoles() 646 logAndPrint(Log.ERROR, pw, "Trying to set the USB port mode: " in setPortRoles() 1129 logAndPrint(Log.WARN, pw, in addOrUpdatePortLocked() 1139 logAndPrint(Log.WARN, pw, in addOrUpdatePortLocked() 1168 logAndPrint(Log.INFO, pw, "USB port added: " + portInfo); in handlePortAddedLocked() 1173 logAndPrint(Log.INFO, pw, "USB port changed: " + portInfo); in handlePortChangedLocked() 1180 logAndPrint(Log.INFO, pw, "USB port compliance warning changed: " + portInfo); in handlePortComplianceWarningLocked() [all …]
|
H A D | UsbDeviceManager.java | 515 public static void logAndPrint(int priority, IndentingPrintWriter pw, String msg) { in logAndPrint() method in UsbDeviceManager
|