Commit Graph

8550 Commits

Author SHA1 Message Date
Lloyd Pique
6118ea4d97 Merge "Fix crash on hotplug disconnect" 2018-01-12 02:36:24 +00:00
Aditi Nagaraj
6327b86696 Merge "Adding VmsUtils for parsing Vms Vehicle Properties" 2018-01-11 22:49:23 +00:00
Lloyd Pique
2765f9d406 Fix crash on hotplug disconnect
ComposerClient destroys its internal model of the display while handling
the onHotPlug event from the Hwc. Subsequently SurfaceFlinger destroys
its model of the display, and destroys all Hwc layers associated with
the display.

This fixes the code for destroying layers to not dereference an invalid
iterator if the display does not exist, allowing destruction to
continue.

It also fixes a similar issue which could occur if a HWC layer is being
created for a display at around the same time as the disconnect event.

Test: hotplug disconnect no longer crashes
Bug: 38464421
Change-Id: I0f2d28fe89fccf997b4bbb9fa6b5c0e6a6e49b93
2018-01-11 13:04:50 -08:00
Aditi Nagaraj
8dcab8e6dd Adding VmsUtils for parsing Vms Vehicle Properties
Test: Tested unit test app on mojave.
Bug: 68704508
Change-Id: I4833e4940710752a2f7943323c5e7ff2489f1c07
2018-01-11 13:04:26 -08:00
Yifan Hong
c8b8599fd4 Merge "Install all comp mat to system image" am: 1612a3c27e am: 8f44cca63e
am: c420de7939

Change-Id: Iee2942bb2b8ce0874ea8bfed781368d8ac5284c8
2018-01-11 19:28:51 +00:00
Yifan Hong
c420de7939 Merge "Install all comp mat to system image" am: 1612a3c27e
am: 8f44cca63e

Change-Id: Ia130d94632d40f68e2c06c4959b6e7f3ad4edfba
2018-01-11 19:24:04 +00:00
Yifan Hong
8f44cca63e Merge "Install all comp mat to system image"
am: 1612a3c27e

Change-Id: I349c292e1e43ebaf925d2b6e423d7927845c7d95
2018-01-11 19:19:28 +00:00
Yifan Hong
1612a3c27e Merge "Install all comp mat to system image" 2018-01-11 19:14:24 +00:00
TreeHugger Robot
278685f80f Merge "AuthSecret HAL" 2018-01-11 19:11:38 +00:00
Cassie Han
e94fe99745 Merge "Add cellInfoList_1_2 in 1.2/IRadioIndication.hal." am: ab6101db50 am: 04369bf047
am: d37fb504b2

Change-Id: Id5468c308927d96c1866a97be59eef637f5d93cc
2018-01-11 17:59:52 +00:00
Cassie Han
d37fb504b2 Merge "Add cellInfoList_1_2 in 1.2/IRadioIndication.hal." am: ab6101db50
am: 04369bf047

Change-Id: I53a62cf2196dafc7952db534cca5a92f706c0d9c
2018-01-11 17:56:45 +00:00
Cassie Han
04369bf047 Merge "Add cellInfoList_1_2 in 1.2/IRadioIndication.hal."
am: ab6101db50

Change-Id: Ifc20455436195dd86b2a9a55f846350419e8ed35
2018-01-11 17:53:59 +00:00
Cassie Han
ab6101db50 Merge "Add cellInfoList_1_2 in 1.2/IRadioIndication.hal." 2018-01-11 17:47:42 +00:00
TreeHugger Robot
a945bf220a Merge "wifi(implementation): Fix IWifiChip.getCapabilities()" 2018-01-11 03:47:24 +00:00
Yifan Hong
2d8442c762 Install all comp mat to system image
Moved framework_compatibility_matrix.xml module definition
from target/board/Android.mk here because it depends on
compatibility_matrix.*.xml.

Test: m dist
Bug: 69636193

Change-Id: I7480b27756992b47555f6b397925170ae9d1ac22
2018-01-10 19:17:23 -08:00
Scott Randolph
f9b98e52b2 Merge "Define new AudioControl HAL for automotive." 2018-01-10 23:59:33 +00:00
Steven Moreland
39ce7ca1f5 Merge "Add interface specification for lights hal." am: 6f8633d819 am: 0e56d80d7f
am: ec7b339b6c  -s ours

Change-Id: I30b8cc354b594aa0c617ebecf60408a232a6ecb9
2018-01-10 23:10:10 +00:00
Steven Moreland
ec7b339b6c Merge "Add interface specification for lights hal." am: 6f8633d819
am: 0e56d80d7f

Change-Id: I70bc7647f00a72d924968e42baeedee839b1fb74
2018-01-10 21:22:21 +00:00
Steven Moreland
0e56d80d7f Merge "Add interface specification for lights hal."
am: 6f8633d819

