Home
last modified time | relevance | path

Searched refs:mDeviceManager (Results 1 – 25 of 34) sorted by relevance

12

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DBluetoothEventManager.java61 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 …]
DLocalBluetoothProfileManager.java92 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 …]
DPbapClientProfile.java44 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()
DCsipSetCoordinatorProfile.java52 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()
DHidDeviceProfile.java43 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()
DSapProfile.java46 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()
DMapClientProfile.java46 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()
DMapProfile.java46 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()
DHidProfile.java45 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()
DHfpClientProfile.java46 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()
DA2dpSinkProfile.java43 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()
DHearingAidProfile.java80 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()
DHeadsetProfile.java47 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()
DLeAudioProfile.java52 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()
DVolumeControlProfile.java49 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/
DUsbService.java148 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/
DUsbGadgetAidl.java53 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()
DUsbGadgetHidl.java57 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/
DLocalBluetoothProfileManagerTest.java65 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()
DPbapClientProfileTest.java45 private CachedBluetoothDeviceManager mDeviceManager; field in PbapClientProfileTest
61 mDeviceManager, mProfileManager); in setUp()
DA2dpSinkProfileTest.java45 private CachedBluetoothDeviceManager mDeviceManager; field in A2dpSinkProfileTest
61 mDeviceManager, mProfileManager); in setUp()
DHfpClientProfileTest.java45 private CachedBluetoothDeviceManager mDeviceManager; field in HfpClientProfileTest
61 mDeviceManager, mProfileManager); in setUp()
DHidDeviceProfileTest.java45 private CachedBluetoothDeviceManager mDeviceManager; field in HidDeviceProfileTest
61 mDeviceManager, mProfileManager); in setUp()
DMapClientProfileTest.java45 private CachedBluetoothDeviceManager mDeviceManager; field in MapClientProfileTest
61 mDeviceManager, mProfileManager); in setUp()
DSapProfileTest.java45 private CachedBluetoothDeviceManager mDeviceManager; field in SapProfileTest
60 mProfile = new SapProfile(RuntimeEnvironment.application, mDeviceManager, mProfileManager); in setUp()

12