Loading android/pandora/server/configs/PtsBotTest.xml +1 −0 Original line number Diff line number Diff line Loading @@ -25,6 +25,7 @@ <option name="tests-config-file" value="pts_bot_tests_config.json" /> <option name="physical" value="false" /> <option name="profile" value="A2DP/SRC" /> <option name="profile" value="A2DP/SNK/CC" /> <option name="profile" value="AVCTP" /> <option name="profile" value="AVDTP/SRC" /> <option name="profile" value="AVRCP" /> Loading android/pandora/server/configs/PtsBotTestMts.xml +1 −0 Original line number Diff line number Diff line Loading @@ -25,6 +25,7 @@ <option name="tests-config-file" value="pts_bot_tests_config.json" /> <option name="physical" value="false" /> <option name="profile" value="A2DP/SRC" /> <option name="profile" value="A2DP/SNK/CC" /> <option name="profile" value="AVCTP" /> <option name="profile" value="AVDTP/SRC" /> <option name="profile" value="AVRCP" /> Loading android/pandora/server/src/com/android/pandora/Utils.kt +5 −1 Original line number Diff line number Diff line Loading @@ -26,6 +26,7 @@ import android.content.Intent import android.content.IntentFilter import android.net.MacAddress import android.os.ParcelFileDescriptor import android.util.Log import androidx.test.platform.app.InstrumentationRegistry import com.google.protobuf.ByteString import io.grpc.stub.StreamObserver Loading Loading @@ -226,7 +227,10 @@ fun <T> getProfileProxy(context: Context, profile: Int): T { } proxy = withTimeoutOrNull(5_000) { flow.first() } } return proxy!! as T if (proxy == null) { Log.w(TAG, "profile proxy $profile is null") } return proxy as T } fun Intent.getBluetoothDeviceExtra(): BluetoothDevice = Loading Loading
android/pandora/server/configs/PtsBotTest.xml +1 −0 Original line number Diff line number Diff line Loading @@ -25,6 +25,7 @@ <option name="tests-config-file" value="pts_bot_tests_config.json" /> <option name="physical" value="false" /> <option name="profile" value="A2DP/SRC" /> <option name="profile" value="A2DP/SNK/CC" /> <option name="profile" value="AVCTP" /> <option name="profile" value="AVDTP/SRC" /> <option name="profile" value="AVRCP" /> Loading
android/pandora/server/configs/PtsBotTestMts.xml +1 −0 Original line number Diff line number Diff line Loading @@ -25,6 +25,7 @@ <option name="tests-config-file" value="pts_bot_tests_config.json" /> <option name="physical" value="false" /> <option name="profile" value="A2DP/SRC" /> <option name="profile" value="A2DP/SNK/CC" /> <option name="profile" value="AVCTP" /> <option name="profile" value="AVDTP/SRC" /> <option name="profile" value="AVRCP" /> Loading
android/pandora/server/src/com/android/pandora/Utils.kt +5 −1 Original line number Diff line number Diff line Loading @@ -26,6 +26,7 @@ import android.content.Intent import android.content.IntentFilter import android.net.MacAddress import android.os.ParcelFileDescriptor import android.util.Log import androidx.test.platform.app.InstrumentationRegistry import com.google.protobuf.ByteString import io.grpc.stub.StreamObserver Loading Loading @@ -226,7 +227,10 @@ fun <T> getProfileProxy(context: Context, profile: Int): T { } proxy = withTimeoutOrNull(5_000) { flow.first() } } return proxy!! as T if (proxy == null) { Log.w(TAG, "profile proxy $profile is null") } return proxy as T } fun Intent.getBluetoothDeviceExtra(): BluetoothDevice = Loading