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

Unified Diff: device/bluetooth/test/bluetooth_test_android.cc

Issue 1423093003: bluetooth: android: BluetoothRemoteGattCharacteristicAndroid::GetProperties() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@bta-getuuid-
Patch Set: merge tot Created 5 years, 2 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
« no previous file with comments | « device/bluetooth/test/bluetooth_test_android.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/bluetooth/test/bluetooth_test_android.cc
diff --git a/device/bluetooth/test/bluetooth_test_android.cc b/device/bluetooth/test/bluetooth_test_android.cc
index 7761f56d20d41783823e4209ac796678a2fa7933..56107225b7201c579c4651bdad7a37472403371e 100644
--- a/device/bluetooth/test/bluetooth_test_android.cc
+++ b/device/bluetooth/test/bluetooth_test_android.cc
@@ -143,14 +143,15 @@ void BluetoothTestAndroid::SimulateGattServicesDiscoveryError(
void BluetoothTestAndroid::SimulateGattCharacteristic(
BluetoothGattService* service,
- const std::string& uuid) {
+ const std::string& uuid,
+ int properties) {
BluetoothRemoteGattServiceAndroid* service_android =
static_cast<BluetoothRemoteGattServiceAndroid*>(service);
JNIEnv* env = base::android::AttachCurrentThread();
Java_FakeBluetoothGattService_addCharacteristic(
env, service_android->GetJavaObject().obj(),
- base::android::ConvertUTF8ToJavaString(env, uuid).obj());
+ base::android::ConvertUTF8ToJavaString(env, uuid).obj(), properties);
}
void BluetoothTestAndroid::OnFakeBluetoothDeviceConnectGattCalled(
« no previous file with comments | « device/bluetooth/test/bluetooth_test_android.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698