ตั้งแต่วันที่ 27 มีนาคม 2025 เป็นต้นไป เราขอแนะนำให้ใช้ android-latest-release
แทน aosp-main
เพื่อสร้างและมีส่วนร่วมใน AOSP โปรดดูข้อมูลเพิ่มเติมที่หัวข้อการเปลี่ยนแปลงใน AOSP
การทดสอบชุดหูฟัง
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
โปรดทำการทดสอบต่อไปนี้เพื่อให้แน่ใจว่าหูฟังของคุณเข้ากันได้กับฟังก์ชันการทำงานขั้นต่ำที่กำหนด
ใส่ชุดหูฟัง
- เริ่มจากการปิดอุปกรณ์ Android
- เสียบชุดหูฟัง
- เปิดอุปกรณ์
- ปลดล็อก
- เปิด Universal Music Player แบบโอเพนซอร์ส
- กดปุ่มปรับระดับเสียงของอุปกรณ์เพื่อเพิ่มระดับเสียงของสื่อให้สูงสุด
- เริ่มเล่นเพลงและตรวจสอบว่าเสียงออกมาจากหูฟัง
- ขณะที่เพลงเล่นอยู่ ให้ถอดชุดหูฟังออกและตรวจสอบว่าเพลงหยุดเล่น
- เชื่อมต่อหูฟังอีกครั้ง เริ่มเล่นเพลงอีกครั้ง และตรวจสอบว่าเสียงออกจากหูฟัง
- เปิดเพลงและตรวจสอบว่าเสียงเพลงออกมาจากหูฟัง
- กดปุ่มลดระดับเสียง ตรวจสอบว่าแผงระดับเสียงแสดงระดับเสียงของสื่อที่ลดลง 1 ระดับและระดับเสียงเอาต์พุตลดลงตามที่คาดไว้
- กดปุ่มลดระดับเสียงค้างไว้ ตรวจสอบว่าแผงระดับเสียงแสดงระดับเสียงของสื่อที่ลดลงจนสุดและระดับเสียงเอาต์พุตลดลงจนปิดเสียง
- กดปุ่มเพิ่มระดับเสียง ตรวจสอบว่าแผงระดับเสียงแสดงระดับเสียงของสื่อเพิ่มขึ้น 1 ระดับและระดับเสียงเอาต์พุตเพิ่มขึ้นตามที่คาดไว้
- กดปุ่มเพิ่มระดับเสียงค้างไว้ ตรวจสอบว่าแผงระดับเสียงแสดงระดับเสียงของสื่อที่ดังสุดและระดับเสียงเอาต์พุตเพิ่มขึ้นตามที่คาดไว้
เล่น/หยุดชั่วคราวสำหรับเพลง
กดปุ่มเล่น/หยุดชั่วคราวอย่างรวดเร็ว แล้วตรวจสอบว่าเพลงหยุดเล่นจากหูฟัง หากเพลงไม่ได้เล่นอยู่ เพลงก็ควรจะเริ่มเล่นจากหูฟัง
เล่น/หยุดชั่วคราวสำหรับการโทร
การดำเนินการปิดเสียงและวางสายโทรศัพท์อาจแตกต่างกันไปตามอุปกรณ์ Android การทดสอบนี้จะบันทึกลักษณะการทำงานที่พบบ่อยที่สุด
- โทรออก
- กดปุ่มเล่น/หยุดชั่วคราวค้างไว้ขณะโทร
- ตรวจสอบว่าไมโครโฟนปิดเสียงอยู่ และหากกดค้างไว้อีกครั้ง ไมโครโฟนก็ควรเปิดเสียง
- ขณะยังอยู่ในสาย ให้กดปุ่มเล่น/หยุดชั่วคราวสั้นๆ
- ตรวจสอบว่าการกดสั้นๆ จะสิ้นสุดการโทร
- รับสายโทรศัพท์ในอุปกรณ์ Android
- กดปุ่มเล่น/หยุดชั่วคราวสั้นๆ ขณะที่โทรศัพท์กำลังส่งเสียงเรียกเข้า และตรวจสอบว่ารับสายแล้ว
- รับสายเรียกเข้าอีกสายในอุปกรณ์ Android
- กดปุ่มเล่น/หยุดชั่วคราวค้างไว้ขณะที่โทรศัพท์กำลังส่งเสียงเรียกเข้า และตรวจสอบว่าปฏิเสธสายแล้ว
เล่น/หยุดชั่วคราวสำหรับคำสั่งเสียงและไมโครโฟน
- ปลดล็อกอุปกรณ์ Android แล้วไปที่หน้าจอหลัก
- กดปุ่มเล่น/หยุดชั่วคราวค้างไว้
- ยืนยัน
- คุณจะได้ยินเสียงบี๊บหลังจากนั้น ซึ่งคุณควรใช้คำสั่งค้นหาด้วยเสียงได้ เช่น "ตอนนี้กี่โมง"
- คุณได้ยินคำตอบ เช่น "เวลาตอนนี้คือ ..."
"voice_button_for_voice_commands_microphone">ปุ่มคำสั่งเสียงสำหรับคำสั่งเสียงและไมโครโฟน
- ปลดล็อกอุปกรณ์ Android แล้วไปที่หน้าจอหลัก
- กดปุ่มคำสั่งเสียงสั้นๆ
- ยืนยัน
- คุณได้ยินเสียงบี๊บหลังจากนั้น คุณควรส่งข้อความค้นหาได้ เช่น "ตอนนี้กี่โมงแล้ว"
- คุณได้ยินคำตอบ เช่น "เวลาตอนนี้คือ ..."
สำคัญ: การกดปุ่มคำสั่งเสียงจะเปิดแอปค้นหาใดก็ได้ เช่น Google Search
ตัวอย่างเนื้อหาและโค้ดในหน้าเว็บนี้ขึ้นอยู่กับใบอนุญาตที่อธิบายไว้ในใบอนุญาตการใช้เนื้อหา Java และ OpenJDK เป็นเครื่องหมายการค้าหรือเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-27 UTC
[[["เข้าใจง่าย","easyToUnderstand","thumb-up"],["แก้ปัญหาของฉันได้","solvedMyProblem","thumb-up"],["อื่นๆ","otherUp","thumb-up"]],[["ไม่มีข้อมูลที่ฉันต้องการ","missingTheInformationINeed","thumb-down"],["ซับซ้อนเกินไป/มีหลายขั้นตอนมากเกินไป","tooComplicatedTooManySteps","thumb-down"],["ล้าสมัย","outOfDate","thumb-down"],["ปัญหาเกี่ยวกับการแปล","translationIssue","thumb-down"],["ตัวอย่าง/ปัญหาเกี่ยวกับโค้ด","samplesCodeIssue","thumb-down"],["อื่นๆ","otherDown","thumb-down"]],["อัปเดตล่าสุด 2025-07-27 UTC"],[],[],null,["# Headset testing\n\nTo ensure your headset is compatible with the minimally required\nfunctionality, conduct these tests.\n\nHeadset insertion\n-----------------\n\n1. Start with the Android device turned off.\n2. Plug in the headset.\n3. Turn the device on.\n4. Unlock.\n5. Open the [open\n source](https://github.com/googlesamples/android-UniversalMusicPlayer) [Universal\n Music Player](https://android-developers.blogspot.com/2015/03/a-new-reference-app-for-multi-device.html).\n6. Press the device volume buttons to maximize media volume.\n7. Start playing music and verify audio comes out of the headset.\n8. While music is playing, disconnect the headset and verify music stops.\n9. Reconnect the headset, start playing music again, and verify audio comes out of the headset.\n\nVolume buttons\n--------------\n\n1. Play music and ensure it is coming out of the headset.\n2. Press the volume-down button. Verify the volume panel displays the media volume decrease by one notch and the volume output is reduced as expected.\n3. Long press the volume-down button. Verify the volume panel shows media volume going all the way down and volume output is reduced gradually to muted.\n4. Press the volume-up button. Verify the volume panel displays the media volume go up one notch and the volume output is increased as expected.\n5. Long press the volume-up button. Verify the volume panel shows the media volume go all the way up to maximum and the volume output is increased as expected.\n\nPlay/pause for music\n--------------------\n\nPress quickly on the play/pause button and verify music stops playing out of\nthe headset. If music was not already playing, then it should start playing out\nof the headset.\n\nPlay/pause for telephony\n------------------------\n\nThe actions to mute and hang up a phone call may differ across Android\ndevices. This test documents the most common behavior.\n\n1. Make a phone call.\n2. Long press the play/pause button while in the call.\n3. Verify the microphone mutes. And if you long press again, the microphone should un-mute.\n4. While still in the call, short press the play/pause button.\n5. Verify the short press ends the telephone call.\n6. Receive a phone call on the Android device.\n7. Short press the play/pause button while the phone is ringing and verify the call is accepted.\n8. Receive another phone call on the Android device.\n9. Long press the play/pause button while the phone is ringing and verify the call is rejected.\n\nPlay/pause for voice commands and microphone\n--------------------------------------------\n\n1. Unlock the Android device and go to the home screen.\n2. Long press the play/pause button.\n3. Verify:\n 1. you hear a beep after which you should be able to make a voice search query, such as \"What time is it?\"\n 2. you hear a response, such as \"The time is ...\"\n\n\"voice_button_for_voice_commands_microphone\"\\\u003eVoice command button for voice commands and microphone\n\n\u003c!-- --\u003e\n\n1. Unlock the Android device and go to the home screen.\n2. Short press the voice command button.\n3. Verify:\n 1. you hear a beep after which you should be able to make a search query, such as \"What time is it?\"\n 2. you hear a response, such as \"The time is ...\"\n\n**Important**: A press on the voice command button can launch any search app, for example\nGoogle search."]]