Commit Graph

414 Commits

Author SHA1 Message Date
emilchung
a560dd9ade wahoo: Stop retry fingerprint init proecess after limited times
Add new mechanism for stopping FP HIDL after several times init fail.
This prevents the case of FP HIDL keeping trying to do init process and
raising CPU usage when sensor totally dead.
After limited times init retry fail (default 10 times), FP HIDL will
be stopped.

init-fingerprint-sh is for stopping fps_hal after init retry fail
serval times.
It keeps running until max init retry or fps_hal running successfully.
vendor.fps_hal restarts until max init retry times fail.

Test: build pass and FP functionaily are good.
Test: init process will be stopped after limited times retry fail
Bug: 111710758
Change-Id: I8a19bdd351e5d712f8e23c6a0849acb1771e61e5
Signed-off-by: emilchung <emilchung@google.com>
2018-11-05 12:06:22 +08:00
Jack Yu
7c9053f846 Added a new system properties for IWLAN operation mode am: 1272b85de6 am: 717a914292
am: dae9728e52

Change-Id: I8a73f02dd9395e5f4aa9b65b300aa2ab443c2922
2018-10-25 20:23:26 -07:00
Jack Yu
dae9728e52 Added a new system properties for IWLAN operation mode am: 1272b85de6
am: 717a914292

Change-Id: Ib337321553829126b55575b9248d5cd92be65c6f
2018-10-24 17:53:23 -07:00
Jack Yu
717a914292 Added a new system properties for IWLAN operation mode
am: 1272b85de6

Change-Id: Ie7ece49ef55e46460d2b5eeabf0b0db85909e47b
2018-10-24 14:04:36 -07:00
Kelly Rossmoyer
613e073207 Merge "Revert "PowerHAL: add debug support for low power stats"" 2018-10-24 17:12:04 +00:00
Kelly Rossmoyer
dd8e312ff6 Revert "PowerHAL: add debug support for low power stats"
This reverts commit 1000b4e9fa.

Reason for revert: Broke build of partner-q-fs-release-generic-fs/mini_arm64-userdebug, which apparently has the device/google/wahoo project but not the hardware/google/pixel project.

Bug: 118339706

Change-Id: Ie6331a07b39267a8543fa0eacc0c7cd872d67119
2018-10-24 16:49:43 +00:00
Bill Yi
0741725159 Merge pi-platform-release to stage-aosp-master - DO NOT MERGE
Change-Id: Iff6d58e82d768f7c6b6591b98807ca5fbdab8215
2018-10-24 09:05:06 -07:00
Kelly Rossmoyer
f080c107f0 Merge "PowerHAL: add debug support for low power stats" 2018-10-23 21:23:30 +00:00
Jack Yu
1272b85de6 Added a new system properties for IWLAN operation mode
Added a new flag to specify the IWLAN operation mode. Also
allowed this system properties for vendor native service to
access.

Test: Manual
Bug: 73659459
Change-Id: I5b64c6c437a3dc11a361121e2652a3f30f357105
2018-10-23 12:02:39 -07:00
Anton Hansson
d1b2cd34e3 Move libnfc-nci.conf to /product on wahoo am: e4d02b86f5 am: 016238df06
am: 011310646e

Change-Id: I6251940bfa36709345e4c71de4bf188926ef1447
2018-10-23 01:36:22 -07:00
Anton Hansson
011310646e Move libnfc-nci.conf to /product on wahoo am: e4d02b86f5
am: 016238df06

Change-Id: I2d5fe1db706ece390086ea0168e276c7c50fb4a5
2018-10-23 01:31:19 -07:00
Anton Hansson
e4d02b86f5 Move libnfc-nci.conf to /product on wahoo
Device-specific files belong off /system.

