OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mBtAdapter
(Results
1 - 7
of
7
) sorted by null
/developers/build/prebuilts/gradle/BluetoothChat/Application/src/main/java/com/example/android/bluetoothchat/
DeviceListActivity.java
60
private BluetoothAdapter
mBtAdapter
;
112
mBtAdapter
= BluetoothAdapter.getDefaultAdapter();
115
Set<BluetoothDevice> pairedDevices =
mBtAdapter
.getBondedDevices();
134
if (
mBtAdapter
!= null) {
135
mBtAdapter
.cancelDiscovery();
156
if (
mBtAdapter
.isDiscovering()) {
157
mBtAdapter
.cancelDiscovery();
161
mBtAdapter
.startDiscovery();
171
mBtAdapter
.cancelDiscovery();
/developers/samples/android/connectivity/bluetooth/BluetoothChat/Application/src/main/java/com/example/android/bluetoothchat/
DeviceListActivity.java
60
private BluetoothAdapter
mBtAdapter
;
112
mBtAdapter
= BluetoothAdapter.getDefaultAdapter();
115
Set<BluetoothDevice> pairedDevices =
mBtAdapter
.getBondedDevices();
134
if (
mBtAdapter
!= null) {
135
mBtAdapter
.cancelDiscovery();
156
if (
mBtAdapter
.isDiscovering()) {
157
mBtAdapter
.cancelDiscovery();
161
mBtAdapter
.startDiscovery();
171
mBtAdapter
.cancelDiscovery();
/development/samples/BluetoothChat/src/com/example/android/BluetoothChat/
DeviceListActivity.java
55
private BluetoothAdapter
mBtAdapter
;
103
mBtAdapter
= BluetoothAdapter.getDefaultAdapter();
106
Set<BluetoothDevice> pairedDevices =
mBtAdapter
.getBondedDevices();
125
if (
mBtAdapter
!= null) {
126
mBtAdapter
.cancelDiscovery();
147
if (
mBtAdapter
.isDiscovering()) {
148
mBtAdapter
.cancelDiscovery();
152
mBtAdapter
.startDiscovery();
159
mBtAdapter
.cancelDiscovery();
/development/samples/browseable/BluetoothChat/src/com.example.android.bluetoothchat/
DeviceListActivity.java
60
private BluetoothAdapter
mBtAdapter
;
112
mBtAdapter
= BluetoothAdapter.getDefaultAdapter();
115
Set<BluetoothDevice> pairedDevices =
mBtAdapter
.getBondedDevices();
134
if (
mBtAdapter
!= null) {
135
mBtAdapter
.cancelDiscovery();
156
if (
mBtAdapter
.isDiscovering()) {
157
mBtAdapter
.cancelDiscovery();
161
mBtAdapter
.startDiscovery();
171
mBtAdapter
.cancelDiscovery();
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/bluetooth/
BluetoothScanner.java
181
private final BluetoothAdapter
mBtAdapter
;
190
mBtAdapter
= BluetoothAdapter.getDefaultAdapter();
275
if (
mBtAdapter
.isDiscovering()) {
276
mBtAdapter
.cancelDiscovery();
282
mBtAdapter
.startDiscovery();
300
if (
mBtAdapter
!= null) {
301
mBtAdapter
.cancelDiscovery();
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
BluetoothSummaryUpdaterTest.java
63
private LocalBluetoothAdapter
mBtAdapter
;
86
when(mBluetoothManager.getBluetoothAdapter()).thenReturn(
mBtAdapter
);
87
doAnswer(invocation -> mAdapterEnabled[0]).when(
mBtAdapter
).isEnabled();
88
doAnswer(invocation -> mAdapterConnectionState[0]).when(
mBtAdapter
).getConnectionState();
97
doReturn(mBondedDevices).when(
mBtAdapter
).getBondedDevices();
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/
MainFragment.java
80
private BluetoothAdapter
mBtAdapter
;
107
mBtAdapter
= BluetoothAdapter.getDefaultAdapter();
308
if (
mBtAdapter
== null) {
314
final Set<BluetoothDevice> bondedDevices =
mBtAdapter
.getBondedDevices();
Completed in 1585 milliseconds