Commit Graph

1266 Commits

Author SHA1 Message Date
Lorenzo Colitti
946dfb8ab5 Merge "Device SELinux policy for secure persistent netd storage" into oc-dr1-dev
am: 4293069bf3

Change-Id: If3f2e474fc694ef6a0254846985ce0f059112a49
2017-07-12 14:01:48 +00:00
Lorenzo Colitti
4293069bf3 Merge "Device SELinux policy for secure persistent netd storage" into oc-dr1-dev 2017-07-12 07:57:42 +00:00
Jeff Vander Stoep
c0ac85d203 Merge "ueventd: remove redundant rules" into oc-dr1-dev
am: 6544bd52b8

Change-Id: I798526e95e460ba0993fd4a50f3ba1d09e29972a
2017-07-12 05:39:07 +00:00
TreeHugger Robot
6544bd52b8 Merge "ueventd: remove redundant rules" into oc-dr1-dev 2017-07-12 05:33:36 +00:00
Jayachandran Chinnakkannu
15bfadeb19 Merge "Set persist.radio.always_send_plmn to true" into oc-dr1-dev
am: 338e14671f

Change-Id: Ic95150003ba86a6e17c6ece3365cb7620c5cb135
2017-07-12 05:21:04 +00:00
Jayachandran Chinnakkannu
338e14671f Merge "Set persist.radio.always_send_plmn to true" into oc-dr1-dev 2017-07-12 05:14:48 +00:00
Sundong Ahn
0a53f302a5 Merge "Revert "configstore: applied uprev of configstore"" into oc-dr1-dev
am: e9ae784048  -s ours

Change-Id: I96c9f406fbb2c4aaef9136490ecd7c733d2683eb
2017-07-12 02:23:06 +00:00
TreeHugger Robot
e9ae784048 Merge "Revert "configstore: applied uprev of configstore"" into oc-dr1-dev 2017-07-12 02:18:15 +00:00
Jayachandran C
2be5177493 Set persist.radio.always_send_plmn to true
Set persist.radio.always_send_plmn to true to force read PLMN
name instead of standard EONS(SPN) for manual network search.

This change is needed to avoid duplicate entries shown in
manual network selection result.

Side effect:
If a MVNO SIM card is inserted, manual network search will list
actual network name instead of virtual operator name.

Test: Verified manual selection doesn't display duplicate entries

Bug: 62925374
Change-Id: Id1d308c74e5bc878169911068743afce61ad3d10
2017-07-11 18:40:44 -07:00
Adrian Salido
f773075de7 Merge "Power: Fix interaction boost calculation" into oc-dr1-dev
am: 3283943836

Change-Id: Ic1e7aa38d25bedf32c4cd110309b4398decbbdbb
2017-07-11 23:50:43 +00:00
TreeHugger Robot
3283943836 Merge "Power: Fix interaction boost calculation" into oc-dr1-dev 2017-07-11 23:43:49 +00:00
Haynes Mathew George
fac1c410b7 Merge "audio: Change deep buffer output profile bit width to 24 bit packed." into oc-dr1-dev
am: 2bcf425fd5

Change-Id: I1359ffb1e6efb016759b186eb5423054c00c5a08
2017-07-11 21:12:15 +00:00
TreeHugger Robot
2bcf425fd5 Merge "audio: Change deep buffer output profile bit width to 24 bit packed." into oc-dr1-dev 2017-07-11 21:08:56 +00:00
Adrian Salido
a09dac5dad Power: Fix interaction boost calculation
Interaction handler has a check to ignore duplicate interaction requests
if previous covers current one. However the previous request could
finish early if idle is detected, need to account for this condition.

Bug: 63116225
Change-Id: I1a128eb8fe3c2a3daa7f48bc73cd5f07d5b1ae5b
2017-07-11 14:02:30 -07:00
Michael Wright
c4674ecac3 Allow system_server to load input device configurations
am: 2f3b0f2af3

Change-Id: Ib3ec602d03af32976c3de9490c31733670c8d03b
2017-07-11 18:20:27 +00:00
Jeff Vander Stoep
33e9c267ca ueventd: remove redundant rules
Ueventd is now granted write access to all files in /sys
in core policy.

avc:  denied  { write } for  pid=790 comm="ueventd" name="uevent"
dev="sysfs" ino=52014 scontext=u:r:ueventd:s0
tcontext=u:object_r:sysfs_usb_device:s0 tclass=file

Bug: 63147833
Test: build
Change-Id: I61f742a6151fe37ec99654bda6074f055a84a163
2017-07-11 07:55:12 -07:00
Michael Wright
2f3b0f2af3 Allow system_server to load input device configurations
Test: flash and use PointerLocation to observe size
Bug: 62871286
Change-Id: I5588b7b1a4d948446b0e1e9e8d5b32c9aabc1e42
2017-07-11 14:06:08 +00:00
David Lin
ca682e2e2f Merge "audio: enable adsp subsys restart" into oc-dr1-dev
am: 13c1c216b2

