• R/O
  • HTTP
  • SSH
  • HTTPS

Listed des commits

Tags
Aucun tag

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

system/hardware/interfaces


RSS
Révision l'heure Auteur
78688b1 q-x86 2020-04-21 00:04:02 Chih-Wei Huang

Add powerbtnd thread

Also send wakeup key on resume to ensure the system wakes up
normally.

4405fb0 2020-04-20 19:43:48 Chih-Wei Huang

Make sleep state configurable and add a fallback

This patch allows the user to set the sleep state target from
Android properties for wakeup_count method.

It also includes a fallback state if the default state is not
available and the user didn't set the sleep.state property.

2987e6b 2019-07-04 10:50:15 Branden Archer

[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

c4cd8ed 2019-07-03 05:58:39 Branden Archer

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

dbdc578 2019-07-02 05:17:30 Branden Archer

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: Ie52e916a658b09eea66ffd9c5f2ac704656f4f3f

cd00105 2019-04-19 08:14:11 Branden Archer

Split Wifi Keystore HAL tests into smaller pieces

There was originally one test per function, which attempted many
possible error conditions and one success condition. It would be
easier to reason through the tests and maintain them if they
were smaller and each test attempted on thing.

Note that the logic on the "wrong user" tests was reversed; the
HAL expects the user to be the wifi user. The reverse may have
originally worked because the HAL library was run within the test
process.

Bug: 130207625
Test: On an AOSP build:
make VtsHalWifiKeystoreV1_0TargetTest;
vts-tradefed run commandAndExit vts -m VtsHalWifiKeystoreV1_0TargetTest

Change-Id: I534b7f66cdb1047a972a4dab708609b15cf287df
Merged-In: I282e151d0b38903578bd9077814c810e44b3b93d

bb7ef97 2019-04-19 08:12:00 Branden Archer

Access Wifi Keystore HAL via binder

The test originally linked against the HAL directly, as well as the
generated stub to access the HAL.. This "worked", however if both the
32-bit and 64-bit versions of the generated stub library were
not present the test would fail. It turned out that on AOSP builds
this was the case, as a 32-bit version of android.system.wifi.keystore
was not present as it was never used at runtime.

To avoid this issue, the stub is now linked statically. Further, the
HAL under test is accessed over binder.

Bug: 130207625
Test: On an AOSP build:
make vts;
vts-tradefed run commandAndExit vts -m VtsHalWifiKeystoreV1_0TargetTest

Change-Id: I02cac1e89c8bed45a4b9b98820c86500327891b6
Merged-In: I138f3e7809a337cec81dccbc52c7a9170acd1d3d

db8a110 2019-03-26 10:47:56 Tri Vo

Merge "Promote SystemSuspendV1_0UnitTest to presubmit" am: 4774a61582 am: 350ce28199
am: 4df20883f4

Change-Id: I6af2e589302a8dbc6119f14d7ed0b5de88be8fe2

4df2088 2019-03-26 10:43:53 Tri Vo

Merge "Promote SystemSuspendV1_0UnitTest to presubmit" am: 4774a61582
am: 350ce28199

Change-Id: I6935f0b803df2eab28695f7c076214e2dbac16ce

350ce28 2019-03-26 10:39:53 Tri Vo

Merge "Promote SystemSuspendV1_0UnitTest to presubmit"
am: 4774a61582

Change-Id: I6b4b6b7cfd17b9082582306a14603c37b5ca46d9

4774a61 2019-03-26 10:31:07 Treehugger Robot

Merge "Promote SystemSuspendV1_0UnitTest to presubmit"

fe11412 2019-03-26 09:14:18 Tri Vo

Ability to choose either suspend counter or /sys/power/wake_lock. am: a833d47822 am: 85ad4a9a10
am: f7791b77c5

Change-Id: I23fa71e80b2ad2c6812407fa3adfe62e26fbc749

f7791b7 2019-03-26 08:55:40 Tri Vo

Ability to choose either suspend counter or /sys/power/wake_lock. am: a833d47822
am: 85ad4a9a10

Change-Id: I2d3b08a40ceb5fc81e8f4853d7c051db1ed4bbee

85ad4a9 2019-03-26 08:50:42 Tri Vo

Ability to choose either suspend counter or /sys/power/wake_lock.
am: a833d47822

Change-Id: I7ae431a50dd1c48a2829ca9ee441f59297c4d3d1

59d80c3 2019-03-26 04:38:53 Tri Vo

Promote SystemSuspendV1_0UnitTest to presubmit

After increasing some timeout values aosp/931617, this test is now
stable in postsubmit.

Fixes: 127310798
Test: presubmit
Change-Id: I1ee6852552e7e4b5f16f6f52670467a3a5239f9d

a833d47 2019-03-22 07:42:13 Tri Vo

Ability to choose either suspend counter or /sys/power/wake_lock.

Suspend blocker that are kept track of by SystemSuspend can now be
backed by either a ref-counter OR /sys/power/wake_lock interface.

We need /sys/power/wake_[un]lock to export debugging info via
/sys/kernel/debug/wakeup_sources. We do this to preserve the workflow
with existing toolchains.

In the future, we want to keep all native wake lock debugging info in
SystemSuspend. That info will then be exposed directly to our tools.

Debug info in /d/wakeup_sources might be misaligned if there wake locks
with colliding names on the device. There are no such cases in Android
platform or pixel devices.

Bug: 128923994
Test: SystemSuspendV1_0UnitTest
Test: device suspends if left alone
Test: /d/wakeup_sources keeps track of all native wake locks
Change-Id: I7d15fca42efca945122ec0671f424e75e186f5d8

10a8b1d 2019-03-22 02:43:57 Tri Vo

SystemSuspendTest.CleanupOnAbort increase timeout am: 28d18ced6f am: f8f4527ef9
am: c81b32a2a9

Change-Id: Ibe2c194aa409bccf230b33752755d764a09c632c

c81b32a 2019-03-22 02:38:53 Tri Vo

SystemSuspendTest.CleanupOnAbort increase timeout am: 28d18ced6f
am: f8f4527ef9

Change-Id: I3ff45f855d0f15f3c7424ab3bbf99f5f056f803d

f8f4527 2019-03-22 02:31:50 Tri Vo

SystemSuspendTest.CleanupOnAbort increase timeout
am: 28d18ced6f

Change-Id: Ibc716da5ae4e2a99f346637a6a1d64dddd921c13

28d18ce 2019-03-21 05:30:56 Tri Vo

SystemSuspendTest.CleanupOnAbort increase timeout

This test case checks that wake locks are cleaned up on process death.
The timing of binder driver cleaning up dead wake locks is scheduler
dependent. Increase the timeout to reduce flakes.

Bug: 127310798
Test: SystemSuspendV1_0UnitTest
Change-Id: Ic1727fc3923ec908a5426fc7a24c76c39d06cc25

0b2e22d 2019-03-05 12:27:19 Steven Moreland

Merge "Use auto-generated makefile for suspend HAL." am: 78b6eb0fac am: 1a40c5cbbe
am: 11a155ba7b

Change-Id: I22ce7eb18e0d4a92a3b0fff75478e70b0c811c2d

11a155b 2019-03-05 12:23:18 Steven Moreland

Merge "Use auto-generated makefile for suspend HAL." am: 78b6eb0fac
am: 1a40c5cbbe

Change-Id: I2204d15fcb1c443d58bf7e86b4769e1b7ecd6b25

1a40c5c 2019-03-05 12:20:17 Steven Moreland

Merge "Use auto-generated makefile for suspend HAL."
am: 78b6eb0fac

Change-Id: I770e133f03c5a95195eaf38f8576ab035ad29a7f

78b6eb0 2019-03-05 12:11:01 Treehugger Robot

Merge "Use auto-generated makefile for suspend HAL."

3986b6e 2019-03-05 10:01:23 Steven Moreland

Use auto-generated makefile for suspend HAL.

Bug: 123976090
Test: system/hardware/interfaces/update-makefiles.sh
Change-Id: I8406240dda30b954be0c2f4e8136bd60ec0a51ba

25b74b0 2019-03-05 06:57:39 Tri Vo

Demote system_suspend test to postsubmit am: 872fa528a0 am: fabb91db8d
am: bbbf1177ea

Change-Id: I0d7ed9600edbce6434302eff5ab6ac8a17aeca37

bbbf117 2019-03-05 06:42:37 Tri Vo

Demote system_suspend test to postsubmit am: 872fa528a0
am: fabb91db8d

Change-Id: I2eacda79fe942fe0bfeab1456afc4d8b70f7e7a6

fabb91d 2019-03-05 06:29:04 Tri Vo

Demote system_suspend test to postsubmit
am: 872fa528a0

Change-Id: I8ce80ec0f7d513815af470b8e54390796bae765f

872fa52 2019-03-05 04:01:43 Tri Vo

Demote system_suspend test to postsubmit

SystemSuspendTest.CleanupOnAbort is flaky b/127310798. Demote the test
from presubmit to postsubmit.

Fixes: 127286160
Test: n/a
Change-Id: I7cb70583fae9292a6f0c4a6fbd63594d42fb2247

b2c307d 2019-03-02 05:26:31 Tri Vo

system_suspend: remove VTS configs am: 0a0f1fde38 am: 4478ec8bee
am: 38bbcf864e

Change-Id: Id3c267d8ee7a0ffde0940d3f317a0bd7c5cf0898