Kể từ ngày 27 tháng 3 năm 2025, bạn nên sử dụng android-latest-release
thay vì aosp-main
để xây dựng và đóng góp cho AOSP. Để biết thêm thông tin, hãy xem phần Thay đổi đối với AOSP.
Công cụ xác minh CTS để kiểm tra độ trễ của tính năng theo dõi cử động đầu
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Android 15 trở lên có quy trình kiểm tra Trình xác minh CTS để đảm bảo tuân thủ độ trễ theo dõi chuyển động đầu của âm thanh không gian.
Yêu cầu
Trước khi chạy Trình xác minh CTS để kiểm tra độ trễ của tính năng theo dõi chuyển động đầu, hãy đảm bảo bạn có các thiết bị sau:
- Điện thoại chạy Android (thiết bị đang được kiểm thử (DUT)) đã xác minh khả năng tương thích của API Android bằng cách vượt qua thành công CTS
- Tai nghe đi kèm có bật tính năng âm thanh không gian động (có theo dõi chuyển động của đầu)
- Thiết bị kiểm thử độ trễ của tính năng theo dõi chuyển động của đầu (có sẵn thông qua MM Solutions).
- Cạc âm thanh (nên dùng Zoom H6essential).
Máy tính Linux có 3 cổng tương thích với USB 2.0
Tất cả các kết nối với DUT và thiết bị thử nghiệm đều thông qua các cổng này. Bạn có thể sử dụng một thiết bị chia USB nếu máy tính Linux không có đủ cổng tích hợp.
Thiết lập thiết bị thử nghiệm
Phần này tóm tắt các bước thiết lập cho thiết bị thử nghiệm. Để biết hướng dẫn chi tiết về từng bước, hãy tham khảo Hướng dẫn sử dụng Google Spatial Audio Rig HW3.0.
- Làm theo phần Thiết lập bản ghi âm để thiết lập thiết bị thử nghiệm bằng máy tính Linux và DUT.
- Hãy liên hệ với TAM của Google để tải phiên bản mới nhất của phần mềm tự động hoá thiết bị kiểm thử độ trễ của tính năng theo dõi chuyển động đầu xuống máy tính Linux.
- Thiết lập phần mềm bằng cách làm theo hướng dẫn trong phần Thiết lập môi trường phần mềm máy tính.
- Đảm bảo rằng bạn đã cài đặt phiên bản tương thích của ứng dụng CTS Verifier trên thiết bị được kiểm thử (DUT).
- Đảm bảo rằng DUT và tai nghe đã được kết nối và tính năng âm thanh không gian đã được bật.
- Đảm bảo rằng tính năng phát hiện tai nghe trong tai được bật như mô tả trong phần Cảm biến độ gần của tai nghe.
Chạy kiểm thử độ trễ của tính năng theo dõi cử động đầu
Truy cập vào quy trình kiểm thử độ trễ theo dõi chuyển động đầu của Trình xác minh CTS theo hướng dẫn trong phần Hướng dẫn chung.
Để chạy kiểm thử độ trễ của tính năng theo dõi chuyển động đầu bằng Công cụ xác minh CTS, hãy làm theo các bước sau:
Chạy tập lệnh tự động theo hướng dẫn trong phần Tự động đo lường HTL của Hướng dẫn sử dụng Google Spatial Audio Rig HW3.0.
Khi quá trình kiểm thử hoàn tất, máy tính Linux sẽ gửi kết quả kiểm thử đến ứng dụng CTS Verifier trên DUT.
Báo cáo kết quả kiểm thử:
- Nếu màn hình kiểm thử hiển thị Đạt, hãy báo cáo kiểm thử là đã đạt.
- Nếu màn hình kiểm thử hiển thị Không đạt, hãy báo cáo kiểm thử là không đạt.
- Nếu màn hình kiểm thử hiển thị Kiểm thử lại, hãy chạy lại quy trình kiểm thử. Nếu màn hình kiểm thử liên tục hiển thị Kiểm thử lại trên nhiều lần kiểm thử, hãy kiểm tra chế độ thiết lập kiểm thử theo hướng dẫn sử dụng.
Để chẩn đoán kết quả mã kiểm thử, bạn có thể sử dụng phần mềm tự động hoá cho thiết bị kiểm thử độ trễ theo dõi đầu. Hãy xem phần Truy cập vào mã âm thanh sống động để biết thêm thông tin.
Tài liệu
Truy cập vào mã âm thanh sống động
Để truy cập vào phần mềm tự động hoá cần thiết cho thiết bị kiểm thử độ trễ theo dõi chuyển động đầu trong kiểm thử độ trễ theo dõi chuyển động đầu, hãy hoàn tất và gửi biểu mẫu Truy cập mã âm thanh sống động. Sau khi gửi biểu mẫu, hãy chờ 5 phút để được cấp quyền truy cập vào cơ sở mã HPS-Spatial-Audio.
Nội dung và mã mẫu trên trang này phải tuân thủ các giấy phép như mô tả trong phần Giấy phép nội dung. Java và OpenJDK là nhãn hiệu hoặc nhãn hiệu đã đăng ký của Oracle và/hoặc đơn vị liên kết của Oracle.
Cập nhật lần gần đây nhất: 2025-07-27 UTC.
[[["Dễ hiểu","easyToUnderstand","thumb-up"],["Giúp tôi giải quyết được vấn đề","solvedMyProblem","thumb-up"],["Khác","otherUp","thumb-up"]],[["Thiếu thông tin tôi cần","missingTheInformationINeed","thumb-down"],["Quá phức tạp/quá nhiều bước","tooComplicatedTooManySteps","thumb-down"],["Đã lỗi thời","outOfDate","thumb-down"],["Vấn đề về bản dịch","translationIssue","thumb-down"],["Vấn đề về mẫu/mã","samplesCodeIssue","thumb-down"],["Khác","otherDown","thumb-down"]],["Cập nhật lần gần đây nhất: 2025-07-27 UTC."],[],[],null,["# CTS Verifier for head tracking latency test\n\nAndroid 15 and higher includes a CTS Verifier test for\nspatial audio head tracking latency compliance.\n\nRequirements\n------------\n\nBefore running CTS Verifier for head tracking latency, ensure that you have the\nfollowing equipment:\n\n- Android-powered phone (the device under test (DUT)) that has verified Android API compatibility by successfully passing the CTS\n- Accompanied headset with the dynamic spatial audio (with head tracking) enabled\n- A head tracking latency test rig (available through [MM Solutions](https://www.mm-sol.com/android-spatial-audio-htl-test-rig/)).\n- An audio card ([Zoom H6essential](https://zoomcorp.com/en/us/handheld-recorders/handheld-recorders/h6essential/) strongly recommended).\n- Linux computer with three USB 2.0 compatible ports\n\n All connections to the DUT\n and test rig are through these ports. You can use a USB hub if your Linux\n computer does not have enough integrated ports.\n\nSet up the test rig\n-------------------\n\nThis section summarizes the setup steps for the test rig. For detailed\ninstructions on each step, refer to the\n[Google Spatial Audio Rig HW3.0 User Guide](/static/docs/compatibility/cts/Google_SpatialAudio_User_Guide_20240409.pdf).\n\n1. Follow the **Audio Recording Setup** section to set up the test rig with the Linux computer and DUT.\n2. Contact your Google TAM to download the latest version of the head tracking latency test rig automation software to your Linux computer.\n3. Set up the software using the instructions in the **PC SW environment setup** section.\n4. Ensure that the a compatible version of the CTS Verifier app is installed on the DUT.\n5. Ensure that the DUT and the headphones are connected and that the spatial audio feature is enabled.\n6. Ensure that the in-ear detection by the headphones is enabled as described in the **Earbuds proximity sensor** section.\n\nRun the head tracking latency test\n----------------------------------\n\nAccess the CTS Verifier head tracking latency test following the instructions in\n[General instructions](/docs/compatibility/cts/audio-tests#general-instructions).\n\nTo run the CTS Verifier head tracking latency test, follow these steps:\n\n1. Run the automation scripting according to the instructions in the\n **Automatic HTL Measurements** section of the\n [Google Spatial Audio Rig HW3.0 User Guide](/static/docs/compatibility/cts/Google_SpatialAudio_User_Guide_20240409.pdf).\n\n2. When the testing is completed, the Linux computer sends the test results\n to the CTS Verifier app on the DUT.\n\n3. Report test results:\n\n - If the test screen displays **Pass**, report the test as passed.\n - If the test screen displays **Fail**, report the test as failed.\n - If the test screen displays **Retest** , rerun the test again. If the test screen consistently displays **Retest** across multiple tests, check your test setup according the user guides.\n\nTo diagnose test code results, you can use automation software for the head\ntracking latency test rig. See [Access to immersive audio code](#immersive-audio-code-access)\nfor more information.\n\nDocumentation\n-------------\n\n- [Google Spatial Audio Rig HW3.0 User Guide](/static/docs/compatibility/cts/Google_SpatialAudio_User_Guide_20240409.pdf)\n\nAccess to immersive audio code\n------------------------------\n\nTo access the automation software required for the head tracking latency test\nrig in the head tracking latency test, complete and submit the\n[Immersive Audio Code Access](https://docs.google.com/forms/d/e/1FAIpQLScpyzvGkkNOjDsvidKLOduRosrK2tEKC11nCbcD-dm_RgiSzg/viewform)\nform. After submitting the form, allow five minutes for your access to the [HPS-Spatial-Audio](https://partner-code.googlesource.com/HPS-Spatial-Audio)\ncodebase to be granted."]]