Commit Graph

1832 Commits

Author SHA1 Message Date
Sohani Rao
2611844e98 Offload HAL Service: Utilities
Provides the implementation of utilities to convert between
HIDL format of data types used in Offload HAL service and the format
used by CHRE. Added unit tests to verify conversions.

Bug: 32842314
Test: VTS and Unit tests
Change-Id: I26a1d9a8efe68cdacacd8226d0739ad40d2b339f
Merged-In: I26a1d9a8efe68cdacacd8226d0739ad40d2b339f
2017-08-28 14:00:55 -07:00
TreeHugger Robot
661be98e67 Merge "Revert "configstore: applied uprev of configstore"" into oc-mr1-dev 2017-08-28 04:52:23 +00:00
Sundong Ahn
abcd27e3e8 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 mr1 will be down
revisioned to 1.0.

Bug: 64999074
Test: build & run
Change-Id: I5713c6f38a18b2669eb9514f7f7c84359e736e52
2017-08-25 16:59:52 +00:00
TreeHugger Robot
45d69d4b0a Merge "Remove dup file_contexts label" into oc-mr1-dev 2017-08-25 01:13:25 +00:00
Jeff Vander Stoep
1fa31288a0 Remove dup file_contexts label
/dev/input(/.*)? u:object_r:input_device:s0

Is now in core policy. Remove from device specific policy.

Bug: 64954704
Test: build
Change-Id: Id16dccff58843e619e5197661f7ffabc22c3e213
2017-08-24 15:25:20 -07:00
TreeHugger Robot
be4475da4a Merge "Revert "Disable VNDK runtime enforcement temporarily"" into oc-mr1-dev 2017-08-24 12:19:44 +00:00
Jayachandran C
2123a3d5eb Remove SPN override for Vodafone from spn-conf.xml
am: b5c046327a  -s ours

Change-Id: If5b6c3750624ba1c4e67c600f3bc900b75960a70
2017-08-23 23:24:35 +00:00
Jayachandran C
b5c046327a Remove SPN override for Vodafone from spn-conf.xml
SPN override causes PAI OTA download even for Vodafone MVNO
SIM cards. Removing this override will make telephony to use
SIM card SPN as is for MVNOs.

Test: Following tests completed
 1) VF SIM card - PAI available
 2) OTELO SIM card - PAI not available

Bug: 64067798
Merged-In: I3d3e1b1d2dc38a73a657fe7f9220dd894f967c67
Change-Id: I88ca58fb748ef0c9a5d62d9b422906ab59c6c550
2017-08-23 16:37:51 +00:00
Wei Wang
2fe99a43f1 init.hardware.rc: wait for bootdevice symbolic creation
Bug: 64925999
Test: reboot with UART on for 20+ iterations
Change-Id: I7b574b166a6c2d2c7989e0b7c048fcb764b3983a
2017-08-22 12:10:46 -07:00
Jiyong Park
53590fd551 Revert "Disable VNDK runtime enforcement temporarily"
VNDK is enforced at runtime for wahoo.
This reverts commit dfcb2806f2.

