Home
last modified time | relevance | path

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

/development/samples/browseable/BluetoothLeGatt/src/com.example.android.bluetoothlegatt/
DDeviceControlActivity.java59 private BluetoothLeService mBluetoothLeService;
73 mBluetoothLeService = ((BluetoothLeService.LocalBinder) service).getService();
98 if (BluetoothLeService.ACTION_GATT_CONNECTED.equals(action)) {
102 } else if (BluetoothLeService.ACTION_GATT_DISCONNECTED.equals(action)) {
107 } else if (BluetoothLeService.ACTION_GATT_SERVICES_DISCOVERED.equals(action)) {
110 } else if (BluetoothLeService.ACTION_DATA_AVAILABLE.equals(action)) {
111 displayData(intent.getStringExtra(BluetoothLeService.EXTRA_DATA));
173 Intent gattServiceIntent = new Intent(this, BluetoothLeService.class); in onCreate()
303 intentFilter.addAction(BluetoothLeService.ACTION_GATT_CONNECTED); in makeGattUpdateIntentFilter()
304 intentFilter.addAction(BluetoothLeService.ACTION_GATT_DISCONNECTED); in makeGattUpdateIntentFilter()
[all …]
DBluetoothLeService.java42 public class BluetoothLeService extends Service { class
43 private final static String TAG = BluetoothLeService.class.getSimpleName();
156 BluetoothLeService getService() { in getService()
157 return BluetoothLeService.this; in getService()