Bug: 117878616
Test: make
Change-Id: I012a64dda5e8dbb5506a98e6c569bb1218b18e84
2018-10-22 18:06:41 +01:00
Kelly Rossmoyer
1000b4e9fa PowerHAL: add debug support for low power stats
The HAL API includes a "debug" interface that can be invoked from the
command line to get debug output for a particular HAL.  While the
existing PowerHAL implementation includes support for the "debug"
interface, it only includes data for the performance hinting side of the
HAL.  To facilitate device troubleshooting (not just of the HAL itself,
but of power drain), this change expands that implementation to also
include the output from calls to getPlatformLowPowerStats() and
getSubsystemLowPowerStats().

On existing in-market devices where this support is present, the command
    lshal debug android.hardware.power@1.3::IPower/default
will produce the "debug" output.

The code for dumping the PowerHAL stats data is generic across
device-specific PowerHAL implementations, so it is all pushed up into a
new library (see topic CLs) that will eventually host additional
PowerHAL implementation code.

Bug: 116750864
Test: Ran code on an active P17 device.
Test: Added temporary test code (triggered by appending " test" to the
command above) to cover all base cases of data being present absent
(test code is included in first uploaded patchset on the corresponding
crosshatch CL).

Change-Id: Id97534a2a9fe05bbca614c763c907daea37e9723
2018-10-17 21:48:09 +00:00
Siarhei Vishniakou
fea515595c Merge "Move input configuration files to /vendor" am: d9d071a1fa am: e6646ed8d2
am: 6ac0bb364b

Change-Id: I74376f25d1b74ce58a51cba9ad8187f04e0b50bb
2018-10-15 17:05:20 -07:00
Siarhei Vishniakou
6ac0bb364b Merge "Move input configuration files to /vendor" am: d9d071a1fa
am: e6646ed8d2

Change-Id: I915cc1da8a4114be8f94963c8e65dfeb276e0d5a
2018-10-15 16:53:19 -07:00
Siarhei Vishniakou
e6646ed8d2 Merge "Move input configuration files to /vendor"
am: d9d071a1fa

Change-Id: Ib0776828ce307c31922f53858cb7d8101ed4e2f3
2018-10-15 16:32:10 -07:00
Adam Seaton
ca6f1e52e2 Update SVN for Walleye/Taimen to 21 for December release bug: 117667960 am: c3df451697
am: ac00d14115

Change-Id: I9a0a67deec981994c599d62ea09acdd0d6f88b43
2018-10-15 15:57:58 -07:00
Siarhei Vishniakou
79c04d0f9d Move input configuration files to /vendor
Input configuration files should be in /vendor, not in /system, since
these are device-specific

Bug: 112880217
Test: dumpsys input and observe that the files are placed into /vendor
Change-Id: I6212dbe2eb75115baa02d4db3c9e1b82569d0bd3
2018-10-15 11:11:10 -07:00
Adam Seaton
c3df451697 Update SVN for Walleye/Taimen to 21 for December release
bug: 117667960
2018-10-12 15:31:35 -07:00
Jasmine Cha
8b6ec3fdf7 audio: Enable Waves effect am: c1a57ef036
am: 32e4687554

Change-Id: I244f055f4fbe9eb0e05a676110a942d5528daba9
2018-10-05 13:52:24 -07:00
Jasmine Cha
c1a57ef036 audio: Enable Waves effect
- turn on config and add effect library for Waves effect

Bug: 111283341
Test: build pass and manual audio test on product/aosp

Change-Id: Idba8eb83a88e3aa4f254b5ab4beddaa6a4477cd8
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2018-10-03 09:22:06 +00:00
Wei Wang
d9a7a40bae Add atrace 1.0 default implementation
Bug: 111098596
Test: atrace/systrace
Change-Id: Ib26bc97da1af8eb932f3c7005fc5e90b35b2dfcf
2018-09-25 20:57:50 -07:00
Siyuan Zhou
659720988d Merge changes from topic "Ramoops encryption support for b1c1 in master"
* changes:
  Modify ramoops sepolicy due to some ramoops file paths are changed to vendor partition
  Change the file path of ramoops shell script and remove ramoops runcom
