Home
last modified time | relevance | path

Searched refs:containsFunction (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/usb/java/com/android/server/usb/
DUsbDeviceManager.java343 mAdbEnabled = UsbManager.containsFunction(getDefaultFunctions(), in UsbHandler()
647 boolean enabled = UsbManager.containsFunction(mCurrentFunctions,
673 boolean enabled = UsbManager.containsFunction(mCurrentFunctions,
708 if (UsbManager.containsFunction(mCurrentFunctions,
759 final boolean active = UsbManager.containsFunction(mCurrentFunctions,
761 || UsbManager.containsFunction(mCurrentFunctions,
793 } else if (UsbManager.containsFunction(mCurrentFunctions,
796 } else if (UsbManager.containsFunction(mCurrentFunctions,
799 } else if (UsbManager.containsFunction(mCurrentFunctions,
802 } else if (UsbManager.containsFunction(mCurrentFunctions,
[all …]
/frameworks/base/core/java/android/hardware/usb/
DUsbManager.java618 if (!containsFunction(functions, function)) { in addFunction()
652 public static boolean containsFunction(String functions, String function) { in containsFunction() method in UsbManager