Commit Graph

1818 Commits

Author SHA1 Message Date
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
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
TreeHugger Robot
4b9db7c262 Merge "GOOG_LLV: Set fuse flag" into oc-dr1-dev 2017-08-09 22:12:27 +00:00
Wei Wang
557d1b3e07 dumpstate: add thermal limit
Also fix time-in-state and cpuidle for BIG core

After CL:
------ cpu0-3 time-in-state (/sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state) ------
------ cpu0-3 cpuidle (/vendor/bin/sh -c for d in $(ls -d /sys/devices/system/cpu/cpu0/cpuidle/state*); do echo "$d: `cat $d/name`
------ cpu4-7 time-in-state (/sys/devices/system/cpu/cpu4/cpufreq/stats/time_in_state) ------
------ cpu4-7 cpuidle (/vendor/bin/sh -c for d in $(ls -d /sys/devices/system/cpu/cpu4/cpuidle/sta
------ cpu0-3 thermal limit (/sys/devices/virtual/thermal/cooling_device0/cur_state) ------
------ cpu4-7 thermal limit (/sys/devices/virtual/thermal/cooling_device1/cur_state) ------

Bug: 64406500
Test: Take BR
Change-Id: Id24462c32928f10d18019b33812f6103b4284cf4
2017-08-09 18:08:14 +00:00
Justin Klaassen
d5e2cfefa2 Merge "Revert "Pre-grant READ_EXTERNAL_STORAGE for soundpicker"" into oc-dr1-dev
am: 61c1f1a1ef

Change-Id: I5e02e49f3b7cbcc317a23e26ab078aa5487b0eb9
2017-08-09 17:57:19 +00:00
TreeHugger Robot
61c1f1a1ef Merge "Revert "Pre-grant READ_EXTERNAL_STORAGE for soundpicker"" into oc-dr1-dev 2017-08-09 17:43:37 +00:00
Chia-Kai Liang
20a7056e81 GOOG_LLV: Set fuse flag
Bug: 63152009
Test: Local build + CTS
Change-Id: I210912a9e798bd6875996ca79692a298b7b7502f
2017-08-09 09:52:50 -07:00
Meng Wang
a04e3cb1f5 Revert "Add spn-conf.xml for wahoo"
This reverts commit a3f7b11d87.

Now that spn overrides are all migrated to carrier config,
the spn-conf.xml cna be removed.

Bug: 62684649
Test: make
Change-Id: I3d3e1b1d2dc38a73a657fe7f9220dd894f967c67
2017-08-09 16:12:34 +00:00
Thierry Strudel
71932cb147 Merge "init.hardware.rc: androidboot.hardware.revision set by bootloader on walleye" into oc-dr1-dev
am: 922d5ec3de

Change-Id: I7ff096152e9f173ce3aaf742a4180ec308fc699a
2017-08-09 04:35:49 +00:00
Thierry Strudel
922d5ec3de Merge "init.hardware.rc: androidboot.hardware.revision set by bootloader on walleye" into oc-dr1-dev 2017-08-09 04:26:36 +00:00
Ranjith Kagathi Ananda
8943e0d693 Merge "sepolicy: Rename com.google.arcore to com.google.ar.core" into oc-dr1-dev
am: 2bfa33e92d

Change-Id: Icfabe5a0eb1bc0a653fce0791afa240048c0d32e
2017-08-09 01:40:34 +00:00
TreeHugger Robot
2bfa33e92d Merge "sepolicy: Rename com.google.arcore to com.google.ar.core" into oc-dr1-dev 2017-08-09 01:31:24 +00:00
Ranjith Kagathi Ananda
a7e7e139ed sepolicy: Rename com.google.arcore to com.google.ar.core
Rename com.google.arcore to com.google.ar.core and add
arcore app keys

BUG=64121848
Test: Basic sanity

Change-Id: I7e0d6b3072da1b20177e43071598742d24b3bb5b
2017-08-08 15:53:16 -07:00
Sooraj Sasindran
34dc330eb6 Correct the property name to not drop packets
am: d5bb37eee9

Change-Id: Ia2653c7c0f5c08277b9a9e4039394161aa66f645
2017-08-08 19:42:19 +00:00
Thierry Strudel
bf124eba35 init.hardware.rc: androidboot.hardware.revision set by bootloader on walleye
Taimen is setting this property in init-taimen.rc file

Bug: 64375827
Change-Id: I1f1fad799e84c21551ac0ff6fe3d9f1d33f8a4fa
Signed-off-by: Thierry Strudel <tstrudel@google.com>
2017-08-08 11:39:49 -07:00
Sooraj Sasindran
d5bb37eee9 Correct the property name to not drop packets
correct the property name to not drop packets based upon
enqueue sequence to avoid freeze.

BUG=63274801

Change-Id: I5a5c336c7e3f1e90e4ed05bc731747998a15e51b
2017-08-08 10:21:04 -07:00