Commit Graph

3885 Commits

Author SHA1 Message Date
Jong Wook Kim
8defe6627d Merge "Device Manifest Uprev Wifi HAL from 1.2 to 1.3" 2018-08-14 22:49:02 +00:00
Vagdevi Kondeti
928a430a88 Merge "Wahoo - Make changes for ConnMon to be privapp" 2018-08-14 20:50:44 +00:00
Xin Li
0715ac829a Merge stage-dr1-aosp-master into stage-aosp-master am: 558a436ae2
am: 0224dc4b33

Change-Id: I76d709e79a5113ce20982dbaf170accac88a0f73
2018-08-13 18:11:06 -07:00
Xin Li
0224dc4b33 Merge stage-dr1-aosp-master into stage-aosp-master
am: 558a436ae2

Change-Id: Ie537e4df99254423e4e53879d90aed56f60905e6
2018-08-13 17:09:46 -07:00
Xin Li
558a436ae2 Merge stage-dr1-aosp-master into stage-aosp-master
Bug: 112535855
Change-Id: I7dc085c5adab5c3a2fd8c2c3406991a576600750
2018-08-13 13:01:02 -07:00
Xin Li
dc71d08d33 Merge Android Pie into master am: 9ff3cc386f am: 849287c438 am: a1319bd177
am: f127aa9c2e

Change-Id: I336a9a2ed9fb786fcb79f6f9b3ab4f09e96c8d90
2018-08-08 00:57:24 -07:00
Xin Li
f127aa9c2e Merge Android Pie into master am: 9ff3cc386f am: 849287c438
am: a1319bd177

Change-Id: I06b13f9527d7f0b448ea8e7c82dbd9b1ac1f182d
2018-08-07 20:29:08 -07:00
Xin Li
a1319bd177 Merge Android Pie into master am: 9ff3cc386f
am: 849287c438

Change-Id: I39dd531b3454b27ef1ea85e5081cd1b5882375d7
2018-08-07 16:53:04 -07:00
Xin Li
849287c438 Merge Android Pie into master
am: 9ff3cc386f

Change-Id: I630a1aa2af724cd570c77f780ba7594204344b89
2018-08-07 13:15:37 -07:00
Xin Li
9ff3cc386f Merge Android Pie into master
Bug: 112104996
Change-Id: Idc8075e8e05d75b90a512c096be41fcc50846cf7
2018-08-06 16:50:11 -07:00
vagdevi
7e18924863 Wahoo - Make changes for ConnMon to be privapp
Define ConnectivityMonitor as _app & isPrivApp.

Give write permission in radio for
PowerAnomaly usecase.

Bug: 112197190
Test: manual - flashed build with changes in "connmon-privapp" topic,
ConnectivityMonitor works as intended
Change-Id: Iaf2ce49af29ed912024b30a07f80df4fe6220328
2018-08-06 21:40:23 +00:00
SalmaxChang
82dd66ca66 wahoo: init: Remove possible unlabeled persist_rfs_file to WA denials
Bug: 78019660

- There are some wahoo devices occur unlabeled denials on persist_rfs_file
  (/persist/rfs/msm/mpss/server_check.txt) with doing restorecon /persist.
- server_check.txt will be checked and re-generated whenever tftp_server is up.
  Remove it and let tftp_server to re-generate it to workaround the denials on
  these devices

avc: denied { getattr } for comm="tftp_server" path="/persist/rfs/msm/mpss/server_check.txt" dev="sdd3" ino=74 scontext=u:r:rfs_access:s0 tcontext=u:object_r:unlabeled:s0 tclass=file permissive=0

avc: denied { read } for comm="tftp_server" name="server_check.txt" dev="sdd3" ino=66 scontext=u:r:rfs_access:s0 tcontext=u:object_r:unlabeled:s0 tclass=file permissive=0

Change-Id: I105485111a2ca6072d596160fa7390e43e483b01
Signed-off-by: SalmaxChang <salmaxchang@google.com>
2018-08-01 20:25:34 +00:00
Ahmed ElArabawy
7865e1e1f8 WiFi: chown /d/icnss/stats to system
In current implementation, the icnss stats is not presented in
dumpstate_board.txt file because the file owner/group is set to
root/root.

