Searched refs:gatt_ (Results 1 - 2 of 2) sorted by relevance

/system/bt/service/example/heart_rate/
H A Dheart_rate_server.cc113 if (!gatt_.get() || server_if_ == -1) return;
115 if (!android::IInterface::asBinder(gatt_.get())->isBinderAlive()) return;
120 gatt_->UnregisterServer(server_if_);
132 bluetooth_->GetGattServerInterface(&gatt_);
133 if (!gatt_.get()) {
141 gatt_->RegisterServer(this, &status);
178 gatt_->SendNotification(server_if_, String16(String8(iter.first.c_str())),
264 Status stat = gatt_->AddService(server_if_, (BluetoothGattService)hrService,
330 gatt_->SendResponse(server_if_, device_address, request_id, error, offset,
346 gatt_
[all...]
H A Dheart_rate_server.h94 android::sp<android::bluetooth::IBluetoothGattServer> gatt_; member in class:heart_rate::HeartRateServer

Completed in 56 milliseconds