Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DBluetoothEventManager.java54 private final CachedBluetoothDeviceManager mDeviceManager; field in BluetoothEventManager
81 mDeviceManager = deviceManager; in BluetoothEventManager()
179 CachedBluetoothDevice cachedDevice = mDeviceManager.findDevice(device); in readPairedDevices()
181 mDeviceManager.addDevice(device); in readPairedDevices()
215 mDeviceManager.dispatchAudioModeChanged(); in dispatchAudioModeChanged()
223 mDeviceManager.onActiveDeviceChanged(activeDevice, bluetoothProfile); in dispatchActiveDeviceChanged()
266 mDeviceManager.onBluetoothStateChanged(state); in onReceive()
281 mDeviceManager.onScanningStateChanged(mStarted); in onReceive()
292 CachedBluetoothDevice cachedDevice = mDeviceManager.findDevice(device); in onReceive()
294 cachedDevice = mDeviceManager.addDevice(device); in onReceive()
[all …]
DLocalBluetoothProfileManager.java86 private final CachedBluetoothDeviceManager mDeviceManager; field in LocalBluetoothProfileManager
116 mDeviceManager = deviceManager; in LocalBluetoothProfileManager()
135 mA2dpProfile = new A2dpProfile(mContext, mDeviceManager, this); in updateLocalProfiles()
141 mA2dpSinkProfile = new A2dpSinkProfile(mContext, mDeviceManager, this); in updateLocalProfiles()
147 mHeadsetProfile = new HeadsetProfile(mContext, mDeviceManager, this); in updateLocalProfiles()
155 mHfpClientProfile = new HfpClientProfile(mContext, mDeviceManager, this); in updateLocalProfiles()
163 mMapClientProfile = new MapClientProfile(mContext, mDeviceManager,this); in updateLocalProfiles()
169 mMapProfile = new MapProfile(mContext, mDeviceManager, this); in updateLocalProfiles()
180 mHearingAidProfile = new HearingAidProfile(mContext, mDeviceManager, in updateLocalProfiles()
187 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()
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()
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()
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()
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()
DMapClientProfile.java46 private final CachedBluetoothDeviceManager mDeviceManager; field in MapClientProfile
70 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); in onServiceConnected()
74 device = mDeviceManager.addDevice(nextDevice); in onServiceConnected()
103 mDeviceManager = deviceManager; in MapClientProfile()
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()
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.java118 private UsbDeviceManager mDeviceManager; field in UsbService
150 mDeviceManager = new UsbDeviceManager(context, mAlsaManager, mSettingsManager); in UsbService()
152 if (mHostManager != null || mDeviceManager != null) { in UsbService()
164 if (mDeviceManager != null) { in UsbService()
165 mDeviceManager.updateUserRestrictions(); in UsbService()
194 if (mDeviceManager != null) { in onSwitchUser()
195 mDeviceManager.setCurrentUser(newUserId, settings); in onSwitchUser()
212 if (mDeviceManager != null) { in systemReady()
213 mDeviceManager.systemReady(); in systemReady()
224 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()
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()
DSapProfileTest.java45 private CachedBluetoothDeviceManager mDeviceManager; field in SapProfileTest
60 mProfile = new SapProfile(RuntimeEnvironment.application, mDeviceManager, mProfileManager); in setUp()
DPbapClientProfileTest.java45 private CachedBluetoothDeviceManager mDeviceManager; field in PbapClientProfileTest
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()
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()
/frameworks/ml/nn/runtime/
DTypeManager.h145 const DeviceManager* mDeviceManager = DeviceManager::get();

12