Searched refs:gatt_ (Results 1 – 2 of 2) sorted by relevance
/system/bt/service/example/heart_rate/ |
D | heart_rate_server.cc | 113 if (!gatt_.get() || server_if_ == -1) return; in ~HeartRateServer() 115 if (!android::IInterface::asBinder(gatt_.get())->isBinderAlive()) return; in ~HeartRateServer() 120 gatt_->UnregisterServer(server_if_); in ~HeartRateServer() 132 bluetooth_->GetGattServerInterface(&gatt_); in Run() 133 if (!gatt_.get()) { in Run() 141 gatt_->RegisterServer(this, &status); in Run() 178 gatt_->SendNotification(server_if_, String16(String8(iter.first.c_str())), in SendHeartRateMeasurement() 264 Status stat = gatt_->AddService(server_if_, (BluetoothGattService)hrService, in OnServerRegistered() 330 gatt_->SendResponse(server_if_, device_address, request_id, error, offset, in OnCharacteristicReadRequest() 346 gatt_->SendResponse(server_if_, device_address, request_id, in OnDescriptorReadRequest() [all …]
|
D | heart_rate_server.h | 94 android::sp<android::bluetooth::IBluetoothGattServer> gatt_; variable
|