Home
last modified time | relevance | path

Searched refs:bluetoothAdapter (Results 1 – 2 of 2) sorted by relevance

/external/sl4a/Common/src/com/googlecode/android_scripting/facade/bluetooth/
DBluetoothDiscoveryHelper.java70 BluetoothAdapter bluetoothAdapter = BluetoothAdapter.getDefaultAdapter(); in startDiscovery() local
72 if (bluetoothAdapter.isDiscovering()) { in startDiscovery()
73 bluetoothAdapter.cancelDiscovery(); in startDiscovery()
76 Set<BluetoothDevice> pairedDevices = bluetoothAdapter.getBondedDevices(); in startDiscovery()
85 if (!bluetoothAdapter.isEnabled()) { in startDiscovery()
86 bluetoothAdapter.enable(); in startDiscovery()
89 bluetoothAdapter.startDiscovery(); in startDiscovery()
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowApplication.java88 … private Object bluetoothAdapter = Robolectric.newInstanceOf("android.bluetooth.BluetoothAdapter"); field in ShadowApplication
507 return bluetoothAdapter; in getBluetoothAdapter()