This commit changes the owner of the file to system/system to enable
the bugreport to dump the info in dumpstate_board.txt. This setting is
consistent with other devices.

Bug: 111845187
Test: adb bugreport and check icnss stats in dumpstate_board.txt
Change-Id: Ieff0841b1aafc7428a9f88ffb7fb2c0ac9075f24
2018-07-30 14:06:50 -07:00
Adam Seaton
3789a79c9d Update SVN to 18 for September Monthly release Bug: 111501777 am: 2cded42036
am: 93ba3bed6c

Change-Id: Icc028d4d446357a3c742b72314a3a7f0abcf80fa
2018-07-26 17:44:15 -07:00
Adam Seaton
93ba3bed6c Update SVN to 18 for September Monthly release Bug: 111501777
am: 2cded42036

Change-Id: I879869676756072d8e5867ac1c7efff1a7f6135d
2018-07-26 17:40:12 -07:00
Adam Seaton
2cded42036 Update SVN to 18 for September Monthly release
Bug: 111501777
2018-07-26 15:22:22 -07:00
Jong Wook Kim
640ddfe4cd Device Manifest Uprev Wifi HAL from 1.2 to 1.3
Move Wifi HAL from 1.2 to 1.3

Bug: 111753174
Test: builds and wifi works
Change-Id: If4752781057f66a189707d6b59d3c503b2383707
2018-07-25 11:22:03 -07:00
Xin Li
7fc68c3bdb Merge pi-dev-plus-aosp-without-vendor into stage-dr1-aosp-master am: c6b5577167
am: 64d16cec7f

Change-Id: I0fdd71507f064457abac7c53e5a75d02039b44b7
2018-07-20 01:10:10 -07:00
Xin Li
64d16cec7f Merge pi-dev-plus-aosp-without-vendor into stage-dr1-aosp-master
am: c6b5577167

Change-Id: Ifcce56915dc26dbcf89569b6593c6f904cbd3dcc
2018-07-19 23:14:31 -07:00
Xin Li
c6b5577167 Merge pi-dev-plus-aosp-without-vendor into stage-dr1-aosp-master
Bug: 111615259
Change-Id: Ie0f9d5289bfb2fc7544b51b57b9d6ab788d83634
2018-07-19 13:50:01 -07:00
Badhri Jagan Sridharan
f7168e022d usb gadget hal: Increase disconnect timeout
Increase disconnect timeout from 10ms to 100ms for the host ports which
dont strictly adhere to the spec to sense disconnect.

This is a work around given that some of the root ports dont detect
it. From the USB 2.0 spec guidelines, the disconnect should be
detected in 2.5us.

From the USB 2.0 spec (pg 186)
Time to detect a disconnect event
at a hub’s downstream facing port
TDDIS Section 7.1.7.3 2 2.5 µs


Bug: 110412433
Test: Walleye entering accessory mode in USB 3.0 with IOGear cable
and USB 3.0 host.

Change-Id: I8d8f62dc1a7bcbc9c7727c51cad7f3cb07ba6b50
2018-07-17 06:15:10 +00:00
Myles Watson
2865c88922 [automerger skipped] Merge "wahoo: Move genfs rfkill to system/sepolicy" am: e8e45d58ab am: 3964dd56d7
am: b20189391b  -s ours

Change-Id: I50c5581be55da48e46ff1e867ef0603bc0a257b6
2018-06-27 21:06:50 -07:00
Myles Watson
b20189391b Merge "wahoo: Move genfs rfkill to system/sepolicy" am: e8e45d58ab
am: 3964dd56d7

Change-Id: Idec1d9fda17886d012f21c8d7c15ccfc8e90a18c
2018-06-27 20:41:56 -07:00
Myles Watson
3964dd56d7 Merge "wahoo: Move genfs rfkill to system/sepolicy"
am: e8e45d58ab

