diff options
Diffstat (limited to 'en/compatibility/cts')
14 files changed, 613 insertions, 459 deletions
diff --git a/en/compatibility/cts/downloads.html b/en/compatibility/cts/downloads.html index 16798cde..6f3811d0 100644 --- a/en/compatibility/cts/downloads.html +++ b/en/compatibility/cts/downloads.html @@ -31,102 +31,102 @@ R<number> in the link name.</p> <h2 id="android-90">Android 9</h2> <p>Android 9 is the release of the development milestone code-named P. The source code for the following tests, including tests for instant apps, can be synced with the -'android-cts-9.0_r3' tag in the open-source tree.</p> +'android-cts-9.0_r4' tag in the open-source tree.</p> <ul> <li><a -href="https://dl.google.com/dl/android/cts/android-cts-9.0_r3-linux_x86-arm.zip">Android -9.0 R3 Compatibility Test Suite (CTS) - ARM</a></li> +href="https://dl.google.com/dl/android/cts/android-cts-9.0_r4-linux_x86-arm.zip">Android +9.0 R4 Compatibility Test Suite (CTS) - ARM</a></li> <li><a -href="https://dl.google.com/dl/android/cts/android-cts-9.0_r3-linux_x86-x86.zip">Android -9.0 R3 Compatibility Test Suite (CTS) - x86</a></li> +href="https://dl.google.com/dl/android/cts/android-cts-9.0_r4-linux_x86-x86.zip">Android +9.0 R4 Compatibility Test Suite (CTS) - x86</a></li> <li><a -href="https://dl.google.com/dl/android/cts/android-cts-verifier-9.0_r3-linux_x86-arm.zip">Android -9.0 R3 CTS Verifier - ARM</a></li> +href="https://dl.google.com/dl/android/cts/android-cts-verifier-9.0_r4-linux_x86-arm.zip">Android +9.0 R4 CTS Verifier - ARM</a></li> <li><a -href="https://dl.google.com/dl/android/cts/android-cts-verifier-9.0_r3-linux_x86-x86.zip">Android -9.0 R3 CTS Verifier - x86</a></li> +href="https://dl.google.com/dl/android/cts/android-cts-verifier-9.0_r4-linux_x86-x86.zip">Android +9.0 R4 CTS Verifier - x86</a></li> <li><a -href="https://dl.google.com/dl/android/cts/android-cts_instant-9.0_r3-linux_x86-arm.zip">Android -9.0 R3 CTS for Instant Apps - ARM</a></li> +href="https://dl.google.com/dl/android/cts/android-cts_instant-9.0_r4-linux_x86-arm.zip">Android +9.0 R4 CTS for Instant Apps - ARM</a></li> <li><a -href="https://dl.google.com/dl/android/cts/android-cts_instant-9.0_r3-linux_x86-x86.zip">Android -9.0 R3 CTS for Instant Apps - x86</a></li> +href="https://dl.google.com/dl/android/cts/android-cts_instant-9.0_r4-linux_x86-x86.zip">Android +9.0 R4 CTS for Instant Apps - x86</a></li> </ul> <h2 id="android-81">Android 8.1</h2> <p>Android 8.1 is the release of the development milestone code-named Oreo-MR1. The source code for the following tests can be synced with the -'android-cts-8.1_r10' tag in the open-source tree.</p> +'android-cts-8.1_r11' tag in the open-source tree.</p> <ul> <li><a -href="https://dl.google.com/dl/android/cts/android-cts-8.1_r10-linux_x86-arm.zip">Android -8.1 R10 Compatibility Test Suite (CTS) - ARM</a></li> +href="https://dl.google.com/dl/android/cts/android-cts-8.1_r11-linux_x86-arm.zip">Android +8.1 R11 Compatibility Test Suite (CTS) - ARM</a></li> <li><a -href="https://dl.google.com/dl/android/cts/android-cts-8.1_r10-linux_x86-x86.zip">Android -8.1 R10 Compatibility Test Suite (CTS) - x86</a></li> +href="https://dl.google.com/dl/android/cts/android-cts-8.1_r11-linux_x86-x86.zip">Android +8.1 R11 Compatibility Test Suite (CTS) - x86</a></li> <li><a -href="https://dl.google.com/dl/android/cts/android-cts-verifier-8.1_r10-linux_x86-arm.zip">Android -8.1 R10 CTS Verifier - ARM</a></li> +href="https://dl.google.com/dl/android/cts/android-cts-verifier-8.1_r11-linux_x86-arm.zip">Android +8.1 R11 CTS Verifier - ARM</a></li> <li><a -href="https://dl.google.com/dl/android/cts/android-cts-verifier-8.1_r10-linux_x86-x86.zip">Android -8.1 R10 CTS Verifier - x86</a></li> +href="https://dl.google.com/dl/android/cts/android-cts-verifier-8.1_r11-linux_x86-x86.zip">Android +8.1 R11 CTS Verifier - x86</a></li> </ul> <h2 id="android-80">Android 8.0</h2> <p>Android 8.0 is the release of the development milestone code-named Oreo. The source code for the following tests can be synced with the -'android-cts-8.0_r14' tag in the open-source tree.</p> +'android-cts-8.0_r15' tag in the open-source tree.</p> <ul> <li><a -href="https://dl.google.com/dl/android/cts/android-cts-8.0_r14-linux_x86-arm.zip">Android -8.0 R14 Compatibility Test Suite (CTS) - ARM</a></li> +href="https://dl.google.com/dl/android/cts/android-cts-8.0_r15-linux_x86-arm.zip">Android +8.0 R15 Compatibility Test Suite (CTS) - ARM</a></li> <li><a -href="https://dl.google.com/dl/android/cts/android-cts-8.0_r14-linux_x86-x86.zip">Android -8.0 R14 Compatibility Test Suite (CTS) - x86</a></li> +href="https://dl.google.com/dl/android/cts/android-cts-8.0_r15-linux_x86-x86.zip">Android +8.0 R15 Compatibility Test Suite (CTS) - x86</a></li> <li><a -href="https://dl.google.com/dl/android/cts/android-cts-verifier-8.0_r14-linux_x86-arm.zip">Android -8.0 R14 CTS Verifier - ARM</a></li> +href="https://dl.google.com/dl/android/cts/android-cts-verifier-8.0_r15-linux_x86-arm.zip">Android +8.0 R15 CTS Verifier - ARM</a></li> <li><a -href="https://dl.google.com/dl/android/cts/android-cts-verifier-8.0_r14-linux_x86-x86.zip">Android -8.0 R14 CTS Verifier - x86</a></li> +href="https://dl.google.com/dl/android/cts/android-cts-verifier-8.0_r15-linux_x86-x86.zip">Android +8.0 R15 CTS Verifier - x86</a></li> </ul> <h2 id="android-71">Android 7.1</h2> <p>Android 7.1 is the release of the development milestone code-named Nougat-MR1. The source code for the following tests can be synced with the -'android-cts-7.1_r22' tag in the open-source tree.</p> +'android-cts-7.1_r23' tag in the open-source tree.</p> <ul> <li><a -href="https://dl.google.com/dl/android/cts/android-cts-7.1_r22-linux_x86-arm.zip">Android -7.1 R22 Compatibility Test Suite (CTS) - ARM</a></li> +href="https://dl.google.com/dl/android/cts/android-cts-7.1_r23-linux_x86-arm.zip">Android +7.1 R23 Compatibility Test Suite (CTS) - ARM</a></li> <li><a -href="https://dl.google.com/dl/android/cts/android-cts-7.1_r22-linux_x86-x86.zip">Android -7.1 R22 Compatibility Test Suite (CTS) - x86</a></li> +href="https://dl.google.com/dl/android/cts/android-cts-7.1_r23-linux_x86-x86.zip">Android +7.1 R23 Compatibility Test Suite (CTS) - x86</a></li> <li><a -href="https://dl.google.com/dl/android/cts/android-cts-verifier-7.1_r22-linux_x86-arm.zip">Android -7.1 R22 CTS Verifier - ARM</a></li> +href="https://dl.google.com/dl/android/cts/android-cts-verifier-7.1_r23-linux_x86-arm.zip">Android +7.1 R23 CTS Verifier - ARM</a></li> <li><a -href="https://dl.google.com/dl/android/cts/android-cts-verifier-7.1_r22-linux_x86-x86.zip">Android -7.1 R22 CTS Verifier - x86</a></li> +href="https://dl.google.com/dl/android/cts/android-cts-verifier-7.1_r23-linux_x86-x86.zip">Android +7.1 R23 CTS Verifier - x86</a></li> </ul> <h2 id="android-70">Android 7.0</h2> <p>Android 7.0 is the release of the development milestone code-named Nougat. The source code for the following tests can be synced with the -'android-cts-7.0_r26' tag in the open-source tree.</p> +'android-cts-7.0_r27' tag in the open-source tree.</p> <ul> <li><a -href="https://dl.google.com/dl/android/cts/android-cts-7.0_r26-linux_x86-arm.zip">Android -7.0 R26 Compatibility Test Suite (CTS) - ARM</a></li> +href="https://dl.google.com/dl/android/cts/android-cts-7.0_r27-linux_x86-arm.zip">Android +7.0 R27 Compatibility Test Suite (CTS) - ARM</a></li> <li><a -href="https://dl.google.com/dl/android/cts/android-cts-7.0_r26-linux_x86-x86.zip">Android -7.0 R26 Compatibility Test Suite (CTS) - x86</a></li> +href="https://dl.google.com/dl/android/cts/android-cts-7.0_r27-linux_x86-x86.zip">Android +7.0 R27 Compatibility Test Suite (CTS) - x86</a></li> <li><a -href="https://dl.google.com/dl/android/cts/android-cts-verifier-7.0_r26-linux_x86-arm.zip">Android -7.0 R26 CTS Verifier - ARM</a></li> +href="https://dl.google.com/dl/android/cts/android-cts-verifier-7.0_r27-linux_x86-arm.zip">Android +7.0 R27 CTS Verifier - ARM</a></li> <li><a -href="https://dl.google.com/dl/android/cts/android-cts-verifier-7.0_r26-linux_x86-x86.zip">Android -7.0 R26 CTS Verifier - x86</a></li> +href="https://dl.google.com/dl/android/cts/android-cts-verifier-7.0_r27-linux_x86-x86.zip">Android +7.0 R27 CTS Verifier - x86</a></li> </ul> <h2 id="android-60">Android 6.0</h2> diff --git a/en/compatibility/cts/images/buttons_connected.png b/en/compatibility/cts/images/buttons_connected.png Binary files differindex 2309a69b..a01cb729 100644 --- a/en/compatibility/cts/images/buttons_connected.png +++ b/en/compatibility/cts/images/buttons_connected.png diff --git a/en/compatibility/cts/images/buttons_not_recognized.png b/en/compatibility/cts/images/buttons_not_recognized.png Binary files differindex 9bdee4f4..53c47e70 100644 --- a/en/compatibility/cts/images/buttons_not_recognized.png +++ b/en/compatibility/cts/images/buttons_not_recognized.png diff --git a/en/compatibility/cts/images/buttons_recognized.png b/en/compatibility/cts/images/buttons_recognized.png Binary files differindex 84000404..167e2d5d 100644 --- a/en/compatibility/cts/images/buttons_recognized.png +++ b/en/compatibility/cts/images/buttons_recognized.png diff --git a/en/compatibility/cts/images/buttons_summary.png b/en/compatibility/cts/images/buttons_summary.png Binary files differindex 53f17f22..ca052f12 100644 --- a/en/compatibility/cts/images/buttons_summary.png +++ b/en/compatibility/cts/images/buttons_summary.png diff --git a/en/compatibility/cts/images/play_postconnect.png b/en/compatibility/cts/images/play_postconnect.png Binary files differindex a61706e0..631ccc4e 100644 --- a/en/compatibility/cts/images/play_postconnect.png +++ b/en/compatibility/cts/images/play_postconnect.png diff --git a/en/compatibility/cts/images/play_preconnect.png b/en/compatibility/cts/images/play_preconnect.png Binary files differindex 43f7e10b..cb506a8f 100644 --- a/en/compatibility/cts/images/play_preconnect.png +++ b/en/compatibility/cts/images/play_preconnect.png diff --git a/en/compatibility/cts/images/play_summary.png b/en/compatibility/cts/images/play_summary.png Binary files differindex 586f0433..fa7f6aa9 100644 --- a/en/compatibility/cts/images/play_summary.png +++ b/en/compatibility/cts/images/play_summary.png diff --git a/en/compatibility/cts/images/record_postconnect.png b/en/compatibility/cts/images/record_postconnect.png Binary files differindex d465474e..3f07146d 100644 --- a/en/compatibility/cts/images/record_postconnect.png +++ b/en/compatibility/cts/images/record_postconnect.png diff --git a/en/compatibility/cts/images/record_postconnect_running.png b/en/compatibility/cts/images/record_postconnect_running.png Binary files differnew file mode 100644 index 00000000..393f2237 --- /dev/null +++ b/en/compatibility/cts/images/record_postconnect_running.png diff --git a/en/compatibility/cts/images/record_preconnect.png b/en/compatibility/cts/images/record_preconnect.png Binary files differindex f6bf073b..11aaf85b 100644 --- a/en/compatibility/cts/images/record_preconnect.png +++ b/en/compatibility/cts/images/record_preconnect.png diff --git a/en/compatibility/cts/images/record_summary.png b/en/compatibility/cts/images/record_summary.png Binary files differindex 8d184c28..5240ba63 100644 --- a/en/compatibility/cts/images/record_summary.png +++ b/en/compatibility/cts/images/record_summary.png diff --git a/en/compatibility/cts/images/wfov-cad-wfov-box.png b/en/compatibility/cts/images/wfov-cad-wfov-box.png Binary files differindex e5d75aab..52d5f545 100644 --- a/en/compatibility/cts/images/wfov-cad-wfov-box.png +++ b/en/compatibility/cts/images/wfov-cad-wfov-box.png diff --git a/en/compatibility/cts/usb-audio.html b/en/compatibility/cts/usb-audio.html index bf3c9f7c..51138213 100644 --- a/en/compatibility/cts/usb-audio.html +++ b/en/compatibility/cts/usb-audio.html @@ -1,10 +1,11 @@ <html devsite> - <head> - <title>USB Audio CTS Verifier Tests</title> - <meta name="project_path" value="/_project.yaml" /> - <meta name="book_path" value="/_book.yaml" /> - </head> - <body> +<head> + <title>USB Audio CTS Verifier Tests</title> + <meta name="project_path" value="/_project.yaml" /> + <meta name="book_path" value="/_book.yaml" /> +</head> + +<body> <!-- Copyright 2017 The Android Open Source Project @@ -21,425 +22,578 @@ limitations under the License. --> -<p> -Several <a href="/compatibility/cts/">Android Compatibility Test Suite (CTS)</a> -tests for <a href="/devices/audio/usb">Android USB audio</a> require human -intervention and the physical connection of USB audio peripherals. For these, -additional CTS Verifier tests have been implemented. -The requirements and protocols for these tests are explained in this document. -</p> - -<h2 id="nomenclature">Nomenclature</h2> - -<p> -Throughout this document, the term "device" and "peripheral" are used in a very -precise manner: -</p> -<ul> -<li><em>Device</em> refers to the Android device.</li> -<li><em>Peripheral</em> is used to denote an external USB audio peripheral -connected to the Android device.</li> -</ul> - -<h2 id="recommended-peripherals">Mandated peripherals</h2> - -<p> -In order for the USB audio CTS Verifier Tests to know the attributes and -capabilities they are verifying, it is necessary to specify a set of known -peripherals to test against. For this reason, specific brands and types are -mandated below. Successful completion of the tests requires one peripheral of -each category of peripherals specified below. Use of other types will cause the -tests to fail. -</p> - -<h3 id="usb-audio-interface">USB audio interface</h3> - -<p>Use one of the peripherals here to conduct the USB Audio Peripheral -Attributes test, Play test, and Record test:</p> - -<ul> - <li><a href="http://www.presonus.com/products/audiobox-22VSL">Presonus AudioBox -22VSL</a></li> - <li><a href="https://www.presonus.com/products/audiobox-usb">Presonus AudioBox -USB</a></li> -</ul> - -<table> - <tr> - <td width="50%">A USB audio interface (A PreSonus AudioBox 22VSL) - </td> - <td width="50%"><img src="/compatibility/cts/images/usb_audio_interface.png" alt="USB audio interface" width="300" - id="usb_audio_interface" /></td> - </tr> -</table> - -<h3 id="usb-headset">USB headset</h3> - -<p>You may use the digital <a -href="https://www.amazon.com/gp/product/B06VVGR2XM/ref=oh_aui_detailpage_o06_s00?ie=UTF8&psc=1">JBL -Reflect Aware C in-ear Sport Headphones</a> to conduct the USB Audio Peripheral Play test and Headset -buttons test without an adapter.</p> - -<p>Otherwise, use one of the USB-C digital to 3.5mm audio jack adapters here: - -<ul> - <li><a href="https://store.google.com/us/product/usb_c_headphone_adapter">Google USB-C - digital to 3.5 mm headphone adapter</a></li> - <li><a - href="https://www.htc.com/us/accessories-b/#!pid=htc-u11&acc=usb-c-digital-to-3-5mm-htc-u11">HTC - USB-C digital to 3.5mm audio jack adapter</a></li> -</ul> - -<p>Connect one of the adapters above with one of these Android-compatible -analog headsets to conduct the USB Audio Peripheral Play test and Headset -buttons test:</p> - -<ul> - <li><a - href="https://www.bose.com/en_us/products/headphones/earphones/soundsport-in-ear-headphones-samsung-devices.html">Bose - SoundSport® in-ear headphones – Samsung and Android™ devices</a></li> - <li><a - href="https://www.urbanears.com/ue_us_en/reimers#reimers-black-belt">UrbanEars - Reimers Black Belt made for Android</a></li> -</ul> - -<table> - <tr> - <td width="50%">A USB headset - </td> - <td width="50%"><img src="/compatibility/cts/images/usb_headset.png" alt="USB headset" width="300" - id="usb_headset" /></td> - </tr> -</table> -<h3 id="peripheral-profiles">Peripheral profiles</h3> + <p>Several <a href="/compatibility/cts/">Android Compatibility Test Suite + (CTS)</a> tests for <a href="/devices/audio/usb">Android USB audio</a> + require the physical connection of USB audio + peripherals. For these, additional CTS Verifier tests have been implemented.</p> -<p> -The USB Audio CTS Verifier Tests "know about" these recommended peripherals -through built-in profiles provided by Android that describe the attributes and -capabilities of a peripheral. When the peripheral is connected to the Android -device under test, the correct profile is automatically selected. -</p> -<h2 id="required-additional-hardware">Required additional hardware</h2> + <h2 id="nomenclature">Nomenclature</h2> -<p>Patch cables (for loopback) -2 short ¼" male to ¼" male patch cables to -connect the outputs to the inputs of the USB</p> -<table> - <tr> - <td width="50%"> - ¼" male to ¼" male patch cables - </td> - <td width="50%"><img src="/compatibility/cts/images/patch_cables.png" alt="patch cables" width="300" - id="patch_cables" /></td> - </td> - </tr> -</table> - -<p>USB peripheral cable</p> - -<table> - <tr> - <td width="50%">This cable (which typically comes with the peripheral), connects the USB -audio peripheral to the host device - </td> - </td> - <td width="50%"><img src="/compatibility/cts/images/peripheral_cable.png" alt="peripheral cable" width="300" - id="peripheral_cable" /></td> - </td> - </tr> -</table> - -<p>USB "On The Go" (OTG) adapter</p> - -<table> - <tr> - <td width="50%">A USB "On The Go" (OTG) adapter is required to physically connect the -peripheral to the Android device and indicate to the Android device that it -should assume the role of "host" - </td> - </td> - <td width="50%"><img src="/compatibility/cts/images/otg_adapter.png" alt="OTG adapter" width="300" - id="otg_adapter" /></td> - </td> - </tr> -</table> - -<p>Analog headphones to monitor the output of the USB audio interface for the -Play test.</p> - -<table> - <tr> - <td width="50%">Set of analog headphones. - </td> - </td> - <td width="50%"><img src="/compatibility/cts/images/analog_headphones.png" alt="analog headphones" width="300" - id="analog_headphones" /></td> - </td> - </tr> -</table> - -<h2 id="tests">Tests</h2> - -<p> -In each test, indicate test success by clicking the <strong>test pass</strong> -(check mark) button. Otherwise, indicate test failure by clicking the -<strong>test fail</strong> (exclamation point) button. -</p> - -<h3 id="attributes-test">Attributes test</h3> - -<h4 id="abstract">Abstract</h4> - -<p> -This test verifies that the attributes (supported sample-rates, channel -configurations, sample formats…) match the set of a-priori known attributes of -the device. -</p> - -<h4 id="process">Process</h4> - -<p> -After invoking the test from the main menu, connect a USB audio peripheral. If -the attributes match, the <strong>test pass</strong> (check mark) button will be -enabled. Click the <strong>test pass</strong> button to indicate success. If the -attributes do not match, indicate test failure by clicking the <strong>test -fail</strong> (exclamation point) button. -</p> - -<table> - <tr> - <td width="50%">Select <em>USB Audio Peripheral Attributes Test</em>. - </td> - <td width="50%"><img src="/compatibility/cts/images/attributes_test.png" alt="attributes test" width="300" - id="attributes test" /></td> - </tr> - <tr> - <td width="50%">Summary of instructions is displayed - </td> - <td width="50%"><img src="/compatibility/cts/images/attributes_summary.png" alt="attributes summary" width="300" - id="attributes_summary" /></td> - </tr> - <tr> - <td width="50%">Pre-connect screen - </td> - <td width="50%"><img src="/compatibility/cts/images/attributes_preconnect.png" alt="attributes - preconnect" width="300" - id="attributes_preconnect" /></td> - </tr> - <tr> - <td width="50%">USB audio peripheral connected to Android Device with peripheral cable -and OTG adapter - </td> - <td width="50%"><img src="/compatibility/cts/images/attributes_connected.png" alt="attributes connected" width="300" - id="attributes_connected" /></td> - </tr> - <tr> - <td width="50%">Post-connect screen - </td> - <td width="50%"><img src="/compatibility/cts/images/attributes_postconnect.png" alt="attributes post connection" width="300" - id="attributes_postconnect" /></td> - </tr> -</table> - -<h3 id="play-test">Play test</h3> - -<h4 id="abstract">Abstract</h4> - -<p> -This test verifies that audio playback is functioning. It does this by -generating a 1KHz test tone and presenting it in stereo (two-channels) to the -USB audio peripheral. -</p> - -<h4 id="process">Process</h4> - -<p> -After invoking the test from the main menu, connect the USB audio interface, -including the analog headset to the headset output jack on the interface (for -monitoring). -</p> - -<p> -Press the <strong>PLAY</strong> button. If the test tone is heard in both -channels of the headset, indicate test pass by clicking the <strong>test -pass</strong> (check mark) button. If either or both of the channels do not play -the tone, indicate test failure by clicking the <strong>test fail</strong> -(exclamation point) button. -</p> - -<h4 id="notes">Notes</h4> - -<table> - <tr> - <td width="50%">Select <em>USB Audio Peripheral Play Test</em> - </td> - <td width="50%"><img src="/compatibility/cts/images/play_test.png" alt="play test" width="300" - id="play_test" /></td> - </tr> - <tr> - <td width="50%">Summary of instructions is displayed - </td> - <td width="50%"><img src="/compatibility/cts/images/play_summary.png" alt="play summary" width="300" - id="play_summary" /></td> - </tr> - <tr> - <td width="50%">Pre-connect screen - </td> - <td width="50%"><img src="/compatibility/cts/images/play_preconnect.png" alt="play preconnect" width="300" - id="play_preconnect" /></td> - </tr> - <tr> - <td width="50%">Connect the USB audio peripheral to the Android Device -<p> -The headphones are connected to the headphone output jack on the USB audio -interface for monitoring - </td> - <td width="50%"><img src="/compatibility/cts/images/play_connected.png" alt="play connected" width="300" - id="play_connected" /></td> - </tr> - <tr> - <td width="50%">Post-connect screen - </td> - <td width="50%"><img src="/compatibility/cts/images/play_postconnect.png" alt="play post connection" width="300" - id="play_postconnect" /></td> - </tr> -</table> + <p>Throughout this document, the term "device" and "peripheral" are used in a + very precise manner:</p> -<h3 id="record-loopback-test">Record (loopback) test</h3> + <ul> + <li><em>Device</em> refers to the Android device.</li> -<h4 id="abstract">Abstract</h4> -<p> -This test verifies that audio recording is functioning. It does this by -generating a tone at the outputs of the USB audio interface, which is then -routed via patch cords to the inputs of the USB audio peripheral. -</p> + <li><em>Peripheral</em> refers to an external USB audio peripheral + connected to the Android device.</li> + </ul> -<h4 id="process">Process</h4> -<p> -After invoking the test from the main menu, connect the USB audio interface. -Connect the analog outputs to the analog inputs with patch cables. Press the -<strong>RECORD LOOPBACK</strong> button. If both the channels of the recorded -test tone are shown in the view below, indicate test pass by clicking the -<strong>test pass</strong> (check mark) button. If either or both of the -channels does not display, indicate test failure by clicking the <strong>test -fail</strong> (exclamation point) button. -</p> + <h2 id="recommended-peripherals">Mandated peripherals</h2> -<h4 id="notes">Notes</h4> -<p> -Ensure positive connection of both input and output jacks on the peripheral. It -will be necessary to adjust the input levels to correctly display the recorded -signal. -</p> + <p>For the USB audio CTS Verifier Tests to know the attributes and + capabilities they are verifying, it is necessary to specify a set of known + peripherals to test against. For this reason, specific brands and types are + mandated below. Some tests require a specifically mandated peripheral. Other + tests simply require a USB audio peripheral that meets the requirements of + those specific test. Note that any of the peripherals mandated for the USB + Audio Peripherals Attributes Test will be compatible with the requirements + for the Play and Record tests.</p> -<table> - <tr> - <td width="50%">Select <em>USB Audio Peripheral Record Test</em> - </td> - <td width="50%"><img src="/compatibility/cts/images/record_test.png" alt="record test" width="300" - id="record_test" /></td> - </tr> - <tr> - <td width="50%">Summary of instructions is displayed - </td> - <td width="50%"><img src="/compatibility/cts/images/record_summary.png" alt="record summary" width="300" - id="record_summary" /></td> - </tr> - <tr> - <td width="50%">Pre-connect screen - </td> - <td width="50%"><img src="/compatibility/cts/images/record_preconnect.png" alt="record preconnect" width="300" - id="record_preconnect" /></td> - </tr> - <tr> - <td width="50%">USB audio Interface with loopback connected to Android device - </td> - <td width="50%"><img src="/compatibility/cts/images/record_connected.png" alt="record connected" width="300" - id="record_connected" /></td> - </tr> - <tr> - <td width="50%">Connections on the back of the USB audio interface - </td> - <td width="50%"><img src="/compatibility/cts/images/record_connected_back.png" alt="record connected in back" width="300" - id="record_connected_back" /></td> - </tr> - <tr> - <td width="50%">Connections on the front of the USB audio interface - </td> - <td width="50%"><img src="/compatibility/cts/images/record_connected_front.png" alt="record connected in front" width="300" - id="record_connected_front" /></td> - </tr> - <tr> - <td width="50%">Post-connect screen, with record test running - </td> - <td width="50%"><img src="/compatibility/cts/images/record_postconnect.png" alt="record post connection" width="300" - id="record_postconnect" /></td> - </tr> -</table> -<h3></h3> -<h3 id="headset-buttons-test">Headset buttons test</h3> -<h4 id="abstract">Abstract</h4> -<p> -This test verifies the <strong>media/transport </strong>buttons on the -recommended headset are correctly recognized. -</p> -<h4 id="process">Process</h4> -<p> -After invoking the test from the main menu, connect the USB headset peripheral. -Press each <strong>media/transport</strong> (play, pause, volume up & volume -down) button on the headset. As each is recognized, it will be recognized in the -test panel. When all buttons have been recognized, the <strong>test -pass</strong> (check mark) button will be enabled. Click the <strong>test -pass</strong> button to indicate success. If the full set of buttons is not -recognized, indicate test failure by clicking the <strong>test fail</strong> -(exclamation point) button. -</p> -<h4 id="notes">Notes</h4> -<table> - <tr> - <td width="50%">The USB headset peripheral connected to the Android device -<p> -Note the OTG adapter - </td> - <td width="50%"><img src="/compatibility/cts/images/buttons_connected.png" alt="buttons connected" width="300" - id="buttons_connected" /></td> - </tr> - <tr> - <td width="50%">Select <em>USB Audio Peripheral Buttons Test</em> - </td> - <td width="50%"><img src="/compatibility/cts/images/buttons_test.png" alt="buttons test" width="300" - id="buttons_test" /></td> - </tr> - <tr> - <td width="50%">Summary of instructions is displayed - </td> - <td width="50%"><img src="/compatibility/cts/images/buttons_summary.png" alt="buttons summary" width="300" - id="buttons_summary" /></td> - </tr> - <tr> - <td width="50%">Peripheral connected, but no buttons recognized (yet) -<p> -Note that the expected (buttons which are known to the device profile) are -indicated with with white text; those that are not part of the test peripheral -are displayed in grey text - </td> - <td width="50%"><img src="/compatibility/cts/images/buttons_not_recognized.png" alt="buttons not recognized" width="300" - id="buttons not recognized" /></td> - </tr> + + <h3 id="usb-audio-interface">USB audio interface</h3> + + + <p>Use one of the peripherals here to conduct the USB Audio Peripheral + Attributes test. They can also be used for the Play test and Record test.</p> + + + <ul> + <li><a href="http://www.presonus.com/products/audiobox-22VSL" class="external">Presonus + AudioBox 22VSL</a> + </li> + + + <li><a href="https://www.presonus.com/products/audiobox-usb" class="external">Presonus + AudioBox USB</a> + </li> + </ul> + + + <p>Note that these two peripherals have been discontinued by the manufacturer + and will be deprecated in a future CTS Verifier release.</p> + + + <ul> + <li><a href= + "https://focusrite.com/usb-audio-interface/scarlett/scarlett-2i4" class="external"> + Focusrite Scarlett 2i4</a> + </li> + + + <li><a href= + "http://www.musictribe.com/Categories/Behringer/Computer-Audio/Interfaces/UMC204HD/p/P0BK0" class="external"> + Behringer UMC204HD</a> + </li> + + + <li><a href= + "https://www.roland.com/us/products/rubix24/" class="external"> + Roland Rubix 24</a> + </li> + + + <li><a href= + "https://www.presonus.com/products/AudioBox-USB-96" class="external"> + PreSonus AudioBox 96</a> + </li> + </ul> + + + <table> + <tr> + <td width="50%">A USB audio interface (A PreSonus AudioBox 22VSL).</td> + + <td width="50%"><img src= + "/compatibility/cts/images/usb_audio_interface.png" alt= + "USB audio interface" width="300" id="usb_audio_interface"> + </td> + </tr> + </table> + + + <h3 id="usb-headset">USB headset</h3> + + + <p>The CTS Verifier USB Audio Buttons Test does not require a specific USB + headset peripheral. It can be an instance of either of the following:</p> + + + <ul> + <li><span style="color:#202124;">A USB Headset peripheral that supports the + <a href= + "/devices/accessories/headset/usb-headset-spec">Android + USB Headset Accessory Specification</a><span style="color:#202124;">. These + headset peripherals are often indicated by the manufacturer as "Made for + Android".</span></span> + </li> + + + <li>An analog headset which supports the + <a href= + "/devices/accessories/headset/usb-headset-spec">Android + USB Headset Accessory Specification </a>connected to a USB to analog audio converter (such as the + <a href= + "https://store.google.com/us/product/usb_c_headphone_adapter" class="external">Google USB-C + digital to 3.5 mm headphone adapter</a> or <a href= + "https://www.htc.com/us/accessories-b/#!pid=htc-u11&acc=usb-c-digital-to-3-5mm-htc-u11" + class="external">HTC USB-C digital to 3.5mm audio jack adapter</a>). + <p>Known examples of compatible analog headset peripherals include the + <a href="https://www.bose.com/en_us/products/headphones/earphones/soundsport-in-ear-headphones-samsung-devices.html" + class="external"> + Bose SoundSport® in-ear headphones – Samsung and Android™ devices</a>, and + the <a href= + "https://www.urbanears.com/ue_us_en/reimers#reimers-black-belt" class="external" >UrbanEars + Reimers Black Belt made for Android</a> headsets. These analog headsets + must be connected to the device USB port via a USB to Audio + converter.</p> + </li> + </ul> + + + <p>Note that in either case, the button must produce virtual key codes for all three of the + required buttons (volume up, volume down, play/pause) for the test to succeed. + Refer to the Software mapping section in <a href="/devices/accessories/headset/usb-headset-spec"> + Android USB Headset Accessory Specification</a> for the virtual key codes.</p> + + + <table> + <tr> + <td width="50%">A USB headset.</td> + + <td width="50%"><img src="/compatibility/cts/images/usb_headset.png" alt= + "USB headset" width="300" id="usb_headset"> + </td> + </tr> + </table> + + + <h2 id="required-additional-hardware">Required additional hardware</h2> + + + <p>Patch cables (for loopback) 2 short ¼" male to ¼" male patch cables to + connect the outputs to the inputs of the USB</p> + + + <table> + <tr> + <td width="50%">¼" male to ¼" male patch cables.</td> + + <td width="50%"><img src="/compatibility/cts/images/patch_cables.png" + alt="patch cables" width="300" id="patch_cables"> + </td> + </tr> + </table> + + + <p>USB peripheral cable</p> + + + <table> + <tr> + <td width="50%">This cable (which typically comes with the peripheral), + connects the USB audio peripheral to the host device.</td> + + <td width="50%"><img src="/compatibility/cts/images/peripheral_cable.png" + alt="peripheral cable" width="300" id="peripheral_cable"> + </td> + </tr> + </table> + + + <p>USB "On The Go" (OTG) adapter</p> + + + <table> + <tr> + <td width="50%">A USB "On The Go" (OTG) adapter is required to physically + connect the peripheral to the Android device and indicate to the Android + device that it should assume the role of "host".</td> + + <td width="50%"><img src="/compatibility/cts/images/otg_adapter.png" alt= + "OTG adapter" width="300" id="otg_adapter"> + </td> + </tr> + </table> + + + <p>Analog headphones to monitor the output of the USB audio interface for the + Play test.</p> + + + <table> + <tr> + <td width="50%">Set of analog headphones.</td> + + <td width="50%"><img src= + "/compatibility/cts/images/analog_headphones.png" alt="analog headphones" + width="300" id="analog_headphones"> + </td> + </tr> + </table> + + + <h2 id="tests">Tests</h2> + + + <p>In each test, indicate test success by clicking the <strong>test + pass</strong> (check mark) button. Otherwise, indicate test failure by + clicking the <strong>test fail</strong> (exclamation point) button.</p> + + + <h3 id="attributes-test">Attributes test</h3> + + + <h4 id="abstract">Abstract</h4> + + + <p>This test verifies that the attributes (supported sample-rates, channel + configurations, sample formats, etc.) match the set of a-priori known attributes + of the device.</p> + + + <h4 id="process">Process</h4> + + + <p>After invoking the test from the main menu, connect a USB audio + peripheral. If the attributes match, the <strong>test pass</strong> (check + mark) button will be enabled.</p> + + + <table> + <tr> + <td width="50%">Select <em>USB Audio Peripheral Attributes + Test.</em></td> + + <td width="50%"><img src="/compatibility/cts/images/attributes_test.png" + alt="attributes test" width="300" id="attributes test"> + </td> + </tr> + + + <tr> + <td width="50%">Summary of instructions is displayed.</td> + + <td width="50%"><img src= + "/compatibility/cts/images/attributes_summary.png" alt= + "attributes summary" width="300" id="attributes_summary"> + </td> + </tr> + + + <tr> + <td width="50%">Pre-connect screen.</td> + + <td width="50%"><img src= + "/compatibility/cts/images/attributes_preconnect.png" alt= + "attributes preconnect" width="300" id="attributes_preconnect"> + </td> + </tr> + + + <tr> + <td width="50%">USB audio peripheral connected to Android Device with + peripheral cable and OTG adapter.</td> + + <td width="50%"><img src= + "/compatibility/cts/images/attributes_connected.png" alt= + "attributes connected" width="300" id="attributes_connected"> + </td> + </tr> + + + <tr> + <td width="50%">Post-connect screen.</td> + + <td width="50%"><img src= + "/compatibility/cts/images/attributes_postconnect.png" alt= + "attributes post connection" width="300" id="attributes_postconnect"> + </td> + </tr> + </table> + + + <h3 id="play-test">Play test</h3> + + + <h4 id="abstract">Abstract</h4> + + + <p>This test verifies that audio playback is functioning. It does this by + generating a 1KHz test tone and presenting it in stereo (two-channels) to the + USB audio peripheral.</p> + + + <h4 id="process">Process</h4> + + + <p>After invoking the test from the main menu, connect the USB audio + interface, including the analog headset, to the headset output jack on the + interface for monitoring.</p> + + + <p>Press the <strong>PLAY</strong> button. If the test tone is heard in both + channels of the headset, indicate test pass by clicking the <strong>test + pass</strong> (check mark) button. If either or both of the channels do not + play the tone, indicate test failure by clicking the <strong>test + fail</strong> (exclamation point) button.</p> + + + <h4 id="notes">Notes</h4> + + + <table> + <tr> + <td width="50%">Select <em>USB Audio Peripheral Play Test.</em></td> + + <td width="50%"><img src="/compatibility/cts/images/play_test.png" alt= + "play test" width="300" id="play_test"> + </td> + </tr> + + + <tr> + <td width="50%">Summary of instructions is displayed.</td> + + <td width="50%"><img src="/compatibility/cts/images/play_summary.png" + alt="play summary" width="300" id="play_summary"> + </td> + </tr> + + + <tr> + <td width="50%">Pre-connect screen.</td> + + <td width="50%"><img src="/compatibility/cts/images/play_preconnect.png" + alt="play preconnect" width="300" id="play_preconnect"> + </td> + </tr> + + + <tr> + <td width="50%"> + Connect the USB audio peripheral to the Android Device. + + <p>The headphones are connected to the headphone output jack on the USB + audio interface for monitoring.</p> + </td> + + <td width="50%"><img src="/compatibility/cts/images/play_connected.png" + alt="play connected" width="300" id="play_connected"> + </td> + </tr> + + + <tr> + <td width="50%">Post-connect screen.</td> + + <td width="50%"><img src="/compatibility/cts/images/play_postconnect.png" + alt="play post connection" width="300" id="play_postconnect"> + </td> + </tr> + </table> + + + <h3 id="record-loopback-test">Record (loopback) test</h3> + + + <h4 id="abstract">Abstract</h4> + + + <p>This test verifies that audio recording is functioning. It does this by + generating a tone at the outputs of the USB audio interface, which is then + routed via patch cords to the inputs of the USB audio peripheral.</p> + + + <h4 id="process">Process</h4> + + + <p>After invoking the test from the main menu, connect the USB audio + interface. Connect the analog outputs to the analog inputs with patch cables. + Press the <strong>RECORD LOOPBACK</strong> button. If both the channels of + the recorded test tone are shown in the view below, indicate test pass by + clicking the <strong>test pass</strong> (check mark) button. If either or + both of the channels does not display, indicate test failure by clicking the + <strong>test fail</strong> (exclamation point) button.</p> + + + <h4 id="notes">Notes</h4> + + + <p>Ensure positive connection of both input and output jacks on the + peripheral. It will be necessary to adjust the input levels to correctly + display the recorded signal.</p> + + + <table> + <tr> + <td width="50%">Select <em>USB Audio Peripheral Record Test.</em></td> + + <td width="50%"><img src="/compatibility/cts/images/record_test.png" alt= + "record test" width="300" id="record_test"> + </td> + </tr> + + + <tr> + <td width="50%">Summary of instructions is displayed.</td> + + <td width="50%"><img src="/compatibility/cts/images/record_summary.png" + alt="record summary" width="300" id="record_summary"> + </td> + </tr> + + + <tr> + <td width="50%">Pre-connect screen.</td> + + <td width="50%"><img src= + "/compatibility/cts/images/record_preconnect.png" alt="record preconnect" + width="300" id="record_preconnect"> + </td> + </tr> + + + <tr> + <td width="50%">USB audio Interface with loopback connected to Android + device.</td> + + <td width="50%"><img src="/compatibility/cts/images/record_connected.png" + alt="record connected" width="300" id="record_connected"> + </td> + </tr> + + + <tr> + <td width="50%">Connections on the back of the USB audio interface.</td> + + <td width="50%"><img src= + "/compatibility/cts/images/record_connected_back.png" alt= + "record connected in back" width="300" id="record_connected_back"> + </td> + </tr> + + + <tr> + <td width="50%">Connections on the front of the USB audio interface.</td> + + <td width="50%"><img src= + "/compatibility/cts/images/record_connected_front.png" alt= + "record connected in front" width="300" id="record_connected_front"> + </td> + </tr> + + + <tr> + <td width="50%">Post-connect screen.</td> + + <td width="50%"><img src= + "/compatibility/cts/images/record_postconnect.png" alt= + "record post connection" width="300" id="record_postconnect"> + </td> + </tr> <tr> - <td width="50%">Peripheral connected, and expected buttons recognized - </td> - <td width="50%"><img src="/compatibility/cts/images/buttons_recognized.png" alt="buttons recognized" width="300" - id="buttons recognized" /></td> - </tr> -</table> + <td width="50%">Post-connect screen, with record test running.</td> + + <td width="50%"><img src= + "/compatibility/cts/images/record_postconnect_running.png" alt= + "record postconnect running" width="300" id="attributes_postconnect_running."> + </td> + </tr> + </table> + + + <h3 id="headset-buttons-test">Headset buttons test</h3> + + + <h4 id="abstract">Abstract</h4> + + + <p>This test verifies the <strong>media/transport</strong> buttons on the + recommended headset are correctly recognized.</p> + + + <h4 id="process">Process</h4> + + + <p>After invoking the test from the main menu, connect the USB headset + peripheral. Press each <strong>media/transport</strong> (play, pause, volume + up & volume down) button on the headset. As each is recognized, it will be + recognized in the test panel. When all buttons have been recognized, the + <strong>test pass</strong> (check mark) button will be enabled. Click the + <strong>test pass</strong> button to indicate success. If the full set of + buttons is not recognized, indicate test failure by clicking the <strong>test + fail</strong> (exclamation point) button.</p> + + + <h4 id="notes">Notes</h4> + + + <table> + <tr> + <td width="50%"> + The USB headset peripheral connected to the Android device. + + <p>Note the OTG adapter.</p> + </td> + + <td width="50%"><img src= + "/compatibility/cts/images/buttons_connected.png" alt="buttons connected" + width="300" id="buttons_connected"> + </td> + </tr> + + + <tr> + <td width="50%">Select <em>USB Audio Peripheral Buttons Test.</em></td> + + <td width="50%"><img src="/compatibility/cts/images/buttons_test.png" + alt="buttons test" width="300" id="buttons_test"> + </td> + </tr> + + + <tr> + <td width="50%">Summary of instructions is displayed.</td> + + <td width="50%"><img src="/compatibility/cts/images/buttons_summary.png" + alt="buttons summary" width="300" id="buttons_summary"> + </td> + </tr> + + + <tr> + <td width="50%"> + Peripheral connected, but no buttons recognized (yet). + + <p>Note that the expected (buttons which are known to the device + profile) are indicated with white text; those that are not part of + the test peripheral are displayed in grey text.</p> + </td> + + <td width="50%"><img src= + "/compatibility/cts/images/buttons_not_recognized.png" alt= + "buttons not recognized" width="300" id="buttons not recognized"> + </td> + </tr> + + + <tr> + <td width="50%">Peripheral connected, and expected buttons + recognized.</td> + <td width="50%"><img src= + "/compatibility/cts/images/buttons_recognized.png" alt= + "buttons recognized" width="300" id="buttons recognized"> + </td> + </tr> + </table> </body> </html> |