Commit Graph

5519 Commits

Author SHA1 Message Date
Cheng Gu
2b7ec37abc Merge "device.mk: Add a camera test library to packages" 2019-10-29 21:34:04 +00:00
Kelly Rossmoyer
af99c1df86 Merge "dumpstate: add key timestamps to power dump" 2019-10-28 20:41:43 +00:00
Xin Li
b8c1a36550 [automerger skipped] Merge Coral/Flame into AOSP master am: ee99adeee4 -s ours am: fe6672c4cf -s ours am: 506493c48f -s ours
am: 6732b71fa2 -s ours
am skip reason: change_id Ie608b9e5d9bc78130411363c0d24c1a7e609d0dc with SHA1 d439ae48e8 is in history

Change-Id: I0322c4bc8e8401e60ad863a0ac4fbb5e12ba5a61
2019-10-26 22:17:56 -07:00
Xin Li
6732b71fa2 [automerger skipped] Merge Coral/Flame into AOSP master am: ee99adeee4 -s ours am: fe6672c4cf -s ours
am: 506493c48f -s ours
am skip reason: change_id Ie608b9e5d9bc78130411363c0d24c1a7e609d0dc with SHA1 d439ae48e8 is in history

Change-Id: I73c3a68fc7ffc5a89c022798bbd32b89a9e2c085
2019-10-26 22:11:49 -07:00
Xin Li
506493c48f [automerger skipped] Merge Coral/Flame into AOSP master am: ee99adeee4 -s ours
am: fe6672c4cf -s ours
am skip reason: change_id Ie608b9e5d9bc78130411363c0d24c1a7e609d0dc with SHA1 d439ae48e8 is in history

Change-Id: I3c4ae610a56d0ed3bbf0aa657581239790b5e098
2019-10-26 22:05:00 -07:00
Xin Li
fe6672c4cf [automerger skipped] Merge Coral/Flame into AOSP master
am: ee99adeee4 -s ours
am skip reason: change_id Ie608b9e5d9bc78130411363c0d24c1a7e609d0dc with SHA1 d439ae48e8 is in history

Change-Id: I7274b471f52c9152a75c56c64488b5563af607d8
2019-10-26 21:58:50 -07:00
Cheng Gu
b9f2f033f7 device.mk: Add a camera test library to packages
Adds libgoogle_camera_hal_proprietary_tests to packages.

Also guards both test libraries to debug builds only.

Bug: 142818926
Test: Presubmit builds/tests
Change-Id: I31f107a447ac1c65281f817393c162bad8487dd5
2019-10-25 18:39:16 -07:00
Xin Li
ee99adeee4 Merge Coral/Flame into AOSP master
Bug: 141248619
Change-Id: Ie1950d440dd010f8c6b422cf91eebc3dd91855a0
Merged-In: Ie608b9e5d9bc78130411363c0d24c1a7e609d0dc
2019-10-25 10:27:52 -07:00
Kelly Rossmoyer
dcbdedea88 dumpstate: add key timestamps to power dump
This change adds two key timestamps to the power stats section of
dumpstate_board.txt: the time at which the device was booted and the
current time immediately prior to capturing the power stats.  It also
refactors the lines of code for dumping power stats into a
self-contained function to improve code maintainability.

Currently, because the process of generating a bugreport takes several
minutes, there is significant uncertainty about the temporal
relationship between the bugreport timestamp and the time at which the
power stats were captured.  Also, boot time is reverse-engineered -
again, with an unhelpful degree of uncertainty - by combining the
bugreport timestamp with uptime.  Generating these two timestamps
immediately prior to capturing live power stats will allow
identification of the onset times of key subsystem-related power issues
with much more precision than is currently possible.

Bug: 143312304
Test: Built userdebug and user builds, installed and tested by
generating a bugreport and verifying the new content was present.

Change-Id: Ie92a6e1f8e6088939819738bcff8cd9a0106f5a8
2019-10-25 00:29:21 -07:00
Alistair Delva
8a5b8909ac Merge "Add Widevine L3 drm service to cuttlefish" 2019-10-24 21:54:13 +00:00
TreeHugger Robot
8282846541 Merge "p2p: add p2p regex for tethering modes" 2019-10-24 02:45:04 +00:00
Edwin Wong
abb30bbe24 Add Widevine L3 drm service to cuttlefish
In adding Widevine L3 drm service to cuttlefish,
we have moved the open code Widevine fqname reference
to vendor/widevine. Remove duplicate code in device
manifest.xml.

