Searched refs:FUNCTION_NONE (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/tests/UsbTests/src/com/android/server/usb/ |
D | UsbHandlerTest.java | 187 assertEquals(mUsbHandler.getEnabledFunctions(), UsbManager.FUNCTION_NONE); in enableAdb() 212 assertEquals(mUsbHandler.getEnabledFunctions(), UsbManager.FUNCTION_NONE); in disableAdb() 222 assertEquals(mUsbHandler.getEnabledFunctions(), UsbManager.FUNCTION_NONE); in bootCompletedCharging() 234 assertEquals(mUsbHandler.getEnabledFunctions(), UsbManager.FUNCTION_NONE); in bootCompletedAdbEnabled() 249 assertEquals(mUsbHandler.getEnabledFunctions(), UsbManager.FUNCTION_NONE); in userSwitchedDisablesMtp() 261 assertEquals(mUsbHandler.getEnabledFunctions(), UsbManager.FUNCTION_NONE); in changedRestrictionsDisablesMtp() 275 assertEquals(mUsbHandler.getEnabledFunctions(), UsbManager.FUNCTION_NONE); in disconnectResetsCharging()
|
/frameworks/base/services/usb/java/com/android/server/usb/ |
D | UsbDeviceManager.java | 406 long functions = UsbManager.FUNCTION_NONE; in startAccessoryMode() 414 if (functions != UsbManager.FUNCTION_NONE) { in startAccessoryMode() 663 setEnabledFunctions(UsbManager.FUNCTION_NONE, false); in notifyAccessoryModeExit() 790 if (functions == UsbManager.FUNCTION_NONE) { in getAppliedFunctions() 819 && mScreenUnlockedFunctions != UsbManager.FUNCTION_NONE) { in handleMessage() 822 setEnabledFunctions(UsbManager.FUNCTION_NONE, false); in handleMessage() 912 if (!mScreenLocked && mScreenUnlockedFunctions != UsbManager.FUNCTION_NONE) { in handleMessage() 916 setEnabledFunctions(UsbManager.FUNCTION_NONE, false); in handleMessage() 929 setEnabledFunctions(UsbManager.FUNCTION_NONE, false); in handleMessage() 932 if (mScreenUnlockedFunctions != UsbManager.FUNCTION_NONE in handleMessage() [all …]
|
/frameworks/base/core/java/android/hardware/usb/ |
D | UsbManager.java | 335 public static final long FUNCTION_NONE = 0; field in UsbManager 411 FUNCTION_NONE, 945 return functions == FUNCTION_NONE in areSettableFunctions() 994 return FUNCTION_NONE; in usbFunctionsFromString()
|
/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/ |
D | TetheringTest.java | 1642 verify(mUsbManager, times(1)).setCurrentFunctions(UsbManager.FUNCTION_NONE); in testDataSaverChanged() 1654 verify(mUsbManager, times(0)).setCurrentFunctions(UsbManager.FUNCTION_NONE); in testDataSaverChanged() 1659 verify(mUsbManager, times(0)).setCurrentFunctions(UsbManager.FUNCTION_NONE); in testDataSaverChanged() 1709 verify(mUsbManager, never()).setCurrentFunctions(UsbManager.FUNCTION_NONE); in testMultipleStartTethering() 1718 verify(mUsbManager, times(1)).setCurrentFunctions(UsbManager.FUNCTION_NONE); in testMultipleStartTethering() 1901 verify(mUsbManager).setCurrentFunctions(UsbManager.FUNCTION_NONE); in testHandleIpConflict() 1939 verify(mUsbManager).setCurrentFunctions(UsbManager.FUNCTION_NONE); in testNoAddressAvailable()
|
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/ |
D | Tethering.java | 1298 : UsbManager.FUNCTION_NONE); in setUsbTethering() 1308 : UsbManager.FUNCTION_NONE); in setNcmTethering()
|
/frameworks/base/api/ |
D | system-current.txt | 3280 field public static final long FUNCTION_NONE = 0L; // 0x0L
|
/frameworks/base/non-updatable-api/ |
D | system-current.txt | 3280 field public static final long FUNCTION_NONE = 0L; // 0x0L
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 25301 Landroid/hardware/usb/UsbManager;->FUNCTION_NONE:J
|