OSDN Git Service

android-x86/system-hardware-interfaces.git
4 years agoMerge "Allow input_data on keystore finish."
Rob Barnes [Tue, 19 Nov 2019 23:34:32 +0000 (15:34 -0800)]
Merge "Allow input_data on keystore finish."
am: 58a82a6a71

Change-Id: I3d0a59d0c2e547bfa997a4d5ee362ad7ce9acb07

4 years agoMerge "Allow input_data on keystore finish."
Rob Barnes [Tue, 19 Nov 2019 19:54:59 +0000 (19:54 +0000)]
Merge "Allow input_data on keystore finish."

4 years agoConvert VtsHalWifiKeystoreV1_0TargetTest to be gtest
Dan Shi [Tue, 19 Nov 2019 18:39:14 +0000 (10:39 -0800)]
Convert VtsHalWifiKeystoreV1_0TargetTest to be gtest
am: 6ba3483656

Change-Id: I7b739bf49bc036d28f9a1644a6dbade5e5304a22

4 years agoAllow input_data on keystore finish.
Rob Barnes [Thu, 14 Nov 2019 23:05:35 +0000 (16:05 -0700)]
Allow input_data on keystore finish.

Test: Wifi functional VTS tests
Change-Id: Ief42ea03714486985644674c278bd1b28c294c38

4 years agoConvert VtsHalWifiKeystoreV1_0TargetTest to be gtest
Dan Shi [Thu, 14 Nov 2019 19:14:29 +0000 (11:14 -0800)]
Convert VtsHalWifiKeystoreV1_0TargetTest to be gtest

Also add VtsHalWifiKeystoreV1_0Target as a vts test for backwards
compatibility.

Bug: 142397658
Test: atest VtsHalWifiKeystoreV1_0Target
atest VtsHalWifiKeystoreV1_0TargetTest

Change-Id: Ib6b17b5cb94bc9e2d237a3c332ead6eed4ad55f4

4 years agowakeup stats: ignore /sys/class/wakeup/.../device symlink
Tri Vo [Wed, 13 Nov 2019 00:28:56 +0000 (16:28 -0800)]
wakeup stats: ignore /sys/class/wakeup/.../device symlink
am: fe1b239ea8

Change-Id: I4fba6386410cfebff77b3dc3a0f401399f32658a

4 years agowakeup stats: ignore /sys/class/wakeup/.../device symlink
Tri Vo [Mon, 11 Nov 2019 23:39:06 +0000 (15:39 -0800)]
wakeup stats: ignore /sys/class/wakeup/.../device symlink

This symlink points to the sysfs hierarchy of the device that owns the
wakeup source, if the latter is not virtual.

That symlink is of no interst to us. Make system suspend not read that
directory to avoid spamming SELinux denial log, e.g.

avc: denied { open } for comm="Binder:1790_2"
path="/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A03:00/device:04"
dev="sysfs" ino=2157 scontext=u:r:system_suspend:s0
tcontext=u:object_r:sysfs:s0 tclass=dir permissive=1

Bug: 144095608
Test: SystemSuspendV1_0UnitTest
Change-Id: I8ede20d6233b8c8a051b57ee9a0c433abc47fdf4

4 years agoDO NOT MERGE - qt-qpr1-dev-plus-aosp-without-vendor@5915889 into stage-aosp-master
Xin Li [Wed, 30 Oct 2019 18:50:43 +0000 (11:50 -0700)]
DO NOT MERGE - qt-qpr1-dev-plus-aosp-without-vendor@5915889 into stage-aosp-master

Bug: 142003500
Change-Id: I84d0419ded5079d2278deb6d6374f2e8b16d3189

4 years agoMerge "wifi keystore: Convert to static library"
Roshan Pius [Tue, 29 Oct 2019 23:41:38 +0000 (16:41 -0700)]
Merge "wifi keystore: Convert to static library"
am: f4dc83897e

Change-Id: Ibec5b17d47ef103fe76a37e8b14dbc7434f1f67b

4 years agoMerge "wifi keystore: Convert to static library"
Roshan Pius [Tue, 29 Oct 2019 23:09:12 +0000 (23:09 +0000)]
Merge "wifi keystore: Convert to static library"

4 years agowifi keystore: Convert to static library
Roshan Pius [Mon, 21 Oct 2019 01:19:49 +0000 (18:19 -0700)]
wifi keystore: Convert to static library

Bug: 142969896
Test: Verified connecting to passpoint networks.
Change-Id: If964a6c6be7f75cde343e07c1ea7dd79c7d18c5a
Merged-In: If964a6c6be7f75cde343e07c1ea7dd79c7d18c5a

4 years agoMerge "Skip QD1A.190821.011 in stage-aosp-master" into stage-aosp-master
TreeHugger Robot [Thu, 24 Oct 2019 00:26:48 +0000 (00:26 +0000)]
Merge "Skip QD1A.190821.011 in stage-aosp-master" into stage-aosp-master

4 years agoTEST_MAPPING += hidl_implementation_test
Steven Moreland [Wed, 23 Oct 2019 23:14:21 +0000 (16:14 -0700)]
TEST_MAPPING += hidl_implementation_test
am: 0376b8a9bb