Change-Id: Iec46837e60e423cc0c6a3c269137161ec47e042b
2018-01-10 21:04:20 +00:00
Scott Randolph
46bc12867b Define new AudioControl HAL for automotive.
This provides a mechanism for Android to interact with a car's
audio subsystem.
It is a partial replacement for the deprecated AUDIO_* properties in VehicleHal.
It also provides control over fade/balance.

Bug: 31623564
Test: build for bat_land.  VTS tests in future CL.
Change-Id: I4344cce3a6aa9a28d1327bf4d16bd080c7fd3f50
2018-01-10 11:50:17 -08:00
TreeHugger Robot
ce52a65b78 Merge "Broadcast radio 1.x default implementation: let's support background scan for real." 2018-01-10 18:51:42 +00:00
Treehugger Robot
6f8633d819 Merge "Add interface specification for lights hal." 2018-01-10 18:27:52 +00:00
Andrew Scull
7093431e82 AuthSecret HAL
A security HAL to allow vendor to cryptographically tie components to
the primary user's credential.

Test: AuthSecretHidlTest
Bug: 71527305
Change-Id: I67ebf423dfccb00415d1d79b54e3ded31256cfff
2018-01-10 18:06:51 +00:00
Cassie
3fb7617b69 Add cellInfoList_1_2 in 1.2/IRadioIndication.hal.
As part of the new NetworkScan API project, we need to add V1_2
cellInfoList in RadioIndication to support the V1_2 CellInfo as well.

Bug: 63984327, 69058403
Test: Basic telephony sanity
Change-Id: I53deb0d3b6ba58a86a8f734618841ff91d6dc6fa
2018-01-10 09:46:20 -08:00
Tomasz Wasilczyk
653f766177 Broadcast radio 1.x default implementation: let's support background scan for real.
Bug: 69860743
Test: VTS, instrumentation
Change-Id: Ia636795494c88a82edf681adaa403e3b70f77814
2018-01-09 21:11:38 -08:00
Yifan Hong
b4216c54be Rename 26.xml=>1.xml, 27.xml=>2.xml am: 2e25e4fe6f am: 49c5b150cf
am: b1e6f45427  -s ours

Change-Id: I66fca36ac64d8dedf109214da6c3b7d5c1103ce6
2018-01-10 03:42:30 +00:00
Yifan Hong
b1e6f45427 Rename 26.xml=>1.xml, 27.xml=>2.xml am: 2e25e4fe6f
am: 49c5b150cf

Change-Id: I5dbba9263a3126a8e851dba55c3924d0e00e3ee1
2018-01-10 03:35:02 +00:00
Yifan Hong
49c5b150cf Rename 26.xml=>1.xml, 27.xml=>2.xml
am: 2e25e4fe6f

Change-Id: I89ba38c9e55d3066d788f67b582b2c2be28c40dc
2018-01-10 03:30:55 +00:00
Yifan Hong
2e25e4fe6f Rename 26.xml=>1.xml, 27.xml=>2.xml
FCM Version uses a different set of numbers than the SDK level.
This is to decouple the connection between them; it is not required
to have one FCM Version per SDK level.

Test: build test
Test: boots

Bug: 69636193
Change-Id: I62a29b702271d8a7ca8ae80e545a6d2e3b46fdcf
Merged-In: I62a29b702271d8a7ca8ae80e545a6d2e3b46fdcf
2018-01-09 17:48:44 -08:00
Myles Watson
42643f8fa1 Bluetooth: Sleep instead of dying on EOF am: 0d63f8af7c am: e63d6a08ce
am: 7365ea5b9d

Change-Id: If88fda6729848f345a4645bff7f684b8f778994d
2018-01-10 01:44:13 +00:00
Myles Watson
7365ea5b9d Bluetooth: Sleep instead of dying on EOF am: 0d63f8af7c
am: e63d6a08ce

Change-Id: Icc2eefaf4b29360c8a8889e5d64b3bedb31bb181
2018-01-10 01:42:18 +00:00
Myles Watson
e63d6a08ce Bluetooth: Sleep instead of dying on EOF
am: 0d63f8af7c

Change-Id: I8f86685ba2000817dcfbdf566449826b121936dd
2018-01-10 01:38:39 +00:00
Myles Watson
0d63f8af7c Bluetooth: Sleep instead of dying on EOF
When a device is restarted, the UART may go away before the
packetizer.  Print an error and sleep in case it isn't really
a restart.

Bug: 70855323
Test: Repeated restarts, check for Bluetooth tombstones
Change-Id: I2b4e677451e826d40dcc9d063d80dc0e17fc9aca
2018-01-09 23:54:05 +00:00
Lianchao Song
893798b19b BT Interface: fix hci cmd timeout am: 424ffd0da5 am: fc0e8c6f48
am: 6991b9f428

