frameworks/av/services/audiopolicy/utilities does not exist,
remove it from audio service components' makefiles.
Test: build
Change-Id: I6c29052b449099d4b0942b7fc0a7ae68d0dc1ba7
Merged-In: I6c29052b449099d4b0942b7fc0a7ae68d0dc1ba7
This was fixed when converting to Android.bp in internal master, so
that's the Merged-In reference.
Test: treehugger
Change-Id: I6a503ac7f3c283b7ef6a657c100901469447a22b
Merged-In: I7061e99da18f5f7fad00527f01bf97ae6cebea2f
The audioserver process is specifically prohibited from accessing the network.
See
7ca6fc8629/private/audioserver.te (91)
line 91
# Media processing code is inherently risky and thus should have limited
# permissions and be isolated from the rest of the system and network.
# Lengthier explanation here:
# https://android-developers.googleblog.com/2016/05/hardening-media-stack.html
neverallow audioserver domain:{ tcp_socket udp_socket rawip_socket } *;
Since SELinux doesn't allow audioserver to access tcp/udp sockets, it
doesn't make any sense to have audioserver be in the inet group.
Discovered while reviewing
https://android-review.googlesource.com/c/platform/frameworks/base/+/968497
Similarly, I suspect other groups listed here are also unnecessary and
can be cleaned up in a future commit.
Test: compiles and boots
Change-Id: Ic331f301565aee911de30322dd4c3811529597ee
One last user of the StartIteration ZipString overload...
Bug: http://b/129068177
Test: builds
Change-Id: I6b2619211372b20a721c800452cb7c63105c111e
Merged-In: I723570315285d7c2caadffd71cd2d15efde11819
libmediautils was accidentally getting backtrace_string through
libmemunreachable. Remove the dependency, which is causing problems
for making libmemunreachable vendor_available, and use
libc_malloc_debug_backtrace instead.
Bug: 132302484
Test: m libmediautils
Change-Id: Ide83ce43027f28d548a76c607a84bab6604213cf
Merged-In: Ide83ce43027f28d548a76c607a84bab6604213cf
Split the analysis/resynthesis window into using sqrt() of Hanning.
Removed unnecessary zero padding of initial circular buffer input.
Test: manual and listening tests
Change-Id: I05a7204d055a8de93bb9183c32709d3464877065
Also fix a issue for finishConfiguration is unintentionally
delayed till first capture request.
Test: Camera CTS + partner device testing
Bug: 126390310
Merged-In: Ibca740a7160cbf41e01884dbcef8ba51eb4c75f7
Change-Id: Ibca740a7160cbf41e01884dbcef8ba51eb4c75f7
change offset variable type from off_t to loff_t, then it won't overflow
when the offset value is larger than 2GB.
change the pwrite and pread function to be pwrite64 and pread64 so the
offset parameter won't overflow.
Change-Id: I45947479a59a4240fd708787384bcadee09d8947
Signed-off-by: faqiang.zhu <faqiang.zhu@nxp.com>
The cherrypcik includes adjustments due to the differences in the
orignal Android.mk file.
Bug: 118434782
Test: m -j32
Change-Id: Iea501d8a54b8cbda2c5ab22fd91247577e304ce0
Merged-In: Iea501d8a54b8cbda2c5ab22fd91247577e304ce0
If the parent element is multiple even though the element is not
multiple, it must be set to multiple. As a result, the element is
changed to multiple and the APIs are changed.
Bug: 128380795
Test: m -j && make check-api
Change-Id: Ifce1e86a91c23eee5ec945b36c7fc97a5db26c8a
We also avoid a pontential call to dlclose(NULL) which was
possible in the previous code.
Note the leaks aren't really consequential since this is a
standalone sample. But by putting in simple fixes for these,
we reduce the noise when using static analysis to find leaks
in Android code.
Test: TreeHugger
Change-Id: I3f69e410ecf611dcb60e4f58aae27801b2141e4d