/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/avrcpcontroller/ |
D | AvrcpControllerNativeInterface.java | 123 BluetoothDevice device = BluetoothAdapter.getDefaultAdapter().getRemoteDevice(address); in onConnectionStateChanged() 138 BluetoothDevice device = BluetoothAdapter.getDefaultAdapter().getRemoteDevice(address); in getRcPsm() 146 BluetoothDevice device = BluetoothAdapter.getDefaultAdapter().getRemoteDevice(address); in handlePlayerAppSetting() 154 BluetoothDevice device = BluetoothAdapter.getDefaultAdapter().getRemoteDevice(address); in onPlayerAppSettingChanged() 162 BluetoothDevice device = BluetoothAdapter.getDefaultAdapter().getRemoteDevice(address); in handleSetAbsVolume() 170 BluetoothDevice device = BluetoothAdapter.getDefaultAdapter().getRemoteDevice(address); in handleRegisterNotificationAbsVol() 178 BluetoothDevice device = BluetoothAdapter.getDefaultAdapter().getRemoteDevice(address); in onTrackChanged() 186 BluetoothDevice device = BluetoothAdapter.getDefaultAdapter().getRemoteDevice(address); in onPlayPositionChanged() 194 BluetoothDevice device = BluetoothAdapter.getDefaultAdapter().getRemoteDevice(address); in onPlayStatusChanged() 202 BluetoothDevice device = BluetoothAdapter.getDefaultAdapter().getRemoteDevice(address); in handleGetFolderItemsRsp() [all …]
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/bluetooth/ |
D | LocalRenameDialogFragmentTest.java | 59 BluetoothAdapter.getDefaultAdapter().enable(); in setUp() 69 BluetoothAdapter.getDefaultAdapter().setName(NAME); in getDeviceName_adapterEnabled_returnsLocalAdapterName() 76 BluetoothAdapter.getDefaultAdapter().setName(NAME); in getDeviceName_adapterDisabled_returnsNull() 77 BluetoothAdapter.getDefaultAdapter().disable(); in getDeviceName_adapterDisabled_returnsNull() 84 BluetoothAdapter.getDefaultAdapter().setName(NAME); in localNameChangedBroadcast_updatesDeviceName() 89 BluetoothAdapter.getDefaultAdapter().setName(NAME_UPDATED); in localNameChangedBroadcast_updatesDeviceName() 100 BluetoothAdapter.getDefaultAdapter().setName(NAME); in setDeviceName_updatesLocalAdapterName() 107 assertThat(BluetoothAdapter.getDefaultAdapter().getName()).isEqualTo(NAME_UPDATED); in setDeviceName_updatesLocalAdapterName() 117 return (ShadowBluetoothAdapter) Shadow.extract(BluetoothAdapter.getDefaultAdapter()); in getShadowBluetoothAdapter()
|
D | BluetoothPreferenceControllerTest.java | 175 BluetoothAdapter.getDefaultAdapter().disable(); in getAvailabilityStatus_adapterDisabled_conditionallyUnavailable() 186 BluetoothAdapter.getDefaultAdapter().disable(); in getAvailabilityStatus_adapterDisabled_conditionallyUnavailable_zoneWrite() 197 BluetoothAdapter.getDefaultAdapter().disable(); in getAvailabilityStatus_adapterDisabled_conditionallyUnavailable_zoneRead() 208 BluetoothAdapter.getDefaultAdapter().disable(); in getAvailabilityStatus_adapterDisabled_conditionallyUnavailable_zoneHidden() 218 BluetoothAdapter.getDefaultAdapter().enable(); in getAvailabilityStatus_available() 230 BluetoothAdapter.getDefaultAdapter().enable(); in getAvailabilityStatus_available_zoneWrite() 242 BluetoothAdapter.getDefaultAdapter().enable(); in getAvailabilityStatus_available_zoneRead() 254 BluetoothAdapter.getDefaultAdapter().enable(); in getAvailabilityStatus_available_zoneHidden() 265 BluetoothAdapter.getDefaultAdapter().enable(); in onStart_registersEventListener() 276 BluetoothAdapter.getDefaultAdapter().enable(); in onStop_unregistersEventListener() [all …]
|
D | BluetoothNamePreferenceControllerTest.java | 73 BluetoothAdapter.getDefaultAdapter().enable(); in setUp() 90 BluetoothAdapter.getDefaultAdapter().setName(NAME); in refreshUi_setsNameAsSummary() 116 BluetoothAdapter.getDefaultAdapter().setName(NAME); in started_localNameChangedBroadcast_updatesSummary() 120 BluetoothAdapter.getDefaultAdapter().setName(NAME_UPDATED); in started_localNameChangedBroadcast_updatesSummary() 129 BluetoothAdapter.getDefaultAdapter().setName(NAME); in stopped_noUpdateOnLocalNameChangedBroadcast() 134 BluetoothAdapter.getDefaultAdapter().setName(NAME_UPDATED); in stopped_noUpdateOnLocalNameChangedBroadcast() 160 return (ShadowBluetoothAdapter) Shadow.extract(BluetoothAdapter.getDefaultAdapter()); in getShadowBluetoothAdapter()
|
D | PairNewDevicePreferenceControllerTest.java | 273 BluetoothAdapter.getDefaultAdapter().enable(); in refreshUi_bluetoothAdapterEnabled_setsEmptySummary() 282 BluetoothAdapter.getDefaultAdapter().disable(); in refreshUi_bluetoothAdapterDisabled_setsTurnOnToPairSummary() 292 BluetoothAdapter.getDefaultAdapter().enable(); in bluetoothAdapterStateChangedBroadcast_refreshesUi() 296 BluetoothAdapter.getDefaultAdapter().disable(); in bluetoothAdapterStateChangedBroadcast_refreshesUi() 304 BluetoothAdapter.getDefaultAdapter().disable(); in preferenceClicked_enablesAdapter() 308 assertThat(BluetoothAdapter.getDefaultAdapter().isEnabled()).isTrue(); in preferenceClicked_enablesAdapter()
|
D | BluetoothDevicesGroupPreferenceControllerTest.java | 90 mDevice1 = BluetoothAdapter.getDefaultAdapter().getRemoteDevice("00:11:22:33:AA:BB"); in setUp() 92 BluetoothDevice device2 = BluetoothAdapter.getDefaultAdapter().getRemoteDevice( in setUp() 99 BluetoothAdapter.getDefaultAdapter().enable(); in setUp() 286 return (ShadowBluetoothAdapter) Shadow.extract(BluetoothAdapter.getDefaultAdapter()); in getShadowBluetoothAdapter()
|
D | BluetoothDevicePreferenceControllerTest.java | 79 BluetoothAdapter.getDefaultAdapter().enable(); in setUp() 175 return (ShadowBluetoothAdapter) Shadow.extract(BluetoothAdapter.getDefaultAdapter()); in getShadowBluetoothAdapter()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hfpclient/ |
D | HeadsetClientServiceTest.java | 113 BluetoothAdapter.getDefaultAdapter().getRemoteDevice("00:01:02:03:04:05"); in testSendBIEVtoStateMachineWhenBatteryChanged() 134 BluetoothAdapter.getDefaultAdapter().getRemoteDevice("00:01:02:03:04:05"); in testUpdateBatteryLevel() 150 BluetoothAdapter.getDefaultAdapter().getRemoteDevice("00:01:02:03:04:05"); in testSetCallAudioPolicy() 165 BluetoothAdapter.getDefaultAdapter().getRemoteDevice("00:01:02:03:04:05"); in testDumpDoesNotCrash() 209 mAdapter = BluetoothAdapter.getDefaultAdapter(); in startService()
|
/packages/apps/Car/Settings/src/com/android/car/settings/qc/ |
D | BluetoothSwitch.java | 92 BluetoothAdapter.getDefaultAdapter().enable(); in onNotifyChange() 94 BluetoothAdapter.getDefaultAdapter().disable(); in onNotifyChange() 104 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter(); in isBluetoothOn()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/ |
D | PreviouslyConnectedDeviceDashboardFragmentTest.java | 43 mShadowBluetoothAdapter = Shadow.extract(BluetoothAdapter.getDefaultAdapter()); in setUp() 45 mFragment.mBluetoothAdapter = BluetoothAdapter.getDefaultAdapter(); in setUp()
|
D | DiscoverableFooterPreferenceControllerTest.java | 147 BluetoothAdapter.getDefaultAdapter().setName(DEVICE_NAME); in onBluetoothStateChanged_bluetoothOn_updateTitle() 155 BluetoothAdapter.getDefaultAdapter().setName(DEVICE_NAME); in onBluetoothStateChanged_bluetoothOff_updateTitle()
|
/packages/modules/Bluetooth/framework/java/android/bluetooth/ |
D | BluetoothSocket.java | 253 mAddress = BluetoothAdapter.getDefaultAdapter().getAddress(); in BluetoothSocket() 327 as.mDevice = BluetoothAdapter.getDefaultAdapter().getRemoteDevice(remoteAddr); in acceptSocket() 439 IBluetooth bluetoothProxy = BluetoothAdapter.getDefaultAdapter().getBluetoothService(); in connect() 533 IBluetooth bluetoothProxy = BluetoothAdapter.getDefaultAdapter().getBluetoothService(); in bindListen() 827 IBluetooth bluetoothProxy = BluetoothAdapter.getDefaultAdapter().getBluetoothService(); in requestMaximumTxDataLength() 864 IBluetooth bluetoothProxy = BluetoothAdapter.getDefaultAdapter().getBluetoothService(); in getL2capLocalChannelId() 908 IBluetooth bluetoothProxy = BluetoothAdapter.getDefaultAdapter().getBluetoothService(); in getL2capRemoteChannelId()
|
D | SocketMetrics.java | 58 IBluetooth bluetoothProxy = BluetoothAdapter.getDefaultAdapter().getBluetoothService(); in logSocketConnect() 106 IBluetooth bluetoothProxy = BluetoothAdapter.getDefaultAdapter().getBluetoothService(); in logSocketAccept()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/ |
D | BluetoothDevicePairer.java | 326 BluetoothAdapter.getDefaultAdapter().getSupportedProfiles(); in addBluetoothDeviceCriteria() 344 final BluetoothAdapter bluetoothAdapter = BluetoothAdapter.getDefaultAdapter(); in start() 418 final BluetoothAdapter bluetoothAdapter = BluetoothAdapter.getDefaultAdapter(); in dispose() 641 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter(); in openConnection()
|
/packages/apps/Settings/src/com/android/settings/spa/app/specialaccess/ |
D | NfcTagAppsSettings.kt | 72 NfcAdapter.getDefaultAdapter(context)?.let { nfcAdapter -> in getNfcTagAppsSettingsPackages() 108 NfcAdapter.getDefaultAdapter(context)?.let { in isAllowed()
|
/packages/apps/Settings/src/com/android/settings/network/tether/ |
D | TetherSettings.java | 165 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter(); in onCreate() 232 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter(); in onDestroy() 294 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter(); in onReceive() 493 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter(); in getBluetoothState() 564 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter(); in startTethering()
|
/packages/modules/Bluetooth/framework/tests/bumble/src/android/bluetooth/ |
D | LeLegacyAdvertisingTest.java | 57 BluetoothAdapter.getDefaultAdapter().getBluetoothLeAdvertiser(); in setAdvertisingDataOver31Bytes() 109 BluetoothAdapter.getDefaultAdapter().getBluetoothLeAdvertiser(); in setScanResponseDataOver31Bytes()
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | BluetoothSliceBuilder.java | 113 final BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter(); in handleUriChange() 126 final BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter(); in isBluetoothEnabled()
|
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/ |
D | PairNewDevicePreferenceController.java | 135 BluetoothAdapter.getDefaultAdapter().isEnabled() ? "" : getContext().getString( in updateState() 149 BluetoothAdapter.getDefaultAdapter().enable(); in handlePreferenceClicked()
|
D | BluetoothStateSwitchPreferenceController.java | 61 private final BluetoothAdapter mBluetoothAdapter = BluetoothAdapter.getDefaultAdapter(); 199 String bluetoothName = BluetoothAdapter.getDefaultAdapter().getName(); in updateSwitchPreference()
|
/packages/apps/Nfc/src/com/android/nfc/handover/ |
D | PeripheralHandoverService.java | 102 mBluetoothAdapter = BluetoothAdapter.getDefaultAdapter(); in PeripheralHandoverService() 142 mNfcAdapter = NfcAdapter.getDefaultAdapter(getApplicationContext()); in onCreate()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/ |
D | ObexServerSockets.java | 120 BluetoothAdapter bt = BluetoothAdapter.getDefaultAdapter(); in create() 234 BluetoothAdapter mAdapter = BluetoothAdapter.getDefaultAdapter(); in onAcceptFailed()
|
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/slices/ |
D | BluetoothDevicesSlice.java | 99 final BluetoothAdapter btAdapter = BluetoothAdapter.getDefaultAdapter(); in getSlice() 148 final BluetoothAdapter btAdapter = BluetoothAdapter.getDefaultAdapter(); in onNotifyChange() 180 if (!BluetoothAdapter.getDefaultAdapter().isEnabled()) { in getPairedBluetoothDevices()
|
/packages/apps/Settings/src/com/android/settings/nfc/ |
D | NfcTagAppsPreferenceController.java | 31 mNfcAdapter = NfcAdapter.getDefaultAdapter(context.getApplicationContext()); in NfcTagAppsPreferenceController()
|
/packages/apps/Nfc/testutils/src/com/android/nfc/reader/ |
D | BaseReaderActivity.java | 41 mAdapter = NfcAdapter.getDefaultAdapter(this); in onCreate()
|