2018-09-24 18:07:47 +00:00
Chungjui Fan
bc5afc85cb Change the file path of ramoops shell script and remove ramoops runcom
Put the inir.ramoops.sh to /vendor/bin/
The ramoops run commands are recorded in init.ramoops.rc individually

Bug: 113147446
Test: Build pass and test on walleye and taimen
can generate ramoops successfully.
Change-Id: I370cdfc36d7031a7f695abc2045ff756066d1902
Signed-off-by: Chungjui Fan <chungjuifan@google.com>
2018-09-07 17:55:11 +08:00
Elisa Pascual Trevino
3ef04ad9ce Update SVN for November for Wahoo to 20 on pi-dev & master
Bug:114110585
2018-09-06 22:23:50 +00:00
YiHo Cheng
296429c678 thermal: Add property for thermal testing.
Add property to disable usb overheat mitigation that prevent device
offline during thermal testing in chamber.

Bug: 111762741
Test: Run thermal test in chamber
Change-Id: I23a760c8e31979b38ae89cd6750ae107605d5c3b
2018-08-16 13:37:45 -07:00
Elisa Pascual Trevino
6c91ec9be1 Update SVN to 19 for October Monthly release
Bug: 112535135
(cherry picked from commit b0d073596a250b7b47a979fff04caa37ba6791af)

Change-Id: I820f6dbc6c0b12e35a212ee3a8235606c3e6d142
2018-08-16 16:39:07 +00:00
Adam Seaton
60983c25c3 Update SVN to 18 for September Monthly release
Bug: 111501777
(cherry picked from commit 2cded42036)

Change-Id: I000eb4caac77c085c7938d59fb62e8168de59668
2018-07-27 18:40:15 +00:00
Adam Seaton
2cded42036 Update SVN to 18 for September Monthly release
Bug: 111501777
2018-07-26 15:22:22 -07:00
Chris Craik
83759b7709 Disable use_buffer_age to workaround driver issue
Bug: 74534157
Test: none

Change-Id: Ic2960e7c8fbb4089440accc5360929cd56cc8edb
2018-06-08 20:07:27 +00:00
Adam Seaton
57b429087c Update SVN to 17 for Pi release
Bug:80225397

Anticipating the need for SVN to be set to 15/16 for backpocket OC-MR1
builds in August, setting this to 17.
2018-05-25 09:30:22 -07:00
Petri Gynther
906e91433b Adjust for QCOM BT HAL property name changes
Bug: 36513925
Test: Manual Bluetooth test
Change-Id: I492fde56b7f10395869ac32e8d6dd20268ce5230
2018-05-21 17:41:57 -07:00
Adam Seaton
90200b659b "Update SVN to 14 for July RoW Walleye/Taimen Build Bug: 79883349"
am: 6df16ac39c

Change-Id: I4e6b3ebbae5886458731d6c385c39f513022ab68
2018-05-17 10:58:42 -07:00
Adam Seaton
0bd02a90df "Update SVN to 13 for July T-Mobile/Fi Walleye/Taimen Build Bug: 79883349"
am: 96a0fe5fce

Change-Id: Ib92d620ff661f50a6adad1f0ff10fdc37c8eb663
2018-05-17 10:58:20 -07:00
Adam Seaton
6df16ac39c "Update SVN to 14 for July RoW Walleye/Taimen Build
Bug: 79883349"
2018-05-16 16:16:49 -07:00
Adam Seaton
96a0fe5fce "Update SVN to 13 for July T-Mobile/Fi Walleye/Taimen Build
Bug: 79883349"
2018-05-16 16:14:54 -07:00
Justin Yun
4d865e6af8 Remove PRODUCT_COMPATIBLE_PROPERTY_OVERRIDE for test
Setting PRODUCT_COMPATIBLE_PROPERTY_OVERRIDE to true blocks
System-only-OTA from OMR1 devices because it does not allow some
propertis set by the OMR1 vendor partition.

