Mulai 27 Maret 2025, sebaiknya gunakan android-latest-release
, bukan aosp-main
, untuk mem-build dan berkontribusi pada AOSP. Untuk mengetahui informasi selengkapnya, lihat Perubahan pada AOSP.
Pengujian headset
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Untuk memastikan headset Anda kompatibel dengan fungsi
minimum yang diperlukan, lakukan pengujian ini.
Penyisipan headset
- Mulai dengan mematikan perangkat Android.
- Colokkan headset.
- Aktifkan perangkat.
- Buka kunci.
- Buka Universal
Music Player open
source.
- Tekan tombol volume perangkat untuk memaksimalkan volume media.
- Mulai putar musik dan pastikan audio keluar dari headset.
- Saat musik diputar, putuskan sambungan headset dan pastikan musik berhenti.
- Hubungkan kembali headset, mulai putar musik lagi, dan pastikan audio keluar dari
headset.
- Putar musik dan pastikan musik tersebut keluar dari headset.
- Tekan tombol volume bawah. Pastikan panel volume
menampilkan penurunan volume media sebesar satu notch dan output volume
berkurang seperti yang diharapkan.
- Tekan lama tombol turunkan volume. Pastikan panel volume menampilkan volume
media yang turun sepenuhnya dan output volume dikurangi secara bertahap hingga dibisukan.
- Tekan tombol naikkan volume. Verifikasi bahwa panel volume menampilkan volume
media naik satu tingkat dan output volume meningkat seperti yang diharapkan.
- Tekan lama tombol naikkan volume. Pastikan panel volume menampilkan
volume media yang naik hingga maksimum dan output volume meningkat seperti
yang diharapkan.
Memutar/menjeda musik
Tekan tombol putar/jeda dengan cepat dan pastikan musik berhenti diputar dari
headset. Jika musik belum diputar, musik akan mulai diputar
dari headset.
Putar/jeda untuk telefoni
Tindakan untuk membisukan dan menutup panggilan telepon mungkin berbeda di seluruh perangkat
Android. Pengujian ini mendokumentasikan perilaku yang paling umum.
- Mulailah menelepon.
- Tekan lama tombol putar/jeda saat dalam panggilan.
- Pastikan mikrofon dibisukan. Dan jika Anda menekan lama lagi, mikrofon
akan berhenti dibisukan.
- Saat masih dalam panggilan, tekan sebentar tombol putar/jeda.
- Pastikan penekanan singkat akan mengakhiri panggilan telepon.
- Menerima panggilan telepon di perangkat Android.
- Tekan sebentar tombol putar/jeda saat ponsel berdering dan pastikan
panggilan diterima.
- Menerima panggilan telepon lain di perangkat Android.
- Tekan lama tombol putar/jeda saat ponsel berdering dan pastikan
panggilan ditolak.
Memutar/menjeda untuk perintah suara dan mikrofon
- Buka kunci perangkat Android dan buka layar utama.
- Tekan lama tombol putar/jeda.
- Verifikasi:
- Anda akan mendengar bunyi bip, lalu Anda dapat membuat kueri penelusuran suara,
seperti “Jam berapa sekarang?”
- Anda akan mendengar respons, seperti “Waktunya adalah ...”
"voice_button_for_voice_commands_microphone">Tombol perintah suara untuk perintah suara dan mikrofon
- Buka kunci perangkat Android dan buka layar utama.
- Tekan tombol perintah suara sebentar.
- Verifikasi:
- Anda akan mendengar bunyi bip, lalu Anda dapat membuat kueri penelusuran, seperti
“Jam berapa sekarang?”
- Anda akan mendengar respons, seperti “Waktunya adalah ...”
Penting: Menekan tombol perintah suara dapat meluncurkan aplikasi penelusuran apa pun, misalnya
Google Penelusuran.
Konten dan contoh kode di halaman ini tunduk kepada lisensi yang dijelaskan dalam Lisensi Konten. Java dan OpenJDK adalah merek dagang atau merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2025-07-27 UTC.
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Informasi yang saya butuhkan tidak ada","missingTheInformationINeed","thumb-down"],["Terlalu rumit/langkahnya terlalu banyak","tooComplicatedTooManySteps","thumb-down"],["Sudah usang","outOfDate","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Masalah kode / contoh","samplesCodeIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 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."]]