address PR comments

This commit is contained in:
Gilles Boccon-Gibod
2024-10-28 10:13:55 -07:00
parent 2bed50b353
commit fcd6bd7136
16 changed files with 23 additions and 23 deletions

View File

@@ -41,4 +41,4 @@
<instrumentation
android:name="com.google.android.mobly.snippet.SnippetRunner"
android:targetPackage="com.github.google.bumble.btbench" />
</manifest>
</manifest>

View File

@@ -286,4 +286,4 @@ public class AutomationSnippet implements Snippet {
@Override
public void shutdown() {
}
}
}

View File

@@ -17,4 +17,4 @@ package com.github.google.bumble.btbench
interface IoClient {
fun run()
fun abort()
}
}

View File

@@ -106,4 +106,4 @@ class L2capClient(
override fun waitForCompletion() {
socketClient?.waitForCompletion()
}
}
}

View File

@@ -71,4 +71,4 @@ class L2capServer(
override fun waitForCompletion() {
socketServer?.waitForCompletion()
}
}
}

View File

@@ -471,4 +471,4 @@ fun ActionButton(text: String, onClick: () -> Unit, enabled: Boolean) {
Button(onClick = onClick, enabled = enabled) {
Text(text = text)
}
}
}

View File

@@ -17,4 +17,4 @@ package com.github.google.bumble.btbench
interface Mode {
fun run()
fun waitForCompletion()
}
}

View File

@@ -175,4 +175,4 @@ class SocketDataSource(
} while (true)
Log.info("end of stream")
}
}
}

View File

@@ -1,4 +1,4 @@
// Copyright 2023 Google LLC
// Copyright 2024 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.

View File

@@ -1,4 +1,4 @@
// Copyright 2023 Google LLC
// Copyright 2024 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.

View File

@@ -39,4 +39,4 @@ class RfcommServer(
override fun waitForCompletion() {
socketServer?.waitForCompletion()
}
}
}

View File

@@ -35,4 +35,4 @@ class Scan(val bluetoothAdapter: BluetoothAdapter) {
bluetoothLeScanner?.stopScan(scanCallback)
}
}
}
}

View File

@@ -86,4 +86,4 @@ class Sender(private val viewModel: AppViewModel, private val packetIO: PacketIO
override fun onSequencePacket(packet: SequencePacket) {
}
}
}

View File

@@ -86,4 +86,4 @@ class SocketClient(
fun waitForCompletion() {
clientThread?.join()
}
}
}

View File

@@ -83,4 +83,4 @@ class SocketServer(
fun waitForCompletion() {
serverThread?.join()
}
}
}