Home
last modified time | relevance | path

Searched refs:getDefaultAdapter (Results 1 – 25 of 72) sorted by relevance

123

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/deviceinfo/
DAbstractBluetoothAddressPreferenceController.java58 return BluetoothAdapter.getDefaultAdapter() != null; in isAvailable()
81 BluetoothAdapter bluetooth = BluetoothAdapter.getDefaultAdapter(); in updateConnectivity()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DPbapServerProfile.java82 BluetoothAdapter.getDefaultAdapter().getProfileProxy(context, new PbapServiceListener(), in PbapServerProfile()
147 BluetoothAdapter.getDefaultAdapter().closeProfileProxy(BluetoothProfile.PBAP, in finalize()
DHidDeviceProfile.java54 BluetoothAdapter.getDefaultAdapter().getProfileProxy(context, in HidDeviceProfile()
172 BluetoothAdapter.getDefaultAdapter().closeProfileProxy(BluetoothProfile.HID_DEVICE, in finalize()
DPanProfile.java77 BluetoothAdapter.getDefaultAdapter().getProfileProxy(context, new PanServiceListener(), in PanProfile()
183 … BluetoothAdapter.getDefaultAdapter().closeProfileProxy(BluetoothProfile.PAN, mService); in finalize()
DPbapClientProfile.java107 BluetoothAdapter.getDefaultAdapter().getProfileProxy(context, in PbapClientProfile()
194 BluetoothAdapter.getDefaultAdapter().closeProfileProxy( in finalize()
DSapProfile.java102 BluetoothAdapter.getDefaultAdapter().getProfileProxy(context, new SapServiceListener(), in SapProfile()
198 BluetoothAdapter.getDefaultAdapter().closeProfileProxy(BluetoothProfile.SAP, in finalize()
DMapClientProfile.java103 BluetoothAdapter.getDefaultAdapter().getProfileProxy(context, in MapClientProfile()
199 BluetoothAdapter.getDefaultAdapter().closeProfileProxy(BluetoothProfile.MAP_CLIENT, in finalize()
DMapProfile.java104 BluetoothAdapter.getDefaultAdapter().getProfileProxy(context, new MapServiceListener(), in MapProfile()
200 BluetoothAdapter.getDefaultAdapter().closeProfileProxy(BluetoothProfile.MAP, in finalize()
DHidProfile.java94 BluetoothAdapter.getDefaultAdapter().getProfileProxy(context, new HidHostServiceListener(), in HidProfile()
204 BluetoothAdapter.getDefaultAdapter().closeProfileProxy(BluetoothProfile.HID_HOST, in finalize()
DCsipSetCoordinatorProfile.java105 BluetoothAdapter.getDefaultAdapter().getProfileProxy(context, in CsipSetCoordinatorProfile()
243 BluetoothAdapter.getDefaultAdapter().closeProfileProxy( in finalize()
DHfpClientProfile.java103 BluetoothAdapter.getDefaultAdapter().getProfileProxy(context, in HfpClientProfile()
207 BluetoothAdapter.getDefaultAdapter().closeProfileProxy( in finalize()
DA2dpSinkProfile.java96 BluetoothAdapter.getDefaultAdapter().getProfileProxy(context, new A2dpSinkServiceListener(), in A2dpSinkProfile()
206 BluetoothAdapter.getDefaultAdapter().closeProfileProxy(BluetoothProfile.A2DP_SINK, in finalize()
DHeadsetProfile.java104 mBluetoothAdapter = BluetoothAdapter.getDefaultAdapter(); in HeadsetProfile()
227 BluetoothAdapter.getDefaultAdapter().closeProfileProxy(BluetoothProfile.HEADSET, in finalize()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DBtSmsInterfaceManager.java49 BluetoothAdapter btAdapter = BluetoothAdapter.getDefaultAdapter(); in sendText()
115 BluetoothAdapter.getDefaultAdapter() in onServiceConnected()
/frameworks/base/core/tests/hosttests/test-apps/ExternalSharedPermsBT/src/com/android/framework/externalsharedpermsbttestapp/
DExternalSharedPermsBTTest.java32 BluetoothAdapter mBluetoothAdapter = BluetoothAdapter.getDefaultAdapter(); in testRunBluetooth()
/frameworks/base/packages/SystemUI/src/com/android/systemui/bluetooth/qsdialog/
DBluetoothTileDialogRepository.kt31 private val bluetoothAdapter: BluetoothAdapter? = BluetoothAdapter.getDefaultAdapter()
/frameworks/base/nfc/java/android/nfc/
DNfcManager.java70 public NfcAdapter getDefaultAdapter() { in getDefaultAdapter() method in NfcManager
/frameworks/base/core/tests/hosttests/test-apps/ExternalSharedPerms/src/com/android/framework/externalsharedpermstestapp/
DExternalSharedPermsTest.java48 BluetoothAdapter mBluetoothAdapter = BluetoothAdapter.getDefaultAdapter(); in testRunLocationAndBluetooth()
/frameworks/base/core/tests/hosttests/test-apps/ExternalSharedPermsDiffKey/src/com/android/framework/externalsharedpermsdiffkeytestapp/
DExternalSharedPermsDiffKeyTest.java46 BluetoothAdapter mBluetoothAdapter = BluetoothAdapter.getDefaultAdapter(); in testRunBluetoothAndFineLocation()
/frameworks/base/cmds/svc/src/com/android/commands/svc/
DNfcCommand.java54 NfcAdapter adapter = nfcManager.getDefaultAdapter(); in run()
/frameworks/base/services/core/java/com/android/server/audio/
DBtHelper.java228 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter(); in onSystemReady()
697 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter(); in onBtProfileConnected()
791 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter(); in onHeadsetProfileConnected()
1177 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter(); in getBluetoothHeadset()
1206 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter(); in getLeAudioGroupAddresses()
1256 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter(); in getPreferredAudioProfiles()
1262 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter(); in getBluetoothDevice()
1330 BluetoothAdapter.getDefaultAdapter().notifyActiveDeviceChangeApplied(btDevice); in onNotifyPreferredAudioProfileApplied()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/
DPbapClientProfileTest.java59 mShadowBluetoothAdapter = Shadow.extract(BluetoothAdapter.getDefaultAdapter()); in setUp()
DA2dpSinkProfileTest.java59 mShadowBluetoothAdapter = Shadow.extract(BluetoothAdapter.getDefaultAdapter()); in setUp()
DHfpClientProfileTest.java59 mShadowBluetoothAdapter = Shadow.extract(BluetoothAdapter.getDefaultAdapter()); in setUp()
DHidDeviceProfileTest.java59 mShadowBluetoothAdapter = Shadow.extract(BluetoothAdapter.getDefaultAdapter()); in setUp()

123