Change-Id: I4155f88494e7c466ccc3582763a148ab60cbe1c9
2017-07-11 01:51:21 +00:00
David Lin
13c1c216b2 Merge "audio: enable adsp subsys restart" into oc-dr1-dev 2017-07-11 01:44:03 +00:00
David Lin
a55866365b audio: enable adsp subsys restart
This patch enables subsys restart feature for adsp.

Bug: 63314860
Test: QXDM send_data 75 37 03 48
Change-Id: I4e0e337238ee765294b591270165d8d707d349e0
Signed-off-by: David Lin <dtwlin@google.com>
2017-07-11 01:43:01 +00:00
Lorenzo Colitti
77e8a62770 Device SELinux policy for secure persistent netd storage
This is used to persist RFC 7217 stable secrets across device reboots.
For now this is device-specific; in future releases it will be moved
to public sepolicy.

Bug: 17613910
Test: stable_secret is generated on first use and persists across reboots
Test: "adb shell getprop persist.netd.stable_secret" doesn't work after "adb unroot"
Change-Id: I0a609c724799a15b1926e62534c16810d34f2275
2017-07-11 10:27:51 +09:00
Wei Wang
e25b3d87e6 Merge "Enable Encoder hint for camera powersaving" into oc-dr1-dev
am: b02fb17265

Change-Id: I98209d95ed47a8427d80a5a5039f48755db286be
2017-07-10 23:00:14 +00:00
Wei Wang
b02fb17265 Merge "Enable Encoder hint for camera powersaving" into oc-dr1-dev 2017-07-10 22:51:47 +00:00
Wei Wang
3b189d337f Enable Encoder hint for camera powersaving
- Hook up Encoder hint with CameraHal
- Remove dead code for EAS kernel for decoder hint and camera preview

This CL will enable powerhint for CameraHal to cap Big CPU
Cluster max freq to 1.958 Ghz.

Bug: 38000354
Bug: 62354242
Bug: 63039461
Test: Build and test camera preview on
Change-Id: I13e93915499f6cc83335b72ab2076d90bc9edfcc
2017-07-10 13:13:04 -07:00
Karthik Ravi Shankar
8f6398b72e Merge "Fix DVR cpusets for wahoo" into oc-dr1-dev
am: 4dc9960c82

Change-Id: I8126d8e797007acbdef05afd59c4af3a365e8b81
2017-07-10 19:20:24 +00:00
TreeHugger Robot
4dc9960c82 Merge "Fix DVR cpusets for wahoo" into oc-dr1-dev 2017-07-10 19:16:33 +00:00
Sundong Ahn
6f9719e2a4 Revert "configstore: applied uprev of configstore"
This reverts commit aee1b828f7.

Configstore was up-revisioned from 1.0 to 1.1. However no new
APIs were added to 1.1. Therefore configstore in dr1 will be down
revisioned to 1.0.

Bug: 63440035
Test: build & run
Change-Id: I5713c6f38a18b2669eb9514f7f7c84359e736e52
Merged-In: I64930ca7dfceb66a1cf7a52b43fd378810ff8dad
2017-07-10 15:36:42 +09:00
Sooraj Sasindran
ef867667ba Merge "Do not drop packets" into oc-dr1-dev
am: 09e618ae3a

Change-Id: Iaa845745b77d75ee20067665305ea40e3096a072
2017-07-07 23:10:13 +00:00
jiwon912.choi
6042685672 liblight: Change method to get LP mode brightness
am: 98a24a3603

Change-Id: I0c5f7bd69cf66cca7986124dfae53306c2a71b8e
2017-07-07 23:10:04 +00:00
Sooraj Sasindran
09e618ae3a Merge "Do not drop packets" into oc-dr1-dev 2017-07-07 23:05:55 +00:00
jiwon912.choi
98a24a3603 liblight: Change method to get LP mode brightness
Bug : 62663757

If sys.display.low_persistence_mode_brightness is set, get brightness
from sys.display.low_persistence_mode_brightness.

Change-Id: I21a7583f535f8797300bab738cc4c8805ca06b90
2017-07-07 13:29:59 -07:00
Tao Bao
3b74e2075a Merge "Grant update_verifier sysfs access." into oc-dr1-dev
am: 81cec4011b

Change-Id: Ia8040c634bce08c7f6cbafdd3570c44856f8ecc9
2017-07-07 17:43:47 +00:00
Tao Bao
81cec4011b Merge "Grant update_verifier sysfs access." into oc-dr1-dev 2017-07-07 17:28:35 +00:00
Sooraj Sasindran
d0e8fe363c Do not drop packets
Do not drop packets based upon enqueue sequence
to avoid freeze.

