Home | History | Annotate | Download | only in service

Lines Matching defs:device_address

104 bool GattServer::SendResponse(const std::string& device_address, int request_id,
108 << " device_address: " << device_address
114 if (!RawAddress::FromString(device_address, addr)) {
115 LOG(ERROR) << "Invalid device address given: " << device_address;
124 // Find the correct connection ID for |device_address| and |request_id|.
125 auto iter = conn_addr_map_.find(device_address);
127 LOG(ERROR) << "No known connections for device address: " << device_address;
142 << " not found for device with BD_ADDR: " << device_address;
174 bool GattServer::SendNotification(const std::string& device_address,
179 << " device_address: " << device_address << " confirm: " << confirm;
183 if (!RawAddress::FromString(device_address, addr)) {
184 LOG(ERROR) << "Invalid device address given: " << device_address;
189 auto conn_iter = conn_addr_map_.find(device_address);
192 << device_address;
231 << device_address;
245 std::string device_address = BtAddrString(&bda);
248 << " BD_ADDR: " << device_address;
252 VLOG(1) << "No longer connected: " << device_address;
254 auto iter = conn_addr_map_.find(device_address);
267 delegate_->OnConnectionStateChanged(this, device_address, false);
279 << " device address: " << device_address;
282 conn_addr_map_[device_address].push_back(connection);
285 delegate_->OnConnectionStateChanged(this, device_address, true);
340 std::string device_address = BtAddrString(&bda);
343 << " BD_ADDR: " << device_address
360 delegate_->OnCharacteristicReadRequest(this, device_address, trans_id, offset,
373 std::string device_address = BtAddrString(&bda);
376 << " BD_ADDR: " << device_address
393 delegate_->OnDescriptorReadRequest(this, device_address, trans_id, offset,
408 std::string device_address = BtAddrString(&bda);
411 << " BD_ADDR: " << device_address << " attr_handle: " << attr_handle
431 delegate_->OnCharacteristicWriteRequest(this, device_address, trans_id,
447 std::string device_address = BtAddrString(&bda);
450 << " BD_ADDR: " << device_address << " attr_handle: " << attr_handle
470 delegate_->OnDescriptorWriteRequest(this, device_address, trans_id, offset,
485 std::string device_address = BtAddrString(&bda);
488 << " BD_ADDR: " << device_address << " exec_write: " << exec_write;
505 delegate_->OnExecuteWriteRequest(this, device_address, trans_id, exec_write);