History log of /frameworks/av/media/audioserver/main_audioserver.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
d77d836d0ddfd824facdc9fd2cf06501462d483d 07-Dec-2017 Andy Hung <hunga@google.com> audioserver: impose memory restrictions

Impose restrictions to limit effect of excessive memory
allocation.

adb shell setprop audio.maxmem SOME_VALUE_GREATER_THAN_60MB_IN_BYTES
adb shell pkill audioserver

and see what happens when AudioTracks / AudioRecords are created

Test: as above
Bug: 69927864
Change-Id: I0a6a90db3321f066a25fb2fcd01e9f834d199979
(cherry picked from commit 21052719e6dcd87266b4c556f11dc7209295fdf1)
/frameworks/av/media/audioserver/main_audioserver.cpp
00a21a30f0b8e13a4c5f5f22efd13cc7abf28179 16-Nov-2017 Mikhail Naganov <mnaganov@google.com> audioserver: Increase hwbinder thread pool size

Use 4 threads instead of default 1, since audioserver
serves many clients.

Bug: 67203473
Test: audio still works
Change-Id: I7b191974f1a912fd8adf0096c3a1abf33a3d12fa
/frameworks/av/media/audioserver/main_audioserver.cpp
bf1c3e0ae1ae1ea015957b7b73362326f8a4a1d4 16-Nov-2017 Mikhail Naganov <mnaganov@google.com> Revert "audioserver: enable HIDL callbacks"

This reverts commit e2afa1eba5cdeaf4ca0c9f4613a1f2c0231bd86d.

Bug: 31748996
Bug: 67203473
Test: build
Change-Id: Ic048423ffa186ed0249a005180a08626bc30b5f2
/frameworks/av/media/audioserver/main_audioserver.cpp
5b38eb309cebf994402f0a2461dae763bcd6b81a 30-Sep-2017 Phil Burk <philburk@google.com> audioserver: enable AAudioService for MR1

Another CL in OC-DEV may have turned it off.
This was added to resolve merge conflicts and to
only enable AAudioService when supported by the vendor.

Bug: 65280854
Bug: 65262790
Test: Enter adb shell setprop aaudio.mmap_policy 1
Test: Enter adb shell killall audioserver
Test: Enter adb shell dumpsys media.aaudio
Test: It should print "Can't find service: media.aaudio".
Test: Enter adb shell setprop aaudio.mmap_policy 2
Test: Enter adb shell killall audioserver
Test: Enter adb shell dumpsys media.aaudio
Test: It should print a short dump because the service is running.

Change-Id: Ic68d136c99c16134aa704495311ab25285fd76a9
/frameworks/av/media/audioserver/main_audioserver.cpp
88724633820406638b217656625e92afc78e6d82 23-Jun-2017 Tomasz Wasilczyk <twasilczyk@google.com> Remove previous implementation of RadioService.

Bug: b/36863239
Test: instrumentalization
Change-Id: I47892ce638b1247f0f367265f68461a418bd6753
/frameworks/av/media/audioserver/main_audioserver.cpp
7f6b40d78b1976c78d1300e8a51fda36eeb50c5d 09-Feb-2017 Phil Burk <philburk@google.com> AAudioService: integrated with audioserver

Call the MmapStreamInterface from AudioFlinger instead of the FakeHAL.
Fix sending timestamps from the thread.
Add shared mode in service.

Bug: 35260844
Test: CTS test_aaudio.cpp
Change-Id: I44c7e4ecae4ce205611b6b73a72e0ae8a5b243e5
Signed-off-by: Phil Burk <philburk@google.com>
/frameworks/av/media/audioserver/main_audioserver.cpp
e2afa1eba5cdeaf4ca0c9f4613a1f2c0231bd86d 17-Dec-2016 Eric Laurent <elaurent@google.com> audioserver: enable HIDL callbacks

Start hwbinder threadpool explicitly when starting services
for HIDL HALs using callbacks.
To be reverted when bug 31748996 is fixed.

Bug: 33700240

Test: check callbacks with broadcast radio HAL.

Change-Id: I504e97b6be4f95317ec04cc18df6ae545e74475d
/frameworks/av/media/audioserver/main_audioserver.cpp
9c0b3a300956162b9e70d74db69d9bbb87868eb1 24-Mar-2016 Eric Laurent <elaurent@google.com> medialog: add missing call to join binder thread pool

Bug: 27816096
Change-Id: I4ec4a5bdb98a793554fc8c3cc01c2a897d11adf0
/frameworks/av/media/audioserver/main_audioserver.cpp
ae0cff1d48b2cd10aeff9627398faf684894eece 24-Feb-2016 Glenn Kasten <gkasten@google.com> Restore media.log service

Bug: 26306954
Change-Id: I00319f4869f46941e4c814a29b2f69a62e572743
/frameworks/av/media/audioserver/main_audioserver.cpp
dcb346b7dc5b88c3e85db8a70bbd6a2fee8192b9 09-Sep-2015 Marco Nelissen <marcone@google.com> Run audio services in audioserver instead of mediaserver

audioflinger, audiopolicy, (fm) radio, soundtrigger moved to audioserver.
medialog is removed from mediaserver.
audioserver has same permissions and rights as mediaserver.

mediaserver is allowed to specify client uid to audioserver.

Subsequent CL will add medialog to audioserver.

TBD: Pare down permissions.

Bug: 24511453
Change-Id: Iccaa08b874a502710d142e72f8abbb3d97c44cfa
/frameworks/av/media/audioserver/main_audioserver.cpp