Change-Id: I755ef53a0aa3cf7b9280236ed2805dfd023c4f66
2018-06-27 19:21:31 -07:00
Treehugger Robot
e8e45d58ab Merge "wahoo: Move genfs rfkill to system/sepolicy" 2018-06-28 00:31:05 +00:00
Myles Watson
40afce6ba7 wahoo: Move genfs rfkill to system/sepolicy
Test: build
Change-Id: I33c62fff88217ce049a2e91cfee7ef77f42069f9
Merged-In: I33c62fff88217ce049a2e91cfee7ef77f42069f9
2018-06-27 23:56:07 +00:00
Myles Watson
534fff6db9 wahoo: Move genfs rfkill to system/sepolicy
Test: build
Change-Id: I33c62fff88217ce049a2e91cfee7ef77f42069f9
2018-06-27 21:38:18 +00:00
Stanley Tng
8b04fdf593 Enable the Hearing Aid Profile for Pixel 1 and 2
The Hearing Aid Profile was disable in an upstreamed branch and we need
to re-enable it here.

Test: Compile
Change-Id: I1fae1e66570d69e14d53c415838e882639761ec9
2018-06-26 13:03:29 -07:00
Thierry Strudel
ed713cf656 health: fix learned capacity backup/restore
The code was only allowing the Learned Capacity to decrease while
QCOM FG learned capacity may actually go up for some reasons.
Ensure we use the FG learned capacity on update and always restore
the saved one on boot.

Bug: 109734601
Change-Id: I21b559c27a5298e8eea39ec502e4f1d6f7a4b053
Signed-off-by: Thierry Strudel <tstrudel@google.com>
2018-06-21 08:12:02 +00:00
Dan Willemsen
31ba8e52fd taimen&walleye builds have overriding commands am: 55a3497cda am: c6a673fef9
am: 1d84cc82b2

Change-Id: I13d3fcd18f8391ec055da117694a3c06a717c0c2
2018-06-20 10:09:01 -07:00
Dan Willemsen
1d84cc82b2 taimen&walleye builds have overriding commands am: 55a3497cda
am: c6a673fef9

Change-Id: I95a40b173fe8d93599cbfd3f4a5a8c5dc9c07d58
2018-06-20 10:05:52 -07:00
Dan Willemsen
c6a673fef9 taimen&walleye builds have overriding commands
am: 55a3497cda

Change-Id: I3121733556846b51e3134c636b8ee7419cfdf821
2018-06-20 10:01:54 -07:00
Dan Willemsen
55a3497cda taimen&walleye builds have overriding commands
These products have warnings about overriding build commands, which
means that there are multiple instructions on how to build a file, and
we've just picked one of them. Which one we pick is usually stable, but
it can change.

Bug: 77611511
Test: turn default to false, walleye still uses a warning
Change-Id: I11d194863b313f64b19291f65219682b169d9ced
2018-06-19 22:28:20 -07:00
Tom Cherry
48ae366ea9 [automerger skipped] Merge "Remove qmuxd from init scripts and sepolicy" into stage-aosp-master am: c70c413817 -s ours
am: febcbc5b89  -s ours

Change-Id: I11416698a128c482efb906f1af75e2e31e3961cc
2018-06-19 08:01:43 -07:00
Tom Cherry
febcbc5b89 [automerger skipped] Merge "Remove qmuxd from init scripts and sepolicy" into stage-aosp-master
am: c70c413817  -s ours

Change-Id: Ic2b3443a2ba21a722d44869254508687dd4ed46d
2018-06-19 07:57:40 -07:00
Tom Cherry
c70c413817 Merge "Remove qmuxd from init scripts and sepolicy" into stage-aosp-master 2018-06-19 14:51:09 +00:00
TreeHugger Robot
2200d0b71e Merge "Clean up bug_map by removing fixed bugs." 2018-06-19 14:43:01 +00:00
Tom Cherry
40769dd658 [automerger skipped] Remove qmuxd from init scripts and sepolicy am: 7a4e80089a -s ours am: 239143641a -s ours
am: ad7c17d180  -s ours