Bug: 37192038
Test: wahoo boots to the UI
Test: basic functionalities work (camera, camcorder - including slow-mo,
wifi, bt, youtube, call, message)
Test: No regression on VTS and CTS (http://b/64817148)
2017-08-22 13:56:29 +09:00
Jiyong Park
dfcb2806f2 Disable VNDK runtime enforcement temporarily
Bug: 37192038
Test: /system/etc/ld.config.txt is without the [vendor] section.
Test: build and boot
Change-Id: I1432df091f9e5f8539a18c4c93f5d5cc459f3ef9
2017-08-22 13:16:13 +09:00
TreeHugger Robot
1b23989a07 Merge "media: update codec performance data (OPD1.170816.002)" into oc-mr1-dev 2017-08-19 02:39:36 +00:00
Wei Wang
0866dda0f8 Merge "Skip RAID autodetect" into oc-mr1-dev 2017-08-19 01:43:31 +00:00
Lajos Molnar
99176960e1 media: update codec performance data (OPD1.170816.002)
Performance data based on releases OPD1.170719.001 to OPD1.170816.002.

Bug: 64392992
Change-Id: Id49067a246baeb68d76659999de9ce61098d70ae
2017-08-18 23:41:24 +00:00
Wei Wang
e4205e7558 Skip RAID autodetect
Bug: 64848151
Test: Boot
Change-Id: Ic174b3c07ac71f94f08d13507805ddb02fde0f28
2017-08-18 15:02:33 -07:00
Wei Wang
62c9f4b097 Merge "init.hardware.rc: optimize boottime" into oc-mr1-dev 2017-08-18 20:53:40 +00:00
TreeHugger Robot
214e49d255 Merge "Enable BOARD_VNDK_VERSION=current." into oc-mr1-dev 2017-08-18 15:55:37 +00:00
TreeHugger Robot
16f6a5881d Merge "Fix potential racing by wall time change in USBhal" into oc-mr1-dev 2017-08-17 23:35:30 +00:00
Wei Wang
4341d45908 init.hardware.rc: optimize boottime
start qseecomd early
start insmod on early-init in parallel to coldboot

Bug: 64810143
Test: reboot test and fingerprint enrollment
Change-Id: I2249f93071db36eb03ebe4e3ca0ac63aaaad80f8
2017-08-17 15:39:24 -07:00
TreeHugger Robot
9686ce88bb Merge "Wifi connection hysteresis" into oc-mr1-dev 2017-08-17 22:21:29 +00:00
Vineeta Srivastava
f56a5b8a5f Merge "Make brightness ramp rates multiples of 60." into oc-dr1-dev
am: 450b68d7ff

Change-Id: I82dee442d1d0da7e51afdac292e6763ff91d0693
2017-08-17 03:24:16 +00:00
Vineeta Srivastava
450b68d7ff Merge "Make brightness ramp rates multiples of 60." into oc-dr1-dev 2017-08-17 03:07:47 +00:00
TreeHugger Robot
6627e394f7 Merge "sepolicy: change the sepolicy for cnss_diag" into oc-mr1-dev 2017-08-17 00:49:35 +00:00
John Dias
e5b53e3fd5 Merge "thermal: expose accurate thermistors in hal" into oc-dr1-dev
am: b7c424d990

Change-Id: Idd2b61c730afa3a42bbec48bddd4b1f89f0dea2f
2017-08-17 00:08:45 +00:00
TreeHugger Robot
b7c424d990 Merge "thermal: expose accurate thermistors in hal" into oc-dr1-dev 2017-08-16 23:00:40 +00:00
Michael Wright
fa9709b09a Make brightness ramp rates multiples of 60.
If ramp rates aren't even multiple of 60 then we're more likely to get
brightness changes that differ each frame, which can show up as a
stuttering in the animation.

Bug: 64514692
Test: made change, took systrace, saw smooth ramping
Change-Id: I48ec832f752a8aefb6185c1583141f2fb1a29e85
2017-08-16 22:34:33 +01:00
John Dias
2f75a0019a thermal: expose accurate thermistors in hal
A new thermistor was recently exposed on Taimen,
which shifted all the thermistor numbers, making
the hal innaccurate because it checks by number,
not name...

Bug: 62845934
Test: heat device and verify exactly when warning appears
Change-Id: I08e00296e622a85f5bbc45a7faf9b5024faacb10
2017-08-16 13:26:18 -07:00
Michael Plass
c216509135 Wifi connection hysteresis
Introduce a separate RSSI threshold for entry so there is some
hysteresis between entry and exit.

Bug: 64422319
Test: Unit tests
Change-Id: I0cf0b6e34baa3827dcaeefbb009fa04b071dd28b
2017-08-15 16:04:58 -07:00
Wei Wang
5934d8aab5 Fix potential racing by wall time change in USBhal
pthread_cond_timedwait used wall time so it might introduce racing,
pthread_cond_timedwait_monotonic_np is Android specific but it is being
deprecated. And now Android support pthread_condattr_setclock so use it
to wait on CLOCK_MONOTONIC instead.

Bug: 64623895
Test: USB switch function works, charging/MTP/PTP
Change-Id: I136533ff90ef1be2b042ef1e0829643f2f7aa968
2017-08-15 13:40:11 -07:00
Steven Moreland
3ad11b9d1f Enable BOARD_VNDK_VERSION=current.
Test: boots to UI, camera (incl video and slow motion)
Test: YouTube works, wifi works
Bug: 37342627
(cherry picked from commit 374c6b66fa)
Change-Id: I9ab52c1002733c6757614dfd888167742ddb0127
2017-08-15 16:27:46 +00:00
TreeHugger Robot
ff6c697cdf Merge "vndk: Add vndk_pacakge to PRODUCT_PACKAGES" into oc-mr1-dev 2017-08-15 10:16:16 +00:00
Ecco Park
d024c1334a sepolicy: change the sepolicy for cnss_diag
cnss_diag: type=1400 audit(0.0:65):
avc: denied { search } for name="diagchar" dev="sysfs" ino=27415
scontext=u:r:wcnss_service:s0 tcontext=u:object_r:sysfs_diag:s0
tclass=dir permissive=0

audit(1502477202.513:37783): avc: denied { read
} for pid=989 comm="cnss_diag" name="timestamp_switch" dev="sysfs"
ino=27761 scontext=u:r:wcnss_service:s0
tcontext=u:object_r:sysfs_timestamp_switch:s0 tclass=file permissive=0

Bug:64604240

Change-Id: I1b882b15908241c18d694947b8de11136e6afee2
Signed-off-by: Ecco Park <eccopark@google.com>
2017-08-14 18:56:06 -07:00
Jiyong Park
ecd9d72d98 vndk: remove RS libs from ths list (step 2/2)
With BOARD_VNDK_VERSION:=current, vndk-sp libs will be installed to
/system/lib(64)/vndk-sp directory with
'vndk: {enabled: true, support_system_process: true}' property in
Android.bp of the module.

Remove the modules that already has the 'vndk' property in their
Android.bp file in case BOARD_VNDK_VERSION is defined.

Bug: 63866913
Bug: 64425518
Test: build and boot with and without OARD_VNDK_VERSION=current
Change-Id: I0ff8398ca62a9a5f9dfde7890f538fb8cc5190a2
2017-08-14 17:38:44 +09:00
Jiyong Park
8fd93c1f7c vndk: remove RS libs from ths list (step 1/2)
With BOARD_VNDK_VERSION:=current, vndk-sp libs will be installed to
/system/lib(64)/vndk-sp directory with
'vndk: {enabled: true, support_system_process: true}' property in
Android.bp of the module.

Remove the modules that already has the 'vndk' property in their
Android.bp file in case BOARD_VNDK_VERSION is defined.

Bug: 63866913
Bug: 64425518
Test: build and boot with and without OARD_VNDK_VERSION=current

Change-Id: I70a265eb86963dd6ade875deaed8537cdd35c373
2017-08-14 17:36:01 +09:00
Justin Yun
0783ef7579 vndk: Add vndk_pacakge to PRODUCT_PACKAGES
vndk_pacakge includes vndk, vndk-sp and ll-ndk.
By adding vndk_pacakge to PRODUCT_PACKAGES, vndk libraries will be
built regardless of their dependency with other libs.

The vndk library packages are defined only if they are built with
BOARD_VNDK_VERSION=current.

Bug: 63866913
Test: build with and without BOARD_VNDK_VERSION=current
Change-Id: I2c5f11de30c87be16cbc661a8567e258ff511906
2017-08-14 10:28:00 +09:00
TreeHugger Robot
3d0618f1dd Merge "Add netutils-wrapper to device compatibility matrix." into oc-mr1-dev 2017-08-11 19:20:16 +00:00
TreeHugger Robot
d3c7dd5b07 Merge "Move libz vndk-sp from ll-ndk" into oc-mr1-dev 2017-08-11 15:13:41 +00:00
Jayachandran C
57548ccd95 Merge "Remove SPN override for Rogers, DTAG and Telstra" into oc-dr1-dev
am: 923ff4e929  -s ours

Change-Id: I77b279a293953ccf165ef2b4a55989a1b492d33c
2017-08-11 00:10:28 +00:00
TreeHugger Robot
923ff4e929 Merge "Remove SPN override for Rogers, DTAG and Telstra" into oc-dr1-dev 2017-08-11 00:05:53 +00:00
Naveen Kalla
3f15848b9e Merge "Add selinux domain for verizon OBDM app" into oc-dr1-dev
am: 2a1b7561d9

Change-Id: I7a7e17f7bb1f47359ae9e48a7636ba0c5cea27c8
2017-08-10 21:51:43 +00:00
TreeHugger Robot
2a1b7561d9 Merge "Add selinux domain for verizon OBDM app" into oc-dr1-dev 2017-08-10 21:40:34 +00:00
Yifan Hong
143b7d9ee1 Add netutils-wrapper to device compatibility matrix.
netutils-wrapper only list a single version x.0 in its
requirement. System manifest might provide a list of
netutils-wrapper versions it supports {x, y, z}.0.

Bug: 64447338
Test: m compatibility_matrix.xml system_manifest.xml -j
      (checks compatibility at build time)

Change-Id: I2ec919fd5378aed7160c636cb7f2bd138db1473f
2017-08-10 13:12:43 -07:00
Jayachandran C
25fb8d5882 Remove SPN override for Rogers, DTAG and Telstra
Rogers, DTAG and Telstra want the actual SIM card SPN to be displayed

The entries in spn-conf.xml overrides the SIM SPN hence this CL disables it

Test: Validated using T-Mobile SIM card with same set of changes for T-Mobile

Bug: 64137294
Bug: 64139429

Merged-In: I3d3e1b1d2dc38a73a657fe7f9220dd894f967c67
Change-Id: I2b4d2cb87f6dd05302ba03c8abda46b9de7f8187
2017-08-10 17:51:48 +00:00
TreeHugger Robot
bee99aace3 Merge "Revert "Add spn-conf.xml for wahoo"" into oc-mr1-dev 2017-08-10 17:00:46 +00:00
Naveen Kalla
cdddc5171c Add selinux domain for verizon OBDM app
Bug: 64546277
Test: Build and carrier testing
Change-Id: Ia2a996e6e726765b7452ee369f770acf295430c5
2017-08-10 16:20:45 +00:00
Justin Yun
4cebd7f050 Move libz vndk-sp from ll-ndk
The ABI of libz is not as stable as it is for ll-ndk.

Bug: 37617391
Test: build and boot
Change-Id: I2f0eeadbf60696f82e1658fd2b6786d0f218bdc9
2017-08-10 21:22:53 +09:00
Ranjith Kagathi Ananda
ecea9d306c Merge "pre-grant permissions for Ornament app" into oc-dr1-dev
am: 66324b03d8

Change-Id: Ic18632bf47d05e31d464ecf258ce5c1c5e7b63f7
2017-08-10 06:30:12 +00:00
TreeHugger Robot
66324b03d8 Merge "pre-grant permissions for Ornament app" into oc-dr1-dev 2017-08-10 06:23:32 +00:00
Ranjith Kagathi Ananda
30ce4d393b pre-grant permissions for Ornament app
Add Camera, Storage and other permissions for Ornament app.

BUG=62444679
Test: Settings app shows the pre-grant permissions enabled

Change-Id: Idd53b816e025d1f0f7d1f888ac0675203e611d18
2017-08-09 23:35:14 +00:00
Chia-Kai Liang
5c049dff97 Merge "GOOG_LLV: Set fuse flag" into oc-dr1-dev
am: 4b9db7c262

Change-Id: Id165d068da7a81e968bd5493e5f1f3920fadf89c
2017-08-09 22:18:36 +00:00