Home
last modified time | relevance | path

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

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DBluetoothEventManager.java51 private final CachedBluetoothDeviceManager mDeviceManager; field in BluetoothEventManager
84 mDeviceManager = deviceManager; in BluetoothEventManager()
207 mDeviceManager.onBluetoothStateChanged(state); in onReceive()
224 mDeviceManager.onScanningStateChanged(mStarted); in onReceive()
236 CachedBluetoothDevice cachedDevice = mDeviceManager.findDevice(device); in onReceive()
238 cachedDevice = mDeviceManager.addDevice(mLocalAdapter, mProfileManager, device); in onReceive()
252 CachedBluetoothDevice cachedDevice = mDeviceManager.findDevice(device); in onReceive()
286 CachedBluetoothDevice cachedDevice = mDeviceManager.findDevice(device); in onReceive()
304 mDeviceManager.onDeviceNameUpdated(device); in onReceive()
317 CachedBluetoothDevice cachedDevice = mDeviceManager.findDevice(device); in onReceive()
[all …]
DLocalBluetoothProfileManager.java83 private final CachedBluetoothDeviceManager mDeviceManager; field in LocalBluetoothProfileManager
115 mDeviceManager = deviceManager; in LocalBluetoothProfileManager()
132 mHidProfile = new HidProfile(context, mLocalAdapter, mDeviceManager, this); in LocalBluetoothProfileManager()
140 mHidDeviceProfile = new HidDeviceProfile(context, mLocalAdapter, mDeviceManager, this); in LocalBluetoothProfileManager()
146 mMapClientProfile = new MapClientProfile(mContext, mLocalAdapter, mDeviceManager, this); in LocalBluetoothProfileManager()
150 mMapProfile = new MapProfile(mContext, mLocalAdapter, mDeviceManager, this); in LocalBluetoothProfileManager()
164 mHearingAidProfile = new HearingAidProfile(mContext, mLocalAdapter, mDeviceManager, in LocalBluetoothProfileManager()
184 mA2dpProfile = new A2dpProfile(mContext, mLocalAdapter, mDeviceManager, this); in updateLocalProfiles()
196 … mA2dpSinkProfile = new A2dpSinkProfile(mContext, mLocalAdapter, mDeviceManager, this); in updateLocalProfiles()
210 mDeviceManager, this); in updateLocalProfiles()
[all …]
DPbapClientProfile.java43 private final CachedBluetoothDeviceManager mDeviceManager; field in PbapClientProfile
68 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); in onServiceConnected()
72 device = mDeviceManager.addDevice(mLocalAdapter, mProfileManager, nextDevice); in onServiceConnected()
89 Collection<CachedBluetoothDevice> cachedDevices = mDeviceManager.getCachedDevicesCopy(); in refreshProfiles()
112 mDeviceManager = deviceManager; in PbapClientProfile()
DHearingAidProfile.java48 private final CachedBluetoothDeviceManager mDeviceManager; field in HearingAidProfile
67 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); in onServiceConnected()
73 device = mDeviceManager.addDevice(mLocalAdapter, mProfileManager, nextDevice); in onServiceConnected()
81 mDeviceManager.updateHearingAidsDevices(mProfileManager); in onServiceConnected()
106 mDeviceManager = deviceManager; in HearingAidProfile()
DHidDeviceProfile.java44 private final CachedBluetoothDeviceManager mDeviceManager; field in HidDeviceProfile
55 mDeviceManager = deviceManager; in HidDeviceProfile()
73 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); in onServiceConnected()
77 device = mDeviceManager.addDevice(mLocalAdapter, mProfileManager, nextDevice); in onServiceConnected()
DHidProfile.java42 private final CachedBluetoothDeviceManager mDeviceManager; field in HidProfile
61 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); in onServiceConnected()
65 device = mDeviceManager.addDevice(mLocalAdapter, mProfileManager, nextDevice); in onServiceConnected()
92 mDeviceManager = deviceManager; in HidProfile()
DMapClientProfile.java45 private final CachedBluetoothDeviceManager mDeviceManager; field in MapClientProfile
70 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); in onServiceConnected()
74 device = mDeviceManager.addDevice(mLocalAdapter, mProfileManager, nextDevice); in onServiceConnected()
106 mDeviceManager = deviceManager; in MapClientProfile()
DA2dpSinkProfile.java42 private final CachedBluetoothDeviceManager mDeviceManager; field in A2dpSinkProfile
66 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); in onServiceConnected()
70 device = mDeviceManager.addDevice(mLocalAdapter, mProfileManager, nextDevice); in onServiceConnected()
97 mDeviceManager = deviceManager; in A2dpSinkProfile()
DMapProfile.java45 private final CachedBluetoothDeviceManager mDeviceManager; field in MapProfile
69 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); in onServiceConnected()
73 device = mDeviceManager.addDevice(mLocalAdapter, mProfileManager, nextDevice); in onServiceConnected()
105 mDeviceManager = deviceManager; in MapProfile()
DSapProfile.java45 private final CachedBluetoothDeviceManager mDeviceManager; field in SapProfile
68 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); in onServiceConnected()
72 device = mDeviceManager.addDevice(mLocalAdapter, mProfileManager, nextDevice); in onServiceConnected()
103 mDeviceManager = deviceManager; in SapProfile()
DHfpClientProfile.java45 private final CachedBluetoothDeviceManager mDeviceManager; field in HfpClientProfile
70 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); in onServiceConnected()
74 device = mDeviceManager.addDevice(mLocalAdapter, mProfileManager, nextDevice); in onServiceConnected()
104 mDeviceManager = deviceManager; in HfpClientProfile()
DHeadsetProfile.java45 private final CachedBluetoothDeviceManager mDeviceManager; field in HeadsetProfile
69 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); in onServiceConnected()
73 device = mDeviceManager.addDevice(mLocalAdapter, mProfileManager, nextDevice); in onServiceConnected()
104 mDeviceManager = deviceManager; in HeadsetProfile()
DA2dpProfile.java50 private final CachedBluetoothDeviceManager mDeviceManager; field in A2dpProfile
75 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); in onServiceConnected()
79 device = mDeviceManager.addDevice(mLocalAdapter, mProfileManager, nextDevice); in onServiceConnected()
107 mDeviceManager = deviceManager; in A2dpProfile()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbService.java107 private UsbDeviceManager mDeviceManager; field in UsbService
139 mDeviceManager = new UsbDeviceManager(context, mAlsaManager, mSettingsManager); in UsbService()
141 if (mHostManager != null || mDeviceManager != null) { in UsbService()
153 if (mDeviceManager != null) { in UsbService()
154 mDeviceManager.updateUserRestrictions(); in UsbService()
183 if (mDeviceManager != null) { in onSwitchUser()
184 mDeviceManager.setCurrentUser(newUserId, settings); in onSwitchUser()
201 if (mDeviceManager != null) { in systemReady()
202 mDeviceManager.systemReady(); in systemReady()
213 if (mDeviceManager != null) { in bootCompleted()
[all …]
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/
DLocalBluetoothProfileManagerTest.java56 private CachedBluetoothDeviceManager mDeviceManager; field in LocalBluetoothProfileManagerTest
75 mDeviceManager, mContext)); in setUp()
77 when(mDeviceManager.findDevice(mDevice)).thenReturn(mCachedBluetoothDevice); in setUp()
86 new LocalBluetoothProfileManager(mContext, mAdapter, mDeviceManager, mEventManager); in constructor_initiateHidAndHidDeviceProfile()
98 new LocalBluetoothProfileManager(mContext, mAdapter, mDeviceManager, mEventManager); in updateLocalProfiles_addA2dpToLocalProfiles()
116 new LocalBluetoothProfileManager(mContext, mAdapter, mDeviceManager, mEventManager); in updateProfiles_addHidProfileForRemoteDevice()
137 mProfileManager = new LocalBluetoothProfileManager(mContext, mAdapter, mDeviceManager, in stateChangedHandler_receiveA2dpConnectionStateChanged_shouldDispatchCallback()
160 mProfileManager = new LocalBluetoothProfileManager(mContext, mAdapter, mDeviceManager, in stateChangedHandler_receiveHeadsetConnectionStateChanged_shouldDispatchCallback()
186 mProfileManager = new LocalBluetoothProfileManager(mContext, mAdapter, mDeviceManager, in stateChangedHandler_receiveHAPConnectionStateChanged_shouldDispatchCallback()
209 mProfileManager = new LocalBluetoothProfileManager(mContext, mAdapter, mDeviceManager, in stateChangedHandler_receivePanConnectionStateChanged_shouldNotDispatchCallback()
[all …]
DHeadsetProfileTest.java30 private CachedBluetoothDeviceManager mDeviceManager; field in HeadsetProfileTest
53 mProfile = new HeadsetProfile(context, mAdapter, mDeviceManager, mProfileManager); in setUp()
DA2dpProfileTest.java48 @Mock CachedBluetoothDeviceManager mDeviceManager; field in A2dpProfileTest
69 mProfile = new A2dpProfile(mContext, mAdapter, mDeviceManager, mProfileManager); in setUp()