Change-Id: I3232cbc05ee846a2496bb776b572bcb6656c2db5
2018-06-18 17:26:19 -07:00
Tom Cherry
ad7c17d180 [automerger skipped] Remove qmuxd from init scripts and sepolicy am: 7a4e80089a -s ours
am: 239143641a  -s ours

Change-Id: Ib1837166ac6780f297e73c1f93157bd62086a32a
2018-06-18 17:17:16 -07:00
Tom Cherry
239143641a [automerger skipped] Remove qmuxd from init scripts and sepolicy
am: 7a4e80089a  -s ours

Change-Id: Iaa5fffc539e0599d550c55612b0798ecd6bb6d0d
2018-06-18 17:13:14 -07:00
Tom Cherry
ceb0f1e8f1 Remove qmuxd from init scripts and sepolicy
This daemon doesn't exist on the device and causes init errors during
boot.

init: /vendor/etc/init/hw/init.walleye.rc: 745: Unable to decode GID
for 'qcom_diag': getpwnam failed: No such file or directory

init: Could not start service 'vendor.qmuxd' as part of class 'main':
Cannot find '/vendor/bin/qmuxd': No such file or directory

Test: tree-hugger passes
Merged-In: Ib2bc1739cac088af3e9ef2e0482f2536dad8fb8c
Change-Id: Ib2bc1739cac088af3e9ef2e0482f2536dad8fb8c
2018-06-19 00:13:13 +00:00
Adam Seaton
a3e51defc3 [automerger skipped] [DO NOT MERGE] Update SVN to 16 for August RoW backpocket bug:109889880 am: 1f3b021647 -s ours am: a12630c1fb
am: cce52b9483  -s ours

Change-Id: I809dbf350b36bf631fd64b14ef276bdb99a8b5c9
2018-06-18 16:58:37 -07:00
Adam Seaton
cce52b9483 [automerger skipped] [DO NOT MERGE] Update SVN to 16 for August RoW backpocket bug:109889880 am: 1f3b021647 -s ours
am: a12630c1fb

Change-Id: I447765bc2f43bcac883182c0ce75fb46996fb477
2018-06-18 16:55:38 -07:00
Adam Seaton
a12630c1fb [automerger skipped] [DO NOT MERGE] Update SVN to 16 for August RoW backpocket bug:109889880
am: 1f3b021647  -s ours

Change-Id: I1b029c4bc6a38130b0d994418e3e3782d3837177
2018-06-18 16:51:34 -07:00
Adam Seaton
e93b6a7128 [automerger skipped] [DO NOT MERGE] Update SVN to 15 for August Fi Backpocket Bug:109889880 am: 741408fe62 -s ours am: aec1e04de2
am: dbd91411b5  -s ours

Change-Id: Id562bdcda834ff70ae717975c625ce1b8e13ad6b
2018-06-18 16:34:31 -07:00
Adam Seaton
dbd91411b5 [automerger skipped] [DO NOT MERGE] Update SVN to 15 for August Fi Backpocket Bug:109889880 am: 741408fe62 -s ours
am: aec1e04de2

Change-Id: I70198a2c545c6e32e434d2722040305d76cb2e9d
2018-06-18 16:31:32 -07:00
Adam Seaton
aec1e04de2 [automerger skipped] [DO NOT MERGE] Update SVN to 15 for August Fi Backpocket Bug:109889880
am: 741408fe62  -s ours

Change-Id: I276b2ffd1e9344391c9bf83d8f1d4ac99945930c
2018-06-18 16:27:28 -07:00
Adam Seaton
1f3b021647 [DO NOT MERGE] Update SVN to 16 for August RoW backpocket
bug:109889880
2018-06-18 21:40:23 +00:00
Adam Seaton
741408fe62 [DO NOT MERGE] Update SVN to 15 for August Fi Backpocket
Bug:109889880
2018-06-18 21:07:43 +00:00
Tom Cherry
6e734ccc64 Remove qmuxd from init scripts and sepolicy
am: e4199f9ff6

Change-Id: I8f38251268cbeb037ec764ebed8e997cb19bc245
2018-06-18 11:06:30 -07:00