HomeSort by relevance Sort by last modified time
    Searched refs:BluetoothGattService (Results 1 - 25 of 36) sorted by null

1 2

  /external/chromium_org/device/bluetooth/
bluetooth_gatt_service.cc 11 BluetoothGattService::BluetoothGattService() {
14 BluetoothGattService::~BluetoothGattService() {
18 BluetoothGattService* BluetoothGattService::Create(
bluetooth_gatt_service.h 20 // BluetoothGattService represents a local or remote GATT service. A GATT
25 // Instances of the BluetoothGattService class are used for two functions:
27 // remote Bluetooth GATT peripheral. Such BluetoothGattService instances
34 class BluetoothGattService {
59 const BluetoothGattService* service,
79 const BluetoothGattService* service,
100 const BluetoothGattService* service,
120 const BluetoothGattService* service,
128 // Interface for observing changes from a BluetoothGattService. Properties
144 virtual void GattServiceChanged(BluetoothGattService* service) {
    [all...]
bluetooth_device.h 22 class BluetoothGattService;
91 // its identifier instead (i.e. BluetoothGattService::GetIdentifier).
93 BluetoothGattService* service) {}
99 BluetoothGattService* service) {}
407 virtual std::vector<BluetoothGattService*> GetGattServices() const;
411 virtual BluetoothGattService* GetGattService(
426 // BluetoothGattService objects.
427 typedef std::map<std::string, BluetoothGattService*> GattServiceMap;
bluetooth_remote_gatt_service_chromeos.h 38 : public device::BluetoothGattService,
42 // device::BluetoothGattService overrides.
44 device::BluetoothGattService::Observer* observer) OVERRIDE;
46 device::BluetoothGattService::Observer* observer) OVERRIDE;
54 virtual std::vector<device::BluetoothGattService*>
61 device::BluetoothGattService* service) OVERRIDE;
131 ObserverList<device::BluetoothGattService::Observer> observers_;
bluetooth_remote_gatt_service_chromeos.cc 56 FOR_EACH_OBSERVER(device::BluetoothGattService::Observer, observers_,
63 device::BluetoothGattService::Observer* observer) {
69 device::BluetoothGattService::Observer* observer) {
112 std::vector<device::BluetoothGattService*>
115 return std::vector<device::BluetoothGattService*>();
135 device::BluetoothGattService* service) {
160 FOR_EACH_OBSERVER(device::BluetoothGattService::Observer, observers_,
169 device::BluetoothGattService::Observer,
181 FOR_EACH_OBSERVER(device::BluetoothGattService::Observer, observers_,
185 FOR_EACH_OBSERVER(device::BluetoothGattService::Observer, observers_
    [all...]
bluetooth_gatt_characteristic.h 19 class BluetoothGattService;
25 // with a BluetoothGattService. There are two ways in which this class is used:
33 // BluetoothGattService instance that represents a local service.
95 // service by calling BluetoothGattService::AddCharacteristic.
101 // BluetoothGattService::Delegate has been provided to the associated
102 // BluetoothGattService instance, in which case the delegate will handle read
135 virtual BluetoothGattService* GetService() const = 0;
168 // BluetoothGattService::Delegate methods to send updates to remote devices,
bluetooth_device.cc 188 std::vector<BluetoothGattService*>
190 std::vector<BluetoothGattService*> services;
197 BluetoothGattService* BluetoothDevice::GetGattService(
bluetooth_remote_gatt_characteristic_chromeos.h 24 class BluetoothGattService;
46 virtual device::BluetoothGattService* GetService() const OVERRIDE;
bluetooth_gatt_chromeos_unittest.cc 33 using device::BluetoothGattService;
80 BluetoothGattService* service) OVERRIDE {
97 BluetoothGattService* service) OVERRIDE {
131 class TestGattServiceObserver : public BluetoothGattService::Observer {
135 BluetoothGattService* service)
155 BluetoothGattService* service = device->GetGattService(gatt_service_id_);
162 // BluetoothGattService::Observer overrides.
163 virtual void GattServiceChanged(BluetoothGattService* service) OVERRIDE {
171 BluetoothGattService* service,
187 BluetoothGattService* service
    [all...]
bluetooth_gatt_notify_session_chromeos.cc 88 device::BluetoothGattService* service = device->GetGattService(service_id_);
  /external/chromium_org/device/bluetooth/test/
mock_bluetooth_gatt_service.h 20 class MockBluetoothGattService : public BluetoothGattService {
29 MOCK_METHOD1(AddObserver, void(BluetoothGattService::Observer*));
30 MOCK_METHOD1(RemoveObserver, void(BluetoothGattService::Observer*));
38 MOCK_CONST_METHOD0(GetIncludedServices, std::vector<BluetoothGattService*>());
42 MOCK_METHOD1(AddIncludedService, bool(BluetoothGattService*));
mock_bluetooth_gatt_characteristic.h 20 class BluetoothGattService;
37 MOCK_CONST_METHOD0(GetService, BluetoothGattService*());
mock_bluetooth_gatt_service.cc 28 .WillByDefault(Return(std::vector<BluetoothGattService*>()));
mock_bluetooth_device.h 77 MOCK_CONST_METHOD0(GetGattServices, std::vector<BluetoothGattService*>());
78 MOCK_CONST_METHOD1(GetGattService, BluetoothGattService*(const std::string&));
  /frameworks/base/core/java/android/bluetooth/
BluetoothGattService.java 28 public class BluetoothGattService {
80 protected List<BluetoothGattService> mIncludedServices;
88 * Create a new BluetoothGattService.
93 * {@link BluetoothGattService#SERVICE_TYPE_PRIMARY} or
94 * {@link BluetoothGattService#SERVICE_TYPE_SECONDARY}
96 public BluetoothGattService(UUID uuid, int serviceType) {
102 mIncludedServices = new ArrayList<BluetoothGattService>();
106 * Create a new BluetoothGattService
109 /*package*/ BluetoothGattService(BluetoothDevice device, UUID uuid,
116 mIncludedServices = new ArrayList<BluetoothGattService>();
    [all...]
BluetoothGattServer.java 55 private List<BluetoothGattService> mServices;
118 BluetoothGattService service = getService(srvcUuid, srvcInstId, srvcType);
141 BluetoothGattService service = getService(srvcUuid, srvcInstId, srvcType);
170 BluetoothGattService service = getService(srvcUuid, srvcInstId, srvcType);
200 BluetoothGattService service = getService(srvcUuid, srvcInstId, srvcType);
233 BluetoothGattService service = getService(srvcUuid, srvcInstId, srvcType);
299 mServices = new ArrayList<BluetoothGattService>();
386 /*package*/ BluetoothGattService getService(UUID uuid, int instanceId, int type) {
387 for(BluetoothGattService svc : mServices) {
512 BluetoothGattService service = characteristic.getService()
    [all...]
BluetoothGatt.java 62 private List<BluetoothGattService> mServices;
211 mServices.add(new BluetoothGattService(mDevice, srvcUuid.getUuid(),
230 BluetoothGattService service = getService(mDevice,
232 BluetoothGattService includedService = getService(mDevice,
256 BluetoothGattService service = getService(mDevice, srvcUuid.getUuid(),
279 BluetoothGattService service = getService(mDevice, srvcUuid.getUuid(),
345 BluetoothGattService service = getService(mDevice, srvcUuid.getUuid(),
381 BluetoothGattService service = getService(mDevice, srvcUuid.getUuid(),
427 BluetoothGattService service = getService(mDevice, srvcUuid.getUuid(),
463 BluetoothGattService service = getService(mDevice, srvcUuid.getUuid()
    [all...]
BluetoothGattServerCallback.java 46 public void onServiceAdded(int status, BluetoothGattService service) {
BluetoothGattCharacteristic.java 26 * {@link BluetoothGattService}. The characteristic contains a value as well as
210 protected BluetoothGattService mService;
239 /*package*/ BluetoothGattCharacteristic(BluetoothGattService service,
245 private void initCharacteristic(BluetoothGattService service,
302 public BluetoothGattService getService() {
310 /*package*/ void setService(BluetoothGattService service) {
  /external/chromium_org/chrome/browser/extensions/api/bluetooth_low_energy/
bluetooth_low_energy_event_router.h 51 public device::BluetoothGattService::Observer {
238 device::BluetoothGattService* service) OVERRIDE;
241 device::BluetoothGattService* service) OVERRIDE;
243 // device::BluetoothGattService::Observer overrides.
245 device::BluetoothGattService* service) OVERRIDE;
247 device::BluetoothGattService* service,
250 device::BluetoothGattService* service,
259 device::BluetoothGattService* service,
288 // Returns a BluetoothGattService by its instance ID |instance_id|. Returns
290 device::BluetoothGattService* FindServiceById
    [all...]
bluetooth_low_energy_event_router.cc 30 using device::BluetoothGattService;
36 void PopulateService(const BluetoothGattService* service,
191 BluetoothGattService* service = FindServiceById(*iter);
338 const std::vector<BluetoothGattService*>& services =
340 for (std::vector<BluetoothGattService*>::const_iterator iter =
345 const BluetoothGattService* service = *iter;
365 BluetoothGattService* gatt_service = FindServiceById(instance_id);
386 BluetoothGattService* service = FindServiceById(instance_id);
394 const std::vector<BluetoothGattService*>& includes =
396 for (std::vector<BluetoothGattService*>::const_iterator iter
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
BleServerService.java 33 import android.bluetooth.BluetoothGattService;
82 private BluetoothGattService mService;
215 private BluetoothGattService createService() {
216 BluetoothGattService service =
217 new BluetoothGattService(SERVICE_UUID, BluetoothGattService.SERVICE_TYPE_PRIMARY);
284 public void onServiceAdded(int status, BluetoothGattService service) {
BleClientService.java 29 import android.bluetooth.BluetoothGattService;
138 BluetoothGattService service;
270 private BluetoothGattService getService() {
273 BluetoothGattService service = mBluetoothGatt.getService(SERVICE_UUID);
282 BluetoothGattService service = getService();
  /developers/build/prebuilts/gradle/BluetoothLeGatt/Application/src/main/java/com/example/android/bluetoothlegatt/
DeviceControlActivity.java 21 import android.bluetooth.BluetoothGattService;
247 private void displayGattServices(List<BluetoothGattService> gattServices) {
258 for (BluetoothGattService gattService : gattServices) {
  /developers/samples/android/connectivity/bluetooth/BluetoothLeGatt/Application/src/main/java/com/example/android/bluetoothlegatt/
DeviceControlActivity.java 21 import android.bluetooth.BluetoothGattService;
247 private void displayGattServices(List<BluetoothGattService> gattServices) {
258 for (BluetoothGattService gattService : gattServices) {

Completed in 347 milliseconds

1 2