| <?xml version="1.0" encoding="UTF-8" ?> |
| <!-- |
| Copyright 2023 The Chromium Authors |
| Use of this source code is governed by a BSD-style license that can be |
| found in the LICENSE file. |
| --> |
| <node> |
| <interface name="org.chromium.Modemloggerd.Modem"> |
| <method name="SetEnabled"> |
| <tp:docstring> |
| Enables/Disables logging functionality in the modem. Does not dump any |
| logs to disk. |
| </tp:docstring> |
| <arg name="enable" type="b" direction="in"> |
| <tp:docstring> |
| Set to True to enable/setup logging, False to disable/tear down |
| logging. |
| </tp:docstring> |
| </arg> |
| <annotation name="org.chromium.DBus.Method.Kind" value="async" /> |
| </method> |
| <method name="Start"> |
| <tp:docstring> |
| Start logging |
| </tp:docstring> |
| <annotation name="org.chromium.DBus.Method.Kind" value="async" /> |
| </method> |
| <method name="Stop"> |
| <tp:docstring> |
| Stop logging |
| </tp:docstring> |
| <annotation name="org.chromium.DBus.Method.Kind" value="async" /> |
| </method> |
| <method name="SetOutputDir"> |
| <tp:docstring> |
| Set output directory for modem logs |
| </tp:docstring> |
| <annotation name="org.chromium.DBus.Method.Kind" value="async" /> |
| <arg name="output_dir" type="s" direction="in"> |
| <tp:docstring> |
| Output directory for modem logs |
| </tp:docstring> |
| </arg> |
| </method> |
| <method name="SetAutoStart"> |
| <tp:docstring> |
| Set whether logging should start automatically after boot. |
| </tp:docstring> |
| <annotation name="org.chromium.DBus.Method.Kind" value="async" /> |
| <arg name="auto_start" type="b" direction="in"> |
| <tp:docstring> |
| True if logging should start automatically at boot. |
| </tp:docstring> |
| </arg> |
| </method> |
| </interface> |
| </node> |