Change-Id: I04ea5d78c00583d2150d85c6d3689331d19ab122

4 years agoTEST_MAPPING += hidl_implementation_test
Steven Moreland [Wed, 16 Oct 2019 23:49:12 +0000 (16:49 -0700)]
TEST_MAPPING += hidl_implementation_test

All HALs should have a known cf impl or be whitelisted.

Bug: 141567104
Test: hidl_implementation_test
Change-Id: I59d9fb3db32601d19fc20fb4a4b959ba54cca847

4 years agoSkip QD1A.190821.011 in stage-aosp-master
Xin Li [Wed, 16 Oct 2019 22:19:31 +0000 (15:19 -0700)]
Skip QD1A.190821.011 in stage-aosp-master

Bug: 141248619
Change-Id: I1e5c199fa5faa6d55edd9caafd8a1ed16b75a3f4

4 years agoRemove ashmemd's interfaces am: bef3565aa6 am: e78813cd70
Tri Vo [Thu, 26 Sep 2019 19:01:41 +0000 (12:01 -0700)]
Remove ashmemd's interfaces am: bef3565aa6 am: e78813cd70
am: 4f5d52ad7b

Change-Id: I3b9a8aa4b2c26c9f43e3d7c6802862b67112ddaf

4 years agoRemove ashmemd's interfaces am: bef3565aa6
Tri Vo [Thu, 26 Sep 2019 18:47:55 +0000 (11:47 -0700)]
Remove ashmemd's interfaces am: bef3565aa6
am: e78813cd70

Change-Id: I03e5ba4386e032dcd4de5573c84a05d38952166f

4 years agoRemove ashmemd's interfaces
Tri Vo [Thu, 26 Sep 2019 18:35:33 +0000 (11:35 -0700)]
Remove ashmemd's interfaces
am: bef3565aa6

Change-Id: I33f9f976db95c33a60af834354320ffca07405f3

4 years agoRemove ashmemd's interfaces
Tri Vo [Tue, 24 Sep 2019 22:19:15 +0000 (15:19 -0700)]
Remove ashmemd's interfaces

Bug: 139855428
Test: n/a
Change-Id: Iaac3fc6d6c11ec6839cb9be1310a6d9370c2b476

4 years agoSystemSuspendV1_0UnitTest: require root am: 4783e2f866 am: 63edaea093
Tri Vo [Thu, 19 Sep 2019 21:12:50 +0000 (14:12 -0700)]
SystemSuspendV1_0UnitTest: require root am: 4783e2f866 am: 63edaea093
am: 6ff986d234

Change-Id: Ib01610c68868dec702838f7a3be161644210257c

4 years agoSystemSuspendV1_0UnitTest: require root am: 4783e2f866
Tri Vo [Thu, 19 Sep 2019 21:06:20 +0000 (14:06 -0700)]
SystemSuspendV1_0UnitTest: require root am: 4783e2f866
am: 63edaea093

Change-Id: I67fed84c1410a8788c9c2c228d257c72b5de47f3

4 years agoSystemSuspendV1_0UnitTest: require root
Tri Vo [Thu, 19 Sep 2019 21:00:41 +0000 (14:00 -0700)]
SystemSuspendV1_0UnitTest: require root
am: 4783e2f866

Change-Id: Id5980c88537275378d8664f71eba8346b6e843e2

4 years agoSystemSuspendV1_0UnitTest: require root
Tri Vo [Thu, 19 Sep 2019 18:00:50 +0000 (11:00 -0700)]
SystemSuspendV1_0UnitTest: require root

Bug: 141272654
Test: n/a
Change-Id: Ie01a3be9861bcf3a25f03a1439292f98a910839a

4 years agoMerge "Relax expected outcome of Sign_empty_key_name" am: e38d199d47 am: 0ec55ed296
Branden Archer [Wed, 11 Sep 2019 16:59:24 +0000 (09:59 -0700)]
Merge "Relax expected outcome of Sign_empty_key_name" am: e38d199d47 am: 0ec55ed296
am: eaed96c1da

Change-Id: I5335a80bf57ea72b1592757d407ff690a09f905f

4 years agoMerge "Relax expected outcome of Sign_empty_key_name" am: e38d199d47
Branden Archer [Wed, 11 Sep 2019 16:47:41 +0000 (09:47 -0700)]
Merge "Relax expected outcome of Sign_empty_key_name" am: e38d199d47
am: 0ec55ed296

Change-Id: I18c14da831fbaab54381f275b957b4eb126d8b0c

4 years agoMerge "Relax expected outcome of Sign_empty_key_name"
Branden Archer [Wed, 11 Sep 2019 16:40:42 +0000 (09:40 -0700)]
Merge "Relax expected outcome of Sign_empty_key_name"
am: e38d199d47

Change-Id: I3e3077c988fd340365cb93a31667392fbffddc9e

4 years agoMerge "Relax expected outcome of Sign_empty_key_name"
Branden Archer [Wed, 11 Sep 2019 16:30:40 +0000 (16:30 +0000)]
Merge "Relax expected outcome of Sign_empty_key_name"

