Home
last modified time | relevance | path

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

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DBluetoothEventManager.java55 private final CachedBluetoothDeviceManager mDeviceManager; field in BluetoothEventManager
82 mDeviceManager = deviceManager; in BluetoothEventManager()
180 CachedBluetoothDevice cachedDevice = mDeviceManager.findDevice(device); in readPairedDevices()
182 mDeviceManager.addDevice(device); in readPairedDevices()
216 for (CachedBluetoothDevice cachedDevice : mDeviceManager.getCachedDevicesCopy()) { in dispatchAudioModeChanged()
227 for (CachedBluetoothDevice cachedDevice : mDeviceManager.getCachedDevicesCopy()) { in dispatchActiveDeviceChanged()
273 mDeviceManager.onBluetoothStateChanged(state); in onReceive()
288 mDeviceManager.onScanningStateChanged(mStarted); in onReceive()
299 CachedBluetoothDevice cachedDevice = mDeviceManager.findDevice(device); in onReceive()
301 cachedDevice = mDeviceManager.addDevice(device); in onReceive()
[all …]
DLocalBluetoothProfileManager.java87 private final CachedBluetoothDeviceManager mDeviceManager; field in LocalBluetoothProfileManager
117 mDeviceManager = deviceManager; in LocalBluetoothProfileManager()
136 mA2dpProfile = new A2dpProfile(mContext, mDeviceManager, this); in updateLocalProfiles()
142 mA2dpSinkProfile = new A2dpSinkProfile(mContext, mDeviceManager, this); in updateLocalProfiles()
148 mHeadsetProfile = new HeadsetProfile(mContext, mDeviceManager, this); in updateLocalProfiles()
156 mHfpClientProfile = new HfpClientProfile(mContext, mDeviceManager, this); in updateLocalProfiles()
164 mMapClientProfile = new MapClientProfile(mContext, mDeviceManager,this); in updateLocalProfiles()
170 mMapProfile = new MapProfile(mContext, mDeviceManager, this); in updateLocalProfiles()
181 mHearingAidProfile = new HearingAidProfile(mContext, mDeviceManager, in updateLocalProfiles()
188 mHidProfile = new HidProfile(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()
DHearingAidProfile.java45 private final CachedBluetoothDeviceManager mDeviceManager; field in HearingAidProfile
64 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); in onServiceConnected()
70 device = mDeviceManager.addDevice(nextDevice); in onServiceConnected()
78 mDeviceManager.updateHearingAidsDevices(); in onServiceConnected()
100 mDeviceManager = deviceManager; in HearingAidProfile()
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()
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()
DHidProfile.java43 private final CachedBluetoothDeviceManager mDeviceManager; field in HidProfile
61 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); in onServiceConnected()
65 device = mDeviceManager.addDevice(nextDevice); in onServiceConnected()
90 mDeviceManager = deviceManager; in HidProfile()
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()
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()
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()
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()
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()
DA2dpProfile.java48 private final CachedBluetoothDeviceManager mDeviceManager; field in A2dpProfile
72 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); in onServiceConnected()
76 device = mDeviceManager.addDevice(nextDevice); in onServiceConnected()
102 mDeviceManager = deviceManager; in A2dpProfile()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbService.java134 private UsbDeviceManager mDeviceManager; field in UsbService
178 mDeviceManager = new UsbDeviceManager(context, mAlsaManager, mSettingsManager, in UsbService()
181 if (mHostManager != null || mDeviceManager != null) { in UsbService()
193 if (mDeviceManager != null) { in UsbService()
194 mDeviceManager.updateUserRestrictions(); in UsbService()
223 if (mDeviceManager != null) { in onSwitchUser()
224 mDeviceManager.setCurrentUser(newUserId, settings); in onSwitchUser()
241 if (mDeviceManager != null) { in systemReady()
242 mDeviceManager.systemReady(); in systemReady()
253 if (mDeviceManager != null) { in bootCompleted()
[all …]
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/
DLocalBluetoothProfileManagerTest.java61 private CachedBluetoothDeviceManager mDeviceManager; field in LocalBluetoothProfileManagerTest
80 mEventManager = spy(new BluetoothEventManager(mLocalBluetoothAdapter, mDeviceManager, in setUp()
83 when(mDeviceManager.findDevice(mDevice)).thenReturn(mCachedBluetoothDevice); in setUp()
86 mDeviceManager, mEventManager); in setUp()
105 mDeviceManager, mEventManager)); in constructor_doNotUpdateProfiles()
208 verify(mDeviceManager).onProfileConnectionStateChangedIfProcessed(mCachedBluetoothDevice, in stateChangedHandler_receiveHAPConnectionStateChanged_shouldDispatchDeviceManager()
DPbapClientProfileTest.java45 private CachedBluetoothDeviceManager mDeviceManager; field in PbapClientProfileTest
61 mDeviceManager, mProfileManager); in setUp()
DSapProfileTest.java45 private CachedBluetoothDeviceManager mDeviceManager; field in SapProfileTest
60 mProfile = new SapProfile(RuntimeEnvironment.application, mDeviceManager, mProfileManager); in setUp()
DHfpClientProfileTest.java45 private CachedBluetoothDeviceManager mDeviceManager; field in HfpClientProfileTest
61 mDeviceManager, mProfileManager); in setUp()
DMapClientProfileTest.java45 private CachedBluetoothDeviceManager mDeviceManager; field in MapClientProfileTest
61 mDeviceManager, mProfileManager); in setUp()
DA2dpSinkProfileTest.java45 private CachedBluetoothDeviceManager mDeviceManager; field in A2dpSinkProfileTest
61 mDeviceManager, mProfileManager); in setUp()
DHidDeviceProfileTest.java45 private CachedBluetoothDeviceManager mDeviceManager; field in HidDeviceProfileTest
61 mDeviceManager, mProfileManager); in setUp()
DHearingAidProfileTest.java45 private CachedBluetoothDeviceManager mDeviceManager; field in HearingAidProfileTest
67 mProfile = new HearingAidProfile(context, mDeviceManager, mProfileManager); in setUp()
DHeadsetProfileTest.java31 private CachedBluetoothDeviceManager mDeviceManager; field in HeadsetProfileTest
52 mProfile = new HeadsetProfile(context, mDeviceManager, mProfileManager); in setUp()
DA2dpProfileTest.java53 private CachedBluetoothDeviceManager mDeviceManager; field in A2dpProfileTest
69 mProfile = new A2dpProfile(mContext, mDeviceManager, mProfileManager); in setUp()