Commit Graph

5521 Commits

Author SHA1 Message Date
Nikita Ioffe
7d6b8d2a85 Merge "Revert "Remove b/149317789 from bugmap"" 2020-07-15 12:22:25 +00:00
Nikita Ioffe
ae5790022c Revert "Remove b/149317789 from bugmap"
This reverts commit acc8b7f3b8.

Reason for revert: b/149317789 is still happening

Bug: 149317789
Change-Id: Ic629839577b2969cdeb9a81a82afd32b0b998fa8
2020-07-15 11:32:31 +00:00
Nikita Ioffe
747ec292de Disable userspace reboot
Test: builds
Test: build vendor/build.prop
Test: grep 'init.userspace_reboot' ${OUT}/vendor/build.prop
Bug: 157884323
Bug: 160959550
Merged-In: Ib6ff4c7c3dcd9172306cca0eb7615a485153ec29
Change-Id: Ib6ff4c7c3dcd9172306cca0eb7615a485153ec29
(cherry picked from commit 6496116e47)
2020-07-13 13:04:48 +00:00
Bill Yi
cd3efb8d3d Merge android10-qpr3-release to aosp-master - DO NOT MERGE
Merged-In: I2253d1047faec1e6d5a99581094bca31523e7464
Change-Id: I5329ae4e6526cff76a634ad59134aba2aaafd88d
2020-07-07 06:27:11 +00:00
Nikita Ioffe
acc8b7f3b8 Remove b/149317789 from bugmap
Test: builds
Bug: 149317789
Change-Id: I6decac35ef0822cf057d109435f579d4f48fe599
2020-06-29 16:18:00 +01:00
Jiyong Park
bdac3523c1 Remove duplicated setting of persist.data.mode
Duplicated sysprop assignments will be prohibited when
I9c073a21c8257987cf2378012cadaeeeb698a4fb lands.

Bug: 117892318
Bug: 158735147
Test: m
Change-Id: I7394ddfeee5e0c3f2690f42e080662c5cf2c04f8
2020-06-22 20:23:58 +09:00
Xin Li
728b47e0c1 Merge QQ3A.200605.002 into master
Bug: 158095402
Merged-In: Iea20c35e7280572777c417cda49a5bb8d9551589
Change-Id: I325c86794600c04252558ab0450be816b3a082c9
2020-06-03 10:44:55 -07:00
Jiyong Park
ceb4f07e2d Remove duplicated sysprop am: 154c886a26
Change-Id: Iea20c35e7280572777c417cda49a5bb8d9551589
2020-05-30 22:44:40 +00:00
Jiyong Park
154c886a26 Remove duplicated sysprop
persist.data.netmgrd.qos.enable was set twice.
Removing the duplication.

Bug: 117892318
Test: m
Merged-In: I3682a2cc5d35cb34977fd9aa9d7c03765bdfbe6a
(cherry picked from commit a38522744c)
Change-Id: I3682a2cc5d35cb34977fd9aa9d7c03765bdfbe6a
2020-05-30 20:56:02 +09:00
Shinru Han
ac91f29f74 gps: fix avc denied in emergency SUPL am: e2b43873bf
Change-Id: I47135d25ba572149e9189fc36620b4bf3ebdd452
2020-05-27 04:01:15 +00:00
Shinru Han
e2b43873bf gps: fix avc denied in emergency SUPL
GNSS ds_client fails to open emergency SUPL network due to avc denied.

05-15 16:50:22.331   gps   867   867 W Loc_hal : type=1400 audit(0.0:26): avc: denied { nlmsg_readpriv } for scontext=u:r:hal_gnss_qti:s0 tcontext=u:r:hal_gnss_qti:s0 tclass=netlink_route_socket permissive=0

