TreeHugger Robot
4d2e138f7d
Merge "Removing init_power from individual permissive domain."
2017-04-25 06:39:52 +00:00
TreeHugger Robot
aa83795f2f
Merge "Removing permissive mode on pd_mapper domain."
2017-04-25 06:32:43 +00:00
Max Bires
34ef0ea4ae
Removing permissive mode on pd_mapper domain.
...
Bug: 34784662
Test: pd_mapper is in enforcing and the phone functions normally
Change-Id: I3306fb67dcecb8c256688312f5929be1599da10d
2017-04-24 22:07:39 -07:00
Max Bires
5c3da1d867
Removing init_power from individual permissive domain.
...
Bug: 34784662
Test: init_power is no longer in permissive mode and the device
functions normally
Change-Id: I944ff957b84140a88b4622dabf528ac634a4aa28
2017-04-24 22:06:10 -07:00
Max Bires
153209ac9d
Fixing camera app not launching
...
denied { read } for pid=9669 comm="id.GoogleCamera"
name="u:object_r:camera_prop:s0" dev="tmpfs" ino=17770
scontext=u:r:untrusted_app:s0:c512,c768
tcontext=u:object_r:camera_prop:s0 tclass=file
Bug: 37633957
Test: Camera launches
Change-Id: I2b68a13eaea0ee83e83f8e92cfda9d46c4531060
2017-04-24 19:56:38 -07:00
TreeHugger Robot
2021e7ad05
Merge "Adding allows to fix perfd and setup_wizard denials"
2017-04-25 02:31:57 +00:00
Max Bires
3d06ccc559
Adding allows to fix perfd and setup_wizard denials
...
denied { read write } for pid=1361 comm="Binder:1361_4" name="sdd4"
dev="tmpfs" ino=10187 scontext=u:r:system_server:s0
tcontext=u:object_r:block_device:s0 tclass=blk_file
denied { write } for pid=805 comm="perfd" name="scaling_min_freq"
dev="sysfs" ino=29879 scontext=u:r:perfd:s0
tcontext=u:object_r:sysfs_devices_system_cpu:s0 tclass=file
Test: Startup wizard no longer crashes a few times before working
Change-Id: I85425e00d1b834d0775ec940befec4ecee514df7
2017-04-24 23:24:20 +00:00
TreeHugger Robot
ef4927ef50
Merge "Added allowing at_device to port-bridge."
2017-04-24 22:31:42 +00:00
Max Bires
2238a616bc
Fixing boot blocking selinux policy.
...
Following denials were blocking boot:
denied { read } for pid=589 comm="vold"
name="u:object_r:tee_listener_prop:s0" dev="tmpfs" ino=17236
scontext=u:r:vold:s0 tcontext=u:object_r:tee_listener_prop:s0
tclass=file
denied { read } for pid=555 comm="android.hardwar"
name="u:object_r:tee_listener_prop:s0" dev="tmpfs" ino=17236
scontext=u:r:hal_keymaster_qti:s0
tcontext=u:object_r:tee_listener_prop:s0 tclass=file
denied { read } for pid=555 comm="android.hardwar"
name="u:object_r:tee_listener_prop:s0" dev="tmpfs" ino=17236
scontext=u:r:vold:s0
tcontext=u:object_r:tee_listener_prop:s0 tclass=file
Bug: 37633957
Test: Device boots
Change-Id: I6be2bafde9a6f1d14802cfa39b170c55858a4d36
2017-04-24 21:54:01 +00:00
Kyunam.jo
f22572013b
Added allowing at_device to port-bridge.
...
denied { read write } for pid=749 comm="port-bridge" name="at_mdm0" dev="tmpfs" ino=22585 scontext=u:r:port-bridge:s0 tcontext=u:object_r:at_device:s0 tclass=chr_file permissive=0
denied { read write } for pid=749 comm="port-bridge" name="at_mdm0" dev="tmpfs" ino=22585 scontext=u:r:port-bridge:s0 tcontext=u:object_r:at_device:s0 tclass=chr_file permissive=0
denied { read write } for pid=749 comm="port-bridge" name="at_usb0" dev="tmpfs" ino=21293 scontext=u:r:port-bridge:s0 tcontext=u:object_r:at_device:s0 tclass=chr_file permissive=0
Bug: 37628525
Test: Taimen is no longer blocked on boot
Change-Id: Ib2e1443471c822d20627286b090b2edc4de9578b
2017-04-24 14:12:49 -07:00
Max Bires
d2f7877baf
Setting SELinux back to enforcing mode.
...
Sanity testing indicates the phone is stable under an enforcing
policy, and that OTAs will be functional.
Bug: 34784662
Test: Device boots
This reverts commit fb4eaa89a1 .
Change-Id: Ib9338485e3aab0bc04e42011b52710ddfa711b4f
2017-04-24 17:38:57 +00:00
Siddharth Ray
036084830d
Merge "Location overlay refactoring 2/3"
2017-04-24 17:23:58 +00:00
TreeHugger Robot
990d8690d9
Merge "Moving these into permissive so global enforcing can be turned on."
2017-04-23 20:00:11 +00:00
Max Bires
a3e68ffd51
Moving these into permissive so global enforcing can be turned on.
...
There are some issues with wi-fi calling that need these to be
individually flipped into permissive for now so that they can continue
to function.
Test: Wi-Fi calling works
Change-Id: Ib8dff8c5a6a9e7a0d702e558a950ce7315f78881
2017-04-23 11:52:02 -07:00
Thierry Strudel
0b19015b63
Merge changes from topic 'avb'
...
* changes:
init.hardware.rc: start qseecomd on fs
manifest.xml: add gatekeeper and keymaster definitions
Add sepolicies for binderized QCOM KM 3.0 and GK 1.0 HAL
device: don't use generic GK and KM HALs
device: add frp prop
2017-04-22 01:34:07 +00:00
TreeHugger Robot
9e55f530d9
Merge "VR hal to choose thermal config"
2017-04-22 00:51:40 +00:00
TreeHugger Robot
9d112b2c4f
Merge "wahoo: move fluence config to common code"
2017-04-21 23:45:32 +00:00
Thierry Strudel
7cb682c819
init.hardware.rc: start qseecomd on fs
...
qseecomd needs /dev/block/bootdevice
vold needs keymaster that needs qseecomd
Change-Id: I2080d711ea9c1427f30a4a457a95fa356b026278
Signed-off-by: Thierry Strudel <tstrudel@google.com >
2017-04-21 16:37:22 -07:00
Thierry Strudel
02b1b43da5
manifest.xml: add gatekeeper and keymaster definitions
...
Also fix the drm HIDL indentation
Change-Id: I1c2eb8719adfc0b4f0cf17e21badd188bba36274
Signed-off-by: Thierry Strudel <tstrudel@google.com >
2017-04-21 16:37:22 -07:00
Roopesh Rajashekharaiah Nataraja
0d3ddf604b
Add sepolicies for binderized QCOM KM 3.0 and GK 1.0 HAL
...
Change-Id: Icb480b1072a70a7afd1296dc6feaec045d610b7a
2017-04-21 16:37:22 -07:00
Thierry Strudel
cb0d612923
device: don't use generic GK and KM HALs
...
Change-Id: I2f862dcc0639a96d1cb0f4c613d0d18d4847ca95
2017-04-21 16:37:22 -07:00
alvin_liang
e06ff3db58
device: add frp prop
...
Bug: 37455788
Change-Id: I9410ba17530a16812d86627e69f95122615a82c4
2017-04-21 16:37:22 -07:00
Jayachandran Chinnakkannu
e9f73e1064
Merge "Set RIL_DATA_REG_STATE_CONDITIONAL_REPORT to true"
2017-04-21 21:54:28 +00:00
Jayachandran C
580fb6a4a8
Set RIL_DATA_REG_STATE_CONDITIONAL_REPORT to true
...
persist.radio.data_con_rprt=true
This will enable RIL to report DATA_REGISTRATION_STATE RAT IWLAN
if device is IMS registered for voice over Wifi. Reporting IWLAN
in this use case is needed for telephony to use IWLAN RAT for APN
selection for data call (ex. MMS) over IWLAN use cases.
Bug: 37326164
Change-Id: I5d102a70b67aa098de015fb72038edccb5c3fd67
2017-04-21 21:51:15 +00:00
Alex Klyubin
e8a357824a
Grant device-specific hwservicemanager access
...
Test: In Google Camera app, take photo (HDR+ and conventional),
record video (slow motion and normal), and check that photos
look fine and videos play back with sound.
Test: Get location fix in Google Maps
Test: Make and receive a phone call, check that sound works both ways
and that disconnecting the call from either end works fine.
Test: Run RsHelloCompute RenderScript demo app
Test: Run fast subset of media CTS tests:
make and install CtsMediaTestCases.apk
adb shell am instrument -e size small \
-w 'android.media.cts/android.support.test.runner.AndroidJUnitRunner'
Test: Play music using Google Play music
Bug: 34454312
Change-Id: I7d70a240188e1f4eea1a57ed3ae33a1d7ee79559
2017-04-21 13:06:23 -07:00
Badhri Jagan Sridharan
5fb5ea21b9
Add selinux rules for dumping usb debugfs logs
...
Bug: 36178613
Test: ran adb bugreport and noticed the logs to be dumped.
Change-Id: I24ba5883f7ffd5faf5bd02d0dc362feb30011c09
2017-04-21 18:38:38 +00:00
Badhri Jagan Sridharan
46891afa28
Collect usb type-c logs
...
This CL makes bugreports to contain logs related to USB port
configuration.
Bug: 36178613
Test: ran adb bugreport and noticed the logs to be dumped.
Change-Id: I1f57cb2f481c7bb1bd108812dfa716f7db04ef1d
2017-04-21 18:29:17 +00:00
Wei Wang
6fc920280b
VR hal to choose thermal config
...
Test: thermal config changed enter/exit VR mode in muskie
Bug: 36514493
Change-Id: I3711f94e667684710afcf812dcb316a9a2ba86ef
2017-04-21 11:21:57 -07:00
Patrick Tjin
467792aa44
wahoo: move fluence config to common code
...
Test: build
Change-Id: Iee60dddfc7f018a6545cda2b34e3b621b49bbd39
2017-04-21 08:51:22 -07:00
Christopher Ferris
654e979e90
Merge "Move devices to kryo."
2017-04-21 00:26:10 +00:00
Brian Duddie
16394512f1
Merge "Enable SLPI SSR"
2017-04-20 22:14:03 +00:00
Christopher Ferris
b1b6933647
Move devices to kryo.
...
Bug: 36728278
Test: Built new device and verified that the 32 bit and 64 bit
Test: memcpy/memset are faster.
Test: Ran bionic unit tests.
Change-Id: Iccddc5160ffeb4d1db121ce2750cf287558ea718
2017-04-20 15:06:51 -07:00
Etan Cohen
1f9b70eda2
Merge changes from topic 'bringup_aware'
...
* changes:
[AWARE] Enable Wi-Fi Aware feature support.
Enable NAN data path
2017-04-20 21:54:08 +00:00
Max Bires
1cedb2bc80
Merge "declare keystore and vold as passthrough HAL clients of keymaster"
2017-04-20 20:03:23 +00:00
Chris Thornton
2073fdd9b6
Merge "Use update usecase in ACDB files for music detector."
2017-04-20 16:58:47 +00:00
TreeHugger Robot
2ea8cd74d1
Merge "Declare location of device manifest"
2017-04-20 02:57:43 +00:00
TreeHugger Robot
ece26e6cb2
Merge "Remove QShrink database file from bugreport"
2017-04-20 01:54:44 +00:00
Chris Thornton
347a9e5def
Use update usecase in ACDB files for music detector.
...
Test: On device.
Change-Id: If26e99ed13d64d6d75f2b241407536a3b98bd4d1
2017-04-19 18:53:17 -07:00
Siddharth Ray
cecfd23b11
Location overlay refactoring 2/3
...
Removed redundant settings from gps.conf
Removed default framework settings from devices folder
Change-Id: Id8d786410fd1bf3d54f458781afcd4fe127de117
2017-04-19 18:29:26 -07:00
Meng Wang
f940092fad
Merge "Fix freedom mobile APN"
2017-04-20 00:36:55 +00:00
TreeHugger Robot
3d0f0c8ec1
Merge "Adding file_contexts and allows that stopped boot in enforcing."
2017-04-20 00:05:11 +00:00
Etan Cohen
5232d40757
[AWARE] Enable Wi-Fi Aware feature support.
...
Enable the Wi-Fi Aware feature on:
- Add feature to framework
- Device HAL feature
Bug: 36088628
Test: integration (non-data-path) sl4a tests pass
Change-Id: I3e2dca6477b27b466e2b074c70595813fe365973
2017-04-19 16:04:24 -07:00
Subhani Shaik
9d144330ce
Enable NAN data path
...
Bug: 37166810
Change-Id: Ibccc9c36a25799337287add3b124c6e03dc50c26
2017-04-19 16:04:17 -07:00
Meng Wang
b972b3c8e7
Fix freedom mobile APN
...
Manual sync of cl/153075483
Bug: 35951889
Test: make
Change-Id: I7e46757dc0c6ebd185b61484e4fb21c05634e086
2017-04-19 16:01:47 -07:00
Max Bires
55f59017a0
Adding file_contexts and allows that stopped boot in enforcing.
...
At some point, changes were checked in that broke enforcing mode. The
following denials should now be fixed:
denied { read } for pid=15 comm="kworker/1:0" name="slpi_v2.b12"
dev="sda
20" ino=369 scontext=u:r:kernel:s0 tcontext=u:object_r:vendor_file:s0
tclass=file
denied { read } for pid=580 comm="vold"
name="android.hardware.keymaster@3.0-impl.so" dev="sda20" ino=802
scontext=u:r:vold:s0 tcontext=u:object_r:vendor_file:s0 tclass=file
denied { read } for pid=779 comm="keystore"
name="android.hardware.keymaster@3.0-impl.so" dev="sda20" ino=802
scontext=u:r:keystore:s0 tcontext=u:object_r:vendor_file:s0 tclass=file
denied { search read open } for pid=772 comm="port-bridge"
name="msm_subsys" dev="sysfs" ino=18985 scontext=u:r:port-bridge:s0
tcontext=u:object_r:sysfs_msm_subsys:s0 tclass=dir
denied { read } for pid=772 comm="port-bridge" name="name" dev="sysfs"
ino=34583 scontext=u:r:port-bridge:s0
tcontext=u:object_r:sysfs_msm_subsys:s0 tclass=file
denied { read } for pid=772 comm="port-bridge" name="subsys0"
dev="sysfs" ino=34591 scontext=u:r:port-bridge:s0
tcontext=u:object_r:sysfs_msm_subsys:s0 tclass=lnk_file
denied { search } for pid=772 comm="port-bridge" name="soc0" dev="sysfs"
ino=51157 scontext=u:r:port-bridge:s0 tcontext=u:object_r:sysfs_soc:s0
tclass=dir
denied { read open getattr } for pid=772 comm="port-bridge"
name="soc_id" dev="sysfs" ino=51161 scontext=u:r:port-bridge:s0
tcontext=u:object_r:sysfs_soc:s0 tclass=file
denied { read write } for pid=4417 comm="android.hardwar"
name="vndbinder" dev="tmpfs" ino=17743 scontext=u:r:hal_drm_default:s0
tcontext=u:object_r:vndbinder_device:s0 tclass=chr_file
denied { read } for pid=3980 comm="m.android.phone"
name="libimsmedia_jni.so" dev="sda20" ino=918 scontext=u:r:radio:s0
tcontext=u:object_r:vendor_file:s0 tclass=file
denied { search } for pid=512 comm="ueventd" name="firmware" dev="sda41"
ino=246 scontext=u:r:ueventd:s0
tcontext=u:object_r:vendor_firmware_file:s0 tclass=dir
denied { read } for pid=1279 comm="ueventd" name="a530_pm4.fw"
dev="sda41" ino=251 scontext=u:r:ueventd:s0
tcontext=u:object_r:vendor_firmware_file:s0 tclass=file
Bug: 34784662
Bug: 37438752
Test: The phone successfully boots again
Change-Id: I21d9dc0f60b2cf383c66f8806eed1e1a83367c25
2017-04-19 15:35:38 -07:00
Sandeep Patil
3be52c8f6e
declare keystore and vold as passthrough HAL clients of keymaster
...
This is a temporary fix until b/35810138 is resolved and keymaster is
enabled as binderized HAL on wahoo. This MUST be reverted with the fix
for b/35810138
Bug: 34784662
Test:
Change-Id: I298f4cd20e6471c01e8aff391ea6f7b802621f24
Signed-off-by: Sandeep Patil <sspatil@google.com >
2017-04-19 15:03:10 -07:00
Michael Schwartz
db0322a532
Declare location of device manifest
...
Bug: 36810913
Bug: 36983271
Test: make and inspect $OUT/vendor/manifest.xml
Change-Id: I2a3a6adc7193d95875729e93a987cb7c11aab7aa
2017-04-19 14:50:10 -07:00
Brian Duddie
d33c00d082
Enable SLPI SSR
...
Allow SLPI to crash and restart without bringing down the system.
Bug: 37503415
Test: load, confirm SSR entry gets set
Change-Id: I87fa72f557bf37add17f3a908e589dbc6f0c722e
2017-04-19 13:46:41 -07:00
Jie Song
df248b7c4c
Remove QShrink database file from bugreport
...
Bug: 37463985
Test: No qdb file in bugreport
Change-Id: If3d6cd8a580b096b8ac321151363e3d49ef3e0d4
2017-04-19 18:07:08 +00:00
TreeHugger Robot
9e627ea90b
Merge "power_profile: Fix overlays for wahoo"
2017-04-19 00:40:04 +00:00