Searched refs:ACTION_USB_STATE (Results 1 – 15 of 15) sorted by relevance
66 intent.setAction(UsbManager.ACTION_USB_STATE); in onReceive_usbConnected_invokeCallback()78 intent.setAction(UsbManager.ACTION_USB_STATE); in onReceive_usbDisconnected_invokeCallback()90 intent.setAction(UsbManager.ACTION_USB_STATE); in onReceive_usbConnectedMtpEnabled_invokeCallback()104 intent.setAction(UsbManager.ACTION_USB_STATE); in onReceive_usbConnectedNcmEnabled_invokesCallback()
38 null, new IntentFilter(UsbManager.ACTION_USB_STATE)); in onReceive()42 } else if (UsbManager.ACTION_USB_STATE.equals(action)) { in onReceive()
53 IntentFilter filter = new IntentFilter(UsbManager.ACTION_USB_STATE); in onStart()89 } else if (TextUtils.equals(UsbManager.ACTION_USB_STATE, action)) {
78 if (UsbManager.ACTION_USB_STATE.equals(action)) { in onReceive()91 IntentFilter filter = new IntentFilter(UsbManager.ACTION_USB_STATE); in onStart()
75 IntentFilter filter = new IntentFilter(UsbManager.ACTION_USB_STATE); in onCreate()121 if (!UsbManager.ACTION_USB_STATE.equals(action)) { in onReceive()
57 if (UsbManager.ACTION_USB_STATE.equals(intent.getAction())) { in onReceive()102 intentFilter.addAction(UsbManager.ACTION_USB_STATE); in register()
21 import static android.hardware.usb.UsbManager.ACTION_USB_STATE;298 Intent usbStateChanged = new Intent(ACTION_USB_STATE); in onReceive_usbIsConnected_tetheringPreferenceIsEnabled()313 Intent usbStateChanged = new Intent(ACTION_USB_STATE); in onReceive_usbIsDisconnected_tetheringPreferenceIsDisabled()343 Intent usbStateChanged = new Intent(ACTION_USB_STATE); in onReceive_mediaIsUnshared_tetheringPreferenceIsEnabled()
283 } else if (action.equals(UsbManager.ACTION_USB_STATE)) { in onReceive()366 filter.addAction(UsbManager.ACTION_USB_STATE); in registerReceiver()
98 public static final String ACTION_USB_STATE = field in UsbManager
411 filter.addAction(UsbManager.ACTION_USB_STATE); in startStateMachineUpdaters()1008 if (action.equals(UsbManager.ACTION_USB_STATE)) { in onReceive()
611 filter.addAction(UsbManager.ACTION_USB_STATE); in onCreateView()
785 Intent intent = new Intent(UsbManager.ACTION_USB_STATE); in updateUsbStateBroadcastIfNeeded()
757 final Intent intent = new Intent(UsbManager.ACTION_USB_STATE); in sendUsbBroadcast()
5643 usbStateFilter.addAction(UsbManager.ACTION_USB_STATE); in registerUsbStateReceiver()
4481 field public static final String ACTION_USB_STATE = "android.hardware.usb.action.USB_STATE";