/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/ |
D | CachedBluetoothDeviceManagerTest.java | 68 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 …]
|
D | BluetoothEventManagerTest.java | 41 private LocalBluetoothAdapter mLocalAdapter; field in BluetoothEventManagerTest 58 mBluetoothEventManager = new BluetoothEventManager(mLocalAdapter, in setUp()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/ |
D | LocalBluetoothManager.java | 39 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()
|
D | LocalBluetoothProfileManager.java | 82 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 …]
|
D | MapClientProfile.java | 44 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()
|
D | PbapClientProfile.java | 42 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()
|
D | A2dpSinkProfile.java | 41 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()
|
D | MapProfile.java | 44 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()
|
D | SapProfile.java | 44 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()
|
D | HfpClientProfile.java | 44 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()
|
D | HearingAidProfile.java | 47 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()
|
D | PanProfile.java | 41 private final LocalBluetoothAdapter mLocalAdapter; field in PanProfile 78 mLocalAdapter = adapter; in PanProfile() 79 mLocalAdapter.getProfileProxy(context, new PanServiceListener(), in PanProfile()
|
D | HeadsetProfile.java | 44 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()
|
D | A2dpProfile.java | 49 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()
|
D | BluetoothEventManager.java | 50 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()
|
D | HidDeviceProfile.java | 43 private final LocalBluetoothAdapter mLocalAdapter; field in HidDeviceProfile 54 mLocalAdapter = adapter; in HidDeviceProfile() 77 device = mDeviceManager.addDevice(mLocalAdapter, mProfileManager, nextDevice); in onServiceConnected()
|
D | HidProfile.java | 41 private final LocalBluetoothAdapter mLocalAdapter; field in HidProfile 65 device = mDeviceManager.addDevice(mLocalAdapter, mProfileManager, nextDevice); in onServiceConnected() 91 mLocalAdapter = adapter; in HidProfile()
|
D | CachedBluetoothDevice.java | 53 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()
|