Bug: 155738368
Test: Emergency SUPL test
Change-Id: Ic9ce155aed10a5d199137e4a9081c0b8ccf3ee88
2020-05-27 10:24:38 +08:00
android-build-team Robot
1048ade8c3 Merge cherrypicks of [11520371, 11520372, 11521176, 11521177, 11520373, 11520374, 11521196, 11521216, 11520730, 11521236, 11520430, 11521256, 11521276, 11520277, 11520278] into qt-qpr3-release
Change-Id: I7624d49eabb389103252c6535702fcc0466a6b4c
2020-05-17 21:10:37 +00:00
Paul Scovanner
44668187c3 Update Wahoo SVN to 46
Bug: 156652977
Change-Id: Ifd2e7b1ccf315b97071a83de0871109c116beecb
(cherry picked from commit 8bec3c4912)
2020-05-17 21:09:33 +00:00
Paul Scovanner
b7264b50c8 Update Wahoo SVN to 45
Bug: 153882927
Change-Id: Ibe3d4bc4f323eb810e0ac71989a328b95138fb0f
(cherry picked from commit 1fc4f44a5e)
2020-05-17 21:09:25 +00:00
Xin Li
96ec0e78ee DO NOT MERGE - Merge QQ3A.200605.002 into stage-aosp-master
Bug: 155771477
Change-Id: I5c20e040c2467c095278e98aa7599de523613567
Merged-In: I426d08a4353d7ad1c25954a2b32cb9aae5ffb886
2020-05-16 17:31:39 +00:00
Xin Li
670c4593b8 DO NOT MERGE - Mark QQ3A.200410.001 as mergepoint.
Change-Id: I6890b46d5d6d84e25a8da2384e194cdfdf58b514
2020-05-16 04:27:28 +00:00
Inseob Kim
043384b5a5 Remove sys.vdso property am: 39e8f5cbfa
Change-Id: Ibe3f43dc71dc23e5b0e974b896b3a2a00342febe
2020-05-13 05:02:52 +00:00
Inseob Kim
39e8f5cbfa Remove sys.vdso property
This is an experimental property on Q and doesn't need anymore.

Exempt-From-Owner-Approval: cherry-pick

Bug: 154885206
Test: N/A
Change-Id: I89ac87569296f97cb9492686c24e804423e9bca4
Merged-In: I89ac87569296f97cb9492686c24e804423e9bca4
(cherry picked from commit b44ec55fe3)
2020-05-13 12:07:48 +09:00
Roshan Pius
4e9f7576b3 wifi_offload: Remove offload HAL server code am: f4596937eb
Change-Id: I19f3240bbeb9f8d8851f43d3ffca658fe18f76dc
2020-05-08 05:59:33 +00:00
Roshan Pius
f4596937eb wifi_offload: Remove offload HAL server code
This is unused currently & there are no concrete plans to use it
in the future.

Bug: 130080335
Test: Device boots up & connects to networks.
Test: Will send for regression tests
Change-Id: Iaec2427603992e70a4ca1cef2f7cb96504d1374d
Merged-In: Iaec2427603992e70a4ca1cef2f7cb96504d1374d
(cherry picked from commit 2143fad65a)
2020-05-07 20:44:37 +09:00
Bill Yi
136aadf6d8 [automerger skipped] Merge "Merge android10-qpr2-s3-release to aosp/master - DO NOT MERGE" am: 4d43b6a972 -s ours
am skip reason: Change-Id Iff06deadea687ad2fc7fe5faccce7494f91c2272 with SHA-1 ad7825fc2a is in history

Change-Id: I76cb8bc74c0aa2ea53202c7f9f1d4303af69c1ab
2020-05-06 16:15:34 +00:00
Bill Yi
4d43b6a972 Merge "Merge android10-qpr2-s3-release to aosp/master - DO NOT MERGE" 2020-05-06 15:59:06 +00:00
Bill Yi
79b600cf8e Merge android10-qpr2-s3-release to aosp/master - DO NOT MERGE
Change-Id: If07257ada8133102874ce6514e2e2df64af31e3d
Merged-In: Iff06deadea687ad2fc7fe5faccce7494f91c2272
Merged-In: I9588b9237f3a8b6d26c5fa5202040b1e32df2ba0
2020-05-05 20:44:32 +00:00
Bob Badour
edfcd95367 Add METADATA to wahoo: Apache2+BSD=NOTICE am: 349c9befb6
Change-Id: I77de8e9f17105ac8b8ed707dd23038e353e29d2e
2020-05-05 17:44:42 +00:00
Bob Badour
349c9befb6 Add METADATA to wahoo: Apache2+BSD=NOTICE
Bug: 68860345
Bug: 69058154
Bug: 151953481