4 years ago[automerger skipped] Merge qt-r1-dev-plus-aosp-without-vendor (5817612) into stage...
Xin Li [Sun, 8 Sep 2019 23:36:52 +0000 (16:36 -0700)]
[automerger skipped] Merge qt-r1-dev-plus-aosp-without-vendor (5817612) into stage-aosp-master am: 25a0c696c6 -s ours
am: 738efc8097 -s ours
am skip reason: change_id I349ca268adb9e106947b0b8be55bcd729e7accb0 with SHA1 e362d6cceb is in history

Change-Id: Ia2c548bf6126a88a7d8fbd8f3d27325914b679ec

4 years ago[automerger skipped] Merge qt-r1-dev-plus-aosp-without-vendor (5817612) into stage...
Xin Li [Sun, 8 Sep 2019 22:49:38 +0000 (15:49 -0700)]
[automerger skipped] Merge qt-r1-dev-plus-aosp-without-vendor (5817612) into stage-aosp-master
am: 25a0c696c6 -s ours
am skip reason: change_id I349ca268adb9e106947b0b8be55bcd729e7accb0 with SHA1 e362d6cceb is in history

Change-Id: I407d4cbea13328f25a97fe46f8a2fb8a26eb5daa

4 years agoMerge qt-r1-dev-plus-aosp-without-vendor (5817612) into stage-aosp-master
Xin Li [Sun, 8 Sep 2019 19:45:56 +0000 (12:45 -0700)]
Merge qt-r1-dev-plus-aosp-without-vendor (5817612) into stage-aosp-master

No content change.

Bug: 135460123
Change-Id: I8939a8314ae39c281b4ff60e735ed8804c28c635
Merged-In: I349ca268adb9e106947b0b8be55bcd729e7accb0

4 years agoRemove libhwbinder/libhidltransport deps am: 4bea34316a am: e362d6cceb
Steven Moreland [Fri, 6 Sep 2019 22:19:23 +0000 (15:19 -0700)]
Remove libhwbinder/libhidltransport deps am: 4bea34316a am: e362d6cceb
am: 39b0cfbadb

Change-Id: Ia6c5c7117b835b9569a4182f9693dc035c100887

4 years agoRemove libhwbinder/libhidltransport deps am: 4bea34316a
Steven Moreland [Fri, 6 Sep 2019 21:30:52 +0000 (14:30 -0700)]
Remove libhwbinder/libhidltransport deps am: 4bea34316a
am: e362d6cceb

Change-Id: I8a76e95e41a2b39e45c31fbe3b96dd5b7ca0cfac

4 years agoRemove libhwbinder/libhidltransport deps
Steven Moreland [Fri, 6 Sep 2019 19:53:11 +0000 (12:53 -0700)]
Remove libhwbinder/libhidltransport deps
am: 4bea34316a

Change-Id: I349ca268adb9e106947b0b8be55bcd729e7accb0

4 years agoRemove libhwbinder/libhidltransport deps
Steven Moreland [Thu, 5 Sep 2019 21:17:38 +0000 (14:17 -0700)]
Remove libhwbinder/libhidltransport deps

Since these were combined into libhidlbase.

Bug: 135686713
Test: build only (libhwbinder/libhidltransport are empty)
Change-Id: Ie6851c6ddd54dab28ffaa8c184751581ab49c4bf

4 years ago[automerger skipped] DO NOT MERGE - Merge Android 10 into master am: 99973c934d ...
Xin Li [Thu, 5 Sep 2019 21:09:45 +0000 (14:09 -0700)]
[automerger skipped] DO NOT MERGE - Merge Android 10 into master am: 99973c934d -s ours am: f14c96e2e6
am: 9d507be5c2

Change-Id: I2da1acc9ab86e9b78e579ea12fcd5b116bcdb2c8

4 years agoRelax expected outcome of Sign_empty_key_name
Branden Archer [Tue, 3 Sep 2019 20:21:18 +0000 (13:21 -0700)]
Relax expected outcome of Sign_empty_key_name

Signing empty data is valid, and enforcing the expectation of
an error is incorrect. Updating the test to reflect that
the response from signing empty data is not important, though
the call returning is important.

Test: atest VtsHalWifiKeystoreV1_0TargetTest
Fixes: 140561000

Change-Id: Idf9d4f08652ea91b26e89264b861091116c8df64

4 years ago[automerger skipped] DO NOT MERGE - Merge Android 10 into master am: 99973c934d ...
Xin Li [Thu, 5 Sep 2019 20:34:49 +0000 (13:34 -0700)]
[automerger skipped] DO NOT MERGE - Merge Android 10 into master am: 99973c934d -s ours
am: f14c96e2e6

Change-Id: Ifb2651d36bf911746a13c54bbf978d15271236db

4 years ago[automerger skipped] DO NOT MERGE - Merge Android 10 into master
Xin Li [Thu, 5 Sep 2019 19:23:01 +0000 (12:23 -0700)]
[automerger skipped] DO NOT MERGE - Merge Android 10 into master
am: 99973c934d -s ours
am skip reason: subject contains skip directive

Change-Id: Ic6499467eddbdb414725e0314c5f2e42f6d8b153

4 years agoDO NOT MERGE - Merge Android 10 into master
Xin Li [Wed, 4 Sep 2019 20:35:27 +0000 (13:35 -0700)]
DO NOT MERGE - Merge Android 10 into master

