| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
Define a type for unique audio Ids allocated by AudioFLinger
for use as session Ids or I/O handles.
Bug: 12378680.
Change-Id: Ic9019fff97a1227b60e48c88c57d25dbbdcd7d1e
|
|
|
|
|
|
|
|
|
| |
Add helper function to derive set_parameter command
string from device type and address.
14815883
Change-Id: Icf47218f1809f567ef93bdd99d6308475886b298
|
|
|
|
|
|
|
|
|
|
|
| |
struct audio_config definition moved from hardware/audio.h to
system/audio.h for use inside the framework and not only at the HAL.
Added frame_count field to struct audio_config.
Bug: 14815883.
Change-Id: Ib0e99a60234b8e5302eb882b89e5a021a94ec2cb
|
|
|
|
|
|
|
|
|
|
|
|
| |
Flag AUDIO_FLAG_BEACON characterizes streams where the system
ensures that the playback of the sound will be compatible
with its use as a broadcast for surrounding people
and/or devices. Ensures audibility with no or minimal
post-processing applied.
Bug 15415971
Change-Id: I1df9dc50e3fcc973a0709a55df5b3bd95f81eb58
|
|
|
|
| |
Change-Id: Ied1f42bb977212d9e5f3b2b2b3caa9c8c2caac5d
|
|
|
|
|
|
|
| |
(cherry picked from commit f2e4b411e6e1a90209a4c815c37a36f0af1af120)
Bug: 15765976
Change-Id: I758acdb18d75ea601a06d02b53f1df9f1ad17a26
|
|
|
|
|
|
|
|
|
| |
http://ag/507249 removed a bunch of supposedly dead (unused) code. It turns out
at least ifc_disable() is being used in some protected partner branches. Put
back that as well as ifc_enable() to keep it symmetric.
Bug: 15413389
Change-Id: Ibec83a66e5d9079876ccf36d250b95b7c0294c03
|
|
|
|
|
| |
Bug: 15413389
Change-Id: I315468832ef18ffc84174e54774ab63b86d284dc
|
|
|
|
|
|
|
|
| |
Don't define char16_t on platforms where char16_t is a keyword, as
C11 and C++11 define it to be.
(cherry picked from commit dfdbe61d28dbf3e45b6108d739170482ca19a03c)
Change-Id: I6717bc2133c1363ecd85861f3869e1eabd2ce96a
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
New Usage Type: AUDIO_POLICY_FORCE_FOR_HDMI_SYSTEM_AUDIO
New Config Type: AUDIO_POLICY_FORCE_HDMI_SYSTEM_AUDIO_ENFORCED
When HDMI-CEC system audio mode is enabled, AudioService will
call
setForceUse(AUDIO_POLICY_FORCE_FOR_HDMI_SYSTEM_AUDIO,
AUDIO_POLICY_FORCE_HDMI_SYSTEM_AUDIO_ENFORCED);
in order to notify enabled system audio mode, so that
audio policy manager chooses proper output.
When it turns into off, AudioService will call
setForceUse(AUDIO_POLICY_FORCE_FOR_HDMI_SYSTEM_AUDIO,
AUDIO_POLICY_FORCE_NONE);
Along with it, add new audio output devic type,
AUDIO_DEVICE_OUT_AUX_LINE, in order to distinguish
line out for headphone and aux output of av device.
Bug: 16305986
Bug: 16002150
Change-Id: Idecdf626737f6635ea3cda638c343260b1661c77
|
|
|
|
|
|
|
|
| |
Bug: 15116722
- Adds methods to set the sticky transform field.
Change-Id: Idaa4311dfd027b2d2b8ea5e2c6cba2da5779d753
|
|\
| |
| |
| | |
assignment"
|
| |
| |
| |
| |
| | |
Bug: 16245854
Change-Id: I76c7c39c7d4f8d5035016653aa91fa7c1e749bbd
|
|\ \
| |/
|/|
| |
| |
| |
| | |
cutils/atomic.h."
* commit 'e6b0c566762dbea1c45198d15ecc5e8a59378d73':
Add comment to discourage use of cutils/atomic.h.
|
| |
| |
| |
| | |
Change-Id: Ib05c745158fdf5a11fd4697c3665a6370ffc04f5
|
| |
| |
| |
| |
| |
| | |
add definitions for aac sub formats
Change-Id: I610caa510dfc7347f7c98e19359545423edd76b3
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
It should be sizeof(audio_channel_mask_t) * 8 not
sizeof(audio_channel_mask_t) alone.
Change-Id: I3523dd4d44a0900ba1845b3675a22451f1fc2f3c
|
|/ /
| |
| |
| | |
Change-Id: Ice8aab76281aa62a42665d7c86df1041c7f64ab9
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | | |
Bug: 15437484
Change-Id: I62da0596d405c3bb5e00b461f7d4fd11627ed391
|
|/ /
| |
| |
| |
| |
| | |
This reverts commit 6ef7c14b0292a87dd3a04d243d5c7de36a0eb3da.
Change-Id: I285b8388e7fd6f697b76fd18697edea7368991bb
|
| |
| |
| |
| |
| |
| | |
This reverts commit 135dd2ee3dc56cf79b14a6de57fcdc805face6bc.
Change-Id: Iad97090c77ad36567eb3c6550ebe3812768e88ad
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Added sound model implementor UUID.
Added capture preamble duration in recognition event.
Replaced number of users by list of user IDs in key phrase
descriptor.
Report confidence level for each user with user ID in recognition
event.
Added more configuration data to start_recognition() grouped in a
recognition configuration structure.
- List of keyphrases to listen to
- Recognition mode
- List of users with min confidence level
Added definitions for sound model load callback event.
Bug: 12378680.
Change-Id: Ia8c12ab20448b702d13db964bdd90ac4117a58d7
|
| |
| |
| |
| |
| | |
Bug: 12378680.
Change-Id: I93b1916151108ccf6eb625b0078e6ed574720b76
|
|\ \
| | |
| | |
| | |
| | | |
* commit 'ed559bdb38e4f8edb183420f69490d4eba39f94b':
implement LOG_EVENT_STRING
|
| |\ \
| | |/
| | |
| | |
| | | |
* commit '3dbd7e10688e29022db7dd0778ec8078c2a7a545':
implement LOG_EVENT_STRING
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Implement LOG_EVENT_STRING, so that native code can create new
event log entries. This is needed to support logging SELinux denials
to the event log.
Change-Id: I6a269a832bc2f5e5da6c9dbd169ed2f901b49166
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
System Audio Control in HDMI-CEC delegates audio
output to Audio Receiver and audio output port
is one of ARC, SPDIF and analog output (line).
Change-Id: Ieb325f754f039e09aae68b700349861ca4e08cbc
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | | |
for glibc support."
* commit '3e906630099e0508a72300e14512a62110c864c3':
Rename __unused to __UNUSED for glibc support.
|
| |\ \
| | |/
| | |
| | |
| | | |
* commit '33dce382fd39b633731c925a1487a74332e86871':
Rename __unused to __UNUSED for glibc support.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Glibc declares unused fields as __unused and so a #define for __unused causes
issues when we built against glibc on the host. Rename __unused to __UNUSED as
a workaround.
This fixed checkbuild for 64-bit host builds. Bug: 13751317
Change-Id: Ic2cd52518c16661497cc819cb3fd7f1fa5c6f0fb
|
| | |
| | |
| | |
| | | |
Change-Id: Ib1b74b1664159190e417f2e68a5a13493d04adfc
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | | |
from mips & mips64."
* commit '8e1f3f58e41e97cb6cf131d8bcd75e3ad2e733ad':
Remove android_atomic_swap from mips & mips64.
|
| |\ \
| | |/
| | |
| | |
| | | |
* commit '2c2fdae75490130b3df2c4989716381deaac0969':
Remove android_atomic_swap from mips & mips64.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Looks like this got left behind in mips by mistake, and
84c3e9923108122045d689f1d2412359ad5208eb carried this over to mips64.
Clean up before it wastes any more time...
Change-Id: I6aeaa6e68be81f94065589337e2f7d3483e6e43c
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* commit 'bad62c532c8fabbada924c617d983fbfc94623e3':
[MIPS64] add atomic-mips64
|
| |\ \
| | |/
| | |
| | |
| | | |
* commit 'ba46782770743ad8331047fc839c4e98060d167c':
[MIPS64] add atomic-mips64
|
| | |\ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Supplied by Broadcom.
Change-Id: Ica8f4f6e713623e372a68e1dc11086ceb52516da
|
| |\ \ \
| | |/ /
| | | |
| | | |
| | | |
| | | |
| | | | |
_get_int64"
* commit '1fe97b3d0f6dbc6376a0ebe1f66725e9f73b4442':
cutils: Add property_get_bool, _get_int32, _get_int64
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* Read out system properties with same syntax as SystemProperties.java
* Also adds unit test suite to validate correctness of properties
* Also fixes buffer overrun in property_get
(cherry picked from commit d4507e9246e4855c5431cac5c3d1a9155caebc87)
Change-Id: Ifd42911f93e17da09e6ff1298e8875e02f3b6608
|
|\ \ \ \ |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Bug: 9180552
Change-Id: I4a36d869ac692647fb226d0912285bdf2ffcb1fa
|
|\ \ \ \ \
| |/ / / / |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
1. Accept that parseNetlinkMessage can only parse one netlink
message, because its way of returning output is to modify its
member variables (mAction, mParams, etc.). Currently, it
loops through all the messages it finds, updating its member
variables as it goes along, and always returns true at the end
of the buffer. This has the following problems:
1. Since the function always returns true even when no
messages were parsed, the caller has no way to know if
parsing succeeded, and we get lots of "No subsystem found
in netlink event" logs if the buffer did not contain any
valid messages we were interested in.
2. If there are multiple messages in the buffer, all but the
last message will be silently ignored.
3. If there are multiple messages and previous messages have
more parameters than the last one, the resulting event will
have a mixture of parameters from multiple messages.
Instead of doing all this, change the contract to "parse the
first valid message of interest in the buffer and return true,
or return false if there were no such messages", and update
the code and the comments accordingly.
2. Modify the caller (NetlinkListener) so it doesn't log an
error when parseBinaryNetlinkMessage returns false, because
this can now simply mean that we weren't interested in that
particular message. parseBinaryNetlinkMessage already logs
more informative errors.
3. Provide utility functions to check received message lengths and
to convert message types to message names.
4. Simplify logging duplicate attributes.
5. Use the appropriate IFLA_xxx macros instead of rolling our own
code to parse link state messages.
6. Move all the parsing code out to per-message-type parsing
functions to order to simplify parseBinaryNetlinkMessage.
Bug: 9180552
Change-Id: I6bbc2f7a104f618674dde2369c1fd5e93ea49430
|
|/ / / /
| | | |
| | | |
| | | |
| | | |
| | | | |
Bug: 9428304.
Change-Id: Ife1f6968a8d079b477b5afb5e5cf544e8fe3298f
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | | |
__USE_MINGW_ANSI_STDIO"
* commit '9b86360fb41b46abfc0e475cfdea4370a93179d5':
log: Fix warning with __USE_MINGW_ANSI_STDIO
|
| |\ \ \
| | |/ /
| | | |
| | | |
| | | | |
* commit 'c3e2366602c428cf39ce9068a834771f535d58b2':
log: Fix warning with __USE_MINGW_ANSI_STDIO
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
I haven't seen this warning in any AOSP code, but some of our code is
using this header differently than the rest of the build system, and
hits this warning-turned-error:
error: "__USE_MINGW_ANSI_STDIO" is not defined [-Werror=undef]
Change-Id: I3c5a91f107af8bf6078e06f2ce326c5466349b79
|