summaryrefslogtreecommitdiff
path: root/emulator
AgeCommit message (Collapse)Author
2019-06-03Added screen information to emulator audioandroid10-devOscar Azucena
Added display info to emulator audio_polic_configuration.xml. This enables multizone audio support for display in emulator. Bug: 134104943 Test: Tested using emulator and kitchensink app. Change-Id: I89f219ab4ec9be0892f86078c6d6d7815c4e144f
2019-05-28Combine manifest and car_emulator_manifest.xml. Cleanup car.mk.Nicholas Sauer
bug: 133807382 Test: lunch gcar && m && emulator lunch aosp && m && emulator Change-Id: I7ca8100519733c3df0c1d55f4e86001f692e14e2
2019-05-15Merge "Update broadcastradio HAL instance names" into qt-devTreeHugger Robot
2019-05-14Adding BT mock for car emulatorHayden Gomes
Adding BT support to car emulator using services.sim to mock Bluetooth Bug: 132627197 Test: Built and ran emulator locally to verify Change-Id: Ibaf29461f27d3e535550d6f4d800038bb6846a8e
2019-05-14Update broadcastradio HAL instance namesTomasz Wasilczyk
Bug: 129781689 Bug: 131864200 Bug: 129290324 Test: flash, boot, grep logcat for 'broadcastradio' Change-Id: Ibab6ea2155ea73f80a29f6e851137dfafa50d27f
2019-05-13Remove incorrectly formatted display tagsHayden Gomes
The car_audio_configuration format has be updated to expect port=# rather than name=string for display tags. As they are not currently used on the emulator, we are simply removing them to enable things to boot again. Test: make -j and ran emulator to confirm it lauches Bug: 132626851 Change-Id: Ia569776aae98d91188ccf5f6cb528755713f92f8
2019-04-18Merge "Separates zone audio to different channels in car emulator" into qt-devHongwei Wang
2019-04-17Separates zone audio to different channels in car emulatorHongwei Wang
- rear seat buses (with "rear" in its address) uses right channel - left channel otherwise This behavior is enabled only if ro.aae.simulateMultiZoneAudio property is turned on. To switch the behavior back and forth during runtime, one has to restart the audioserver as well as car service after changing the value via `adb shell setprop <key> <value>`. The most convenient way would be to enable this flag at boot time as following ``` emulator -prop ro.aae.simulateMultiZoneAudio=true ``` Bug: 120299880 Test: manually on gcar_emu_x86-userdebug emulator Change-Id: I61e542ca621f922dfafe7c5979bd4d13ab2fc57a
2019-04-08Adds AUDIO_SOURCE_ECHO_REFERENCE in car emulatorHongwei Wang
Sample usage ``` final AudioAttributes attributes = new AudioAttributes.Builder() .setUsage(AudioAttributes.USAGE_MEDIA) .setInternalCapturePreset(MediaRecorder.AudioSource.ECHO_REFERENCE) .build(); final AudioRecord record = new AudioRecord.Builder() .setAudioAttributes(attributes) .build(); ``` Bug: 129882605 Test: dumpsys media.audio_policy Change-Id: I72a850aa787599a8f7579cf77899e9b8034f10f0
2019-01-28Enables broadcast radio in Car emulatorHongwei Wang
Also exposes the FM tuner as an audio input device in emulator. Bug: 118763832 Test: Launch Radio app (with startAudioSource) in emulator Change-Id: I75732a68382f8453bc858da8de2de32417c63d98
2019-01-08Adds multi-zone audio support in emulatorHongwei Wang
Test: adb shell dumpsys car_service | grep -A72 CarAudioService Bug: 120299880 Bug: 121273516 Change-Id: I1c95b9c95a2c16b55cce90733e54a47076d6198e
2018-07-09Overrides audio policy configurations in vendor/etcHongwei Wang
The system default policy configurations are placed in vendor/etc. Copy our overrides to the same location. Bumps also the broadcast radio HAL to 2.0 Bug: 111203470 Test: adb shell dumpsys activity service com.android.car/.CarService Change-Id: Id5ef7b3c2a4dbeed70b7a38aa5b6236cff4006d4
2018-06-13Adds broadcast radio 2.0 default HAL to car emulatorHongwei Wang
Also, uses broadcast radio to better demonstrate audio patch as an end-to-end case. We can further surface pseudo broadcast radio audio stream. Bug: 110166790 Test: launch radio app in gcar_emu_x86-userdebug Change-Id: I3871e7ef5408a7ae15ea35c80176dc0d00dae200
2018-05-30Demonstrates master mute implementation in car emulatorpie-devHongwei Wang
Bug: 80474559 Test: adb shell input keyevent 164 Change-Id: I75710257050d97ee1e6d637ee6fef0efecb9e39f
2018-05-15Merge "Adjusts the gain control in audio_policy_configuration" into pi-devHongwei Wang
2018-05-14Fixes crash from in_read_worker on car emulatorHongwei Wang
Bug: 79696410 Test: audio recording on car emulator Change-Id: I51b4ebef2dd2c074b360307a99bc498eee9eb1ea
2018-05-11Adjusts the gain control in audio_policy_configurationHongwei Wang
from (-84dB, 40dB) to (-32dB, 6dB), 38 steps in total Bug: 79586064 Test: Play music on emulator and adjust volume Change-Id: Iaba45c481961478645ef090987faa1d1e537f203
2018-05-11Simulates audio mixerHongwei Wang
Bug: 79496296 Test: Play music + navigation in KitchenSink, gcar_emu_x86-userdebug Change-Id: I335183e2428e655d1cd81141d49326b457669383
2018-05-10Simulates hardware gain control in audio driverHongwei Wang
Change log - audio_vbuffer in its own source and header files - a pcm is shared via ext_pcm by multiple audio streams Known issue - Audio is distorted if multiple audio streams try to play simultaneously. This is due to lack of proper audio mixing and will be fixed in a future CL Bug: 79496296 Test: manually Change-Id: I14392e13ae49131a044efdda97ea23946287ad97
2018-05-07Adds back default Built-in Mic for emulatorHongwei Wang
Bug: 78604377 Test: manually Change-Id: I61cddb081ab38c1c97cb2ee6646cb2768b48e626
2018-04-03Adds audio patch testHongwei Wang
audio_hw.c is formatted via clang-format and more debug information for audio patch is added Bug: 77147937 Test: releaseAudioPatch(createAudioPatch(String, int, int)) Change-Id: I5cb02557cc5df31a3d33337905601630c5bd525e
2018-03-01Makes car emulator audio driver AOSPHongwei Wang
- Grouped all emulator related work in emulator folder - Moved also the default hal implementation here - Deprecated the Android.mk in favor of Android.bp Bug: 68940567 Test: lunch gcar_emu_x86-userdebug && m -j Change-Id: I284d8b60301fcb9c7c65aed3c8a08e7e6c0ac0f2