Home
last modified time | relevance | path

Searched refs:canBeDefault (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
DUsbPermissionActivity.java61 if (!useRecordWarning && mDialogHelper.canBeDefault()) { in onResume()
DUsbDialogHelper.java292 public boolean canBeDefault() { in canBeDefault() method in UsbDialogHelper
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbUserPermissionManager.java526 boolean canBeDefault, in requestPermissionDialog() argument
541 intent.putExtra(UsbManager.EXTRA_CAN_BE_DEFAULT, canBeDefault); in requestPermissionDialog()
691 boolean canBeDefault, in requestPermissionDialog() argument
713 requestPermissionDialog(device, accessory, canBeDefault, packageName, uid, mContext, pi); in requestPermissionDialog()
748 mUsbUserSettingsManager.canBeDefault(device, packageName), packageName, pi, uid); in requestPermission()
767 mUsbUserSettingsManager.canBeDefault(accessory, packageName), packageName, pi, uid); in requestPermission()
DUsbUserSettingsManager.java98 boolean canBeDefault(@NonNull UsbDevice device, String packageName) { in canBeDefault() method in UsbUserSettingsManager
140 boolean canBeDefault(@NonNull UsbAccessory accessory, String packageName) { in canBeDefault() method in UsbUserSettingsManager