Bug=63274801

Change-Id: I064dfc2775be104096566dff0c1638ac04cd7fc4
2017-07-07 10:12:23 -07:00
Patrick Tjin
5090484fba Merge changes from topic 'elabel' into oc-dr1-dev
am: 8014ac1c9a

Change-Id: Id1431b3ef7d37ab6723253e2abb400981297798e
2017-07-07 15:51:50 +00:00
TreeHugger Robot
8014ac1c9a Merge changes from topic 'elabel' into oc-dr1-dev
* changes:
  Add copy from /persist/elabel to /data/misc/elabel
  Add permissions for elabel data access
2017-07-07 15:39:47 +00:00
Patrick Tjin
4402ccfb27 Add copy from /persist/elabel to /data/misc/elabel
Bug: 62837579
Test: place test files in /persist/elabel, check that they are copied to /data/misc/elabel on boot
Change-Id: Id29e7c7c01ed54bf4d2f488cfa6dba51046bc5bf
Merged-In: Id29e7c7c01ed54bf4d2f488cfa6dba51046bc5bf
2017-07-07 03:04:46 +00:00
Jeff Vander Stoep
0e1346c32c Add permissions for elabel data access
Allow init to copy elabel data from /persist/elabel to
/data/misc/elabel. Allow settings app to access elabel data
from /data/misc/elabel.

Bug: 62837579
Change-Id: Ie2241abe8c2384a537b001a90830a3f42c566748
Merged-In: Ie2241abe8c2384a537b001a90830a3f42c566748
2017-07-07 03:03:52 +00:00
Andrew Chant
9ad43f3801 Merge "Enable ramdump on debug.htc.ramdump.crash" into oc-dr1-dev
am: f00d7ba646

Change-Id: Idf06bb91a4d199180e97e71418d9a6560d1d20a2
2017-07-07 02:47:07 +00:00
TreeHugger Robot
f00d7ba646 Merge "Enable ramdump on debug.htc.ramdump.crash" into oc-dr1-dev 2017-07-07 02:39:23 +00:00
Keun-young Park
05de229991 Merge "add rmt_storage to "shutdown critical"" into oc-dr1-dev
am: 92f59e7bf0

Change-Id: I9a7c0c96129be726ea2858dab5f0a83d5a07c413
2017-07-07 02:32:21 +00:00
Siddharth Ray
07b52a0836 Merge "Wahoo sepolicy changes" into oc-dr1-dev
am: 271fd0c603

Change-Id: I517b359636cbffca257b848ca7f3cba1700d8b73
2017-07-07 02:32:09 +00:00
Ruchi Kandoi
4e04b9271e Merge "libnfc-brcm.conf changes for NCI2.0" into oc-dr1-dev
am: c0622b2134

Change-Id: I40bed9d9646b089881d6229d3be7db139c5b6a8f
2017-07-07 02:22:57 +00:00
TreeHugger Robot
92f59e7bf0 Merge "add rmt_storage to "shutdown critical"" into oc-dr1-dev 2017-07-07 02:11:43 +00:00
TreeHugger Robot
271fd0c603 Merge "Wahoo sepolicy changes" into oc-dr1-dev 2017-07-07 02:09:47 +00:00
Andrew Chant
dceb04a94f Enable ramdump on debug.htc.ramdump.crash
Enable ramdump on a live system by enabling the
property debug.htc.ramdump.crash.

This property is protected by selinux policy
with the label ramdump_prop.

Bug: 62437259
Test: forced ramdump from Ramdump Uploader app.
Change-Id: Ifa9b7cf22749c0686e7d01ca2a4fc10dbd4b729c
2017-07-06 17:43:43 -07:00
Keun-young Park
fca9e0cc79 add rmt_storage to "shutdown critical"
- should be kept to write modem data befure shutdown.

bug: 37626581
Test: build only

Change-Id: I8ce1c590a84fb0ad04a93c135c1b1f86bc59a69f
2017-07-06 22:58:41 +00:00
Haynes Mathew George
a5dee775a7 audio: Change deep buffer output profile bit width to 24 bit packed.
Change bit_width of the deep buffer output profiles to 24 bit

Test: test all audio paths
Bug: 62918461

Change-Id: Ie79f74fd4540749af0269da5f73143406e519d68
2017-07-06 15:58:23 -07:00
Wei Wang
640e5c108a Merge "init.hardware.rc: shutdown ssr_setup early to avoid subsystem restart" into oc-dr1-dev
am: ac6bf2845b

Change-Id: I5f81e9c3e60d5c8009c9332df4e8296d502a37a3
2017-07-06 22:49:04 +00:00
TreeHugger Robot
c0622b2134 Merge "libnfc-brcm.conf changes for NCI2.0" into oc-dr1-dev 2017-07-06 22:39:45 +00:00