Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3066)

Unified Diff: device/bluetooth/test/android/java/src/org/chromium/device/bluetooth/Fakes.java

Issue 1572873002: bluetooth: android: Code cleanup fixing comments, typos, simplified names. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comma Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: device/bluetooth/test/android/java/src/org/chromium/device/bluetooth/Fakes.java
diff --git a/device/bluetooth/test/android/java/src/org/chromium/device/bluetooth/Fakes.java b/device/bluetooth/test/android/java/src/org/chromium/device/bluetooth/Fakes.java
index e9485e58ff3c7dbc38e7d540d6d785478b8fc49d..55de9ccfb62fc54da0239fdbd926384f83bf738e 100644
--- a/device/bluetooth/test/android/java/src/org/chromium/device/bluetooth/Fakes.java
+++ b/device/bluetooth/test/android/java/src/org/chromium/device/bluetooth/Fakes.java
@@ -440,9 +440,9 @@ class Fakes {
mValue = new byte[0];
}
- // Simulate a value being read from a characteristic.
+ // Implements BluetoothTestAndroid::RememberCharacteristicForSubsequentAction.
@CalledByNative("FakeBluetoothGattCharacteristic")
- private static void rememberCharacteristic(
+ private static void rememberCharacteristicForSubsequentAction(
ChromeBluetoothRemoteGattCharacteristic chromeCharacteristic) {
sRememberedCharacteristic =
(FakeBluetoothGattCharacteristic) chromeCharacteristic.mCharacteristic;
@@ -481,7 +481,7 @@ class Fakes {
fakeCharacteristic, status);
}
- // Cause subsequent value reads of a characteristic to fail synchronously.
+ // Cause subsequent notification of a characteristic to fail synchronously.
@CalledByNative("FakeBluetoothGattCharacteristic")
private static void setCharacteristicNotificationWillFailSynchronouslyOnce(
ChromeBluetoothRemoteGattCharacteristic chromeCharacteristic) {
@@ -492,7 +492,7 @@ class Fakes {
.mSetCharacteristicNotificationWillFailSynchronouslyOnce = true;
}
- // Cause subsequent value reads of a characteristic to fail synchronously.
+ // Cause subsequent value read of a characteristic to fail synchronously.
@CalledByNative("FakeBluetoothGattCharacteristic")
private static void setReadCharacteristicWillFailSynchronouslyOnce(
ChromeBluetoothRemoteGattCharacteristic chromeCharacteristic) {
@@ -503,7 +503,7 @@ class Fakes {
true;
}
- // Cause subsequent value writes of a characteristic to fail synchronously.
+ // Cause subsequent value write of a characteristic to fail synchronously.
@CalledByNative("FakeBluetoothGattCharacteristic")
private static void setWriteCharacteristicWillFailSynchronouslyOnce(
ChromeBluetoothRemoteGattCharacteristic chromeCharacteristic) {
« no previous file with comments | « device/bluetooth/bluetooth_remote_gatt_service_android.cc ('k') | device/bluetooth/test/bluetooth_test_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698