Initial integration of USB Audio Tests.
Activities:
Attributes test
Play test
Record test (w/ optional loopback)
Headset Buttons test
Libraries:
audiolib - stream player, stream recorder and utilities and wavescope.
peripheralprofile - USB Audio Peripheral profile management.
Test: manual
Bug: 34344898
Change-Id: I4d076c072c4048498b7a9e0f8a67da5118fa572c
diff --git a/apps/CtsVerifier/res/layout/uap_buttons_panel.xml b/apps/CtsVerifier/res/layout/uap_buttons_panel.xml
new file mode 100644
index 0000000..2aeaca2
--- /dev/null
+++ b/apps/CtsVerifier/res/layout/uap_buttons_panel.xml
@@ -0,0 +1,83 @@
+<?xml version="1.0" encoding="utf-8"?>
+<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:id="@+id/scrollView"
+ style="@style/RootLayoutPadding">
+
+<LinearLayout android:orientation="vertical"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content">
+
+ <include layout="@layout/uap_profile_header"/>
+
+ <LinearLayout
+ android:orientation="vertical"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent">
+
+ <TextView
+ android:text="@string/uapButtonTestInstructions"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"/>
+
+ <TextView
+ android:text="@string/uapButtonsBtnALbl"
+ android:id="@+id/uap_buttonsBtnALabelTx"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ />
+
+ <TextView
+ android:text="@string/uapButtonsNotRecognized"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:id="@+id/uap_buttonsBtnAStatusTx"
+ android:paddingLeft="16dp"/>
+
+ <TextView
+ android:text="@string/uapButtonsBtnBLbl"
+ android:id="@+id/uap_buttonsBtnBLabelTx"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ />
+
+ <TextView
+ android:text="@string/uapButtonsNotRecognized"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:id="@+id/uap_buttonsBtnBStatusTx"
+ android:paddingLeft="16dp"/>
+
+ <TextView
+ android:text="@string/uapButtonsBtnCLbl"
+ android:id="@+id/uap_buttonsBtnCLabelTx"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ />
+
+ <TextView
+ android:text="@string/uapButtonsNotRecognized"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:id="@+id/uap_buttonsBtnCStatusTx"
+ android:paddingLeft="16dp"/>
+
+ <TextView
+ android:text="@string/uapButtonsBtnDLbl"
+ android:id="@+id/uap_buttonsBtnDLabelTx"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ />
+
+ <TextView
+ android:text="@string/uapButtonsNotRecognized"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:id="@+id/uap_buttonsBtnDStatusTx"
+ android:paddingLeft="16dp"/>
+ </LinearLayout>
+
+ <include layout="@layout/pass_fail_buttons"/>
+</LinearLayout>
+</ScrollView>
\ No newline at end of file