Enumerations

enum Action
Name Value
Suspend 0
PrintHelp 1
Error 2

Defined at line 23 of file ../../src/devices/suspend/bin/suspendctl/suspendctl.h

Functions

  • void usage ()

    Defined at line 38 of file ../../src/devices/suspend/bin/suspendctl/suspendctl.cc

  • std::string format_vector (const std::vector<uint64_t> & v)

    Defined at line 40 of file ../../src/devices/suspend/bin/suspendctl/suspendctl.cc

  • zx::result<fidl::SyncClient<fh_suspend::Suspender>> open_suspend_client ()

    Defined at line 51 of file ../../src/devices/suspend/bin/suspendctl/suspendctl.cc

  • Action ParseArgs (const std::vector<std::string> & argv)

    Defined at line 110 of file ../../src/devices/suspend/bin/suspendctl/suspendctl.cc

  • int DoSuspend (fidl::SyncClient<fh_suspend::Suspender> client, std::ostream & out, std::ostream & err)

    Defined at line 80 of file ../../src/devices/suspend/bin/suspendctl/suspendctl.cc

  • int run (int argcchar *[] argv)

    Defined at line 129 of file ../../src/devices/suspend/bin/suspendctl/suspendctl.cc