Test: no code changes
Change-Id: I354a7ee839c33558f86a0b776f87a2f31c96f5d2
2020-05-01 09:25:26 -07:00
Yiwei Zhang
69c7e71f9c sepolicy: clean up rules around gpuservice am: 7564b43f99
Change-Id: I72600f4bfa550c747daa85212dfb40eb9b45abfd
2020-04-15 18:31:02 +00:00
Yiwei Zhang
7564b43f99 sepolicy: clean up rules around gpuservice
Test: m selinux_policy
Change-Id: I98db7e7dbf73e995f97583c60850f66dff1d98c2
2020-04-15 05:53:01 -07:00
android-build-team Robot
da591cd6d8 Merge cherrypicks of [11039218, 11037162, 11039276, 11039311, 11039294] into qt-qpr3-release
Change-Id: Ia118d207c1bea8d8d33568c7de2f3296995077a9
2020-04-13 23:18:39 +00:00
Paul Scovanner
3210464b20 Update Wahoo SVN to 44
Bug: 153882927

Change-Id: I426d08a4353d7ad1c25954a2b32cb9aae5ffb886
(cherry picked from commit b2d32df822)
2020-04-13 23:18:09 +00:00
Xin Li
4a38241c0a DO NOT MERGE - Merge qt-qpr1-dev-plus-aosp@6382244 into stag-aosp-master
Bug: 151763422
Change-Id: I70640359627f2797b96eaa94c242748f885634f7
2020-04-09 18:41:48 -07:00
android-build-team Robot
2defb14186 Snap for 6377241 from 3672858e17 to qt-qpr3-release
Change-Id: I9c59dae398e6c086d99a576bc4f1cb440463ea1d
2020-04-08 23:18:16 +00:00
Jimmy Chen
474d4e6e36 Wifi: enable P2P MAC randomization am: 3672858e17
Change-Id: Ide366dd1bfca95890631cfbf7d224ebc09c3fd29
2020-04-08 07:53:42 +00:00
Xin Li
889a34a7d2 [automerger skipped] DO NOT MERGE - Merge QQ2A.200405.005 into master am: 05de20dd67 -s ours am: 18325735a2 -s ours
am skip reason: Change-Id Ib06fe25dc5353599b914f93d586f0de6eaf32241 with SHA-1 7c55be6d66 is in history

Change-Id: I304a4235cf26ab22334368b8ba35967a5d1ddc27
2020-04-08 06:41:17 +00:00
Xin Li
18325735a2 [automerger skipped] DO NOT MERGE - Merge QQ2A.200405.005 into master am: 05de20dd67 -s ours
am skip reason: Change-Id Ib06fe25dc5353599b914f93d586f0de6eaf32241 with SHA-1 7c55be6d66 is in history