Change-Id: I6daa5c12ddd45ef212ac47369005cbb625527e7d
2018-01-09 23:26:24 +00:00
Lianchao Song
6991b9f428 BT Interface: fix hci cmd timeout am: 424ffd0da5
am: fc0e8c6f48

Change-Id: I920f9b56e0dc9e8b91cc12914cc64f20b10dd666
2018-01-09 23:18:22 +00:00
Lianchao Song
fc0e8c6f48 BT Interface: fix hci cmd timeout
am: 424ffd0da5

Change-Id: Ifad82d29cbc269323a776c4a0f5f70bf0bfab2d4
2018-01-09 23:13:20 +00:00
Tomasz Wasilczyk
a72fb98f2b Merge "Broadcast radio 1.x default implementation: let's support background scan." 2018-01-09 22:20:27 +00:00
Zhuoyao Zhang
ce386b10e9 Disable seccomp policy for configstore hal on coverage builds. am: 207e97c735 am: 23b5ae4553
am: 40ffc6130a

Change-Id: I09d4a2f53156de34f80bb66e0970ebbe4c7e40ec
2018-01-09 21:43:19 +00:00
Lianchao Song
424ffd0da5 BT Interface: fix hci cmd timeout
Add mutex in function Send() and OnTimeout() to do mutual
exclusive access on lpm_wake_deasserted.

If lpm_wake_deasserted is out of sync with the actual
wake state, then platforms which use the lpm hint
will break.

Bug: 64299848
Test: run affected platform for a long period of time
and find that hci commands do not time out
Change-Id: I9f630d6f40f84b9c047c6488632cd44d6602bb14
2018-01-09 21:14:47 +00:00
Eino-Ville Talvala
674c299004 Merge "Add MOTION_TRACKING capability/intent, and lens poseReference" 2018-01-09 21:08:01 +00:00
Zhuoyao Zhang
40ffc6130a Disable seccomp policy for configstore hal on coverage builds. am: 207e97c735
am: 23b5ae4553

Change-Id: Id042a38e3e25fde309f5cf5922f7f1c24923ed9a
2018-01-09 19:59:15 +00:00
Tomasz Wasilczyk
06c82dd932 Merge "Fix few typos in broadcast radio HAL 2.0 comments." 2018-01-08 23:54:09 +00:00
Tomasz Wasilczyk
db1386a902 Broadcast radio 1.x default implementation: let's support background scan.
Bug: 69860743
Test: VTS
Change-Id: I7f0dc841e2b3fc218e5e7efa9b102697655cc9d5
2018-01-08 15:37:09 -08:00
Zhuoyao Zhang
23b5ae4553 Disable seccomp policy for configstore hal on coverage builds.
am: 207e97c735

Change-Id: I6ee7181d12e08cbc5ec2fecaf7f34808f387be17
2018-01-08 22:53:27 +00:00
TreeHugger Robot
1a5fca6019 Merge "supplicant(vts): Restart supplicant after all the test" 2018-01-08 22:40:58 +00:00
Jeff Tinker
d2e56e3510 Merge "Fix potential memory leak in default drm crypto plugin" 2018-01-08 22:35:04 +00:00
Roshan Pius
1a424095bf supplicant(vts): Restart supplicant after all the test
Bug: 70346098
Test: `make vts -j30 BUILD_GOOGLE_VTS=true TARGET_PRODUCT=aosp_arm64 &&
vts-tradefed run commandAndExit vts --skip-all-system-status-check
--primary-abi-only --skip-preconditions --module
VtsHalWifiSupplicantV1_1Target -l INFO`

Change-Id: I0bf1a5b96a9e8aad71577f3247c306d4ccc8ae18
2018-01-08 12:52:01 -08:00
Zhuoyao Zhang
207e97c735 Disable seccomp policy for configstore hal on coverage builds.
Test: lunch walleye_coverage-userdebug && make
      verify configstore@1.0.policy is not generated.

Change-Id: Iad1f55fe10c2c77a3ca56418ec315e10ab71753f
2018-01-08 12:06:22 -08:00
TreeHugger Robot
a5f9f8b14f Merge "GNSS Satellite Use Blacklist HAL" 2018-01-06 02:56:23 +00:00
Wyatt Riley
50e3327c46 GNSS Satellite Use Blacklist HAL
Adding .hal change IGnssConfiguration to enable
external (system) control of satellite usage.
Adding VTS tests of the new .hal (ready for
partners to integrate against.)

Bug: 38269641
Test: .hal & vts builds,
 vts test runs and fails fast (no 1.1 HAL on
 initial test device),
 vts test logs run as expected on a 1.0 device (with tests to make
 this run),
 on-device sanity check of GPS works,
 builds with JNI test code (to be submitted separately)
Change-Id: I72b5045eb0eea30d51ed5098248482cbbfc5aaff
2018-01-05 17:03:23 -08:00