Home
last modified time | relevance | path

Searched refs:mSettingsManager (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/java/com/android/server/usb/
DUsbService.java43 private final UsbSettingsManager mSettingsManager; field in UsbService
48 mSettingsManager = new UsbSettingsManager(context); in UsbService()
51 mHostManager = new UsbHostManager(context, mSettingsManager); in UsbService()
54 mDeviceManager = new UsbDeviceManager(context, mSettingsManager); in UsbService()
103 mSettingsManager.setDevicePackage(device, packageName); in setDevicePackage()
108 mSettingsManager.setAccessoryPackage(accessory, packageName); in setAccessoryPackage()
112 return mSettingsManager.hasPermission(device); in hasDevicePermission()
116 return mSettingsManager.hasPermission(accessory); in hasAccessoryPermission()
121 mSettingsManager.requestPermission(device, packageName, pi); in requestDevicePermission()
126 mSettingsManager.requestPermission(accessory, packageName, pi); in requestAccessoryPermission()
[all …]
DUsbHostManager.java64 private final UsbSettingsManager mSettingsManager; field in UsbHostManager
68 mSettingsManager = settingsManager; in UsbHostManager()
157 mSettingsManager.deviceAttached(device); in usbDeviceAdded()
166 mSettingsManager.deviceDetached(device); in usbDeviceRemoved()
205 mSettingsManager.checkPermission(device); in openDevice()
DUsbDeviceManager.java96 private final UsbSettingsManager mSettingsManager; field in UsbDeviceManager
136 mSettingsManager = settingsManager; in UsbDeviceManager()
446 mSettingsManager.accessoryAttached(mCurrentAccessory); in updateCurrentAccessory()
459 mSettingsManager.accessoryDetached(mCurrentAccessory); in updateCurrentAccessory()
520 mSettingsManager.accessoryAttached(mCurrentAccessory); in handleMessage()
656 mSettingsManager.checkPermission(accessory); in openAccessory()