/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/ |
D | BluetoothEventManager.java | 61 private final CachedBluetoothDeviceManager mDeviceManager; field in BluetoothEventManager 93 mDeviceManager = deviceManager; in BluetoothEventManager() 197 CachedBluetoothDevice cachedDevice = mDeviceManager.findDevice(device); in readPairedDevices() 199 mDeviceManager.addDevice(device); in readPairedDevices() 249 for (CachedBluetoothDevice cachedDevice : mDeviceManager.getCachedDevicesCopy()) { in dispatchAudioModeChanged() 261 for (CachedBluetoothDevice cachedDevice : mDeviceManager.getCachedDevicesCopy()) { in dispatchActiveDeviceChanged() 278 mDeviceManager.onActiveDeviceChanged(cachedDevice); in dispatchActiveDeviceChanged() 323 mDeviceManager.onBluetoothStateChanged(state); in onReceive() 338 mDeviceManager.onScanningStateChanged(mStarted); in onReceive() 351 CachedBluetoothDevice cachedDevice = mDeviceManager.findDevice(device); in onReceive() [all …]
|
D | LocalBluetoothProfileManager.java | 92 private final CachedBluetoothDeviceManager mDeviceManager; field in LocalBluetoothProfileManager 128 mDeviceManager = deviceManager; in LocalBluetoothProfileManager() 147 mA2dpProfile = new A2dpProfile(mContext, mDeviceManager, this); in updateLocalProfiles() 153 mA2dpSinkProfile = new A2dpSinkProfile(mContext, mDeviceManager, this); in updateLocalProfiles() 159 mHeadsetProfile = new HeadsetProfile(mContext, mDeviceManager, this); in updateLocalProfiles() 167 mHfpClientProfile = new HfpClientProfile(mContext, mDeviceManager, this); in updateLocalProfiles() 173 mMapClientProfile = new MapClientProfile(mContext, mDeviceManager,this); in updateLocalProfiles() 179 mMapProfile = new MapProfile(mContext, mDeviceManager, this); in updateLocalProfiles() 190 mHearingAidProfile = new HearingAidProfile(mContext, mDeviceManager, in updateLocalProfiles() 197 mHapClientProfile = new HapClientProfile(mContext, mDeviceManager, this); in updateLocalProfiles() [all …]
|
D | PbapClientProfile.java | 44 private final CachedBluetoothDeviceManager mDeviceManager; field in PbapClientProfile 66 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); in onServiceConnected() 70 device = mDeviceManager.addDevice(nextDevice); in onServiceConnected() 84 Collection<CachedBluetoothDevice> cachedDevices = mDeviceManager.getCachedDevicesCopy(); in refreshProfiles() 105 mDeviceManager = deviceManager; in PbapClientProfile()
|
D | CsipSetCoordinatorProfile.java | 52 private final CachedBluetoothDeviceManager mDeviceManager; field in CsipSetCoordinatorProfile 72 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); in onServiceConnected() 78 device = mDeviceManager.addDevice(nextDevice); in onServiceConnected() 85 mDeviceManager.updateCsipDevices(); in onServiceConnected() 102 mDeviceManager = deviceManager; in CsipSetCoordinatorProfile()
|
D | HidDeviceProfile.java | 43 private final CachedBluetoothDeviceManager mDeviceManager; field in HidDeviceProfile 52 mDeviceManager = deviceManager; in HidDeviceProfile() 67 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); in onServiceConnected() 71 device = mDeviceManager.addDevice(nextDevice); in onServiceConnected()
|
D | SapProfile.java | 46 private final CachedBluetoothDeviceManager mDeviceManager; field in SapProfile 68 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); in onServiceConnected() 72 device = mDeviceManager.addDevice(nextDevice); in onServiceConnected() 100 mDeviceManager = deviceManager; in SapProfile()
|
D | MapClientProfile.java | 46 private final CachedBluetoothDeviceManager mDeviceManager; field in MapClientProfile 68 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); in onServiceConnected() 72 device = mDeviceManager.addDevice(nextDevice); in onServiceConnected() 101 mDeviceManager = deviceManager; in MapClientProfile()
|
D | MapProfile.java | 46 private final CachedBluetoothDeviceManager mDeviceManager; field in MapProfile 69 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); in onServiceConnected() 73 device = mDeviceManager.addDevice(nextDevice); in onServiceConnected() 102 mDeviceManager = deviceManager; in MapProfile()
|
D | HidProfile.java | 45 private final CachedBluetoothDeviceManager mDeviceManager; field in HidProfile 63 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); in onServiceConnected() 67 device = mDeviceManager.addDevice(nextDevice); in onServiceConnected() 92 mDeviceManager = deviceManager; in HidProfile()
|
D | HfpClientProfile.java | 46 private final CachedBluetoothDeviceManager mDeviceManager; field in HfpClientProfile 70 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); in onServiceConnected() 74 device = mDeviceManager.addDevice(nextDevice); in onServiceConnected() 101 mDeviceManager = deviceManager; in HfpClientProfile()
|
D | A2dpSinkProfile.java | 43 private final CachedBluetoothDeviceManager mDeviceManager; field in A2dpSinkProfile 66 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); in onServiceConnected() 70 device = mDeviceManager.addDevice(nextDevice); in onServiceConnected() 94 mDeviceManager = deviceManager; in A2dpSinkProfile()
|
D | HearingAidProfile.java | 80 private final CachedBluetoothDeviceManager mDeviceManager; field in HearingAidProfile 99 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); in onServiceConnected() 105 device = mDeviceManager.addDevice(nextDevice); in onServiceConnected() 113 mDeviceManager.updateHearingAidsDevices(); in onServiceConnected() 136 mDeviceManager = deviceManager; in HearingAidProfile()
|
D | HeadsetProfile.java | 47 private final CachedBluetoothDeviceManager mDeviceManager; field in HeadsetProfile 71 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); in onServiceConnected() 75 device = mDeviceManager.addDevice(nextDevice); in onServiceConnected() 102 mDeviceManager = deviceManager; in HeadsetProfile()
|
D | LeAudioProfile.java | 52 private final CachedBluetoothDeviceManager mDeviceManager; field in LeAudioProfile 74 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); in onServiceConnected() 80 device = mDeviceManager.addDevice(nextDevice); in onServiceConnected() 87 mDeviceManager.updateHearingAidsDevices(); in onServiceConnected() 115 mDeviceManager = deviceManager; in LeAudioProfile()
|
D | VolumeControlProfile.java | 49 private final CachedBluetoothDeviceManager mDeviceManager; field in VolumeControlProfile 70 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); in onServiceConnected() 76 device = mDeviceManager.addDevice(nextDevice); in onServiceConnected() 101 mDeviceManager = deviceManager; in VolumeControlProfile()
|
/frameworks/base/services/usb/java/com/android/server/usb/ |
D | UsbService.java | 148 private UsbDeviceManager mDeviceManager; field in UsbService 198 mDeviceManager = new UsbDeviceManager(context, mAlsaManager, mSettingsManager, in UsbService() 201 if (mHostManager != null || mDeviceManager != null) { in UsbService() 213 if (mDeviceManager != null) { in UsbService() 214 mDeviceManager.updateUserRestrictions(); in UsbService() 258 if (mDeviceManager != null) { in onSwitchUser() 259 mDeviceManager.setCurrentUser(newUserId, settings); in onSwitchUser() 276 if (mDeviceManager != null) { in systemReady() 277 mDeviceManager.systemReady(); in systemReady() 288 if (mDeviceManager != null) { in bootCompleted() [all …]
|
/frameworks/base/services/usb/java/com/android/server/usb/hal/gadget/ |
D | UsbGadgetAidl.java | 53 private final UsbDeviceManager mDeviceManager; field in UsbGadgetAidl 105 mDeviceManager = Objects.requireNonNull(deviceManager); in UsbGadgetAidl() 203 mDeviceManager.setCurrentUsbFunctionsCb(functions, status, in setCurrentUsbFunctionsCb() 219 mDeviceManager.getCurrentUsbFunctionsCb(functions, status); in getCurrentUsbFunctionsCb() 226 mDeviceManager.getUsbSpeedCb(speed); in getUsbSpeedCb() 238 mDeviceManager.resetCb(status); in resetCb()
|
D | UsbGadgetHidl.java | 57 private UsbDeviceManager mDeviceManager; field in UsbGadgetHidl 140 mDeviceManager = Objects.requireNonNull(deviceManager); in UsbGadgetHidl() 241 mDeviceManager.setCurrentUsbFunctionsCb(functions, status, in setCurrentUsbFunctionsCb() 248 mDeviceManager.getCurrentUsbFunctionsCb(functions, status); in getCurrentUsbFunctionsCb() 253 mDeviceManager.getUsbSpeedCb(speed); in getUsbSpeedCb()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/ |
D | LocalBluetoothProfileManagerTest.java | 65 private CachedBluetoothDeviceManager mDeviceManager; field in LocalBluetoothProfileManagerTest 89 mDeviceManager, in setUp() 94 when(mDeviceManager.findDevice(mDevice)).thenReturn(mCachedBluetoothDevice); in setUp() 98 mContext, mLocalBluetoothAdapter, mDeviceManager, mEventManager); in setUp() 117 mDeviceManager, mEventManager)); in constructor_doNotUpdateProfiles() 221 verify(mDeviceManager).onProfileConnectionStateChangedIfProcessed(mCachedBluetoothDevice, in stateChangedHandler_receiveHearingAidConnectionStateChanged_dispatchDeviceManager() 243 verify(mDeviceManager).syncDeviceWithinHearingAidSetIfNeeded(mCachedBluetoothDevice, in stateChangedHandler_receiveHapClientConnectionStateChanged_dispatchDeviceManager()
|
D | PbapClientProfileTest.java | 45 private CachedBluetoothDeviceManager mDeviceManager; field in PbapClientProfileTest 61 mDeviceManager, mProfileManager); in setUp()
|
D | A2dpSinkProfileTest.java | 45 private CachedBluetoothDeviceManager mDeviceManager; field in A2dpSinkProfileTest 61 mDeviceManager, mProfileManager); in setUp()
|
D | HfpClientProfileTest.java | 45 private CachedBluetoothDeviceManager mDeviceManager; field in HfpClientProfileTest 61 mDeviceManager, mProfileManager); in setUp()
|
D | HidDeviceProfileTest.java | 45 private CachedBluetoothDeviceManager mDeviceManager; field in HidDeviceProfileTest 61 mDeviceManager, mProfileManager); in setUp()
|
D | MapClientProfileTest.java | 45 private CachedBluetoothDeviceManager mDeviceManager; field in MapClientProfileTest 61 mDeviceManager, mProfileManager); in setUp()
|
D | SapProfileTest.java | 45 private CachedBluetoothDeviceManager mDeviceManager; field in SapProfileTest 60 mProfile = new SapProfile(RuntimeEnvironment.application, mDeviceManager, mProfileManager); in setUp()
|