Fix miscellaneous typos in the comments or logging.

PiperOrigin-RevId: 454649199
This commit is contained in:
hai007
2022-06-13 10:55:57 -07:00
committed by Copybara-Service
parent a852817f0e
commit 2d4cc75dfa
21 changed files with 35 additions and 35 deletions
@@ -145,13 +145,13 @@ class BluetoothClassic {
// Returns true, if discoverability is enabled with TurnOnDiscoverability().
bool IsDiscoverable() const ABSL_EXCLUSIVE_LOCKS_REQUIRED(mutex_);
// Assignes a different name to BT adapter.
// Assigns a different name to BT adapter.
// Returns true if successful. Stores original device name.
bool ModifyDeviceName(const std::string& device_name)
ABSL_EXCLUSIVE_LOCKS_REQUIRED(mutex_);
// Changes current scan mode. This is an implementation of
// Turn<On/Off>Discoveradility() method. Stores original scan mode.
// Turn<On/Off>Discoverability() method. Stores original scan mode.
bool ModifyScanMode(ScanMode scan_mode) ABSL_EXCLUSIVE_LOCKS_REQUIRED(mutex_);
// Restores original device name (the one before the very first call to