Maggie White
7b6ff9bc56
Add sysfs thermal permissions for dumpstate
...
Dumpstate currently cannot print temperature readings because it doesn't
have permissions to read thermal sensor values via sysfs. This commit
adds read permissions for sysfs_thermal.
Test: adb bugreport
Bug: 63602647
Change-Id: I21dd6f7bcaabaff722c8847b0958c725d661f489
2017-08-02 01:57:22 +00:00
TreeHugger Robot
ab0968ecf6
Merge "msm_irqbalance: disable irq-balancing due to jank regressions" into oc-dr1-dev
2017-08-02 01:38:50 +00:00
John Dias
4ff2440530
msm_irqbalance: disable irq-balancing due to jank regressions
...
Bug: 64251375
Test: boot, verify msm_irqbalance not running, run jank test
Change-Id: I5a325d43263ddda3b61f16b528cccf9c78848a71
2017-08-01 16:33:41 -07:00
TreeHugger Robot
7386cd87a7
Merge "sepolicy: Add com.google.arcore as alias to com.google.tango" into oc-dr1-dev
2017-08-01 20:14:18 +00:00
Vineeta Srivastava
e2b1042d54
Merge "wahoo: init: ensure sensor registry directory is available" into oc-dr1-dev
2017-08-01 18:13:49 +00:00
TreeHugger Robot
ca62fc7d12
Merge "haptics: enable low-power trigger mode for edge sense" into oc-dr1-dev
2017-08-01 16:42:33 +00:00
Max Shi
f4a04d5c3d
wahoo: init: ensure sensor registry directory is available
...
Test: remove /persist/sensors directory from device
Test: flash image with this change
Test: verify that sensor stack recovers
Bug: 64065874
Change-Id: Ib7efdb44512badbf3d1f443aecb1993359dba402
2017-07-31 21:09:25 -07:00
Pat Tjin
653b9924d3
Merge "Change owner and permissions on pstore entries" into oc-dr1-dev
2017-08-01 04:04:23 +00:00
TreeHugger Robot
6ec569f9c8
Merge "sepolicy: allow camera HAL more access to easelcomm" into oc-dr1-dev
2017-08-01 00:34:32 +00:00
Patrick Tjin
5ff203223c
Change owner and permissions on pstore entries
...
Bug: 37554629
Bug: 37553996
Test: Walleye/Taimen able to post to dropbox
Change-Id: Ifdefd1164a42b79dcee691f21d96bda2c9628950
2017-08-01 00:27:02 +00:00
David Lin
2dc836a07b
haptics: enable low-power trigger mode for edge sense
...
This patch enables the low-power trigger mode for drv2624 to allow the
SLPI to trigger the leading edge of a gesture while AP is in suspend
mode.
Bug: 62658365
Test: manually toggle the trigger gpio to verity
Change-Id: Icb795867355dda9bb6987a78eb93c8af1dfb0577
2017-07-31 14:02:40 -07:00
TreeHugger Robot
ac85d615c5
Merge "irqbalance: add msm_irqbalance to wahoo" into oc-dr1-dev
2017-07-31 19:41:30 +00:00
TreeHugger Robot
52e42fedb5
Merge "wahoo: dumpstate: disable dumping of touch sensor data" into oc-dr1-dev
2017-07-31 19:14:52 +00:00
TreeHugger Robot
ff61a6fa2c
Merge "allow netmgrd to use INetd hal" into oc-dr1-dev
2017-07-31 18:34:37 +00:00
Trevor Bunker
2b76712489
sepolicy: allow camera HAL more access to easelcomm
...
Fixes denial:
denied { getattr } for path="/dev/easelcomm-client" dev="tmpfs"
ino=17584 scontext=u:r:hal_camera_default:s0
tcontext=u:object_r:easel_device:s0 tclass=chr_file permissive=0
Bug: 64115673
Test: Camera CTS
Change-Id: I2fdbd0b82b1057cb3cdd4a53af008332f250d53a
2017-07-31 10:45:40 -07:00
Steve Pfetsch
d668697f69
wahoo: dumpstate: disable dumping of touch sensor data
...
The ftm4 driver's sysfs command interface is currently too fragile
to read from reliably.
Bug: 64146878
Bug: 63854271
Change-Id: If4a82db1aefc8e1b81e5057ce1e8c187a29ec2af
2017-07-31 17:00:46 +00:00
John Dias
1a78d72187
irqbalance: add msm_irqbalance to wahoo
...
Bug: 63632610
Test: boot, verify that irqs are pinned
Change-Id: I9a2132523f59b8a0a91c846174ce259b1d0f1e7f
2017-07-31 09:57:36 -07:00
TreeHugger Robot
da1c0f3d9d
Merge "Remove service_contexts." into oc-dr1-dev
2017-07-30 08:55:25 +00:00
TreeHugger Robot
febf60eefd
Merge "Change encoder boost to 2s" into oc-dr1-dev
2017-07-29 04:28:34 +00:00
Niranjan Pendharkar
7b7530c0e6
allow netmgrd to use INetd hal
...
Remove permissions to read /data/misc/* (netd pid file).
Allow netmgrd to become client of INetd HAL.
Test: no denials
Bug:36682246
Change-Id: If7a120a74ced3e63eed6baea288e814a7a0e177e
2017-07-28 13:16:27 -07:00
Brian Duddie
f93a0d3c94
Merge "Allow sensors HAL/daemon to read diag timestamp switch" into oc-dr1-dev
2017-07-28 19:19:14 +00:00
Ranjith Kagathi Ananda
5cfbf95977
sepolicy: Add com.google.arcore as alias to com.google.tango
...
ARSDK adds a wrapper package with prefix com.google.arcore
BUG=64121848
Test: Basic sanity
Change-Id: Icce80ec416516f3ac11110aa9618929289936084
2017-07-28 11:50:28 -07:00
Stuart Scott
77f8984cf8
Merge "Add SEPolicy for collecting battery counters" into oc-dr1-dev
2017-07-28 18:45:21 +00:00
TreeHugger Robot
dc60ad3709
Merge "Tell platform brightness is bucketed in doze." into oc-dr1-dev
2017-07-28 18:32:53 +00:00
Brian Duddie
27a28b2bfc
Allow sensors HAL/daemon to read diag timestamp switch
...
Allow the sensors daemon and HAL to read the sysfs node that controls
the timestamp source to use when creating diag (QXDM/Pixel Logger) log
packets.
Denials:
avc: denied { search } for pid=758 comm=504F5349582074696D65722030
name="diagchar" dev="sysfs" ino=27415
scontext=u:r:hal_sensors_default:s0 tcontext=u:object_r:sysfs_diag:s0
tclass=dir permissive=1
avc: denied { read } for pid=758 comm=504F5349582074696D65722030
name="timestamp_switch" dev="sysfs" ino=27741
scontext=u:r:hal_sensors_default:s0
tcontext=u:object_r:sysfs_timestamp_switch:s0 tclass=file permissive=1
avc: denied { open } for pid=758 comm=504F5349582074696D65722030
path="/sys/module/diagchar/parameters/timestamp_switch" dev="sysfs"
ino=27741 scontext=u:r:hal_sensors_default:s0
tcontext=u:object_r:sysfs_timestamp_switch:s0 tclass=file permissive=1
avc: denied { search } for pid=774 comm="sensors.qcom" name="diagchar"
dev="sysfs" ino=27415 scontext=u:r:sensors:s0
tcontext=u:object_r:sysfs_diag:s0 tclass=dir permissive=1
avc: denied { read } for pid=774 comm="sensors.qcom"
name="timestamp_switch" dev="sysfs" ino=27741 scontext=u:r:sensors:s0
tcontext=u:object_r:sysfs_timestamp_switch:s0 tclass=file permissive=1
avc: denied { open } for pid=774 comm="sensors.qcom"
path="/sys/module/diagchar/parameters/timestamp_switch" dev="sysfs"
ino=27741 scontext=u:r:sensors:s0
tcontext=u:object_r:sysfs_timestamp_switch:s0 tclass=file permissive=1
Bug: 64124346
Test: enable Pixel Logger, monitor logcat/dmesg and confirm no SELinux
denials or permission denied error messages
Change-Id: I4f23be62e3d30674e57a0a8acfc33cc02fddbd9b
2017-07-28 10:06:04 -07:00
Martijn Coenen
cac92e14f0
Remove service_contexts.
...
These are binder services that are no longer served
from vendor processes, so they don't belong here.
"rcs" is still served, but from a system process,
so move it to private/service_contexts instead.
Bug: 36866029
Test: build, boot wahoo
Change-Id: I13364dcb7bc5734c1e0830360ec7d2ceb0312827
2017-07-28 12:57:21 +00:00
John Dias
39827459ce
Merge "Pre-opt SystemUI" into oc-dr1-dev
2017-07-28 06:44:10 +00:00
Pat Tjin
7b6dde6c64
Merge "Add ramoops decryption" into oc-dr1-dev
2017-07-28 03:03:42 +00:00
Wei Wang
68aaaa16ff
Change encoder boost to 2s
...
Bug: 62232453
Test: reprocessingPerformanceTestByCamera
Change-Id: If2a593ec5cc0fe2633a1ab904200cb50e40370d9
2017-07-27 16:11:42 -07:00
John Dias
e97ed83afe
Pre-opt SystemUI
...
SystemUI is getting deoptimized, possibly resulting in jank
(not yet validated); pre-optimize to avoid deoptimization for now.
Bug: 62832717
Bug: 35872915
Test: boot, check for vdex, run for a bit
Change-Id: Ia754db444eebaebf0ff2389ab66f6f1d486da994
2017-07-27 15:52:14 -07:00
Patrick Tjin
fe4a14cc0d
Add ramoops decryption
...
Bug: 37554629
Bug: 37553996
Test: Walleye/Taimen able to decrypt ramoops
Change-Id: I834460a0d8dc878aef511ebac47335eb30e53980
Merged-In: I834460a0d8dc878aef511ebac47335eb30e53980
2017-07-27 21:57:06 +00:00
Stuart Scott
e1c91d450a
Add SEPolicy for collecting battery counters
...
Bug: 63841211
Test: pts-tradefed run pts -m PtsHardwareInfo
Change-Id: I59f25fed1775eddb6f91c68b74f04b41b5777095
2017-07-27 11:46:14 -07:00
TreeHugger Robot
460d86b99e
Merge "Tell system the display blanks itself when leaving doze." into oc-dr1-dev
2017-07-27 17:03:12 +00:00
Santhosh Behara
d79f039fa2
media_codecs: Update concurrent-instances for secure decoders
...
Update the maximum concurrent-instances supported for secure decoders
Bug: 63939629
Change-Id: Ibad23668bd616b42e85cab20185894e4ec3293c1
2017-07-26 23:19:39 -07:00
Yueyao Zhu
dd7d14380c
Set port type to sink in charger mode
...
Bug: 62212404
Change-Id: Ib45f4877b6a06cb7a549cc45fec6b815dbd28950
Signed-off-by: Yueyao Zhu <yueyao@google.com >
2017-07-26 22:54:48 -07:00
TreeHugger Robot
a99fb8d7ce
Merge "file_context: make libadsprpc a same_process_hal_file .. again." into oc-dr1-dev
2017-07-27 04:12:00 +00:00
TreeHugger Robot
c14fa2ba68
Merge "wahoo: don't reset launch hint early" into oc-dr1-dev
2017-07-27 02:06:11 +00:00
TreeHugger Robot
93788d1c87
Merge "init.hardware.rc: fix UFS device in charger" into oc-dr1-dev
2017-07-26 23:52:35 +00:00
Wei Wang
24fa372e83
init.hardware.rc: fix UFS device in charger
...
Bug: 64072712
Bug: 64022845
Test: boot from charger and check last kmsg
Change-Id: I8c890c55c9b578ae9e43be7f041dc2cbd4c80c15
2017-07-26 23:47:20 +00:00
TreeHugger Robot
541028e02a
Merge "SPN: JIO 4G instead of JIO." into oc-dr1-dev
2017-07-26 23:10:50 +00:00
TreeHugger Robot
fe272628f3
Merge "media: update codec performance data" into oc-dr1-dev
2017-07-26 22:53:47 +00:00
Tim Murray
a696e6b04a
wahoo: don't reset launch hint early
...
Change the launch hint duration to 1.25s and don't end the launch
mode early.
Test: launch camera
bug 63913311
Change-Id: If28129b50bdd5e73aa196bd7079ac847b5621e31
2017-07-26 15:13:09 -07:00
TreeHugger Robot
f0c9faf9f1
Merge changes from topic 'b38352281' into oc-dr1-dev
...
* changes:
USB: HAL: enable auto suspend for USB headsets
sepolicy: allow USB hal to access sysfs_usb_device nodes
USB: HAL: run as user root, group root system
2017-07-26 20:44:05 +00:00
Lajos Molnar
7afe0d362d
media: update codec performance data
...
Performance data based on releases OPD1.170523.002 to OPD1.170724.002
Bug: 38280830
Change-Id: I0e3b4dd5dd672e2ac07fb78e03e97145cb4fa2ac
2017-07-26 13:04:45 -07:00
Michael Wright
dace449e12
Tell platform brightness is bucketed in doze.
...
Bug: 64007419
Test: manual
Merged-In: Ib1ac6e2b18b6e4f990e107161f12baf4f1b791ee
Change-Id: Ib1ac6e2b18b6e4f990e107161f12baf4f1b791ee
2017-07-26 19:51:00 +01:00
Michael Wright
955de0fa4d
Tell system the display blanks itself when leaving doze.
...
Bug: 63531607
Test: manual
Merged-In: I39e4bcfd786606369aeba0c2df449ffbed8360b5
Change-Id: I39e4bcfd786606369aeba0c2df449ffbed8360b5
2017-07-26 19:50:43 +01:00
Yueyao Zhu
b9cd118403
USB: HAL: enable auto suspend for USB headsets
...
Adds a thread that handles add uevents of USB devices, and
enables auto suspend on that USB device (i.e. set power/control
to auto) if the device idProduct/idVendor is whitelisted.
The android kernel will already autosuspend audio devices,
however this enables autosuspend for the Google USB-C to
3.5mm adapter, which presents an HID-only interface when
no 3.5mm headset is connected.
Test: with the selinux and .rc changes for access permission
- MIR without headset: power/control set to auto
- MIR with headset: power/control set to auto
- regular mouse: power/control set to on
Bug: 38352281
Change-Id: I81572584ea02f6bdc814e70ab3439ab86c34a50a
2017-07-26 10:41:32 -07:00
Pat Tjin
476f136f60
Merge "sepolicy: Add aes block device to A/B OTA" into oc-dr1-dev
2017-07-26 17:38:05 +00:00
Patrick Tjin
7361627b1b
sepolicy: Add aes block device to A/B OTA
...
Bug: 64061369
Bug: 37554629
Change-Id: I172a17761fc20ede9175c881f9b35e76e09fc339
2017-07-26 15:33:56 +00:00
TreeHugger Robot
32046c2c3d
Merge "more vendor services to shutdown critical" into oc-dr1-dev
2017-07-26 07:08:27 +00:00