Change-Id: Ib620c3527e51988e93d076b6e5bb4e01cbe0e706
2020-04-08 06:30:50 +00:00
Jimmy Chen
3672858e17 Wifi: enable P2P MAC randomization
Bug: 146398159
Test: enter Wi-Fi Direct and check p2p interface address is randomized.
Change-Id: I5f03f907174d6eec2a739c9112fc2e8fad5ef0ae
2020-04-08 04:34:53 +00:00
Xin Li
05de20dd67 DO NOT MERGE - Merge QQ2A.200405.005 into master
Bug: 150877681
Change-Id: I5ea8050916e1429f865dbb96972af9f62fd48258
Merged-In: Iac096fcf4f4beb772364ddf9d3ebbe2f9ec156b7
Merged-In: Ib06fe25dc5353599b914f93d586f0de6eaf32241
2020-04-08 03:37:37 +00:00
Andrew Lehmer
788050cfc1 folio_daemon: Avoid UAF with stale sensor handle am: 1e9c510d49 am: 2a7dac5aa9 am: e527899e04 am: ada3ff5036
Change-Id: I6f3ed8003f77e544483f6875fa2958a4eeaf5838
2020-04-07 22:01:15 +00:00
Andrew Lehmer
ada3ff5036 folio_daemon: Avoid UAF with stale sensor handle am: 1e9c510d49 am: 2a7dac5aa9 am: e527899e04
Change-Id: I703be2f1fe3ece5eef83c4c9bd38d4a2f5bc6b9d
2020-04-07 21:39:46 +00:00
Andrew Lehmer
e527899e04 folio_daemon: Avoid UAF with stale sensor handle am: 1e9c510d49 am: 2a7dac5aa9
Change-Id: I7b74e07fc8e3442e194cc7bdc80cde525cb87cd8
2020-04-07 21:22:05 +00:00
Andrew Lehmer
2a7dac5aa9 folio_daemon: Avoid UAF with stale sensor handle am: 1e9c510d49
Change-Id: I0afc0be064c28dc361b8e5538442557cb0d899c7
2020-04-07 21:07:21 +00:00
TreeHugger Robot
9e90f376a7 Merge "folio_daemon: Avoid UAF with stale sensor handle" into qt-dev am: 51441571d3 am: c48b03f21f
Change-Id: Ifbd010054a34d621f1d5a29ae2581ede4892e07f
2020-04-07 21:02:19 +00:00
TreeHugger Robot
7912e57278 Merge "folio_daemon: Avoid UAF with stale sensor handle [DO NOT MERGE]" into qt-qpr1-dev am: ef422b336e
Change-Id: Icbe87a5703ccf4659e8fb9803b3c0cd1f740ba8b
2020-04-07 21:02:12 +00:00
Andrew Lehmer
eda8996fb0 folio_daemon: Avoid UAF with stale sensor handle [DO NOT MERGE] am: 8461c0a1d1
Change-Id: Ie92c45518a761a3f9863afb7ced4b18416bf21d0
2020-04-07 21:02:10 +00:00
TreeHugger Robot
c48b03f21f Merge "folio_daemon: Avoid UAF with stale sensor handle" into qt-dev am: 51441571d3
Change-Id: I5086c0d414f0287658afdd8d87379bfb3227ba44
2020-04-07 21:00:46 +00:00
TreeHugger Robot
ef422b336e Merge "folio_daemon: Avoid UAF with stale sensor handle [DO NOT MERGE]" into qt-qpr1-dev 2020-04-07 20:20:28 +00:00
TreeHugger Robot
51441571d3 Merge "folio_daemon: Avoid UAF with stale sensor handle" into qt-dev 2020-04-07 20:13:43 +00:00
Andrew Lehmer
01d6b11593 folio_daemon: Avoid UAF with stale sensor handle am: 948ad9c58c am: 92f0fa9448 am: f8136059a5
Change-Id: I07d43c8c40506e13a959c3f43ce40749e1153b32
2020-04-07 19:40:25 +00:00
Andrew Lehmer
f8136059a5 folio_daemon: Avoid UAF with stale sensor handle am: 948ad9c58c am: 92f0fa9448
Change-Id: Iecce6d22c8a65e677f53f200d494c303b877ef3c
2020-04-07 19:28:34 +00:00
Andrew Lehmer
92f0fa9448 folio_daemon: Avoid UAF with stale sensor handle am: 948ad9c58c
Change-Id: I1a8f3de8a7ebe0c9c268a93d7e8b59415a60cf57
2020-04-07 19:16:48 +00:00
Andrew Lehmer
8461c0a1d1 folio_daemon: Avoid UAF with stale sensor handle [DO NOT MERGE]
It is possible for sensor handles retrieved using
ASensorManager_getDefaultSensor() to become stale if the underlying
binder connection to the sensor service gets reset. This can be
triggered by ASensorManager_createEventQueue(), so any sensor handle
retrieved prior to this call may become stale, resulting in a use-after-
free when the handle is eventually registered with the queue. To avoid
this, the event queue is created before retrieving or registering the
sensor.

Bug: 150225255
Test: No longer crashes with proof-of-concept on Pixel 2 XL.
Change-Id: I243f6c68c734af3eb5488855d965a894b5fb99e5
2020-04-07 18:11:26 +00:00