Only if we include the VNDK snapshot v27 to wahoo devices, remove
PRODUCT_COMPATIBLE_PROPERTY_OVERRIDE from wahoo as well as ag/3694012
for rild.

Bug: 74505580
Test: Check if Bluetooth could be turned on in P-OMR1 walleye device.
Change-Id: I5113988b10f0cdde394ed2fc31ebc9d1ea811e1c
2018-05-14 15:33:41 +09:00
TreeHugger Robot
aa3901b33e Merge "Remove keymaster4" into pi-dev 2018-05-12 06:30:38 +00:00
Sean Callanan
6a43e6cee4 Merge "Advertise Vulkan 1.1 system feature" into pi-dev 2018-05-12 05:47:31 +00:00
Shawn Willden
2f1fec3c6f Remove keymaster4
Wahoo devices don't have keymaster4 hardware, just a software
implementation that was used for testing.

Bug: 77307896
Test: Check that the KM4 binary and RC are no longer on the device
Change-Id: I607937921c09bf24bb971bb7ef089aab2346debd
2018-05-11 17:00:57 -06:00
TreeHugger Robot
33241a7f53 Merge "Move ro.adb.secure declaration into device/* (1/2)" into pi-dev 2018-05-10 20:00:24 +00:00
Przemyslaw Szczepaniak
04cfd2ae4f Disable hvx NN service for pi-dev
Bug: 78249699
Test: manual, cts
Change-Id: Ic0b7a8ab8e1ca854069544e35f5e4139d800c4f3
2018-05-10 12:50:54 +01:00
Jaekyun Seok
977eefd711 Move ro.adb.secure declaration into device/* (1/2)
Bug: 79115842
Test: succeeded building and tested with taimen
Change-Id: I963a68b1b53ca3412027b357e25fffd6391ef9ff
2018-05-10 13:22:37 +09:00
Adam Seaton
28bed0f4ea Update SVN to 12 for June RoW Walleye/Taimen build Bug:78240102
am: 7c3e60f1fd

Change-Id: I4fa576c48d08db2464bba00bcbdaafe6876df551
2018-04-20 13:44:21 -07:00
Adam Seaton
7c3e60f1fd Update SVN to 12 for June RoW Walleye/Taimen build
Bug:78240102
2018-04-20 18:09:50 +00:00
Adam Seaton
de384a156d Update SVN to 11 for June Tmo Walleye/Taimen build Bug: 78240102
am: 8f67a32328

Change-Id: I6010b2a456346a7efff0cf97fe09decf3fdf2cbe
2018-04-19 15:23:40 -07:00
Adam Seaton
8f67a32328 Update SVN to 11 for June Tmo Walleye/Taimen build
Bug: 78240102
2018-04-18 21:44:49 +00:00
Jesse Hall
625265a03f Advertise Vulkan 1.1 system feature
Bug: 66875961
Test: atest VulkanFeaturesTest
Change-Id: I58f904984320dee174637ba0ddfecdd343fab7e6
2018-04-12 18:25:15 -07:00
TreeHugger Robot
d10fb79cd9 Merge "Report Verified Boot support on Pixel 2 devices" into pi-dev 2018-04-12 21:32:47 +00:00
Eran Messeri
fba20e1b4b Indicate Walleye supports Device ID attestation
Bug: 72642093
Bug: 73448533
Test: cts-tradefed run commandAndExit  cts-dev -m CtsDevicePolicyManagerTestCases -t com.android.cts.devicepolicy.DeviceOwnerTest#testKeyManagement -l DEBUG
Change-Id: I1f932f7d4052bc999a98fb9eb9d40217929678fb
2018-04-11 19:09:55 +01:00