Test: Build successfully
Test: Play Movies & TV, Netflix and Exoplayer
Test: GTS L1 tests

bug: 141621537
Change-Id: I60bd51efc3f4e78d2e056d202ba7ac09308c5318
2019-10-23 14:13:42 -07:00
Jimmy Chen
88b8a65b4b p2p: add p2p regex for tethering modes
Bug: 137602441
Test: CtsVerifier - Wi-Fi Direct
Change-Id: I215da71e96348b6bba19d4a3c6fd8c8048ff46d6
2019-10-21 14:12:48 +08:00
Roger Wang
38369c41c2 Allow wifi_sniffer to enable sniffer mode.
In this commit, we add necessary sepolicy rule for
wifi_sniffer. Including setup sniffer mode and up
wlan0 interface.

Bug: 141439795
Test: function works
Change-Id: I5c54805a7e7ab62ae89c06ba6ef335228d440af2
2019-10-21 13:22:16 +08:00
Yifan Hong
accbf870df Merge "/charger->/system/bin/charger" am: bd1e386b69 am: d439ae48e8 am: 0116446151
am: 15d810213d

Change-Id: Iad3d56be453154c15f4a9e068986c016f1288b20
2019-10-17 13:34:10 -07:00
Yifan Hong
15d810213d Merge "/charger->/system/bin/charger" am: bd1e386b69 am: d439ae48e8
am: 0116446151

Change-Id: I544420087ba1ac17b0027ad9b67640ab320692d4
2019-10-17 13:27:36 -07:00
Yifan Hong
0116446151 Merge "/charger->/system/bin/charger" am: bd1e386b69
am: d439ae48e8

Change-Id: I75f74b5f2ce81d073075be5bb88ddc874d6f559a
2019-10-17 13:21:33 -07:00
Yifan Hong
d439ae48e8 Merge "/charger->/system/bin/charger"
am: bd1e386b69

Change-Id: Ie608b9e5d9bc78130411363c0d24c1a7e609d0dc
2019-10-17 13:13:32 -07:00
Yifan Hong
bd1e386b69 Merge "/charger->/system/bin/charger" 2019-10-17 19:50:26 +00:00
Inseob Kim
be3c8797c8 Merge "Revert "Add BUILD_BROKEN_TREBLE_SYSPROP_NEVERALLOW"" am: 34dbd6a44e am: 6a541d4dfd am: 916dfa25cb
am: b3b009a56f

Change-Id: Ib35f1331edd18d175f18302fb943239b82f8f55a
2019-10-16 22:22:46 -07:00
Inseob Kim
b3b009a56f Merge "Revert "Add BUILD_BROKEN_TREBLE_SYSPROP_NEVERALLOW"" am: 34dbd6a44e am: 6a541d4dfd
am: 916dfa25cb

Change-Id: If301e70d79d1342de28d4e05f212d78f36930b1a
2019-10-16 22:15:11 -07:00
Inseob Kim
916dfa25cb Merge "Revert "Add BUILD_BROKEN_TREBLE_SYSPROP_NEVERALLOW"" am: 34dbd6a44e
am: 6a541d4dfd

Change-Id: I09afd158e0f9f0cbd3bfe632eb5f2c938981c860
2019-10-16 22:03:16 -07:00
Xin Li
4573c42f74 Skip QD1A.190821.011 in stage-aosp-master am: 3ab90ed111 am: b0fd8ba814
am: 333eec0dad

Change-Id: I99fd6809a74360f7fc75de88d7791ad0b9a89bc7
2019-10-16 21:52:29 -07:00
Xin Li
333eec0dad Skip QD1A.190821.011 in stage-aosp-master am: 3ab90ed111
am: b0fd8ba814

Change-Id: Iad3a4f54e6acd36c5fcf821ab69f22c384068520
2019-10-16 21:33:24 -07:00
Xin Li
b0fd8ba814 Skip QD1A.190821.011 in stage-aosp-master
am: 3ab90ed111

Change-Id: I7d6fd9f8f2f43c5239387e4e3cd5b072cc69b784
2019-10-16 21:15:31 -07:00
Inseob Kim
6a541d4dfd Merge "Revert "Add BUILD_BROKEN_TREBLE_SYSPROP_NEVERALLOW""
am: 34dbd6a44e

