Lines Matching refs:CommandOptions

94 using android::os::dumpstate::CommandOptions;
239 const CommandOptions& options = CommandOptions::DEFAULT) { in RunCommand()
243 const CommandOptions& options = Dumpstate::DEFAULT_DUMPSYS, in RunDumpsys()
268 static const CommandOptions AS_ROOT_20 = CommandOptions::WithTimeout(20).AsRoot().Build();
460 CommandOptions::WithTimeout(1).Build())) { in dump_anrd_trace()
781 CommandOptions::WithTimeout(1).Always().Build()); in PrintHeader()
960 CommandOptions::WithTimeoutInMs(timeout_ms).Build()); in DoKernelLogcat()
970 CommandOptions::WithTimeoutInMs(timeout_ms).Build()); in DoLogcat()
975 CommandOptions::WithTimeoutInMs(timeout_ms).Build()); in DoLogcat()
980 CommandOptions::WithTimeoutInMs(timeout_ms).Build()); in DoLogcat()
985 CommandOptions::WithTimeoutInMs(timeout_ms).Build()); in DoLogcat()
1261 CommandOptions::WithTimeout(10).AsRootIfAvailable().Build()); in DumpHals()
1266 CommandOptions::WithTimeout(10).AsRootIfAvailable().Build()); in DumpHals()
1300 CommandOptions::WithTimeout(2).AsRootIfAvailable().Build()); in DumpHals()
1353 CommandOptions::AS_ROOT); in dumpstate()
1373 RunCommand("LIST OF OPEN FILES", {"lsof"}, CommandOptions::AS_ROOT); in dumpstate()
1445 CommandOptions::CommandOptionsBuilder options = in dumpstate()
1446 CommandOptions::WithTimeout(rilDumpstateTimeout); in dumpstate()
1479 const CommandOptions DUMPSYS_COMPONENTS_OPTIONS = CommandOptions::WithTimeout(60).Build(); in dumpstate()
1568 RunCommand("IP XFRM POLICY", {"ip", "xfrm", "policy"}, CommandOptions::WithTimeout(10).Build()); in DumpstateDefault()
1574 … RunCommand("DETAILED SOCKET STATE", {"ss", "-eionptu"}, CommandOptions::WithTimeout(10).Build()); in DumpstateDefault()
1609 CommandOptions::WithTimeout(10).Build()); in DumpstateRadioCommon()
1615 const CommandOptions DUMPSYS_COMPONENTS_OPTIONS = CommandOptions::WithTimeout(60).Build(); in DumpstateTelephonyOnly()
1625 RunDumpsys("DUMPSYS", {"connectivity"}, CommandOptions::WithTimeout(90).Build(), in DumpstateTelephonyOnly()
1627 RunDumpsys("DUMPSYS", {"connmetrics"}, CommandOptions::WithTimeout(90).Build(), in DumpstateTelephonyOnly()
1629 RunDumpsys("DUMPSYS", {"netd"}, CommandOptions::WithTimeout(90).Build(), SEC_TO_MSEC(10)); in DumpstateTelephonyOnly()
1630 RunDumpsys("DUMPSYS", {"carrier_config"}, CommandOptions::WithTimeout(90).Build(), in DumpstateTelephonyOnly()
1632 RunDumpsys("DUMPSYS", {"wifi"}, CommandOptions::WithTimeout(90).Build(), in DumpstateTelephonyOnly()
1634 RunDumpsys("BATTERYSTATS", {"batterystats"}, CommandOptions::WithTimeout(90).Build(), in DumpstateTelephonyOnly()
1671 RunDumpsys("DUMPSYS", {"connectivity"}, CommandOptions::WithTimeout(90).Build(), in DumpstateWifiOnly()
1673 RunDumpsys("DUMPSYS", {"wifi"}, CommandOptions::WithTimeout(90).Build(), in DumpstateWifiOnly()
2023 CommandOptions::WithTimeout(20) in SendBroadcast()
2034 CommandOptions::WithTimeout(10) in Vibrate()