tree: b739b7f27d2b5976de72bd8686ef962205dc83ee [path history] [tgz]
  1. meta/
  2. tests/
  3. aml-suspend-bind-test.json
  4. aml-suspend-info.json
  5. aml-suspend.bind
  6. aml-suspend.cc
  7. aml-suspend.h
  8. BUILD.gn
  9. README.md
src/devices/suspend/drivers/aml-suspend/README.md

Amlogic Suspend HAL

Building

To add this component to your build, append --with-base //src/devices/suspend/drivers/aml-suspend to your fx set invocation.

Testing

To add tests to your build, append --with //src/devices/suspend/drivers:tests to your fx set invocation.

Run tests with:

$ fx test aml-suspend-test

To see output, use the -o flag.

Inspect

To grab the inspect data, run this ffx command:

$ ffx inspect show "bootstrap/boot-drivers\:dev.sys.platform.pt.suspend"
bootstrap/boot-drivers:dev.sys.platform.pt.suspend:
  metadata:
    name = aml-suspend
    component_url = fuchsia-boot:///aml-suspend#meta/aml-suspend.cm
    timestamp = 85237566250
  payload:
    root:
      suspend_events:
        0:
          suspended = 73550318125
        1:
          resumed = 78570003416

The suspend and resume times are listed in chronological order. A suspend abort will be annotated as suspend_failed with the failure time.