Home
last modified time | relevance | path

Searched refs:mLocalAdapter (Results 1 – 18 of 18) sorted by relevance

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/
DCachedBluetoothDeviceManagerTest.java68 private LocalBluetoothAdapter mLocalAdapter; field in CachedBluetoothDeviceManagerTest
118 when(mLocalAdapter.getBluetoothState()).thenReturn(BluetoothAdapter.STATE_ON); in setUp()
125 new CachedBluetoothDevice(mContext, mLocalAdapter, mLocalProfileManager, mDevice1)); in setUp()
127 new CachedBluetoothDevice(mContext, mLocalAdapter, mLocalProfileManager, mDevice2)); in setUp()
129 new CachedBluetoothDevice(mContext, mLocalAdapter, mLocalProfileManager, mDevice3)); in setUp()
137 CachedBluetoothDevice cachedDevice1 = mCachedDeviceManager.addDevice(mLocalAdapter, in testAddDevice_validCachedDevices_devicesAdded()
140 CachedBluetoothDevice cachedDevice2 = mCachedDeviceManager.addDevice(mLocalAdapter, in testAddDevice_validCachedDevices_devicesAdded()
157 CachedBluetoothDevice cachedDevice1 = mCachedDeviceManager.addDevice(mLocalAdapter, in testGetName_validCachedDevice_nameFound()
168 CachedBluetoothDevice cachedDevice1 = mCachedDeviceManager.addDevice(mLocalAdapter, in testOnDeviceNameUpdated_validName_nameUpdated()
184 CachedBluetoothDevice cachedDevice1 = mCachedDeviceManager.addDevice(mLocalAdapter, in testClearNonBondedDevices_bondedAndNonBondedDevices_nonBondedDevicesCleared()
[all …]
DBluetoothEventManagerTest.java41 private LocalBluetoothAdapter mLocalAdapter; field in BluetoothEventManagerTest
58 mBluetoothEventManager = new BluetoothEventManager(mLocalAdapter, in setUp()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DLocalBluetoothManager.java39 private final LocalBluetoothAdapter mLocalAdapter; field in LocalBluetoothManager
69 mLocalAdapter = adapter; in LocalBluetoothManager()
72 mEventManager = new BluetoothEventManager(mLocalAdapter, in LocalBluetoothManager()
75 mLocalAdapter, mCachedDeviceManager, mEventManager); in LocalBluetoothManager()
80 return mLocalAdapter; in getBluetoothAdapter()
DLocalBluetoothProfileManager.java82 private final LocalBluetoothAdapter mLocalAdapter; field in LocalBluetoothProfileManager
114 mLocalAdapter = adapter; in LocalBluetoothProfileManager()
121 mLocalAdapter.setProfileManager(this); in LocalBluetoothProfileManager()
132 mHidProfile = new HidProfile(context, mLocalAdapter, mDeviceManager, this); in LocalBluetoothProfileManager()
136 mPanProfile = new PanProfile(context, mLocalAdapter); 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()
162 List<Integer> supportedList = mLocalAdapter.getSupportedProfiles(); in LocalBluetoothProfileManager()
164 mHearingAidProfile = new HearingAidProfile(mContext, mLocalAdapter, mDeviceManager, in LocalBluetoothProfileManager()
[all …]
DMapClientProfile.java44 private final LocalBluetoothAdapter mLocalAdapter; field in MapClientProfile
74 device = mDeviceManager.addDevice(mLocalAdapter, mProfileManager, nextDevice); in onServiceConnected()
105 mLocalAdapter = adapter; in MapClientProfile()
108 mLocalAdapter.getProfileProxy(context, new MapClientServiceListener(), in MapClientProfile()
DPbapClientProfile.java42 private final LocalBluetoothAdapter mLocalAdapter; field in PbapClientProfile
72 device = mDeviceManager.addDevice(mLocalAdapter, mProfileManager, nextDevice); in onServiceConnected()
111 mLocalAdapter = adapter; in PbapClientProfile()
114 mLocalAdapter.getProfileProxy(context, new PbapClientServiceListener(), in PbapClientProfile()
DA2dpSinkProfile.java41 private final LocalBluetoothAdapter mLocalAdapter; field in A2dpSinkProfile
70 device = mDeviceManager.addDevice(mLocalAdapter, mProfileManager, nextDevice); in onServiceConnected()
96 mLocalAdapter = adapter; in A2dpSinkProfile()
99 mLocalAdapter.getProfileProxy(context, new A2dpSinkServiceListener(), in A2dpSinkProfile()
DMapProfile.java44 private final LocalBluetoothAdapter mLocalAdapter; field in MapProfile
73 device = mDeviceManager.addDevice(mLocalAdapter, mProfileManager, nextDevice); in onServiceConnected()
104 mLocalAdapter = adapter; in MapProfile()
107 mLocalAdapter.getProfileProxy(context, new MapServiceListener(), in MapProfile()
DSapProfile.java44 private final LocalBluetoothAdapter mLocalAdapter; field in SapProfile
72 device = mDeviceManager.addDevice(mLocalAdapter, mProfileManager, nextDevice); in onServiceConnected()
102 mLocalAdapter = adapter; in SapProfile()
105 mLocalAdapter.getProfileProxy(context, new SapServiceListener(), in SapProfile()
DHfpClientProfile.java44 private final LocalBluetoothAdapter mLocalAdapter; field in HfpClientProfile
74 device = mDeviceManager.addDevice(mLocalAdapter, mProfileManager, nextDevice); in onServiceConnected()
103 mLocalAdapter = adapter; in HfpClientProfile()
106 mLocalAdapter.getProfileProxy(context, new HfpClientServiceListener(), in HfpClientProfile()
DHearingAidProfile.java47 private final LocalBluetoothAdapter mLocalAdapter; field in HearingAidProfile
73 device = mDeviceManager.addDevice(mLocalAdapter, mProfileManager, nextDevice); in onServiceConnected()
105 mLocalAdapter = adapter; in HearingAidProfile()
108 mLocalAdapter.getProfileProxy(context, new HearingAidServiceListener(), in HearingAidProfile()
DPanProfile.java41 private final LocalBluetoothAdapter mLocalAdapter; field in PanProfile
78 mLocalAdapter = adapter; in PanProfile()
79 mLocalAdapter.getProfileProxy(context, new PanServiceListener(), in PanProfile()
DHeadsetProfile.java44 private final LocalBluetoothAdapter mLocalAdapter; field in HeadsetProfile
73 device = mDeviceManager.addDevice(mLocalAdapter, mProfileManager, nextDevice); in onServiceConnected()
103 mLocalAdapter = adapter; in HeadsetProfile()
106 mLocalAdapter.getProfileProxy(context, new HeadsetServiceListener(), in HeadsetProfile()
DA2dpProfile.java49 private final LocalBluetoothAdapter mLocalAdapter; field in A2dpProfile
79 device = mDeviceManager.addDevice(mLocalAdapter, mProfileManager, nextDevice); in onServiceConnected()
106 mLocalAdapter = adapter; in A2dpProfile()
109 mLocalAdapter.getProfileProxy(context, new A2dpServiceListener(), in A2dpProfile()
136 int max_connected_devices = mLocalAdapter.getMaxConnectedAudioDevices(); in connect()
DBluetoothEventManager.java50 private final LocalBluetoothAdapter mLocalAdapter; field in BluetoothEventManager
83 mLocalAdapter = adapter; in BluetoothEventManager()
199 mLocalAdapter.setBluetoothStateInt(state); in onReceive()
238 cachedDevice = mDeviceManager.addDevice(mLocalAdapter, mProfileManager, device); in onReceive()
329 cachedDevice = mDeviceManager.addDevice(mLocalAdapter, mProfileManager, device); in onReceive()
427 Set<BluetoothDevice> bondedDevices = mLocalAdapter.getBondedDevices(); in readPairedDevices()
436 cachedDevice = mDeviceManager.addDevice(mLocalAdapter, mProfileManager, device); in readPairedDevices()
DHidDeviceProfile.java43 private final LocalBluetoothAdapter mLocalAdapter; field in HidDeviceProfile
54 mLocalAdapter = adapter; in HidDeviceProfile()
77 device = mDeviceManager.addDevice(mLocalAdapter, mProfileManager, nextDevice); in onServiceConnected()
DHidProfile.java41 private final LocalBluetoothAdapter mLocalAdapter; field in HidProfile
65 device = mDeviceManager.addDevice(mLocalAdapter, mProfileManager, nextDevice); in onServiceConnected()
91 mLocalAdapter = adapter; in HidProfile()
DCachedBluetoothDevice.java53 private final LocalBluetoothAdapter mLocalAdapter; field in CachedBluetoothDevice
149 if (mLocalAdapter.getBluetoothState() == BluetoothAdapter.STATE_TURNING_OFF) in onProfileStateChanged()
187 mLocalAdapter = adapter; in CachedBluetoothDevice()
319 if (mLocalAdapter.isDiscovering()) { in startPairing()
320 mLocalAdapter.cancelDiscovery(); in startPairing()
621 ParcelUuid[] localUuids = mLocalAdapter.getUuids(); in updateProfiles()