Change-Id: Ie6589419e2cdc83e05adf454770d04c20c971fac
2019-10-16 21:15:26 -07:00
Yifan Hong
7c0f2ff08b /charger->/system/bin/charger
Bug: 142286265
Test: charger mode
Change-Id: Iddfca94f0279ac604c5301a3413b59b99dd6f9b7
2019-10-16 17:37:10 -07:00
Treehugger Robot
34dbd6a44e Merge "Revert "Add BUILD_BROKEN_TREBLE_SYSPROP_NEVERALLOW"" 2019-10-17 00:26:29 +00:00
Xin Li
3ab90ed111 Skip QD1A.190821.011 in stage-aosp-master
Bug: 141248619
Change-Id: I0fae54ed5c07db38fd4a3d96a93fa6eaba5c4e5a
2019-10-16 15:19:14 -07:00
Inseob Kim
f17459f4ea Revert "Add BUILD_BROKEN_TREBLE_SYSPROP_NEVERALLOW"
This reverts commit 98ebf2cf85.

Reason for revert: Original CL was workaround and doesn't need after aosp/1143969 is merged

Change-Id: Ie232b5288adfd3b90ff1b71c396512a013dcced8
2019-10-16 03:28:05 +00:00
Inseob Kim
6bd0035e84 [automerger skipped] Merge "Add BUILD_BROKEN_TREBLE_SYSPROP_NEVERALLOW" am: 181313befe am: b92a8a8747 am: 495dcab13f
am: 37ec8e0427 -s ours
am skip reason: change_id Ia215fdcc39d82487446b9972325d8b344945965d with SHA1 7d61bcd7ec is in history

Change-Id: I951298113808518c1e5b6bb94f31da914fa71d19
2019-10-15 11:07:27 -07:00
Inseob Kim
37ec8e0427 Merge "Add BUILD_BROKEN_TREBLE_SYSPROP_NEVERALLOW" am: 181313befe am: b92a8a8747
am: 495dcab13f

Change-Id: Ibfda74209583660f10d8eb4fd015a5d5d33e6108
2019-10-15 10:46:58 -07:00
Inseob Kim
495dcab13f Merge "Add BUILD_BROKEN_TREBLE_SYSPROP_NEVERALLOW" am: 181313befe
am: b92a8a8747

Change-Id: I225611800e6674c034510b0e9ea14d08e7b928db
2019-10-15 10:23:38 -07:00
Inseob Kim
b92a8a8747 Merge "Add BUILD_BROKEN_TREBLE_SYSPROP_NEVERALLOW"
am: 181313befe

Change-Id: Idfaf1cebd6d34bb70399ec6b10b00ccc7bb9ecba
2019-10-14 18:55:14 -07:00
Inseob Kim
181313befe Merge "Add BUILD_BROKEN_TREBLE_SYSPROP_NEVERALLOW" 2019-10-15 01:29:06 +00:00
Inseob Kim
98ebf2cf85 Add BUILD_BROKEN_TREBLE_SYSPROP_NEVERALLOW
A new sysprop neverallow rules are mandatory only for devices launching
with R or later. For devices already launched, neverallow rules can be
relaxed with adding following line to BoardConfig.mk:

BUILD_BROKEN_TREBLE_SYSPROP_NEVERALLOW := true

Bug: 131162102
Test: Set PRODUCT_SHIPPING_API_LEVEL := 30 and try building with
changing some system_public_prop to system_internal_prop
Test: m cts sepolicy_tests

Change-Id: Ia215fdcc39d82487446b9972325d8b344945965d
Merged-In: Ia215fdcc39d82487446b9972325d8b344945965d
(cherry picked from commit 7d61bcd7ec)
2019-10-15 09:29:27 +09:00
TreeHugger Robot
e50376c59f Merge "Add BUILD_BROKEN_TREBLE_SYSPROP_NEVERALLOW" 2019-10-15 00:04:12 +00:00
Ryan Mitchell
0d96ea9753 Merge "Use component-override to configure wahoo Bluetooth" 2019-10-14 16:14:27 +00:00
Inseob Kim
7d61bcd7ec Add BUILD_BROKEN_TREBLE_SYSPROP_NEVERALLOW
A new sysprop neverallow rules are mandatory only for devices launching
with R or later. For devices already launched, neverallow rules can be
relaxed with adding following line to BoardConfig.mk:

