Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ed7ab2b4 authored by Chris Manton's avatar Chris Manton
Browse files

Remove unused bluetooth::shim::BTM_SecReadDevName

Bug: 191555414
Test: mma .

Change-Id: I699f3b6c1db3c113169fea3a814aceb17c1c5ae8
parent eed10609
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -524,11 +524,6 @@ void bluetooth::shim::BTM_SecClearSecurityFlags(const RawAddress& bd_addr) {
  // TODO(optedoblivion): Call RemoveBond on device address
}

char* bluetooth::shim::BTM_SecReadDevName(const RawAddress& address) {
  static char name[] = "TODO: See if this is needed";
  return name;
}

bool bluetooth::shim::BTM_SecAddRmtNameNotifyCallback(
    tBTM_RMT_NAME_CALLBACK* p_callback) {
  // TODO(optedoblivion): keep track of callback
+0 −12
Original line number Diff line number Diff line
@@ -1574,18 +1574,6 @@ bool BTM_PeerSupportsSecureConnections(const RawAddress& bd_addr);
 ******************************************************************************/
tBT_DEVICE_TYPE BTM_GetPeerDeviceTypeFromFeatures(const RawAddress& bd_addr);

/*******************************************************************************
 *
 * Function         BTM_SecReadDevName
 *
 * Description      Looks for the device name in the security database for the
 *                  specified BD address.
 *
 * Returns          Pointer to the name or NULL
 *
 ******************************************************************************/
char* BTM_SecReadDevName(const RawAddress& bd_addr);

/*******************************************************************************
 *
 * Function         BTM_GetHCIConnHandle
+0 −4
Original line number Diff line number Diff line
@@ -115,10 +115,6 @@ bool bluetooth::shim::BTM_UseLeLink(const RawAddress& raw_address) {
  inc_func_call_count(__func__);
  return false;
}
char* bluetooth::shim::BTM_SecReadDevName(const RawAddress& address) {
  inc_func_call_count(__func__);
  return nullptr;
}
const Octet16& bluetooth::shim::BTM_GetDeviceEncRoot() {
  inc_func_call_count(__func__);
  return octet16;