Bug: 139893257
Change-Id: Ibc86fa129ddc833a2059730c5c7b309aa3f793aa

4 years ago[automerger skipped] DO NOT MERGE - Merge qt-dev-plus-aosp-without-vendor (5713463...
Xin Li [Fri, 16 Aug 2019 01:08:27 +0000 (18:08 -0700)]
[automerger skipped] DO NOT MERGE - Merge qt-dev-plus-aosp-without-vendor (5713463) into stage-aosp-master am: 4b8add5658 -s ours am: fa40f5dee2
am: 8031d82aeb

Change-Id: I76641caae9e6c9d4d9a2e8974565e23ac57a10f9

4 years ago[automerger skipped] DO NOT MERGE - Merge qt-dev-plus-aosp-without-vendor (5713463...
Xin Li [Fri, 16 Aug 2019 00:32:40 +0000 (17:32 -0700)]
[automerger skipped] DO NOT MERGE - Merge qt-dev-plus-aosp-without-vendor (5713463) into stage-aosp-master am: 4b8add5658 -s ours
am: fa40f5dee2

Change-Id: I69e473bef027f92745f4008f024366a66761e6f9

4 years ago[automerger skipped] DO NOT MERGE - Merge qt-dev-plus-aosp-without-vendor (5713463...
Xin Li [Thu, 15 Aug 2019 23:39:23 +0000 (16:39 -0700)]
[automerger skipped] DO NOT MERGE - Merge qt-dev-plus-aosp-without-vendor (5713463) into stage-aosp-master
am: 4b8add5658 -s ours
am skip reason: subject contains skip directive

Change-Id: I4cc1b9add0799c942d5ad6b8803ae42354a3b9f2

4 years agoDO NOT MERGE - Merge qt-dev-plus-aosp-without-vendor (5713463) into stage-aosp-master
Xin Li [Wed, 14 Aug 2019 19:04:09 +0000 (12:04 -0700)]
DO NOT MERGE - Merge qt-dev-plus-aosp-without-vendor (5713463) into stage-aosp-master

Bug: 134405016
Change-Id: I0f15d1105c9bd12d9fd21823d9f15c7f60edac68

4 years agoMerge "Add restricted OWNERS for .hal/.aidl files." am: 09c47541fc am: ef51608b98...
Steven Moreland [Tue, 13 Aug 2019 00:38:58 +0000 (17:38 -0700)]
Merge "Add restricted OWNERS for .hal/.aidl files." am: 09c47541fc am: ef51608b98 am: f75bb61272
am: 069b198256

Change-Id: I019fe724a207a2bb93b22209dd9f90e71f45aab0

4 years agoRemove new line from read sysfs stats am: 746c4e23a5 am: 468a1e69a3 am: fef97727bb
Kalesh Singh [Tue, 13 Aug 2019 00:38:32 +0000 (17:38 -0700)]
Remove new line from read sysfs stats am: 746c4e23a5 am: 468a1e69a3 am: fef97727bb
am: 84a2c46573

Change-Id: I21a2ea4e1a3fd920c52d29526d03e8d34f8327bc

4 years agoMerge "Add restricted OWNERS for .hal/.aidl files." am: 09c47541fc am: ef51608b98
Steven Moreland [Tue, 13 Aug 2019 00:14:25 +0000 (17:14 -0700)]
Merge "Add restricted OWNERS for .hal/.aidl files." am: 09c47541fc am: ef51608b98
am: f75bb61272

Change-Id: Ic8149551ecabdb7aa7fa642dda9dfd439a614833

4 years agoRemove new line from read sysfs stats am: 746c4e23a5 am: 468a1e69a3
Kalesh Singh [Tue, 13 Aug 2019 00:14:10 +0000 (17:14 -0700)]
Remove new line from read sysfs stats am: 746c4e23a5 am: 468a1e69a3
am: fef97727bb

Change-Id: I3ef5f7dd946d147ed6b91fa7afffaeb00c1db511

4 years agoMerge "Add restricted OWNERS for .hal/.aidl files." am: 09c47541fc
Steven Moreland [Mon, 12 Aug 2019 23:45:53 +0000 (16:45 -0700)]
Merge "Add restricted OWNERS for .hal/.aidl files." am: 09c47541fc
am: ef51608b98

Change-Id: I837d5ed97a403d612784c557a2b4c05cc55b71af

4 years agoRemove new line from read sysfs stats am: 746c4e23a5
Kalesh Singh [Mon, 12 Aug 2019 23:43:54 +0000 (16:43 -0700)]
Remove new line from read sysfs stats am: 746c4e23a5
am: 468a1e69a3

Change-Id: I4a37899ef2e63731081ee54cf2dd67bec6abf431

4 years agoMerge "Add restricted OWNERS for .hal/.aidl files."
Steven Moreland [Mon, 12 Aug 2019 23:33:17 +0000 (16:33 -0700)]
Merge "Add restricted OWNERS for .hal/.aidl files."
am: 09c47541fc

Change-Id: I26cb07a21754d158b0662b534a8973ce15cc5648

4 years agoRemove new line from read sysfs stats
Kalesh Singh [Mon, 12 Aug 2019 23:32:53 +0000 (16:32 -0700)]
Remove new line from read sysfs stats
am: 746c4e23a5

Change-Id: Ib7f7c6b9cada6d14f88d61d48c7787d9e4270326

4 years agoMerge "Add restricted OWNERS for .hal/.aidl files."
Treehugger Robot [Mon, 12 Aug 2019 23:08:47 +0000 (23:08 +0000)]
Merge "Add restricted OWNERS for .hal/.aidl files."

4 years agoRemove new line from read sysfs stats
Kalesh Singh [Fri, 9 Aug 2019 20:52:30 +0000 (13:52 -0700)]
Remove new line from read sysfs stats

'\n' is appended to most sysfs values in the corresponding 'show' function.
A string value read from sysfs will be accompanied by this trailing newline.
This causes the output of dumpsys suspend_control --wakelocks and
dumpsys suspend_control --suspend_stats to be messy and difficult
to read.

Test: SystemSuspendUnitTest

Change-Id: I08372a6a198d5ed58f400c029ac0efe45e05be6b

4 years agoAdd restricted OWNERS for .hal/.aidl files.
Steven Moreland [Fri, 9 Aug 2019 20:22:37 +0000 (13:22 -0700)]
Add restricted OWNERS for .hal/.aidl files.

Since new hardware interfaces may start containing .aidl interfaces.

Bug: 136027762
Test: N/A
Change-Id: Ie560aadb8882faa532778a5653a07868df2801b6

4 years agoMerge "Updated WakeLockInfo Documentation" am: 127247f420 am: 7068e86368 am: 3f8c16dabe
Kalesh Singh [Thu, 8 Aug 2019 23:43:16 +0000 (16:43 -0700)]
Merge "Updated WakeLockInfo Documentation" am: 127247f420 am: 7068e86368 am: 3f8c16dabe
am: bbcb934909

Change-Id: Id7a5b6134594aba95ff77412aaa0a3202ac2b5eb

4 years agoMerge "Updated WakeLockInfo Documentation" am: 127247f420 am: 7068e86368
Kalesh Singh [Thu, 8 Aug 2019 23:33:50 +0000 (16:33 -0700)]
Merge "Updated WakeLockInfo Documentation" am: 127247f420 am: 7068e86368
am: 3f8c16dabe

Change-Id: I506f8c7f2b88e70aade6a851034ce8bb7b19530e

4 years agoMerge "Updated WakeLockInfo Documentation" am: 127247f420
Kalesh Singh [Thu, 8 Aug 2019 23:21:47 +0000 (16:21 -0700)]
Merge "Updated WakeLockInfo Documentation" am: 127247f420
am: 7068e86368

Change-Id: I4b8e9558e7652f14c82548c77581b65510dfa2fd

4 years agoMerge "Updated WakeLockInfo Documentation"
Kalesh Singh [Thu, 8 Aug 2019 23:12:23 +0000 (16:12 -0700)]
Merge "Updated WakeLockInfo Documentation"
am: 127247f420

Change-Id: I04ebb6f82efeaec4d02f3c52cbbd96c60e243c05

4 years agoMerge "Updated WakeLockInfo Documentation"
Treehugger Robot [Thu, 8 Aug 2019 22:37:36 +0000 (22:37 +0000)]
Merge "Updated WakeLockInfo Documentation"

4 years agoUpdated WakeLockInfo Documentation
Kalesh Singh [Thu, 8 Aug 2019 16:48:20 +0000 (09:48 -0700)]
Updated WakeLockInfo Documentation

Bug: 128923994
Test: m -j
Change-Id: Ifc0910fa3f03465b30d0eabe3e686b79ea77a37c

4 years agoUpdate SystemSuspend Kernel Wakelock Stats am: fd8348e246 am: b2572d4b14 am: 763cac2596
Kalesh Singh [Wed, 7 Aug 2019 16:33:31 +0000 (09:33 -0700)]
Update SystemSuspend Kernel Wakelock Stats am: fd8348e246 am: b2572d4b14 am: 763cac2596
am: b4c397cd32

Change-Id: I486919a9e73c3d0516d3eabe547812641e8ab000

4 years agoAdd suspend stats to SuspendControl::dump() am: 180dc2e01b am: a7de679171 am: 84b7e6bf0d
Kalesh Singh [Wed, 7 Aug 2019 16:33:12 +0000 (09:33 -0700)]
Add suspend stats to SuspendControl::dump() am: 180dc2e01b am: a7de679171 am: 84b7e6bf0d
am: 402113abb6

Change-Id: I468fd4f8795f035913a499616bb089f481b1150c

4 years agoUpdate SystemSuspend Kernel Wakelock Stats am: fd8348e246 am: b2572d4b14
Kalesh Singh [Wed, 7 Aug 2019 16:22:31 +0000 (09:22 -0700)]
Update SystemSuspend Kernel Wakelock Stats am: fd8348e246 am: b2572d4b14
am: 763cac2596

Change-Id: Ibae18b402bd9509bebd5981379b8e1f11e107364

4 years agoAdd suspend stats to SuspendControl::dump() am: 180dc2e01b am: a7de679171
Kalesh Singh [Wed, 7 Aug 2019 16:22:14 +0000 (09:22 -0700)]
Add suspend stats to SuspendControl::dump() am: 180dc2e01b am: a7de679171
am: 84b7e6bf0d

Change-Id: I8e2ba9c96b5fafb34d9b91f69e2c5bd45fba7995

4 years agoUpdate SystemSuspend Kernel Wakelock Stats am: fd8348e246
Kalesh Singh [Wed, 7 Aug 2019 16:11:24 +0000 (09:11 -0700)]
Update SystemSuspend Kernel Wakelock Stats am: fd8348e246
am: b2572d4b14

Change-Id: I489fc48add56afb75eb545fc7fad6c1b2546b072

4 years agoAdd suspend stats to SuspendControl::dump() am: 180dc2e01b
Kalesh Singh [Wed, 7 Aug 2019 16:11:09 +0000 (09:11 -0700)]
Add suspend stats to SuspendControl::dump() am: 180dc2e01b
am: a7de679171

Change-Id: Ib7fd1354309d31b2f3de11f7fae90f1c3f3fb9c4

4 years agoUpdate SystemSuspend Kernel Wakelock Stats
Kalesh Singh [Wed, 7 Aug 2019 15:50:27 +0000 (08:50 -0700)]
Update SystemSuspend Kernel Wakelock Stats
am: fd8348e246

Change-Id: I02abca62c9b062f8cfa5e41db25747f99967dd07

4 years agoAdd suspend stats to SuspendControl::dump()
Kalesh Singh [Wed, 7 Aug 2019 15:50:10 +0000 (08:50 -0700)]
Add suspend stats to SuspendControl::dump()
am: 180dc2e01b

Change-Id: I38db47f5b43e32c760197d114b06875269763699

4 years agoUpdate SystemSuspend Kernel Wakelock Stats
Kalesh Singh [Tue, 6 Aug 2019 23:57:52 +0000 (16:57 -0700)]
Update SystemSuspend Kernel Wakelock Stats

Read stats from /sys/class/wakeup/wakeupN instead of
/sys/class/wakeup/<name>. (This change was made to avoid
name collision in the kernel).

Bug: 128923994
Test: SystemSuspendUnitTest

Change-Id: Ie1b52197bf0be7f40e1dbd404b05104944df63c3

4 years agoAdd suspend stats to SuspendControl::dump()
Kalesh Singh [Thu, 1 Aug 2019 21:43:17 +0000 (14:43 -0700)]
Add suspend stats to SuspendControl::dump()

Bug: 138810483
Fixes: 138810483
Test: adb shell dumpsys suspend_control --suspend_stats
Test: SystemSuspendUnitTest

Change-Id: I6c48c94906db5a4952eee6c439d203b6bb50c6e8

4 years agoUpdate Native Wakelocks lastChange stat am: 96bb5a5637 am: 6ed22d60ab am: 4cc7feac78
Kalesh Singh [Fri, 26 Jul 2019 16:35:04 +0000 (09:35 -0700)]
Update Native Wakelocks lastChange stat am: 96bb5a5637 am: 6ed22d60ab am: 4cc7feac78
am: 696ee9f1f6

Change-Id: I225a249cb6cbafb72f34968f0e7aba2881612cf8

4 years agoAdd Wakelock Stats to SuspendControl Dump am: e624a249d9 am: 40e40d140f am: f7676247a4
Kalesh Singh [Fri, 26 Jul 2019 16:33:42 +0000 (09:33 -0700)]
Add Wakelock Stats to SuspendControl Dump am: e624a249d9 am: 40e40d140f am: f7676247a4
am: 952ae377b3

Change-Id: Ifdc56fb5c8d549396b5230179589e8384658aa4d

4 years agoUpdate Native Wakelocks lastChange stat am: 96bb5a5637 am: 6ed22d60ab
Kalesh Singh [Fri, 26 Jul 2019 16:21:20 +0000 (09:21 -0700)]
Update Native Wakelocks lastChange stat am: 96bb5a5637 am: 6ed22d60ab
am: 4cc7feac78

Change-Id: I8523ae7526905a23ce4ef1a36db2fb4018d529e3

4 years agoAdd Wakelock Stats to SuspendControl Dump am: e624a249d9 am: 40e40d140f
Kalesh Singh [Fri, 26 Jul 2019 16:20:40 +0000 (09:20 -0700)]
Add Wakelock Stats to SuspendControl Dump am: e624a249d9 am: 40e40d140f
am: f7676247a4

Change-Id: I924a8d761b423260f8efaea52673e8b0e8f6c79f

4 years agoUpdate Native Wakelocks lastChange stat am: 96bb5a5637
Kalesh Singh [Fri, 26 Jul 2019 16:11:16 +0000 (09:11 -0700)]
Update Native Wakelocks lastChange stat am: 96bb5a5637
am: 6ed22d60ab

Change-Id: Ic31857096ef29d5811435bfa42977186cdb3abc9

4 years agoAdd Wakelock Stats to SuspendControl Dump am: e624a249d9
Kalesh Singh [Fri, 26 Jul 2019 16:10:38 +0000 (09:10 -0700)]
Add Wakelock Stats to SuspendControl Dump am: e624a249d9
am: 40e40d140f

Change-Id: Iedcd903818723fc35491762f905bc233cb085052

4 years agoUpdate Native Wakelocks lastChange stat
Kalesh Singh [Fri, 26 Jul 2019 15:57:32 +0000 (08:57 -0700)]
Update Native Wakelocks lastChange stat
am: 96bb5a5637

Change-Id: I34e6bf59c58462fbed43337b25428fb36580cc3e

4 years agoAdd Wakelock Stats to SuspendControl Dump
Kalesh Singh [Fri, 26 Jul 2019 15:57:16 +0000 (08:57 -0700)]
Add Wakelock Stats to SuspendControl Dump
am: e624a249d9

Change-Id: I43b3e7f8122cde68397fb3b4a85a22a2ae12663c

4 years agoUpdate Native Wakelocks lastChange stat
Kalesh Singh [Thu, 25 Jul 2019 22:52:42 +0000 (15:52 -0700)]
Update Native Wakelocks lastChange stat

Changed native wakelocks lastChange stat from time since epoch
to monotonic clock time, to be consistent with kernel  wakelocks
lastChange.

Bug: 128923994
Test: adb shell dumpsys suspend_control

Change-Id: I45234b91c4495d9f7f5fe2924c59af64e0bbfbea

4 years agoAdd Wakelock Stats to SuspendControl Dump
Kalesh Singh [Wed, 24 Jul 2019 22:30:41 +0000 (15:30 -0700)]
Add Wakelock Stats to SuspendControl Dump

Test: adb shell dumpsys suspend_control
Bug: 136689376
Fixes: 136689376

Change-Id: I32e2078babcb216530c4a13ef2f17243fda8d5af

4 years agoMerge "Add Kernel Wakelock Stats to SystemSuspend." am: 102552242d am: 9693cb2be1...
Kalesh Singh [Thu, 25 Jul 2019 08:13:22 +0000 (01:13 -0700)]
Merge "Add Kernel Wakelock Stats to SystemSuspend." am: 102552242d am: 9693cb2be1 am: 9cb6c206af
am: 4ffdd64589

Change-Id: I366b6463a3794db04ad1519dc2c7ed1cdd2f22bf

4 years agoMerge "Add Kernel Wakelock Stats to SystemSuspend." am: 102552242d am: 9693cb2be1
Kalesh Singh [Thu, 25 Jul 2019 07:51:19 +0000 (00:51 -0700)]
Merge "Add Kernel Wakelock Stats to SystemSuspend." am: 102552242d am: 9693cb2be1
am: 9cb6c206af

Change-Id: If801d557eef093b46fa5325bccfcc51c85bcd5e4

4 years agoMerge "Add Kernel Wakelock Stats to SystemSuspend." am: 102552242d
Kalesh Singh [Thu, 25 Jul 2019 07:32:10 +0000 (00:32 -0700)]
Merge "Add Kernel Wakelock Stats to SystemSuspend." am: 102552242d
am: 9693cb2be1

Change-Id: Ic4a52db8df966a2d482c5bebf27f9b3856aa20cc

4 years agoMerge "Add Kernel Wakelock Stats to SystemSuspend."
Kalesh Singh [Thu, 25 Jul 2019 07:21:16 +0000 (00:21 -0700)]
Merge "Add Kernel Wakelock Stats to SystemSuspend."
am: 102552242d

Change-Id: I5919d549704b537de3f35dbddf3e65b9b4b96cc8

4 years agoMerge "Add Kernel Wakelock Stats to SystemSuspend."
Treehugger Robot [Thu, 25 Jul 2019 07:02:25 +0000 (07:02 +0000)]
Merge "Add Kernel Wakelock Stats to SystemSuspend."

4 years agoAdd Kernel Wakelock Stats to SystemSuspend.
Kalesh Singh [Wed, 17 Jul 2019 18:31:29 +0000 (11:31 -0700)]
Add Kernel Wakelock Stats to SystemSuspend.

Kernel wakelock stats have been migrated from /d/wakeup_sources
to /sys/class/wakeup. We make these stats available to clients
via the SuspendControl AIDL interface, which already reports
native wakelock stats.

Bug: 128923994
Test: SystemSuspendV1_0UnitTest

Change-Id: I41d2e2eec996cf9a7d3e0519d34f4285f5896256

4 years agosystem_suspend: start early am: cb732f9b63 am: de3af06c00
Tri Vo [Wed, 17 Jul 2019 02:16:39 +0000 (19:16 -0700)]
system_suspend: start early am: cb732f9b63 am: de3af06c00
am: 3668191898

Change-Id: I8d603895b34a3d792ff5ad8a58a357eb0c389b2e

4 years agosystem_suspend: start early am: cb732f9b63
Tri Vo [Wed, 17 Jul 2019 02:05:44 +0000 (19:05 -0700)]
system_suspend: start early am: cb732f9b63
am: de3af06c00

Change-Id: I887ca579beaf5d31306465432320f765c7f92c43

4 years agosystem_suspend: start early
Tri Vo [Wed, 17 Jul 2019 01:55:34 +0000 (18:55 -0700)]
system_suspend: start early
am: cb732f9b63

Change-Id: Ib182d0cfcef1fd4d986a32583c530be6edb07ab5

4 years agosystem_suspend: start early
Tri Vo [Tue, 16 Jul 2019 21:40:14 +0000 (14:40 -0700)]
system_suspend: start early

With aosp/952637, FDE devices will restart services that were
started after the tmpfs /data was mounted.

vold grabs a wake lock before triggering framework restart. Restarting
system_suspend in these circumstances results in a wake lock leak.

Prevent system_suspend from restarting by moving it to early_hal class.

Bug: 136777986
Bug: 133175847
Test: boot blueline
Change-Id: I00204ebbe6f807a04bc8529f02f6eb4a26b1478e

4 years agoSnap for 5709975 from 2987e6b9e5e5ea02124c67e880aaeb942a3e4c17 to qt-c2f2-release
android-build-team Robot [Sat, 6 Jul 2019 23:16:01 +0000 (23:16 +0000)]
Snap for 5709975 from 2987e6b9e5e5ea02124c67e880aaeb942a3e4c17 to qt-c2f2-release

Change-Id: I7e3096db38e8474178187914082193bdbf007018

4 years agoMerge "suspend: reformat using .clang-format" am: b40d2001fa am: 71189c9870
Tri Vo [Thu, 4 Jul 2019 03:53:37 +0000 (20:53 -0700)]
Merge "suspend: reformat using .clang-format" am: b40d2001fa am: 71189c9870
am: a0b69149c8

Change-Id: I340616e356d71547d7271b17b65a11b0fb9fb941

4 years agoMerge "suspend: reformat using .clang-format" am: b40d2001fa
Tri Vo [Thu, 4 Jul 2019 03:15:07 +0000 (20:15 -0700)]
Merge "suspend: reformat using .clang-format" am: b40d2001fa
am: 71189c9870

Change-Id: Idea82026f8c446e499a138e270a822c8629614fb

4 years ago[automerger skipped] Relax testing under GSI am: c4cd8ed446 -s ours
Branden Archer [Thu, 4 Jul 2019 03:07:28 +0000 (20:07 -0700)]
[automerger skipped] Relax testing under GSI am: c4cd8ed446 -s ours
am: 2987e6b9e5 -s ours
am skip reason: change_id Ie52e916a658b09eea66ffd9c5f2ac704656f4f3f with SHA1 dbdc57870f is in history

Change-Id: Id2539c6169dd1524f1fd74943fd52742f7dc0b9a

4 years ago[automerger skipped] Relax testing under GSI am: c4cd8ed446
Branden Archer [Thu, 4 Jul 2019 03:04:11 +0000 (20:04 -0700)]
[automerger skipped] Relax testing under GSI am: c4cd8ed446
am: baa5ecb707 -s ours
am skip reason: change_id Ie52e916a658b09eea66ffd9c5f2ac704656f4f3f with SHA1 dbdc57870f is in history

Change-Id: I1214eba5a4cf09c58a91ac91b34530dad5629bac

4 years agoMerge "suspend: reformat using .clang-format"
Tri Vo [Thu, 4 Jul 2019 02:03:48 +0000 (19:03 -0700)]
Merge "suspend: reformat using .clang-format"
am: b40d2001fa

Change-Id: I36316489745bc9c7a20945af739939e2c418ff4f

4 years ago[automerger skipped] Relax testing under GSI
Branden Archer [Thu, 4 Jul 2019 01:50:15 +0000 (18:50 -0700)]
[automerger skipped] Relax testing under GSI
am: c4cd8ed446 -s ours
am skip reason: change_id Ie52e916a658b09eea66ffd9c5f2ac704656f4f3f with SHA1 dbdc57870f is in history

Change-Id: I8271eff16ebf11cd68807bd627fd70a4cf189766

4 years agoRelax testing under GSI
Branden Archer [Thu, 4 Jul 2019 01:49:29 +0000 (18:49 -0700)]
Relax testing under GSI
am: c4cd8ed446

Change-Id: I02be604bbf8b17e4fbcfc739c9e0322aa5a1b325

4 years agoMerge "suspend: reformat using .clang-format"
Treehugger Robot [Wed, 3 Jul 2019 00:31:48 +0000 (00:31 +0000)]
Merge "suspend: reformat using .clang-format"

4 years agoRelax testing under GSI
Branden Archer [Mon, 1 Jul 2019 17:43:52 +0000 (10:43 -0700)]
Relax testing under GSI

VTS testing on GSI images will no longer occur on userdebug
builds. Instead, a user build is used with a boot image containing
a rootable adb. There is a change in Keystore that allows root to
create test keys on debuggable builds specifically for this VTS test.
Without that change the positive test cases will fail, as the test
keys cannot be generated.

To allow this test to continue working when run against GSI builds,
the parts of the test which require debuggable builds are skipped.

Test: build/test VtsHalWifiKeystoreV1_0TargetTest
      on a GSI user build with rootable adb
Bug: 135421408

Change-Id: I4f7d29389dc170966e76a6661854cc92d0ea6e7f
Merged-In: Ie52e916a658b09eea66ffd9c5f2ac704656f4f3f