BUILD_BROKEN_TREBLE_SYSPROP_NEVERALLOW := true

Bug: 131162102
Test: Set PRODUCT_SHIPPING_API_LEVEL := 30 and try building with
changing some system_public_prop to system_internal_prop
Test: m cts sepolicy_tests

Change-Id: Ia215fdcc39d82487446b9972325d8b344945965d
2019-10-14 16:36:02 +09:00
Lubo Hristov
8d03018bda Bump wahoo SVN to 37 am: 2a3a17fd6a
am: 5ce8b886fa

Change-Id: I183651f8c1a3e1d88d014a72a1e56f82c20d6739
2019-10-11 18:39:42 -07:00
Lubo Hristov
5ce8b886fa Bump wahoo SVN to 37
am: 2a3a17fd6a

Change-Id: Ifbd80b09c0faedd3731950b280362ed5fb7ff25a
2019-10-11 18:34:09 -07:00
Lubo Hristov
2a3a17fd6a Bump wahoo SVN to 37
bug:141626492
2019-10-11 22:43:06 +00:00
Xin Li
a9288233bc [automerger skipped] DO NOT MERGE - Merge QP1A.191005.007 into master am: e8fb0738cd -s ours am: e6cb6808af -s ours am: 9e02b79065 -s ours
am: cc25ff062f -s ours
am skip reason: subject contains skip directive

Change-Id: I317a95a7da20f86d1e669ef56c52085163f37de9
2019-10-10 21:46:53 -07:00
Xin Li
cc25ff062f [automerger skipped] DO NOT MERGE - Merge QP1A.191005.007 into master am: e8fb0738cd -s ours am: e6cb6808af -s ours
am: 9e02b79065 -s ours
am skip reason: change_id Ief27255508e5fa4cef71df720b5bf9ea4e84d49f with SHA1 1b1692d98a is in history

Change-Id: I187091db1e1f59d535b211c7a477119c02740c9e
2019-10-10 21:33:24 -07:00
Xin Li
9e02b79065 [automerger skipped] DO NOT MERGE - Merge QP1A.191005.007 into master am: e8fb0738cd -s ours
am: e6cb6808af -s ours
am skip reason: change_id Ief27255508e5fa4cef71df720b5bf9ea4e84d49f with SHA1 1b1692d98a is in history

Change-Id: Id4e3da07be0a8626d8c7ad5e1965dcbe6922c62c
2019-10-10 21:21:09 -07:00
Xin Li
e6cb6808af [automerger skipped] DO NOT MERGE - Merge QP1A.191005.007 into master
am: e8fb0738cd -s ours
am skip reason: change_id Ief27255508e5fa4cef71df720b5bf9ea4e84d49f with SHA1 1b1692d98a is in history

Change-Id: Id0e197bfe325878da0903c668c2106ab05d0e4cc
2019-10-10 21:10:34 -07:00
Xin Li
e8fb0738cd DO NOT MERGE - Merge QP1A.191005.007 into master
Bug: 142297020
Merged-In: Ief27255508e5fa4cef71df720b5bf9ea4e84d49f
Change-Id: I8c4b09f8123a873cef4e94b6850daa9e14dcb994
2019-10-10 22:54:01 +00:00
Ryan Mitchell
fe69c03388 Use component-override to configure wahoo Bluetooth
Runtime Resource Overlays (RROs) can no longer change the value of
resources in manifest when read during PackagerParser.

This change uses component-override to enable the service by default
on wahoo devices.

Remove usages of profile_supported_sap from overlays as they no
longer configure the enable state of .sap.SapService.

Change-Id: I885a90c96e27dc36cddab7da41a3fe759de789da
2019-10-10 10:46:00 -07:00
Nikita Ioffe
489ba287f0 wahoo/device.mk: remove com.android.apex.cts.shim.v1_prebuilt
Shim APEX was added to base_system.mk, no need to also add it here.

Test: lunch walley-eng && m
Test: verified shim apex is in ${OUT}/system/apex
Bug: 140957666
Change-Id: I99ca1da44a593b8ba530be985b3aef36830f6db6
2019-10-09 12:14:04 +01:00
TreeHugger Robot
051b8e2347 Merge "vibrator: Upgrade vbirator hal to 1-3" 2019-10-09 01:26:13 +00:00