Home
last modified time | relevance | path

Searched refs:BluetoothGattService (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/core/java/android/bluetooth/
DBluetoothGattService.java28 public class BluetoothGattService { class
80 protected List<BluetoothGattService> mIncludedServices;
96 public BluetoothGattService(UUID uuid, int serviceType) { in BluetoothGattService() method in BluetoothGattService
102 mIncludedServices = new ArrayList<BluetoothGattService>(); in BluetoothGattService()
109 /*package*/ BluetoothGattService(BluetoothDevice device, UUID uuid, in BluetoothGattService() method in BluetoothGattService
116 mIncludedServices = new ArrayList<BluetoothGattService>(); in BluetoothGattService()
134 public boolean addService(BluetoothGattService service) { in addService()
195 /*package*/ void addIncludedService(BluetoothGattService includedService) { in addIncludedService()
234 public List<BluetoothGattService> getIncludedServices() { in getIncludedServices()
DBluetoothGattServer.java62 private List<BluetoothGattService> mServices;
125 BluetoothGattService service = getService(srvcUuid, srvcInstId, srvcType);
148 BluetoothGattService service = getService(srvcUuid, srvcInstId, srvcType);
177 BluetoothGattService service = getService(srvcUuid, srvcInstId, srvcType);
207 BluetoothGattService service = getService(srvcUuid, srvcInstId, srvcType);
240 BluetoothGattService service = getService(srvcUuid, srvcInstId, srvcType);
287 mServices = new ArrayList<BluetoothGattService>(); in BluetoothGattServer()
374 /*package*/ BluetoothGattService getService(UUID uuid, int instanceId, int type) { in getService()
375 for(BluetoothGattService svc : mServices) { in getService()
499 BluetoothGattService service = characteristic.getService(); in notifyCharacteristicChanged()
[all …]
DBluetoothGatt.java71 private List<BluetoothGattService> mServices;
202 mServices.add(new BluetoothGattService(mDevice, srvcUuid.getUuid(),
221 BluetoothGattService service = getService(mDevice,
223 BluetoothGattService includedService = getService(mDevice,
247 BluetoothGattService service = getService(mDevice, srvcUuid.getUuid(),
270 BluetoothGattService service = getService(mDevice, srvcUuid.getUuid(),
331 BluetoothGattService service = getService(mDevice, srvcUuid.getUuid(),
362 BluetoothGattService service = getService(mDevice, srvcUuid.getUuid(),
408 BluetoothGattService service = getService(mDevice, srvcUuid.getUuid(),
439 BluetoothGattService service = getService(mDevice, srvcUuid.getUuid(),
[all …]
DBluetoothGattCharacteristic.java211 protected BluetoothGattService mService;
240 /*package*/ BluetoothGattCharacteristic(BluetoothGattService service, in BluetoothGattCharacteristic()
246 private void initCharacteristic(BluetoothGattService service, in initCharacteristic()
303 public BluetoothGattService getService() { in getService()
311 /*package*/ void setService(BluetoothGattService service) { in setService()
DBluetoothGattServerCallback.java48 public void onServiceAdded(int status, BluetoothGattService service) { in onServiceAdded()
/frameworks/base/docs/html/guide/topics/connectivity/
Dbluetooth-le.jd29 <li>{@link android.bluetooth.BluetoothGattService}</li>
512 private void displayGattServices(List&lt;BluetoothGattService&gt; gattServices) {
527 for (BluetoothGattService gattService : gattServices) {
/frameworks/base/api/
Dcurrent.txt5171 method public android.bluetooth.BluetoothGattService getService(java.util.UUID);
5172 method public java.util.List<android.bluetooth.BluetoothGattService> getServices();
5213 method public android.bluetooth.BluetoothGattService getService();
5274 method public boolean addService(android.bluetooth.BluetoothGattService);
5282 method public android.bluetooth.BluetoothGattService getService(java.util.UUID);
5283 method public java.util.List<android.bluetooth.BluetoothGattService> getServices();
5285 method public boolean removeService(android.bluetooth.BluetoothGattService);
5297 method public void onServiceAdded(int, android.bluetooth.BluetoothGattService);
5300 public class BluetoothGattService {
5301 ctor public BluetoothGattService(java.util.UUID, int);
[all …]