Changing permission for IOP from 0770 to 0700. This is to restrict the
access for iop database file.
Change-Id: Ic3325595521d4e433d0ce9bada564fc599cf858c
-Remove default setting of sampling rate to 48K and stereo channel
for bt a2dp as support for multiple sampling rates and channels
over a2dp is added and being set from hal.
Change-Id: I8a40182af0d97b31b136a1928cbbe6f728eb950f
Internal codec has a direct connection between
ADC1 and AMIC1. Add a switch to prevent default
powering up of AMIC1.
CRs-Fixed: 2058182
Change-Id: If00b3d239655d2ecc77654ab379bbc0bd57e5b0d
non-hdmi devices
Keep_alive can now handle silence playback on multiple concurrent
devices such as primary output devices as well as HDMI
Change-Id: Icdf22c9d8d1264d463b23c8f54020e792840b73c
Signed-off-by: Md Mansoor Ahmed <mansoor@codeaurora.org>
Populate microphone characteristics for supported microphones on
platform. Map input sound devices to specific microphone ids.
Change-Id: I9aab6ef04bb941533261740723ffcf78645d3e1e
No Audio heard in FM Speaker when FM record and FM speaker are on simultaneously
With default values for maxActiveCount and maxOpenCount,
FM app is unable to record and play FM audio on speaker simultaneously
since it uses application loop back(AudioRecord->AudioTrack)
to route FM audio to non-default devices(Speaker)
Add attributes maxActiveCount="2" and maxOpenCount="2" to mixPort "primary input"
CRs-fixed: 2249758
Change-Id: I82a1cb0d5596486d531d5324b91f932f52b07f9e
Time folder is for time_daemon which is in vendor partition. Vendor
module can't access data in /data for treble limit. So change
/data/time to /data/vendor/time.
Change-Id: If3420ec92fa79f8d7c98a1e20c12f148b0fd7894
* Speaker isn't properly calibrated with ACDB from O-based MIUI (while
it was on N), pop is heard when disabling speaker.
* MIUI has speaker protection enabled, hence this route isn't even
used by Xiaomi. However, with speaker protection enabled on Lineage,
the volume curve became very strange, maybe Xiaomi uses Dirac audio
effect to address this issue on MIUI, but it's not supported on AOSP.
* Fortunately voice speaker seems to be properly calibrated, so apply
that route to fix the issue.
* Voice speaker gain in ACDB seems to be lower than speaker, so
slightly increase gain in mixer paths to make it sound like a "normal"
speaker.
Change-Id: Ic674973933595db0ae797a7fa767539a321664ff
Required because the lights need to be turned off late in boot
(e.x. during fsck for disk health), and before, blank_screen
accessing light encountered a race condition where if it didn't
get scheduled before all of the processes which were getting
shutdown were getting killed, the screen wouldn't blank.
Bug: 74976325
Test: adjusting brightness continues to work
Test: screen blanks during shutdown at the correct time
including when an artificial 5s delay is inserted when
the phone normally fscks (which can also be quick)
Change-Id: I57ebc11d7ecf57ee327c681455712f4b53de6fd3
Convert clearkey plugin to HIDL to support drm HAL v1.1.
Add SELinux policy for android.hardware.drm@1.1-service.clearkey.
Test: CTS test
ANDROID_BUILD_TOP= ./android-ccts-tradefed run cts-dev
--module CtsMediaTestCases
-t android.media.cts.ClearKeySystemTest#testClearKeyPlaybackCenc
bug: 69635855
Change-Id: I61e9c272c2a2788fd07d5c12921d28c785661b77
Leaving 1.0 in the old format and 1.1 in the new format
since this is agaisnt FCM 2 which requires 1.0 (this makes
sure that OTAs work).
Bug: 73556059
Test: vts_treble_vintf_test (DRM served in 'HalsAreServed')
Test: ota 3/15/2018 build -> ToT + this
Change-Id: I82e6f9fe0b29b15c2e79e92eb9b2abdbab615a71
Test: regression test on the board
Bug: 38184704
Change-Id: Ife559125850277865451f92ea862e7ec47fc9da7
Merged-In: Ife559125850277865451f92ea862e7ec47fc9da7
Cherry-picked from master
Signed-off-by: Kevin Rocard <krocard@google.com>
Replace it with FCM Version = 1, specified explicitly
in device manifest.
Test: builds
Bug: 69636193
Change-Id: I0f5689344bb7b10b2b5db2549e95c940c4812f9d
Merged-In: I0f5689344bb7b10b2b5db2549e95c940c4812f9d
Wpa_supplicant's random pool is not necessary on Android. Randomness
is already provided by the entropymixer service which ensures
sufficient entropy is maintained across reboots. Commit b410eb1913
'Initialize /dev/urandom earlier in boot' seeds /dev/urandom with
that entropy before either wpa_supplicant or hostapd are run.
Bug: 34980020
Test: Use wifi and wifi tethering on 8996 targets
Change-Id: Ib5caf362bc939911b357db186a274957d3fbf186
(cherry picked from commit 1f2b2f3a780bb7a6ed489bf86e18e77382f37514)
Framework will now add interface to supplicant (via HIDL) when it
needs to control an interface, so don't specify them in the startup
params.
Bug: 69426063
Test: Device boots up and able to connect to wifi.
Change-Id: I817d28093f8b982e3806c212babd888c0f5eb7c0