Searched refs:mSettingsManager (Results 1 – 3 of 3) sorted by relevance
43 private final UsbSettingsManager mSettingsManager; field in UsbService48 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 …]
64 private final UsbSettingsManager mSettingsManager; field in UsbHostManager68 mSettingsManager = settingsManager; in UsbHostManager()157 mSettingsManager.deviceAttached(device); in usbDeviceAdded()166 mSettingsManager.deviceDetached(device); in usbDeviceRemoved()205 mSettingsManager.checkPermission(device); in openDevice()
96 private final UsbSettingsManager mSettingsManager; field in UsbDeviceManager136 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()