Generated files from "amd64-generic-codesearch" build 8780443380724084817, revision 361466006d4fb8cb8a01ce3606a9c056c656f2aa
diff --git a/chroot/build/amd64-generic/tmp/portage/chromeos-base/libchrome-9999/work/libchrome-9999/platform2/libchrome/base/hash/md5_nacl.h b/chroot/build/amd64-generic/tmp/portage/chromeos-base/libchrome-9999/work/libchrome-9999/platform2/libchrome/base/hash/md5_nacl.h
new file mode 100644
index 0000000..b1832d9
--- /dev/null
+++ b/chroot/build/amd64-generic/tmp/portage/chromeos-base/libchrome-9999/work/libchrome-9999/platform2/libchrome/base/hash/md5_nacl.h
@@ -0,0 +1,23 @@
+// Copyright 2019 The Chromium Authors
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef BASE_HASH_MD5_NACL_H_
+#define BASE_HASH_MD5_NACL_H_
+
+#include <stdint.h>
+
+namespace base {
+
+// The output of an MD5 operation.
+struct MD5Digest {
+ uint8_t a[16];
+};
+
+// Used for storing intermediate data during an MD5 computation. Callers
+// should not access the data.
+typedef char MD5Context[88];
+
+} // namespace base
+
+#endif // BASE_HASH_MD5_NACL_H_
diff --git a/chroot/build/amd64-generic/usr/include/libchrome/base/hash/md5_nacl.h b/chroot/build/amd64-generic/usr/include/libchrome/base/hash/md5_nacl.h
new file mode 100644
index 0000000..b1832d9
--- /dev/null
+++ b/chroot/build/amd64-generic/usr/include/libchrome/base/hash/md5_nacl.h
@@ -0,0 +1,23 @@
+// Copyright 2019 The Chromium Authors
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef BASE_HASH_MD5_NACL_H_
+#define BASE_HASH_MD5_NACL_H_
+
+#include <stdint.h>
+
+namespace base {
+
+// The output of an MD5 operation.
+struct MD5Digest {
+ uint8_t a[16];
+};
+
+// Used for storing intermediate data during an MD5 computation. Callers
+// should not access the data.
+typedef char MD5Context[88];
+
+} // namespace base
+
+#endif // BASE_HASH_MD5_NACL_H_
diff --git a/chroot/build/amd64-generic/var/cache/portage/media-sound/adhd/install/1bcb15bf934d56bcd2cc194060f3e916/embedded_tools/src/main/cpp/util/errors.h b/chroot/build/amd64-generic/var/cache/portage/media-sound/adhd/install/82de49c2ae07d5fe829d7bbefcd93818/embedded_tools/src/main/cpp/util/errors.h
similarity index 100%
rename from chroot/build/amd64-generic/var/cache/portage/media-sound/adhd/install/1bcb15bf934d56bcd2cc194060f3e916/embedded_tools/src/main/cpp/util/errors.h
rename to chroot/build/amd64-generic/var/cache/portage/media-sound/adhd/install/82de49c2ae07d5fe829d7bbefcd93818/embedded_tools/src/main/cpp/util/errors.h
diff --git a/chroot/build/amd64-generic/var/cache/portage/media-sound/adhd/install/1bcb15bf934d56bcd2cc194060f3e916/embedded_tools/src/main/cpp/util/file.cc b/chroot/build/amd64-generic/var/cache/portage/media-sound/adhd/install/82de49c2ae07d5fe829d7bbefcd93818/embedded_tools/src/main/cpp/util/file.cc
similarity index 100%
rename from chroot/build/amd64-generic/var/cache/portage/media-sound/adhd/install/1bcb15bf934d56bcd2cc194060f3e916/embedded_tools/src/main/cpp/util/file.cc
rename to chroot/build/amd64-generic/var/cache/portage/media-sound/adhd/install/82de49c2ae07d5fe829d7bbefcd93818/embedded_tools/src/main/cpp/util/file.cc
diff --git a/chroot/build/amd64-generic/var/cache/portage/media-sound/adhd/install/1bcb15bf934d56bcd2cc194060f3e916/embedded_tools/src/main/cpp/util/file.h b/chroot/build/amd64-generic/var/cache/portage/media-sound/adhd/install/82de49c2ae07d5fe829d7bbefcd93818/embedded_tools/src/main/cpp/util/file.h
similarity index 100%
rename from chroot/build/amd64-generic/var/cache/portage/media-sound/adhd/install/1bcb15bf934d56bcd2cc194060f3e916/embedded_tools/src/main/cpp/util/file.h
rename to chroot/build/amd64-generic/var/cache/portage/media-sound/adhd/install/82de49c2ae07d5fe829d7bbefcd93818/embedded_tools/src/main/cpp/util/file.h
diff --git a/chroot/build/amd64-generic/var/cache/portage/media-sound/adhd/install/1bcb15bf934d56bcd2cc194060f3e916/embedded_tools/src/main/cpp/util/file_posix.cc b/chroot/build/amd64-generic/var/cache/portage/media-sound/adhd/install/82de49c2ae07d5fe829d7bbefcd93818/embedded_tools/src/main/cpp/util/file_posix.cc
similarity index 100%
rename from chroot/build/amd64-generic/var/cache/portage/media-sound/adhd/install/1bcb15bf934d56bcd2cc194060f3e916/embedded_tools/src/main/cpp/util/file_posix.cc
rename to chroot/build/amd64-generic/var/cache/portage/media-sound/adhd/install/82de49c2ae07d5fe829d7bbefcd93818/embedded_tools/src/main/cpp/util/file_posix.cc
diff --git a/chroot/build/amd64-generic/var/cache/portage/media-sound/adhd/install/1bcb15bf934d56bcd2cc194060f3e916/embedded_tools/src/main/cpp/util/logging.cc b/chroot/build/amd64-generic/var/cache/portage/media-sound/adhd/install/82de49c2ae07d5fe829d7bbefcd93818/embedded_tools/src/main/cpp/util/logging.cc
similarity index 100%
rename from chroot/build/amd64-generic/var/cache/portage/media-sound/adhd/install/1bcb15bf934d56bcd2cc194060f3e916/embedded_tools/src/main/cpp/util/logging.cc
rename to chroot/build/amd64-generic/var/cache/portage/media-sound/adhd/install/82de49c2ae07d5fe829d7bbefcd93818/embedded_tools/src/main/cpp/util/logging.cc
diff --git a/chroot/build/amd64-generic/var/cache/portage/media-sound/adhd/install/1bcb15bf934d56bcd2cc194060f3e916/embedded_tools/src/main/cpp/util/logging.h b/chroot/build/amd64-generic/var/cache/portage/media-sound/adhd/install/82de49c2ae07d5fe829d7bbefcd93818/embedded_tools/src/main/cpp/util/logging.h
similarity index 100%
rename from chroot/build/amd64-generic/var/cache/portage/media-sound/adhd/install/1bcb15bf934d56bcd2cc194060f3e916/embedded_tools/src/main/cpp/util/logging.h
rename to chroot/build/amd64-generic/var/cache/portage/media-sound/adhd/install/82de49c2ae07d5fe829d7bbefcd93818/embedded_tools/src/main/cpp/util/logging.h
diff --git a/chroot/build/amd64-generic/var/cache/portage/media-sound/adhd/install/1bcb15bf934d56bcd2cc194060f3e916/embedded_tools/src/main/cpp/util/md5.h b/chroot/build/amd64-generic/var/cache/portage/media-sound/adhd/install/82de49c2ae07d5fe829d7bbefcd93818/embedded_tools/src/main/cpp/util/md5.h
similarity index 100%
rename from chroot/build/amd64-generic/var/cache/portage/media-sound/adhd/install/1bcb15bf934d56bcd2cc194060f3e916/embedded_tools/src/main/cpp/util/md5.h
rename to chroot/build/amd64-generic/var/cache/portage/media-sound/adhd/install/82de49c2ae07d5fe829d7bbefcd93818/embedded_tools/src/main/cpp/util/md5.h
diff --git a/chroot/build/amd64-generic/var/cache/portage/media-sound/adhd/install/1bcb15bf934d56bcd2cc194060f3e916/embedded_tools/src/main/cpp/util/numbers.cc b/chroot/build/amd64-generic/var/cache/portage/media-sound/adhd/install/82de49c2ae07d5fe829d7bbefcd93818/embedded_tools/src/main/cpp/util/numbers.cc
similarity index 100%
rename from chroot/build/amd64-generic/var/cache/portage/media-sound/adhd/install/1bcb15bf934d56bcd2cc194060f3e916/embedded_tools/src/main/cpp/util/numbers.cc
rename to chroot/build/amd64-generic/var/cache/portage/media-sound/adhd/install/82de49c2ae07d5fe829d7bbefcd93818/embedded_tools/src/main/cpp/util/numbers.cc
diff --git a/chroot/build/amd64-generic/var/cache/portage/media-sound/adhd/install/1bcb15bf934d56bcd2cc194060f3e916/embedded_tools/src/main/cpp/util/numbers.h b/chroot/build/amd64-generic/var/cache/portage/media-sound/adhd/install/82de49c2ae07d5fe829d7bbefcd93818/embedded_tools/src/main/cpp/util/numbers.h
similarity index 100%
rename from chroot/build/amd64-generic/var/cache/portage/media-sound/adhd/install/1bcb15bf934d56bcd2cc194060f3e916/embedded_tools/src/main/cpp/util/numbers.h
rename to chroot/build/amd64-generic/var/cache/portage/media-sound/adhd/install/82de49c2ae07d5fe829d7bbefcd93818/embedded_tools/src/main/cpp/util/numbers.h
diff --git a/chroot/build/amd64-generic/var/cache/portage/media-sound/adhd/install/1bcb15bf934d56bcd2cc194060f3e916/embedded_tools/src/main/cpp/util/path.h b/chroot/build/amd64-generic/var/cache/portage/media-sound/adhd/install/82de49c2ae07d5fe829d7bbefcd93818/embedded_tools/src/main/cpp/util/path.h
similarity index 100%
rename from chroot/build/amd64-generic/var/cache/portage/media-sound/adhd/install/1bcb15bf934d56bcd2cc194060f3e916/embedded_tools/src/main/cpp/util/path.h
rename to chroot/build/amd64-generic/var/cache/portage/media-sound/adhd/install/82de49c2ae07d5fe829d7bbefcd93818/embedded_tools/src/main/cpp/util/path.h
diff --git a/chroot/build/amd64-generic/var/cache/portage/media-sound/adhd/install/1bcb15bf934d56bcd2cc194060f3e916/embedded_tools/src/main/cpp/util/port.cc b/chroot/build/amd64-generic/var/cache/portage/media-sound/adhd/install/82de49c2ae07d5fe829d7bbefcd93818/embedded_tools/src/main/cpp/util/port.cc
similarity index 100%
rename from chroot/build/amd64-generic/var/cache/portage/media-sound/adhd/install/1bcb15bf934d56bcd2cc194060f3e916/embedded_tools/src/main/cpp/util/port.cc
rename to chroot/build/amd64-generic/var/cache/portage/media-sound/adhd/install/82de49c2ae07d5fe829d7bbefcd93818/embedded_tools/src/main/cpp/util/port.cc
diff --git a/chroot/build/amd64-generic/var/cache/portage/media-sound/adhd/install/1bcb15bf934d56bcd2cc194060f3e916/embedded_tools/src/main/cpp/util/port.h b/chroot/build/amd64-generic/var/cache/portage/media-sound/adhd/install/82de49c2ae07d5fe829d7bbefcd93818/embedded_tools/src/main/cpp/util/port.h
similarity index 100%
rename from chroot/build/amd64-generic/var/cache/portage/media-sound/adhd/install/1bcb15bf934d56bcd2cc194060f3e916/embedded_tools/src/main/cpp/util/port.h
rename to chroot/build/amd64-generic/var/cache/portage/media-sound/adhd/install/82de49c2ae07d5fe829d7bbefcd93818/embedded_tools/src/main/cpp/util/port.h
diff --git a/chroot/build/amd64-generic/var/cache/portage/media-sound/adhd/install/1bcb15bf934d56bcd2cc194060f3e916/embedded_tools/src/main/cpp/util/strings.h b/chroot/build/amd64-generic/var/cache/portage/media-sound/adhd/install/82de49c2ae07d5fe829d7bbefcd93818/embedded_tools/src/main/cpp/util/strings.h
similarity index 100%
rename from chroot/build/amd64-generic/var/cache/portage/media-sound/adhd/install/1bcb15bf934d56bcd2cc194060f3e916/embedded_tools/src/main/cpp/util/strings.h
rename to chroot/build/amd64-generic/var/cache/portage/media-sound/adhd/install/82de49c2ae07d5fe829d7bbefcd93818/embedded_tools/src/main/cpp/util/strings.h
diff --git a/chroot/build/amd64-generic/var/cache/portage/media-sound/adhd/install/1bcb15bf934d56bcd2cc194060f3e916/embedded_tools/src/main/native/windows/file.cc b/chroot/build/amd64-generic/var/cache/portage/media-sound/adhd/install/82de49c2ae07d5fe829d7bbefcd93818/embedded_tools/src/main/native/windows/file.cc
similarity index 100%
rename from chroot/build/amd64-generic/var/cache/portage/media-sound/adhd/install/1bcb15bf934d56bcd2cc194060f3e916/embedded_tools/src/main/native/windows/file.cc
rename to chroot/build/amd64-generic/var/cache/portage/media-sound/adhd/install/82de49c2ae07d5fe829d7bbefcd93818/embedded_tools/src/main/native/windows/file.cc
diff --git a/chroot/build/amd64-generic/var/cache/portage/media-sound/adhd/install/1bcb15bf934d56bcd2cc194060f3e916/embedded_tools/src/main/native/windows/file.h b/chroot/build/amd64-generic/var/cache/portage/media-sound/adhd/install/82de49c2ae07d5fe829d7bbefcd93818/embedded_tools/src/main/native/windows/file.h
similarity index 100%
rename from chroot/build/amd64-generic/var/cache/portage/media-sound/adhd/install/1bcb15bf934d56bcd2cc194060f3e916/embedded_tools/src/main/native/windows/file.h
rename to chroot/build/amd64-generic/var/cache/portage/media-sound/adhd/install/82de49c2ae07d5fe829d7bbefcd93818/embedded_tools/src/main/native/windows/file.h
diff --git a/chroot/build/amd64-generic/var/cache/portage/media-sound/adhd/install/1bcb15bf934d56bcd2cc194060f3e916/embedded_tools/src/main/native/windows/process.cc b/chroot/build/amd64-generic/var/cache/portage/media-sound/adhd/install/82de49c2ae07d5fe829d7bbefcd93818/embedded_tools/src/main/native/windows/process.cc
similarity index 100%
rename from chroot/build/amd64-generic/var/cache/portage/media-sound/adhd/install/1bcb15bf934d56bcd2cc194060f3e916/embedded_tools/src/main/native/windows/process.cc
rename to chroot/build/amd64-generic/var/cache/portage/media-sound/adhd/install/82de49c2ae07d5fe829d7bbefcd93818/embedded_tools/src/main/native/windows/process.cc
diff --git a/chroot/build/amd64-generic/var/cache/portage/media-sound/adhd/install/1bcb15bf934d56bcd2cc194060f3e916/embedded_tools/src/main/native/windows/process.h b/chroot/build/amd64-generic/var/cache/portage/media-sound/adhd/install/82de49c2ae07d5fe829d7bbefcd93818/embedded_tools/src/main/native/windows/process.h
similarity index 100%
rename from chroot/build/amd64-generic/var/cache/portage/media-sound/adhd/install/1bcb15bf934d56bcd2cc194060f3e916/embedded_tools/src/main/native/windows/process.h
rename to chroot/build/amd64-generic/var/cache/portage/media-sound/adhd/install/82de49c2ae07d5fe829d7bbefcd93818/embedded_tools/src/main/native/windows/process.h
diff --git a/chroot/build/amd64-generic/var/cache/portage/media-sound/adhd/install/1bcb15bf934d56bcd2cc194060f3e916/embedded_tools/src/main/native/windows/util.cc b/chroot/build/amd64-generic/var/cache/portage/media-sound/adhd/install/82de49c2ae07d5fe829d7bbefcd93818/embedded_tools/src/main/native/windows/util.cc
similarity index 100%
rename from chroot/build/amd64-generic/var/cache/portage/media-sound/adhd/install/1bcb15bf934d56bcd2cc194060f3e916/embedded_tools/src/main/native/windows/util.cc
rename to chroot/build/amd64-generic/var/cache/portage/media-sound/adhd/install/82de49c2ae07d5fe829d7bbefcd93818/embedded_tools/src/main/native/windows/util.cc
diff --git a/chroot/build/amd64-generic/var/cache/portage/media-sound/adhd/install/1bcb15bf934d56bcd2cc194060f3e916/embedded_tools/src/main/native/windows/util.h b/chroot/build/amd64-generic/var/cache/portage/media-sound/adhd/install/82de49c2ae07d5fe829d7bbefcd93818/embedded_tools/src/main/native/windows/util.h
similarity index 100%
rename from chroot/build/amd64-generic/var/cache/portage/media-sound/adhd/install/1bcb15bf934d56bcd2cc194060f3e916/embedded_tools/src/main/native/windows/util.h
rename to chroot/build/amd64-generic/var/cache/portage/media-sound/adhd/install/82de49c2ae07d5fe829d7bbefcd93818/embedded_tools/src/main/native/windows/util.h
diff --git a/chroot/build/amd64-generic/var/cache/portage/media-sound/adhd/install/1bcb15bf934d56bcd2cc194060f3e916/embedded_tools/third_party/ijar/common.h b/chroot/build/amd64-generic/var/cache/portage/media-sound/adhd/install/82de49c2ae07d5fe829d7bbefcd93818/embedded_tools/third_party/ijar/common.h
similarity index 100%
rename from chroot/build/amd64-generic/var/cache/portage/media-sound/adhd/install/1bcb15bf934d56bcd2cc194060f3e916/embedded_tools/third_party/ijar/common.h
rename to chroot/build/amd64-generic/var/cache/portage/media-sound/adhd/install/82de49c2ae07d5fe829d7bbefcd93818/embedded_tools/third_party/ijar/common.h
diff --git a/chroot/build/amd64-generic/var/cache/portage/media-sound/adhd/install/1bcb15bf934d56bcd2cc194060f3e916/embedded_tools/third_party/zlib/crc32.h b/chroot/build/amd64-generic/var/cache/portage/media-sound/adhd/install/82de49c2ae07d5fe829d7bbefcd93818/embedded_tools/third_party/zlib/crc32.h
similarity index 100%
rename from chroot/build/amd64-generic/var/cache/portage/media-sound/adhd/install/1bcb15bf934d56bcd2cc194060f3e916/embedded_tools/third_party/zlib/crc32.h
rename to chroot/build/amd64-generic/var/cache/portage/media-sound/adhd/install/82de49c2ae07d5fe829d7bbefcd93818/embedded_tools/third_party/zlib/crc32.h
diff --git a/chroot/build/amd64-generic/var/cache/portage/media-sound/adhd/install/1bcb15bf934d56bcd2cc194060f3e916/embedded_tools/third_party/zlib/zconf.h b/chroot/build/amd64-generic/var/cache/portage/media-sound/adhd/install/82de49c2ae07d5fe829d7bbefcd93818/embedded_tools/third_party/zlib/zconf.h
similarity index 100%
rename from chroot/build/amd64-generic/var/cache/portage/media-sound/adhd/install/1bcb15bf934d56bcd2cc194060f3e916/embedded_tools/third_party/zlib/zconf.h
rename to chroot/build/amd64-generic/var/cache/portage/media-sound/adhd/install/82de49c2ae07d5fe829d7bbefcd93818/embedded_tools/third_party/zlib/zconf.h
diff --git a/chroot/build/amd64-generic/var/cache/portage/media-sound/adhd/install/1bcb15bf934d56bcd2cc194060f3e916/embedded_tools/third_party/zlib/zlib.h b/chroot/build/amd64-generic/var/cache/portage/media-sound/adhd/install/82de49c2ae07d5fe829d7bbefcd93818/embedded_tools/third_party/zlib/zlib.h
similarity index 100%
rename from chroot/build/amd64-generic/var/cache/portage/media-sound/adhd/install/1bcb15bf934d56bcd2cc194060f3e916/embedded_tools/third_party/zlib/zlib.h
rename to chroot/build/amd64-generic/var/cache/portage/media-sound/adhd/install/82de49c2ae07d5fe829d7bbefcd93818/embedded_tools/third_party/zlib/zlib.h
diff --git a/chroot/usr/include/libchrome/base/hash/md5_nacl.h b/chroot/usr/include/libchrome/base/hash/md5_nacl.h
new file mode 100644
index 0000000..b1832d9
--- /dev/null
+++ b/chroot/usr/include/libchrome/base/hash/md5_nacl.h
@@ -0,0 +1,23 @@
+// Copyright 2019 The Chromium Authors
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef BASE_HASH_MD5_NACL_H_
+#define BASE_HASH_MD5_NACL_H_
+
+#include <stdint.h>
+
+namespace base {
+
+// The output of an MD5 operation.
+struct MD5Digest {
+ uint8_t a[16];
+};
+
+// Used for storing intermediate data during an MD5 computation. Callers
+// should not access the data.
+typedef char MD5Context[88];
+
+} // namespace base
+
+#endif // BASE_HASH_MD5_NACL_H_
diff --git a/chroot/usr/lib64/perl5/5.36/x86_64-linux/CORE/config.h b/chroot/usr/lib64/perl5/5.36/x86_64-linux/CORE/config.h
index 6d5925b..21163b9 100644
--- a/chroot/usr/lib64/perl5/5.36/x86_64-linux/CORE/config.h
+++ b/chroot/usr/lib64/perl5/5.36/x86_64-linux/CORE/config.h
@@ -9,9 +9,9 @@
/* Package name : perl5
* Source directory : .
- * Configuration time: Fri May 19 05:36:22 PDT 2023
+ * Configuration time: Sat May 20 11:25:15 PDT 2023
* Configured by : Gentoo
- * Target system : linux chromeos-ci-legacy-us-central1-b-x32-6-7zz1 5.4.0-148-generic #165~18.04.1-ubuntu smp thu apr 20 01:14:06 utc 2023 x86_64 intel(r) xeon(r) cpu @ 2.20ghz genuineintel gnulinux
+ * Target system : linux chromeos-ci-legacy-us-central1-b-x32-1-ns5k 5.4.0-148-generic #165~18.04.1-ubuntu smp thu apr 20 01:14:06 utc 2023 x86_64 intel(r) xeon(r) cpu @ 2.20ghz genuineintel gnulinux
*/
#ifndef _config_h_
diff --git a/chroot/var/cache/chromeos-chrome/chrome-src/src/out_amd64-generic/Release/gen/chrome/test/chromedriver/constants/version.cc b/chroot/var/cache/chromeos-chrome/chrome-src/src/out_amd64-generic/Release/gen/chrome/test/chromedriver/constants/version.cc
index 828bb42..f660791 100644
--- a/chroot/var/cache/chromeos-chrome/chrome-src/src/out_amd64-generic/Release/gen/chrome/test/chromedriver/constants/version.cc
+++ b/chroot/var/cache/chromeos-chrome/chrome-src/src/out_amd64-generic/Release/gen/chrome/test/chromedriver/constants/version.cc
@@ -8,7 +8,7 @@
// Version Information
-const char kChromeDriverVersion[] = "115.0.5784.0 (16dc18817850c0aa20aa1b670500309ad8c3f5f1-refs/branch-heads/5784@{#1})";
+const char kChromeDriverVersion[] = "115.0.5785.0 (27215c63ca81d764dfc2d76197d05c5acde8b461-refs/branch-heads/5785@{#1})";
// Branding Information
diff --git a/chroot/var/cache/portage/chromeos-base/debugd-client/out/Default/gen/include/debugd/dbus-proxies.h b/chroot/var/cache/portage/chromeos-base/debugd-client/out/Default/gen/include/debugd/dbus-proxies.h
deleted file mode 100644
index 82efbe3..0000000
--- a/chroot/var/cache/portage/chromeos-base/debugd-client/out/Default/gen/include/debugd/dbus-proxies.h
+++ /dev/null
@@ -1,5122 +0,0 @@
-// Automatic generation of D-Bus interfaces:
-// - org.chromium.debugd
-#ifndef ____CHROMEOS_DBUS_BINDING___VAR_CACHE_PORTAGE_CHROMEOS_BASE_DEBUGD_CLIENT_OUT_DEFAULT_GEN_INCLUDE_DEBUGD_DBUS_PROXIES_H
-#define ____CHROMEOS_DBUS_BINDING___VAR_CACHE_PORTAGE_CHROMEOS_BASE_DEBUGD_CLIENT_OUT_DEFAULT_GEN_INCLUDE_DEBUGD_DBUS_PROXIES_H
-#include <memory>
-#include <string>
-#include <vector>
-
-#include <base/files/scoped_file.h>
-#include <base/functional/bind.h>
-#include <base/functional/callback.h>
-#include <base/logging.h>
-#include <base/memory/ref_counted.h>
-#include <brillo/any.h>
-#include <brillo/dbus/dbus_method_invoker.h>
-#include <brillo/dbus/dbus_property.h>
-#include <brillo/dbus/dbus_signal_handler.h>
-#include <brillo/errors/error.h>
-#include <brillo/variant_dictionary.h>
-#include <dbus/bus.h>
-#include <dbus/message.h>
-#include <dbus/object_manager.h>
-#include <dbus/object_path.h>
-#include <dbus/object_proxy.h>
-
-namespace org {
-namespace chromium {
-
-// Abstract interface proxy for org::chromium::debugd.
-class debugdProxyInterface {
- public:
- virtual ~debugdProxyInterface() = default;
-
- // Starts pinging the specified hostname with the specified options, with
- // output directed to the given output file descriptor. The returned opaque
- // string functions as a handle for this particular ping. Multiple pings
- // can be running at once.
- virtual bool PingStart(
- const base::ScopedFD& in_outfd,
- const std::string& in_destination,
- const brillo::VariantDictionary& in_options,
- std::string* out_handle,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Starts pinging the specified hostname with the specified options, with
- // output directed to the given output file descriptor. The returned opaque
- // string functions as a handle for this particular ping. Multiple pings
- // can be running at once.
- virtual void PingStartAsync(
- const base::ScopedFD& in_outfd,
- const std::string& in_destination,
- const brillo::VariantDictionary& in_options,
- base::OnceCallback<void(const std::string& /*handle*/)> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Stops a running ping.
- virtual bool PingStop(
- const std::string& in_handle,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Stops a running ping.
- virtual void PingStopAsync(
- const std::string& in_handle,
- base::OnceCallback<void()> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Start system/kernel tracing. If tracing is already enabled it is
- // stopped first and any collected events are discarded. The kernel
- // must have been configured to support tracing.
- virtual bool SystraceStart(
- const std::string& in_categories,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Start system/kernel tracing. If tracing is already enabled it is
- // stopped first and any collected events are discarded. The kernel
- // must have been configured to support tracing.
- virtual void SystraceStartAsync(
- const std::string& in_categories,
- base::OnceCallback<void()> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Stop system/kernel tracing and write the collected event data.
- virtual bool SystraceStop(
- const base::ScopedFD& in_outfd,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Stop system/kernel tracing and write the collected event data.
- virtual void SystraceStopAsync(
- const base::ScopedFD& in_outfd,
- base::OnceCallback<void()> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Return current status for system/kernel tracing including whether it
- // is enabled, the tracing clock, and the set of events enabled.
- virtual bool SystraceStatus(
- std::string* out_status,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Return current status for system/kernel tracing including whether it
- // is enabled, the tracing clock, and the set of events enabled.
- virtual void SystraceStatusAsync(
- base::OnceCallback<void(const std::string& /*status*/)> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- virtual bool TracePathStart(
- const base::ScopedFD& in_outfd,
- const std::string& in_destination,
- const brillo::VariantDictionary& in_options,
- std::string* out_handle,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- virtual void TracePathStartAsync(
- const base::ScopedFD& in_outfd,
- const std::string& in_destination,
- const brillo::VariantDictionary& in_options,
- base::OnceCallback<void(const std::string& /*handle*/)> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Stops a running tracepath.
- virtual bool TracePathStop(
- const std::string& in_handle,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Stops a running tracepath.
- virtual void TracePathStopAsync(
- const std::string& in_handle,
- base::OnceCallback<void()> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Returns the IP addresses.
- virtual bool GetIpAddresses(
- const brillo::VariantDictionary& in_options,
- std::vector<std::string>* out_result,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Returns the IP addresses.
- virtual void GetIpAddressesAsync(
- const brillo::VariantDictionary& in_options,
- base::OnceCallback<void(const std::vector<std::string>& /*result*/)> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Returns the routing table.
- virtual bool GetRoutes(
- const brillo::VariantDictionary& in_options,
- std::vector<std::string>* out_result,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Returns the routing table.
- virtual void GetRoutesAsync(
- const brillo::VariantDictionary& in_options,
- base::OnceCallback<void(const std::vector<std::string>& /*result*/)> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Returns network information as a JSON string. See the design document
- // for a rationale.
- virtual bool GetNetworkStatus(
- std::string* out_status,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Returns network information as a JSON string. See the design document
- // for a rationale.
- virtual void GetNetworkStatusAsync(
- base::OnceCallback<void(const std::string& /*status*/)> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Runs system-wide perf profiling. The profile parameters are selected by
- // perf_args.
- virtual bool GetPerfOutput(
- uint32_t in_duration_sec,
- const std::vector<std::string>& in_perf_args,
- int32_t* out_status,
- std::vector<uint8_t>* out_perf_data,
- std::vector<uint8_t>* out_perf_stat,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Runs system-wide perf profiling. The profile parameters are selected by
- // perf_args.
- virtual void GetPerfOutputAsync(
- uint32_t in_duration_sec,
- const std::vector<std::string>& in_perf_args,
- base::OnceCallback<void(int32_t /*status*/, const std::vector<uint8_t>& /*perf_data*/, const std::vector<uint8_t>& /*perf_stat*/)> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Runs system-wide perf profiling. The profile parameters are selected by
- // perf_args.
- // This method runs quipper asynchronously so that debugd isn't blocked for
- // duration_sec. The DBus client reads the perf output using the file
- // descriptor. Only one profiler session is allowed to run using this
- // method. Calling this method while the profiler is running yields a DBus
- // error. The profiler session can optionally be stopped using method
- // StopPerf before duration_sec elapses.
- virtual bool GetPerfOutputFd(
- uint32_t in_duration_sec,
- const std::vector<std::string>& in_perf_args,
- const base::ScopedFD& in_stdout,
- uint64_t* out_session_id,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Runs system-wide perf profiling. The profile parameters are selected by
- // perf_args.
- // This method runs quipper asynchronously so that debugd isn't blocked for
- // duration_sec. The DBus client reads the perf output using the file
- // descriptor. Only one profiler session is allowed to run using this
- // method. Calling this method while the profiler is running yields a DBus
- // error. The profiler session can optionally be stopped using method
- // StopPerf before duration_sec elapses.
- virtual void GetPerfOutputFdAsync(
- uint32_t in_duration_sec,
- const std::vector<std::string>& in_perf_args,
- const base::ScopedFD& in_stdout,
- base::OnceCallback<void(uint64_t /*session_id*/)> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Stop the existing profiler session and gather perf output right away. If
- // the collection started by GetPerfOutputFd has finished, calling this
- // method will silently succeed.
- virtual bool StopPerf(
- uint64_t in_session_id,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Stop the existing profiler session and gather perf output right away. If
- // the collection started by GetPerfOutputFd has finished, calling this
- // method will silently succeed.
- virtual void StopPerfAsync(
- uint64_t in_session_id,
- base::OnceCallback<void()> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Runs system-wide perf profiling through quipper. The profile parameters
- // are selected by quipper_args.
- // This method runs quipper asynchronously so that debugd isn't blocked for
- // however long perf is recording. The DBus client reads the perf output
- // using the file descriptor. Only one profiler session is allowed to run
- // using this method. Calling this method while the profiler is running
- // yields a DBus error. The profiler session can optionally be stopped
- // early using method StopPerf.
- virtual bool GetPerfOutputV2(
- const std::vector<std::string>& in_quipper_args,
- bool in_disable_cpu_idle,
- const base::ScopedFD& in_stdout,
- uint64_t* out_session_id,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Runs system-wide perf profiling through quipper. The profile parameters
- // are selected by quipper_args.
- // This method runs quipper asynchronously so that debugd isn't blocked for
- // however long perf is recording. The DBus client reads the perf output
- // using the file descriptor. Only one profiler session is allowed to run
- // using this method. Calling this method while the profiler is running
- // yields a DBus error. The profiler session can optionally be stopped
- // early using method StopPerf.
- virtual void GetPerfOutputV2Async(
- const std::vector<std::string>& in_quipper_args,
- bool in_disable_cpu_idle,
- const base::ScopedFD& in_stdout,
- base::OnceCallback<void(uint64_t /*session_id*/)> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Packages up system logs into a .tar(.gz) and returns it over the
- // supplied file descriptor.
- virtual bool DumpDebugLogs(
- bool in_is_compressed,
- const base::ScopedFD& in_outfd,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Packages up system logs into a .tar(.gz) and returns it over the
- // supplied file descriptor.
- virtual void DumpDebugLogsAsync(
- bool in_is_compressed,
- const base::ScopedFD& in_outfd,
- base::OnceCallback<void()> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Enables or disables debug mode for a specified subsystem.
- virtual bool SetDebugMode(
- const std::string& in_subsystem,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Enables or disables debug mode for a specified subsystem.
- virtual void SetDebugModeAsync(
- const std::string& in_subsystem,
- base::OnceCallback<void()> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Fetches the contents of a single system log, identified by name. See
- // /src/log_tool.cc for a list of valid names.
- virtual bool GetLog(
- const std::string& in_log,
- std::string* out_contents,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Fetches the contents of a single system log, identified by name. See
- // /src/log_tool.cc for a list of valid names.
- virtual void GetLogAsync(
- const std::string& in_log,
- base::OnceCallback<void(const std::string& /*contents*/)> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Returns all the system logs.
- virtual bool GetAllLogs(
- std::map<std::string, std::string>* out_logs,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Returns all the system logs.
- virtual void GetAllLogsAsync(
- base::OnceCallback<void(const std::map<std::string, std::string>& /*logs*/)> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Fills the system logs for feedback reports in the file whose file
- // descriptor is given. This is used for logs that are so big that they
- // exceed the limits of D-Bus returning them. Provides options to change
- // the scope of the collected logs.
- virtual bool GetFeedbackLogsV2(
- const base::ScopedFD& in_outfd,
- const std::string& in_username,
- const std::vector<int32_t>& in_requested_logs,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Fills the system logs for feedback reports in the file whose file
- // descriptor is given. This is used for logs that are so big that they
- // exceed the limits of D-Bus returning them. Provides options to change
- // the scope of the collected logs.
- virtual void GetFeedbackLogsV2Async(
- const base::ScopedFD& in_outfd,
- const std::string& in_username,
- const std::vector<int32_t>& in_requested_logs,
- base::OnceCallback<void()> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Fills the system logs for feedback reports in the file whose file
- // descriptor is given. This is used for logs that are so big that they
- // exceed the limits of D-Bus returning them. Provides options to change
- // the scope of the collected logs.
- virtual bool GetFeedbackLogsV3(
- const base::ScopedFD& in_outfd,
- const std::string& in_username,
- const std::vector<int32_t>& in_requested_logs,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Fills the system logs for feedback reports in the file whose file
- // descriptor is given. This is used for logs that are so big that they
- // exceed the limits of D-Bus returning them. Provides options to change
- // the scope of the collected logs.
- virtual void GetFeedbackLogsV3Async(
- const base::ScopedFD& in_outfd,
- const std::string& in_username,
- const std::vector<int32_t>& in_requested_logs,
- base::OnceCallback<void()> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Retrieves the ARC bug report and saves it in debugd daemon store.
- // If a backup already exists, it is over-written.
- // If backup operation fails, an error is logged.
- virtual bool BackupArcBugReport(
- const std::string& in_username,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Retrieves the ARC bug report and saves it in debugd daemon store.
- // If a backup already exists, it is over-written.
- // If backup operation fails, an error is logged.
- virtual void BackupArcBugReportAsync(
- const std::string& in_username,
- base::OnceCallback<void()> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Deletes the backed up ARC bug report saved in daemon store.
- // If delete operation fails, an error is logged.
- virtual bool DeleteArcBugReportBackup(
- const std::string& in_username,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Deletes the backed up ARC bug report saved in daemon store.
- // If delete operation fails, an error is logged.
- virtual void DeleteArcBugReportBackupAsync(
- const std::string& in_username,
- base::OnceCallback<void()> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Example method. See /doc/hacking.md.
- virtual bool GetExample(
- std::string* out_result,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Example method. See /doc/hacking.md.
- virtual void GetExampleAsync(
- base::OnceCallback<void(const std::string& /*result*/)> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Add a printer that can be auto-configured to CUPS. Immediately attempt
- // to connect. Returns true if setup was successful.
- virtual bool CupsAddAutoConfiguredPrinter(
- const std::string& in_name,
- const std::string& in_uri,
- int32_t* out_result,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Add a printer that can be auto-configured to CUPS. Immediately attempt
- // to connect. Returns true if setup was successful.
- virtual void CupsAddAutoConfiguredPrinterAsync(
- const std::string& in_name,
- const std::string& in_uri,
- base::OnceCallback<void(int32_t /*result*/)> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Add a printer to CUPS using the passed PPD contents. Immediately
- // attempt to connect. Returns true if setup was successful.
- virtual bool CupsAddManuallyConfiguredPrinter(
- const std::string& in_name,
- const std::string& in_uri,
- const std::vector<uint8_t>& in_ppd_contents,
- int32_t* out_result,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Add a printer to CUPS using the passed PPD contents. Immediately
- // attempt to connect. Returns true if setup was successful.
- virtual void CupsAddManuallyConfiguredPrinterAsync(
- const std::string& in_name,
- const std::string& in_uri,
- const std::vector<uint8_t>& in_ppd_contents,
- base::OnceCallback<void(int32_t /*result*/)> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Remove a printer from CUPS. Returns true if the printer was removed
- // successfully.
- virtual bool CupsRemovePrinter(
- const std::string& in_name,
- bool* out_result,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Remove a printer from CUPS. Returns true if the printer was removed
- // successfully.
- virtual void CupsRemovePrinterAsync(
- const std::string& in_name,
- base::OnceCallback<void(bool /*result*/)> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Retrieve the PPD from CUPS for a given printer. On success, returns the
- // PPD as a vector of bytes. On error, returns an empty vector.
- virtual bool CupsRetrievePpd(
- const std::string& in_name,
- std::vector<uint8_t>* out_ppd,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Retrieve the PPD from CUPS for a given printer. On success, returns the
- // PPD as a vector of bytes. On error, returns an empty vector.
- virtual void CupsRetrievePpdAsync(
- const std::string& in_name,
- base::OnceCallback<void(const std::vector<uint8_t>& /*ppd*/)> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Returns information about network interfaces as a JSON string.
- virtual bool GetInterfaces(
- std::string* out_result,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Returns information about network interfaces as a JSON string.
- virtual void GetInterfacesAsync(
- base::OnceCallback<void(const std::string& /*result*/)> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Tests ICMP connectivity to a specified host.
- virtual bool TestICMP(
- const std::string& in_host,
- std::string* out_result,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Tests ICMP connectivity to a specified host.
- virtual void TestICMPAsync(
- const std::string& in_host,
- base::OnceCallback<void(const std::string& /*result*/)> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Tests ICMP connectivity to a specified host (with options).
- virtual bool TestICMPWithOptions(
- const std::string& in_host,
- const std::map<std::string, std::string>& in_options,
- std::string* out_result,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Tests ICMP connectivity to a specified host (with options).
- virtual void TestICMPWithOptionsAsync(
- const std::string& in_host,
- const std::map<std::string, std::string>& in_options,
- base::OnceCallback<void(const std::string& /*result*/)> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Runs BatteryFirmware utility.
- virtual bool BatteryFirmware(
- const std::string& in_option,
- std::string* out_result,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Runs BatteryFirmware utility.
- virtual void BatteryFirmwareAsync(
- const std::string& in_option,
- base::OnceCallback<void(const std::string& /*result*/)> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Runs Smartctl utility.
- virtual bool Smartctl(
- const std::string& in_option,
- std::string* out_result,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Runs Smartctl utility.
- virtual void SmartctlAsync(
- const std::string& in_option,
- base::OnceCallback<void(const std::string& /*result*/)> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Runs mmc utility.
- virtual bool Mmc(
- const std::string& in_option,
- std::string* out_result,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Runs mmc utility.
- virtual void MmcAsync(
- const std::string& in_option,
- base::OnceCallback<void(const std::string& /*result*/)> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Runs ufs-related operations over various utilities.
- virtual bool Ufs(
- const std::string& in_option,
- std::string* out_result,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Runs ufs-related operations over various utilities.
- virtual void UfsAsync(
- const std::string& in_option,
- base::OnceCallback<void(const std::string& /*result*/)> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Runs nvme utility.
- virtual bool Nvme(
- const std::string& in_option,
- std::string* out_result,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Runs nvme utility.
- virtual void NvmeAsync(
- const std::string& in_option,
- base::OnceCallback<void(const std::string& /*result*/)> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Runs nvme utility to fetch log message.
- virtual bool NvmeLog(
- uint32_t in_page_id,
- uint32_t in_length,
- bool in_raw_binary,
- std::string* out_result,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Runs nvme utility to fetch log message.
- virtual void NvmeLogAsync(
- uint32_t in_page_id,
- uint32_t in_length,
- bool in_raw_binary,
- base::OnceCallback<void(const std::string& /*result*/)> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Starts running memtester.
- virtual bool MemtesterStart(
- const base::ScopedFD& in_outfd,
- uint32_t in_memory,
- std::string* out_status,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Starts running memtester.
- virtual void MemtesterStartAsync(
- const base::ScopedFD& in_outfd,
- uint32_t in_memory,
- base::OnceCallback<void(const std::string& /*status*/)> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Stops running memtester.
- virtual bool MemtesterStop(
- const std::string& in_handle,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Stops running memtester.
- virtual void MemtesterStopAsync(
- const std::string& in_handle,
- base::OnceCallback<void()> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Starts running badblocks test.
- virtual bool BadblocksStart(
- const base::ScopedFD& in_outfd,
- std::string* out_status,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Starts running badblocks test.
- virtual void BadblocksStartAsync(
- const base::ScopedFD& in_outfd,
- base::OnceCallback<void(const std::string& /*status*/)> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Stops running badblocks.
- virtual bool BadblocksStop(
- const std::string& in_handle,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Stops running badblocks.
- virtual void BadblocksStopAsync(
- const std::string& in_handle,
- base::OnceCallback<void()> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Starts a packet capture with the specified options, with diagnostic
- // status directed to the "statfd" file descriptor and packet capture
- // data sent to the "outfd" file descriptor. The returned opaque string
- // functions as a handle for this particular packet capture. Multiple
- // captures can be running at once. Captures can be initiated on
- // Ethernet-like devices or WiFi devices in "client mode" (showing only
- // Ethernet frames) by specifying the "device" parameter (see below).
- // By specifying a channel, the script will find or create a "monitor
- // mode" interface if one is available and produce an "over the air"
- // packet capture. The name of the output packet capture file is sent
- // to the output file descriptor.
- virtual bool PacketCaptureStart(
- const base::ScopedFD& in_statfd,
- const base::ScopedFD& in_outfd,
- const brillo::VariantDictionary& in_options,
- std::string* out_handle,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Starts a packet capture with the specified options, with diagnostic
- // status directed to the "statfd" file descriptor and packet capture
- // data sent to the "outfd" file descriptor. The returned opaque string
- // functions as a handle for this particular packet capture. Multiple
- // captures can be running at once. Captures can be initiated on
- // Ethernet-like devices or WiFi devices in "client mode" (showing only
- // Ethernet frames) by specifying the "device" parameter (see below).
- // By specifying a channel, the script will find or create a "monitor
- // mode" interface if one is available and produce an "over the air"
- // packet capture. The name of the output packet capture file is sent
- // to the output file descriptor.
- virtual void PacketCaptureStartAsync(
- const base::ScopedFD& in_statfd,
- const base::ScopedFD& in_outfd,
- const brillo::VariantDictionary& in_options,
- base::OnceCallback<void(const std::string& /*handle*/)> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Stops a running packet capture.
- virtual bool PacketCaptureStop(
- const std::string& in_handle,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Stops a running packet capture.
- virtual void PacketCaptureStopAsync(
- const std::string& in_handle,
- base::OnceCallback<void()> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Triggers show-task-states(T) SysRq.
- // See https://www.kernel.org/doc/Documentation/sysrq.txt.
- virtual bool LogKernelTaskStates(
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Triggers show-task-states(T) SysRq.
- // See https://www.kernel.org/doc/Documentation/sysrq.txt.
- virtual void LogKernelTaskStatesAsync(
- base::OnceCallback<void()> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Triggers uploading of system crashes (the crash_sender program).
- virtual bool UploadCrashes(
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Triggers uploading of system crashes (the crash_sender program).
- virtual void UploadCrashesAsync(
- base::OnceCallback<void()> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Uploads a single crash report immediately. Crash report data is
- // contained in the message.
- virtual bool UploadSingleCrash(
- const std::vector<std::tuple<std::string, base::ScopedFD>>& in_files,
- bool in_consent_already_checked_by_crash_reporter,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Uploads a single crash report immediately. Crash report data is
- // contained in the message.
- virtual void UploadSingleCrashAsync(
- const std::vector<std::tuple<std::string, base::ScopedFD>>& in_files,
- bool in_consent_already_checked_by_crash_reporter,
- base::OnceCallback<void()> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // If set to true, any UploadSingleCrash call will invoke crash_sender
- // with --test_mode. Avaialble only on dev mode devices.
- virtual bool SetCrashSenderTestMode(
- bool in_mode,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // If set to true, any UploadSingleCrash call will invoke crash_sender
- // with --test_mode. Avaialble only on dev mode devices.
- virtual void SetCrashSenderTestModeAsync(
- bool in_mode,
- base::OnceCallback<void()> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Removes rootfs verification. Requires a system reboot before it will
- // take effect. Restricted to pre-owner dev mode.
- virtual bool RemoveRootfsVerification(
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Removes rootfs verification. Requires a system reboot before it will
- // take effect. Restricted to pre-owner dev mode.
- virtual void RemoveRootfsVerificationAsync(
- base::OnceCallback<void()> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Enables OS booting from a USB image. Restricted to pre-owner dev mode.
- virtual bool EnableBootFromUsb(
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Enables OS booting from a USB image. Restricted to pre-owner dev mode.
- virtual void EnableBootFromUsbAsync(
- base::OnceCallback<void()> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Sets up sshd to provide an SSH server immediately and on future reboots.
- // Also installs the test SSH keys to allow access by cros tools. Requires
- // that rootfs verification has been removed. Restricted to pre-owner dev
- // mode.
- virtual bool ConfigureSshServer(
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Sets up sshd to provide an SSH server immediately and on future reboots.
- // Also installs the test SSH keys to allow access by cros tools. Requires
- // that rootfs verification has been removed. Restricted to pre-owner dev
- // mode.
- virtual void ConfigureSshServerAsync(
- base::OnceCallback<void()> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Sets both the system and dev mode password for the indicated account.
- // Restricted to pre-owner dev mode.
- virtual bool SetUserPassword(
- const std::string& in_username,
- const std::string& in_password,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Sets both the system and dev mode password for the indicated account.
- // Restricted to pre-owner dev mode.
- virtual void SetUserPasswordAsync(
- const std::string& in_username,
- const std::string& in_password,
- base::OnceCallback<void()> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Sets up Chrome for remote debugging. It will take effect after a reboot
- // and using port 9222.
- // Requires that rootfs verification has been removed. Restricted to
- // pre-owner dev mode.
- virtual bool EnableChromeRemoteDebugging(
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Sets up Chrome for remote debugging. It will take effect after a reboot
- // and using port 9222.
- // Requires that rootfs verification has been removed. Restricted to
- // pre-owner dev mode.
- virtual void EnableChromeRemoteDebuggingAsync(
- base::OnceCallback<void()> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Convenience function to enable a predefined set of tools from the Chrome
- // UI. Equivalent to calling these functions in order:
- // 1. EnableBootFromUsb()
- // 2. ConfigureSshServer()
- // 3. SetUserPassword("root", root_password)
- // Requires that rootfs verification has been removed. If any sub-function
- // fails, this function will exit with an error without attempting any
- // further configuration or rollback. Restricted to pre-owner dev mode.
- virtual bool EnableChromeDevFeatures(
- const std::string& in_root_password,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Convenience function to enable a predefined set of tools from the Chrome
- // UI. Equivalent to calling these functions in order:
- // 1. EnableBootFromUsb()
- // 2. ConfigureSshServer()
- // 3. SetUserPassword("root", root_password)
- // Requires that rootfs verification has been removed. If any sub-function
- // fails, this function will exit with an error without attempting any
- // further configuration or rollback. Restricted to pre-owner dev mode.
- virtual void EnableChromeDevFeaturesAsync(
- const std::string& in_root_password,
- base::OnceCallback<void()> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Queries which dev features have been enabled. Each dev feature will be
- // indicated by a bit flag in the return value. Flags are defined in the
- // DevFeatureFlag enumeration. If the dev tools are unavailable (system is
- // not in dev mode/pre-login state), the DEV_FEATURES_DISABLED flag will be
- // set and the rest of the bits will always be set to 0.
- virtual bool QueryDevFeatures(
- int32_t* out_features,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Queries which dev features have been enabled. Each dev feature will be
- // indicated by a bit flag in the return value. Flags are defined in the
- // DevFeatureFlag enumeration. If the dev tools are unavailable (system is
- // not in dev mode/pre-login state), the DEV_FEATURES_DISABLED flag will be
- // set and the rest of the bits will always be set to 0.
- virtual void QueryDevFeaturesAsync(
- base::OnceCallback<void(int32_t /*features*/)> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Allow uploading of device coredump files.
- virtual bool EnableDevCoredumpUpload(
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Allow uploading of device coredump files.
- virtual void EnableDevCoredumpUploadAsync(
- base::OnceCallback<void()> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Disallow uploading of device coredump files.
- virtual bool DisableDevCoredumpUpload(
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Disallow uploading of device coredump files.
- virtual void DisableDevCoredumpUploadAsync(
- base::OnceCallback<void()> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Set OOM score by writing scores to procfs /proc/pid/oom_score_adj.
- // It is an operation which needs root privilege so needs to be handled
- // carefully:
- // 1. Only user chronos can request the operation.
- // 2. It can only modify processes owned by chronos or run in Android
- // container.
- virtual bool SetOomScoreAdj(
- const std::map<int32_t, int32_t>& in_scores,
- std::string* out_out,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Set OOM score by writing scores to procfs /proc/pid/oom_score_adj.
- // It is an operation which needs root privilege so needs to be handled
- // carefully:
- // 1. Only user chronos can request the operation.
- // 2. It can only modify processes owned by chronos or run in Android
- // container.
- virtual void SetOomScoreAdjAsync(
- const std::map<int32_t, int32_t>& in_scores,
- base::OnceCallback<void(const std::string& /*out*/)> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Enable swap file usage via config files.
- virtual bool SwapEnable(
- int32_t in_size,
- bool in_change_now,
- std::string* out_status,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Enable swap file usage via config files.
- virtual void SwapEnableAsync(
- int32_t in_size,
- bool in_change_now,
- base::OnceCallback<void(const std::string& /*status*/)> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Disable swap file usage via config files.
- virtual bool SwapDisable(
- bool in_change_now,
- std::string* out_status,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Disable swap file usage via config files.
- virtual void SwapDisableAsync(
- bool in_change_now,
- base::OnceCallback<void(const std::string& /*status*/)> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Sets the ratio to use for kstaled, 0 will disable the feature.
- // The kstaled ratio is a control of how aggressively kstaled will
- // attempt to swap, higher values are more aggressive and consume
- // more CPU.
- virtual bool KstaledSetRatio(
- uint8_t in_ratio,
- bool* out_result,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Sets the ratio to use for kstaled, 0 will disable the feature.
- // The kstaled ratio is a control of how aggressively kstaled will
- // attempt to swap, higher values are more aggressive and consume
- // more CPU.
- virtual void KstaledSetRatioAsync(
- uint8_t in_ratio,
- base::OnceCallback<void(bool /*result*/)> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Turn swap usage on/off (leaves config files alone).
- virtual bool SwapStartStop(
- bool in_on,
- std::string* out_status,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Turn swap usage on/off (leaves config files alone).
- virtual void SwapStartStopAsync(
- bool in_on,
- base::OnceCallback<void(const std::string& /*status*/)> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Show current swap status.
- virtual bool SwapStatus(
- std::string* out_status,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Show current swap status.
- virtual void SwapStatusAsync(
- base::OnceCallback<void(const std::string& /*status*/)> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Persistently change the value of various parameters.
- virtual bool SwapSetParameter(
- const std::string& in_command_name,
- int32_t in_value,
- std::string* out_status,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Persistently change the value of various parameters.
- virtual void SwapSetParameterAsync(
- const std::string& in_command_name,
- int32_t in_value,
- base::OnceCallback<void(const std::string& /*status*/)> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Enable writeback of zram swapped pages.
- virtual bool SwapZramEnableWriteback(
- uint32_t in_size_mb,
- std::string* out_result,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Enable writeback of zram swapped pages.
- virtual void SwapZramEnableWritebackAsync(
- uint32_t in_size_mb,
- base::OnceCallback<void(const std::string& /*result*/)> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Mark pages as idle which have been in zram for |age| in seconds.
- virtual bool SwapZramMarkIdle(
- uint32_t in_age,
- std::string* out_status,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Mark pages as idle which have been in zram for |age| in seconds.
- virtual void SwapZramMarkIdleAsync(
- uint32_t in_age,
- base::OnceCallback<void(const std::string& /*status*/)> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Set the zram writeback page limit to |limit| pages.
- virtual bool SwapZramSetWritebackLimit(
- uint32_t in_limit,
- std::string* out_status,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Set the zram writeback page limit to |limit| pages.
- virtual void SwapZramSetWritebackLimitAsync(
- uint32_t in_limit,
- base::OnceCallback<void(const std::string& /*status*/)> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Initiate a zram writeback using the provided |mode|.
- virtual bool InitiateSwapZramWriteback(
- uint32_t in_mode,
- std::string* out_status,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Initiate a zram writeback using the provided |mode|.
- virtual void InitiateSwapZramWritebackAsync(
- uint32_t in_mode,
- base::OnceCallback<void(const std::string& /*status*/)> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Set the /proc/sys/vm/swappiness to the provided |swappiness_value|.
- virtual bool SwapSetSwappiness(
- uint32_t in_swappiness_value,
- std::string* out_status,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Set the /proc/sys/vm/swappiness to the provided |swappiness_value|.
- virtual void SwapSetSwappinessAsync(
- uint32_t in_swappiness_value,
- base::OnceCallback<void(const std::string& /*status*/)> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Modify u2fd daemon debugging/override flags.
- virtual bool SetU2fFlags(
- const std::string& in_flags,
- std::string* out_status,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Modify u2fd daemon debugging/override flags.
- virtual void SetU2fFlagsAsync(
- const std::string& in_flags,
- base::OnceCallback<void(const std::string& /*status*/)> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Get u2fd daemon debugging/override flags.
- virtual bool GetU2fFlags(
- std::string* out_flags,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Get u2fd daemon debugging/override flags.
- virtual void GetU2fFlagsAsync(
- base::OnceCallback<void(const std::string& /*flags*/)> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Notify debugd that a container is starting up.
- virtual bool ContainerStarted(
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Notify debugd that a container is starting up.
- virtual void ContainerStartedAsync(
- base::OnceCallback<void()> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Notify debugd that a container has stopped.
- virtual bool ContainerStopped(
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Notify debugd that a container has stopped.
- virtual void ContainerStoppedAsync(
- base::OnceCallback<void()> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Enable/disable WiFi power save mode.
- virtual bool SetWifiPowerSave(
- bool in_enable,
- std::string* out_status,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Enable/disable WiFi power save mode.
- virtual void SetWifiPowerSaveAsync(
- bool in_enable,
- base::OnceCallback<void(const std::string& /*status*/)> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Show current WiFi power save mode.
- virtual bool GetWifiPowerSave(
- std::string* out_status,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Show current WiFi power save mode.
- virtual void GetWifiPowerSaveAsync(
- base::OnceCallback<void(const std::string& /*status*/)> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Run a shill debug script in a sandboxed environment.
- virtual bool RunShillScriptStart(
- const base::ScopedFD& in_outfd,
- const std::string& in_script,
- const std::vector<std::string>& in_script_args,
- std::string* out_handle,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Run a shill debug script in a sandboxed environment.
- virtual void RunShillScriptStartAsync(
- const base::ScopedFD& in_outfd,
- const std::string& in_script,
- const std::vector<std::string>& in_script_args,
- base::OnceCallback<void(const std::string& /*handle*/)> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Stops a running script.
- virtual bool RunShillScriptStop(
- const std::string& in_handle,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Stops a running script.
- virtual void RunShillScriptStopAsync(
- const std::string& in_handle,
- base::OnceCallback<void()> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Starts the VM Plugin Dispatcher service. Returns true if the service was
- // successfully started and is available over dbus, false otherwise.
- virtual bool StartVmPluginDispatcher(
- const std::string& in_user_id_hash,
- const std::string& in_lang,
- bool* out_status,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Starts the VM Plugin Dispatcher service. Returns true if the service was
- // successfully started and is available over dbus, false otherwise.
- virtual void StartVmPluginDispatcherAsync(
- const std::string& in_user_id_hash,
- const std::string& in_lang,
- base::OnceCallback<void(bool /*status*/)> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Stops the VM Plugin dispatcher service.
- virtual bool StopVmPluginDispatcher(
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Stops the VM Plugin dispatcher service.
- virtual void StopVmPluginDispatcherAsync(
- base::OnceCallback<void()> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Sets should_send_rlz_ping in RW_VPD to 0. Upon success, proceeds to
- // remove rlz_embargo_end_date in RW_VPD.
- virtual bool SetRlzPingSent(
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Sets should_send_rlz_ping in RW_VPD to 0. Upon success, proceeds to
- // remove rlz_embargo_end_date in RW_VPD.
- virtual void SetRlzPingSentAsync(
- base::OnceCallback<void()> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Start updating the GSC FW of the USB-connected device (only if the
- // device's FW is not up-to-date) and verifying AP and EC RO FW integrity
- // of the device.
- virtual bool UpdateAndVerifyFWOnUsbStart(
- const base::ScopedFD& in_outfd,
- const std::string& in_image_file,
- const std::string& in_ro_db_dir,
- std::string* out_handle,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Start updating the GSC FW of the USB-connected device (only if the
- // device's FW is not up-to-date) and verifying AP and EC RO FW integrity
- // of the device.
- virtual void UpdateAndVerifyFWOnUsbStartAsync(
- const base::ScopedFD& in_outfd,
- const std::string& in_image_file,
- const std::string& in_ro_db_dir,
- base::OnceCallback<void(const std::string& /*handle*/)> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Stops a running VerifyRo.
- virtual bool UpdateAndVerifyFWOnUsbStop(
- const std::string& in_handle,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Stops a running VerifyRo.
- virtual void UpdateAndVerifyFWOnUsbStopAsync(
- const std::string& in_handle,
- base::OnceCallback<void()> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Set the scheduler configuration policy.
- virtual bool SetSchedulerConfiguration(
- const std::string& in_policy,
- bool* out_result,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Set the scheduler configuration policy.
- virtual void SetSchedulerConfigurationAsync(
- const std::string& in_policy,
- base::OnceCallback<void(bool /*result*/)> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Evaluates a probe statement by the runtime_probe helper with pre-defined
- // sandbox options in rootfs.
- virtual bool EvaluateProbeFunction(
- const std::string& in_probe_statement,
- int32_t in_log_level,
- base::ScopedFD* out_result_fd,
- base::ScopedFD* out_error_fd,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Evaluates a probe statement by the runtime_probe helper with pre-defined
- // sandbox options in rootfs.
- virtual void EvaluateProbeFunctionAsync(
- const std::string& in_probe_statement,
- int32_t in_log_level,
- base::OnceCallback<void(const base::ScopedFD& /*result_fd*/, const base::ScopedFD& /*error_fd*/)> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Set the scheduler configuration policy.
- virtual bool SetSchedulerConfigurationV2(
- const std::string& in_policy,
- bool in_lock_policy,
- bool* out_result,
- uint32_t* out_num_cores_disabled,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Set the scheduler configuration policy.
- virtual void SetSchedulerConfigurationV2Async(
- const std::string& in_policy,
- bool in_lock_policy,
- base::OnceCallback<void(bool /*result*/, uint32_t /*num_cores_disabled*/)> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Trigger wifi firmware dump.
- virtual bool WifiFWDump(
- std::string* out_output,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Trigger wifi firmware dump.
- virtual void WifiFWDumpAsync(
- base::OnceCallback<void(const std::string& /*output*/)> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Runs the ectool i2cread command with pre-defined
- // sandbox options in rootfs and retrieves the
- // requested smart battery metric used by cros_healthd.
- virtual bool CollectSmartBatteryMetric(
- const std::string& in_metric_name,
- std::string* out_output,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Runs the ectool i2cread command with pre-defined
- // sandbox options in rootfs and retrieves the
- // requested smart battery metric used by cros_healthd.
- virtual void CollectSmartBatteryMetricAsync(
- const std::string& in_metric_name,
- base::OnceCallback<void(const std::string& /*output*/)> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Runs the 'ectool inventory' command with pre-defined
- // sandbox options in rootfs and returns the output.
- virtual bool EcGetInventory(
- std::string* out_output,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Runs the 'ectool inventory' command with pre-defined
- // sandbox options in rootfs and returns the output.
- virtual void EcGetInventoryAsync(
- base::OnceCallback<void(const std::string& /*output*/)> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Runs the command 'dmesg' with the given inputs.
- virtual bool CallDmesg(
- const brillo::VariantDictionary& in_options,
- std::string* out_output,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Runs the command 'dmesg' with the given inputs.
- virtual void CallDmesgAsync(
- const brillo::VariantDictionary& in_options,
- base::OnceCallback<void(const std::string& /*output*/)> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Runs the 'ectool typeccontrol' command with pre-defined
- // sandbox options in rootfs to enter a USB Type-C mode on the
- // specified port.
- virtual bool EcTypeCEnterMode(
- uint32_t in_port_num,
- uint32_t in_mode,
- std::string* out_output,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Runs the 'ectool typeccontrol' command with pre-defined
- // sandbox options in rootfs to enter a USB Type-C mode on the
- // specified port.
- virtual void EcTypeCEnterModeAsync(
- uint32_t in_port_num,
- uint32_t in_mode,
- base::OnceCallback<void(const std::string& /*output*/)> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Runs the 'ectool typeccontrol' command with pre-defined
- // sandbox options in rootfs to exit a USB Type-C mode on the
- // specified port.
- virtual bool EcTypeCExitMode(
- uint32_t in_port_num,
- std::string* out_output,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Runs the 'ectool typeccontrol' command with pre-defined
- // sandbox options in rootfs to exit a USB Type-C mode on the
- // specified port.
- virtual void EcTypeCExitModeAsync(
- uint32_t in_port_num,
- base::OnceCallback<void(const std::string& /*output*/)> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Runs the 'ectool usbpdmuxinfo' command with pre-defined
- // sandbox options in rootfs to determine the DisplayPort(DP) state
- // for a specified port.
- virtual bool EcTypeCDpState(
- uint32_t in_port_num,
- bool* out_output,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Runs the 'ectool usbpdmuxinfo' command with pre-defined
- // sandbox options in rootfs to determine the DisplayPort(DP) state
- // for a specified port.
- virtual void EcTypeCDpStateAsync(
- uint32_t in_port_num,
- base::OnceCallback<void(bool /*output*/)> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Runs the 'ectool gpioget' command with pre-defined
- // sandbox options in rootfs to determine the DisplayPort
- // Hot Plug Detect (HPD) GPIO state for a specified port.
- virtual bool EcTypeCHpdState(
- uint32_t in_port_num,
- bool* out_output,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Runs the 'ectool gpioget' command with pre-defined
- // sandbox options in rootfs to determine the DisplayPort
- // Hot Plug Detect (HPD) GPIO state for a specified port.
- virtual void EcTypeCHpdStateAsync(
- uint32_t in_port_num,
- base::OnceCallback<void(bool /*output*/)> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Execute a sequence of commands to enable a kernel feature.
- virtual bool KernelFeatureEnable(
- const std::string& in_name,
- bool* out_result,
- std::string* out_err_str,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Execute a sequence of commands to enable a kernel feature.
- virtual void KernelFeatureEnableAsync(
- const std::string& in_name,
- base::OnceCallback<void(bool /*result*/, const std::string& /*err_str*/)> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Get a CSV list of kernel features that are available to be enabled.
- virtual bool KernelFeatureList(
- bool* out_result,
- std::string* out_csv,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Get a CSV list of kernel features that are available to be enabled.
- virtual void KernelFeatureListAsync(
- base::OnceCallback<void(bool /*result*/, const std::string& /*csv*/)> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Set the log categories to enable for drm_trace.
- virtual bool DRMTraceSetCategories(
- uint32_t in_categories,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Set the log categories to enable for drm_trace.
- virtual void DRMTraceSetCategoriesAsync(
- uint32_t in_categories,
- base::OnceCallback<void()> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Modify the size of the drm_trace buffer.
- virtual bool DRMTraceSetSize(
- uint32_t in_size,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Modify the size of the drm_trace buffer.
- virtual void DRMTraceSetSizeAsync(
- uint32_t in_size,
- base::OnceCallback<void()> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Append a string to the drm_trace log by writing |log| to
- // /sys/kernel/debug/trace/instances/drm/trace_marker
- // Characters that are not human-readable will be filtered out and
- // replaced with '_'.
- virtual bool DRMTraceAnnotateLog(
- const std::string& in_log,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Append a string to the drm_trace log by writing |log| to
- // /sys/kernel/debug/trace/instances/drm/trace_marker
- // Characters that are not human-readable will be filtered out and
- // replaced with '_'.
- virtual void DRMTraceAnnotateLogAsync(
- const std::string& in_log,
- base::OnceCallback<void()> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Copy the current contents of the specified log type to a new file
- // /var/log/display_debug/$logtype.$datetimestamp
- virtual bool DRMTraceSnapshot(
- uint32_t in_type,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Copy the current contents of the specified log type to a new file
- // /var/log/display_debug/$logtype.$datetimestamp
- virtual void DRMTraceSnapshotAsync(
- uint32_t in_type,
- base::OnceCallback<void()> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Collect printscan debug logs for the specified categories.
- // If no categories are specified, disable log collection
- // for all categories.
- virtual bool PrintscanDebugSetCategories(
- uint32_t in_categories,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- // Collect printscan debug logs for the specified categories.
- // If no categories are specified, disable log collection
- // for all categories.
- virtual void PrintscanDebugSetCategoriesAsync(
- uint32_t in_categories,
- base::OnceCallback<void()> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) = 0;
-
- virtual void RegisterPacketCaptureStartSignalHandler(
- base::RepeatingClosure signal_callback,
- dbus::ObjectProxy::OnConnectedCallback on_connected_callback) = 0;
-
- virtual void RegisterPacketCaptureStopSignalHandler(
- base::RepeatingClosure signal_callback,
- dbus::ObjectProxy::OnConnectedCallback on_connected_callback) = 0;
-
- virtual const dbus::ObjectPath& GetObjectPath() const = 0;
- virtual dbus::ObjectProxy* GetObjectProxy() const = 0;
-};
-
-} // namespace chromium
-} // namespace org
-
-namespace org {
-namespace chromium {
-
-// Interface proxy for org::chromium::debugd.
-class debugdProxy final : public debugdProxyInterface {
- public:
- debugdProxy(const scoped_refptr<dbus::Bus>& bus) :
- bus_{bus},
- dbus_object_proxy_{
- bus_->GetObjectProxy(service_name_, object_path_)} {
- }
-
- debugdProxy(const debugdProxy&) = delete;
- debugdProxy& operator=(const debugdProxy&) = delete;
-
- ~debugdProxy() override {
- }
-
- void RegisterPacketCaptureStartSignalHandler(
- base::RepeatingClosure signal_callback,
- dbus::ObjectProxy::OnConnectedCallback on_connected_callback) override {
- brillo::dbus_utils::ConnectToSignal(
- dbus_object_proxy_,
- "org.chromium.debugd",
- "PacketCaptureStart",
- signal_callback,
- std::move(on_connected_callback));
- }
-
- void RegisterPacketCaptureStopSignalHandler(
- base::RepeatingClosure signal_callback,
- dbus::ObjectProxy::OnConnectedCallback on_connected_callback) override {
- brillo::dbus_utils::ConnectToSignal(
- dbus_object_proxy_,
- "org.chromium.debugd",
- "PacketCaptureStop",
- signal_callback,
- std::move(on_connected_callback));
- }
-
- void ReleaseObjectProxy(base::OnceClosure callback) {
- bus_->RemoveObjectProxy(service_name_, object_path_, std::move(callback));
- }
-
- const dbus::ObjectPath& GetObjectPath() const override {
- return object_path_;
- }
-
- dbus::ObjectProxy* GetObjectProxy() const override {
- return dbus_object_proxy_;
- }
-
- // Starts pinging the specified hostname with the specified options, with
- // output directed to the given output file descriptor. The returned opaque
- // string functions as a handle for this particular ping. Multiple pings
- // can be running at once.
- bool PingStart(
- const base::ScopedFD& in_outfd,
- const std::string& in_destination,
- const brillo::VariantDictionary& in_options,
- std::string* out_handle,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- auto response = brillo::dbus_utils::CallMethodAndBlockWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "PingStart",
- error,
- in_outfd,
- in_destination,
- in_options);
- return response && brillo::dbus_utils::ExtractMethodCallResults(
- response.get(), error, out_handle);
- }
-
- // Starts pinging the specified hostname with the specified options, with
- // output directed to the given output file descriptor. The returned opaque
- // string functions as a handle for this particular ping. Multiple pings
- // can be running at once.
- void PingStartAsync(
- const base::ScopedFD& in_outfd,
- const std::string& in_destination,
- const brillo::VariantDictionary& in_options,
- base::OnceCallback<void(const std::string& /*handle*/)> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- brillo::dbus_utils::CallMethodWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "PingStart",
- std::move(success_callback),
- std::move(error_callback),
- in_outfd,
- in_destination,
- in_options);
- }
-
- // Stops a running ping.
- bool PingStop(
- const std::string& in_handle,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- auto response = brillo::dbus_utils::CallMethodAndBlockWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "PingStop",
- error,
- in_handle);
- return response && brillo::dbus_utils::ExtractMethodCallResults(
- response.get(), error);
- }
-
- // Stops a running ping.
- void PingStopAsync(
- const std::string& in_handle,
- base::OnceCallback<void()> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- brillo::dbus_utils::CallMethodWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "PingStop",
- std::move(success_callback),
- std::move(error_callback),
- in_handle);
- }
-
- // Start system/kernel tracing. If tracing is already enabled it is
- // stopped first and any collected events are discarded. The kernel
- // must have been configured to support tracing.
- bool SystraceStart(
- const std::string& in_categories,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- auto response = brillo::dbus_utils::CallMethodAndBlockWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "SystraceStart",
- error,
- in_categories);
- return response && brillo::dbus_utils::ExtractMethodCallResults(
- response.get(), error);
- }
-
- // Start system/kernel tracing. If tracing is already enabled it is
- // stopped first and any collected events are discarded. The kernel
- // must have been configured to support tracing.
- void SystraceStartAsync(
- const std::string& in_categories,
- base::OnceCallback<void()> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- brillo::dbus_utils::CallMethodWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "SystraceStart",
- std::move(success_callback),
- std::move(error_callback),
- in_categories);
- }
-
- // Stop system/kernel tracing and write the collected event data.
- bool SystraceStop(
- const base::ScopedFD& in_outfd,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- auto response = brillo::dbus_utils::CallMethodAndBlockWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "SystraceStop",
- error,
- in_outfd);
- return response && brillo::dbus_utils::ExtractMethodCallResults(
- response.get(), error);
- }
-
- // Stop system/kernel tracing and write the collected event data.
- void SystraceStopAsync(
- const base::ScopedFD& in_outfd,
- base::OnceCallback<void()> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- brillo::dbus_utils::CallMethodWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "SystraceStop",
- std::move(success_callback),
- std::move(error_callback),
- in_outfd);
- }
-
- // Return current status for system/kernel tracing including whether it
- // is enabled, the tracing clock, and the set of events enabled.
- bool SystraceStatus(
- std::string* out_status,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- auto response = brillo::dbus_utils::CallMethodAndBlockWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "SystraceStatus",
- error);
- return response && brillo::dbus_utils::ExtractMethodCallResults(
- response.get(), error, out_status);
- }
-
- // Return current status for system/kernel tracing including whether it
- // is enabled, the tracing clock, and the set of events enabled.
- void SystraceStatusAsync(
- base::OnceCallback<void(const std::string& /*status*/)> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- brillo::dbus_utils::CallMethodWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "SystraceStatus",
- std::move(success_callback),
- std::move(error_callback));
- }
-
- bool TracePathStart(
- const base::ScopedFD& in_outfd,
- const std::string& in_destination,
- const brillo::VariantDictionary& in_options,
- std::string* out_handle,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- auto response = brillo::dbus_utils::CallMethodAndBlockWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "TracePathStart",
- error,
- in_outfd,
- in_destination,
- in_options);
- return response && brillo::dbus_utils::ExtractMethodCallResults(
- response.get(), error, out_handle);
- }
-
- void TracePathStartAsync(
- const base::ScopedFD& in_outfd,
- const std::string& in_destination,
- const brillo::VariantDictionary& in_options,
- base::OnceCallback<void(const std::string& /*handle*/)> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- brillo::dbus_utils::CallMethodWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "TracePathStart",
- std::move(success_callback),
- std::move(error_callback),
- in_outfd,
- in_destination,
- in_options);
- }
-
- // Stops a running tracepath.
- bool TracePathStop(
- const std::string& in_handle,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- auto response = brillo::dbus_utils::CallMethodAndBlockWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "TracePathStop",
- error,
- in_handle);
- return response && brillo::dbus_utils::ExtractMethodCallResults(
- response.get(), error);
- }
-
- // Stops a running tracepath.
- void TracePathStopAsync(
- const std::string& in_handle,
- base::OnceCallback<void()> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- brillo::dbus_utils::CallMethodWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "TracePathStop",
- std::move(success_callback),
- std::move(error_callback),
- in_handle);
- }
-
- // Returns the IP addresses.
- bool GetIpAddresses(
- const brillo::VariantDictionary& in_options,
- std::vector<std::string>* out_result,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- auto response = brillo::dbus_utils::CallMethodAndBlockWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "GetIpAddresses",
- error,
- in_options);
- return response && brillo::dbus_utils::ExtractMethodCallResults(
- response.get(), error, out_result);
- }
-
- // Returns the IP addresses.
- void GetIpAddressesAsync(
- const brillo::VariantDictionary& in_options,
- base::OnceCallback<void(const std::vector<std::string>& /*result*/)> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- brillo::dbus_utils::CallMethodWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "GetIpAddresses",
- std::move(success_callback),
- std::move(error_callback),
- in_options);
- }
-
- // Returns the routing table.
- bool GetRoutes(
- const brillo::VariantDictionary& in_options,
- std::vector<std::string>* out_result,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- auto response = brillo::dbus_utils::CallMethodAndBlockWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "GetRoutes",
- error,
- in_options);
- return response && brillo::dbus_utils::ExtractMethodCallResults(
- response.get(), error, out_result);
- }
-
- // Returns the routing table.
- void GetRoutesAsync(
- const brillo::VariantDictionary& in_options,
- base::OnceCallback<void(const std::vector<std::string>& /*result*/)> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- brillo::dbus_utils::CallMethodWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "GetRoutes",
- std::move(success_callback),
- std::move(error_callback),
- in_options);
- }
-
- // Returns network information as a JSON string. See the design document
- // for a rationale.
- bool GetNetworkStatus(
- std::string* out_status,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- auto response = brillo::dbus_utils::CallMethodAndBlockWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "GetNetworkStatus",
- error);
- return response && brillo::dbus_utils::ExtractMethodCallResults(
- response.get(), error, out_status);
- }
-
- // Returns network information as a JSON string. See the design document
- // for a rationale.
- void GetNetworkStatusAsync(
- base::OnceCallback<void(const std::string& /*status*/)> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- brillo::dbus_utils::CallMethodWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "GetNetworkStatus",
- std::move(success_callback),
- std::move(error_callback));
- }
-
- // Runs system-wide perf profiling. The profile parameters are selected by
- // perf_args.
- bool GetPerfOutput(
- uint32_t in_duration_sec,
- const std::vector<std::string>& in_perf_args,
- int32_t* out_status,
- std::vector<uint8_t>* out_perf_data,
- std::vector<uint8_t>* out_perf_stat,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- auto response = brillo::dbus_utils::CallMethodAndBlockWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "GetPerfOutput",
- error,
- in_duration_sec,
- in_perf_args);
- return response && brillo::dbus_utils::ExtractMethodCallResults(
- response.get(), error, out_status, out_perf_data, out_perf_stat);
- }
-
- // Runs system-wide perf profiling. The profile parameters are selected by
- // perf_args.
- void GetPerfOutputAsync(
- uint32_t in_duration_sec,
- const std::vector<std::string>& in_perf_args,
- base::OnceCallback<void(int32_t /*status*/, const std::vector<uint8_t>& /*perf_data*/, const std::vector<uint8_t>& /*perf_stat*/)> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- brillo::dbus_utils::CallMethodWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "GetPerfOutput",
- std::move(success_callback),
- std::move(error_callback),
- in_duration_sec,
- in_perf_args);
- }
-
- // Runs system-wide perf profiling. The profile parameters are selected by
- // perf_args.
- // This method runs quipper asynchronously so that debugd isn't blocked for
- // duration_sec. The DBus client reads the perf output using the file
- // descriptor. Only one profiler session is allowed to run using this
- // method. Calling this method while the profiler is running yields a DBus
- // error. The profiler session can optionally be stopped using method
- // StopPerf before duration_sec elapses.
- bool GetPerfOutputFd(
- uint32_t in_duration_sec,
- const std::vector<std::string>& in_perf_args,
- const base::ScopedFD& in_stdout,
- uint64_t* out_session_id,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- auto response = brillo::dbus_utils::CallMethodAndBlockWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "GetPerfOutputFd",
- error,
- in_duration_sec,
- in_perf_args,
- in_stdout);
- return response && brillo::dbus_utils::ExtractMethodCallResults(
- response.get(), error, out_session_id);
- }
-
- // Runs system-wide perf profiling. The profile parameters are selected by
- // perf_args.
- // This method runs quipper asynchronously so that debugd isn't blocked for
- // duration_sec. The DBus client reads the perf output using the file
- // descriptor. Only one profiler session is allowed to run using this
- // method. Calling this method while the profiler is running yields a DBus
- // error. The profiler session can optionally be stopped using method
- // StopPerf before duration_sec elapses.
- void GetPerfOutputFdAsync(
- uint32_t in_duration_sec,
- const std::vector<std::string>& in_perf_args,
- const base::ScopedFD& in_stdout,
- base::OnceCallback<void(uint64_t /*session_id*/)> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- brillo::dbus_utils::CallMethodWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "GetPerfOutputFd",
- std::move(success_callback),
- std::move(error_callback),
- in_duration_sec,
- in_perf_args,
- in_stdout);
- }
-
- // Stop the existing profiler session and gather perf output right away. If
- // the collection started by GetPerfOutputFd has finished, calling this
- // method will silently succeed.
- bool StopPerf(
- uint64_t in_session_id,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- auto response = brillo::dbus_utils::CallMethodAndBlockWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "StopPerf",
- error,
- in_session_id);
- return response && brillo::dbus_utils::ExtractMethodCallResults(
- response.get(), error);
- }
-
- // Stop the existing profiler session and gather perf output right away. If
- // the collection started by GetPerfOutputFd has finished, calling this
- // method will silently succeed.
- void StopPerfAsync(
- uint64_t in_session_id,
- base::OnceCallback<void()> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- brillo::dbus_utils::CallMethodWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "StopPerf",
- std::move(success_callback),
- std::move(error_callback),
- in_session_id);
- }
-
- // Runs system-wide perf profiling through quipper. The profile parameters
- // are selected by quipper_args.
- // This method runs quipper asynchronously so that debugd isn't blocked for
- // however long perf is recording. The DBus client reads the perf output
- // using the file descriptor. Only one profiler session is allowed to run
- // using this method. Calling this method while the profiler is running
- // yields a DBus error. The profiler session can optionally be stopped
- // early using method StopPerf.
- bool GetPerfOutputV2(
- const std::vector<std::string>& in_quipper_args,
- bool in_disable_cpu_idle,
- const base::ScopedFD& in_stdout,
- uint64_t* out_session_id,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- auto response = brillo::dbus_utils::CallMethodAndBlockWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "GetPerfOutputV2",
- error,
- in_quipper_args,
- in_disable_cpu_idle,
- in_stdout);
- return response && brillo::dbus_utils::ExtractMethodCallResults(
- response.get(), error, out_session_id);
- }
-
- // Runs system-wide perf profiling through quipper. The profile parameters
- // are selected by quipper_args.
- // This method runs quipper asynchronously so that debugd isn't blocked for
- // however long perf is recording. The DBus client reads the perf output
- // using the file descriptor. Only one profiler session is allowed to run
- // using this method. Calling this method while the profiler is running
- // yields a DBus error. The profiler session can optionally be stopped
- // early using method StopPerf.
- void GetPerfOutputV2Async(
- const std::vector<std::string>& in_quipper_args,
- bool in_disable_cpu_idle,
- const base::ScopedFD& in_stdout,
- base::OnceCallback<void(uint64_t /*session_id*/)> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- brillo::dbus_utils::CallMethodWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "GetPerfOutputV2",
- std::move(success_callback),
- std::move(error_callback),
- in_quipper_args,
- in_disable_cpu_idle,
- in_stdout);
- }
-
- // Packages up system logs into a .tar(.gz) and returns it over the
- // supplied file descriptor.
- bool DumpDebugLogs(
- bool in_is_compressed,
- const base::ScopedFD& in_outfd,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- auto response = brillo::dbus_utils::CallMethodAndBlockWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "DumpDebugLogs",
- error,
- in_is_compressed,
- in_outfd);
- return response && brillo::dbus_utils::ExtractMethodCallResults(
- response.get(), error);
- }
-
- // Packages up system logs into a .tar(.gz) and returns it over the
- // supplied file descriptor.
- void DumpDebugLogsAsync(
- bool in_is_compressed,
- const base::ScopedFD& in_outfd,
- base::OnceCallback<void()> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- brillo::dbus_utils::CallMethodWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "DumpDebugLogs",
- std::move(success_callback),
- std::move(error_callback),
- in_is_compressed,
- in_outfd);
- }
-
- // Enables or disables debug mode for a specified subsystem.
- bool SetDebugMode(
- const std::string& in_subsystem,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- auto response = brillo::dbus_utils::CallMethodAndBlockWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "SetDebugMode",
- error,
- in_subsystem);
- return response && brillo::dbus_utils::ExtractMethodCallResults(
- response.get(), error);
- }
-
- // Enables or disables debug mode for a specified subsystem.
- void SetDebugModeAsync(
- const std::string& in_subsystem,
- base::OnceCallback<void()> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- brillo::dbus_utils::CallMethodWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "SetDebugMode",
- std::move(success_callback),
- std::move(error_callback),
- in_subsystem);
- }
-
- // Fetches the contents of a single system log, identified by name. See
- // /src/log_tool.cc for a list of valid names.
- bool GetLog(
- const std::string& in_log,
- std::string* out_contents,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- auto response = brillo::dbus_utils::CallMethodAndBlockWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "GetLog",
- error,
- in_log);
- return response && brillo::dbus_utils::ExtractMethodCallResults(
- response.get(), error, out_contents);
- }
-
- // Fetches the contents of a single system log, identified by name. See
- // /src/log_tool.cc for a list of valid names.
- void GetLogAsync(
- const std::string& in_log,
- base::OnceCallback<void(const std::string& /*contents*/)> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- brillo::dbus_utils::CallMethodWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "GetLog",
- std::move(success_callback),
- std::move(error_callback),
- in_log);
- }
-
- // Returns all the system logs.
- bool GetAllLogs(
- std::map<std::string, std::string>* out_logs,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- auto response = brillo::dbus_utils::CallMethodAndBlockWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "GetAllLogs",
- error);
- return response && brillo::dbus_utils::ExtractMethodCallResults(
- response.get(), error, out_logs);
- }
-
- // Returns all the system logs.
- void GetAllLogsAsync(
- base::OnceCallback<void(const std::map<std::string, std::string>& /*logs*/)> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- brillo::dbus_utils::CallMethodWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "GetAllLogs",
- std::move(success_callback),
- std::move(error_callback));
- }
-
- // Fills the system logs for feedback reports in the file whose file
- // descriptor is given. This is used for logs that are so big that they
- // exceed the limits of D-Bus returning them. Provides options to change
- // the scope of the collected logs.
- bool GetFeedbackLogsV2(
- const base::ScopedFD& in_outfd,
- const std::string& in_username,
- const std::vector<int32_t>& in_requested_logs,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- auto response = brillo::dbus_utils::CallMethodAndBlockWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "GetFeedbackLogsV2",
- error,
- in_outfd,
- in_username,
- in_requested_logs);
- return response && brillo::dbus_utils::ExtractMethodCallResults(
- response.get(), error);
- }
-
- // Fills the system logs for feedback reports in the file whose file
- // descriptor is given. This is used for logs that are so big that they
- // exceed the limits of D-Bus returning them. Provides options to change
- // the scope of the collected logs.
- void GetFeedbackLogsV2Async(
- const base::ScopedFD& in_outfd,
- const std::string& in_username,
- const std::vector<int32_t>& in_requested_logs,
- base::OnceCallback<void()> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- brillo::dbus_utils::CallMethodWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "GetFeedbackLogsV2",
- std::move(success_callback),
- std::move(error_callback),
- in_outfd,
- in_username,
- in_requested_logs);
- }
-
- // Fills the system logs for feedback reports in the file whose file
- // descriptor is given. This is used for logs that are so big that they
- // exceed the limits of D-Bus returning them. Provides options to change
- // the scope of the collected logs.
- bool GetFeedbackLogsV3(
- const base::ScopedFD& in_outfd,
- const std::string& in_username,
- const std::vector<int32_t>& in_requested_logs,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- auto response = brillo::dbus_utils::CallMethodAndBlockWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "GetFeedbackLogsV3",
- error,
- in_outfd,
- in_username,
- in_requested_logs);
- return response && brillo::dbus_utils::ExtractMethodCallResults(
- response.get(), error);
- }
-
- // Fills the system logs for feedback reports in the file whose file
- // descriptor is given. This is used for logs that are so big that they
- // exceed the limits of D-Bus returning them. Provides options to change
- // the scope of the collected logs.
- void GetFeedbackLogsV3Async(
- const base::ScopedFD& in_outfd,
- const std::string& in_username,
- const std::vector<int32_t>& in_requested_logs,
- base::OnceCallback<void()> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- brillo::dbus_utils::CallMethodWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "GetFeedbackLogsV3",
- std::move(success_callback),
- std::move(error_callback),
- in_outfd,
- in_username,
- in_requested_logs);
- }
-
- // Retrieves the ARC bug report and saves it in debugd daemon store.
- // If a backup already exists, it is over-written.
- // If backup operation fails, an error is logged.
- bool BackupArcBugReport(
- const std::string& in_username,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- auto response = brillo::dbus_utils::CallMethodAndBlockWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "BackupArcBugReport",
- error,
- in_username);
- return response && brillo::dbus_utils::ExtractMethodCallResults(
- response.get(), error);
- }
-
- // Retrieves the ARC bug report and saves it in debugd daemon store.
- // If a backup already exists, it is over-written.
- // If backup operation fails, an error is logged.
- void BackupArcBugReportAsync(
- const std::string& in_username,
- base::OnceCallback<void()> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- brillo::dbus_utils::CallMethodWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "BackupArcBugReport",
- std::move(success_callback),
- std::move(error_callback),
- in_username);
- }
-
- // Deletes the backed up ARC bug report saved in daemon store.
- // If delete operation fails, an error is logged.
- bool DeleteArcBugReportBackup(
- const std::string& in_username,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- auto response = brillo::dbus_utils::CallMethodAndBlockWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "DeleteArcBugReportBackup",
- error,
- in_username);
- return response && brillo::dbus_utils::ExtractMethodCallResults(
- response.get(), error);
- }
-
- // Deletes the backed up ARC bug report saved in daemon store.
- // If delete operation fails, an error is logged.
- void DeleteArcBugReportBackupAsync(
- const std::string& in_username,
- base::OnceCallback<void()> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- brillo::dbus_utils::CallMethodWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "DeleteArcBugReportBackup",
- std::move(success_callback),
- std::move(error_callback),
- in_username);
- }
-
- // Example method. See /doc/hacking.md.
- bool GetExample(
- std::string* out_result,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- auto response = brillo::dbus_utils::CallMethodAndBlockWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "GetExample",
- error);
- return response && brillo::dbus_utils::ExtractMethodCallResults(
- response.get(), error, out_result);
- }
-
- // Example method. See /doc/hacking.md.
- void GetExampleAsync(
- base::OnceCallback<void(const std::string& /*result*/)> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- brillo::dbus_utils::CallMethodWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "GetExample",
- std::move(success_callback),
- std::move(error_callback));
- }
-
- // Add a printer that can be auto-configured to CUPS. Immediately attempt
- // to connect. Returns true if setup was successful.
- bool CupsAddAutoConfiguredPrinter(
- const std::string& in_name,
- const std::string& in_uri,
- int32_t* out_result,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- auto response = brillo::dbus_utils::CallMethodAndBlockWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "CupsAddAutoConfiguredPrinter",
- error,
- in_name,
- in_uri);
- return response && brillo::dbus_utils::ExtractMethodCallResults(
- response.get(), error, out_result);
- }
-
- // Add a printer that can be auto-configured to CUPS. Immediately attempt
- // to connect. Returns true if setup was successful.
- void CupsAddAutoConfiguredPrinterAsync(
- const std::string& in_name,
- const std::string& in_uri,
- base::OnceCallback<void(int32_t /*result*/)> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- brillo::dbus_utils::CallMethodWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "CupsAddAutoConfiguredPrinter",
- std::move(success_callback),
- std::move(error_callback),
- in_name,
- in_uri);
- }
-
- // Add a printer to CUPS using the passed PPD contents. Immediately
- // attempt to connect. Returns true if setup was successful.
- bool CupsAddManuallyConfiguredPrinter(
- const std::string& in_name,
- const std::string& in_uri,
- const std::vector<uint8_t>& in_ppd_contents,
- int32_t* out_result,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- auto response = brillo::dbus_utils::CallMethodAndBlockWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "CupsAddManuallyConfiguredPrinter",
- error,
- in_name,
- in_uri,
- in_ppd_contents);
- return response && brillo::dbus_utils::ExtractMethodCallResults(
- response.get(), error, out_result);
- }
-
- // Add a printer to CUPS using the passed PPD contents. Immediately
- // attempt to connect. Returns true if setup was successful.
- void CupsAddManuallyConfiguredPrinterAsync(
- const std::string& in_name,
- const std::string& in_uri,
- const std::vector<uint8_t>& in_ppd_contents,
- base::OnceCallback<void(int32_t /*result*/)> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- brillo::dbus_utils::CallMethodWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "CupsAddManuallyConfiguredPrinter",
- std::move(success_callback),
- std::move(error_callback),
- in_name,
- in_uri,
- in_ppd_contents);
- }
-
- // Remove a printer from CUPS. Returns true if the printer was removed
- // successfully.
- bool CupsRemovePrinter(
- const std::string& in_name,
- bool* out_result,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- auto response = brillo::dbus_utils::CallMethodAndBlockWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "CupsRemovePrinter",
- error,
- in_name);
- return response && brillo::dbus_utils::ExtractMethodCallResults(
- response.get(), error, out_result);
- }
-
- // Remove a printer from CUPS. Returns true if the printer was removed
- // successfully.
- void CupsRemovePrinterAsync(
- const std::string& in_name,
- base::OnceCallback<void(bool /*result*/)> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- brillo::dbus_utils::CallMethodWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "CupsRemovePrinter",
- std::move(success_callback),
- std::move(error_callback),
- in_name);
- }
-
- // Retrieve the PPD from CUPS for a given printer. On success, returns the
- // PPD as a vector of bytes. On error, returns an empty vector.
- bool CupsRetrievePpd(
- const std::string& in_name,
- std::vector<uint8_t>* out_ppd,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- auto response = brillo::dbus_utils::CallMethodAndBlockWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "CupsRetrievePpd",
- error,
- in_name);
- return response && brillo::dbus_utils::ExtractMethodCallResults(
- response.get(), error, out_ppd);
- }
-
- // Retrieve the PPD from CUPS for a given printer. On success, returns the
- // PPD as a vector of bytes. On error, returns an empty vector.
- void CupsRetrievePpdAsync(
- const std::string& in_name,
- base::OnceCallback<void(const std::vector<uint8_t>& /*ppd*/)> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- brillo::dbus_utils::CallMethodWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "CupsRetrievePpd",
- std::move(success_callback),
- std::move(error_callback),
- in_name);
- }
-
- // Returns information about network interfaces as a JSON string.
- bool GetInterfaces(
- std::string* out_result,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- auto response = brillo::dbus_utils::CallMethodAndBlockWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "GetInterfaces",
- error);
- return response && brillo::dbus_utils::ExtractMethodCallResults(
- response.get(), error, out_result);
- }
-
- // Returns information about network interfaces as a JSON string.
- void GetInterfacesAsync(
- base::OnceCallback<void(const std::string& /*result*/)> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- brillo::dbus_utils::CallMethodWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "GetInterfaces",
- std::move(success_callback),
- std::move(error_callback));
- }
-
- // Tests ICMP connectivity to a specified host.
- bool TestICMP(
- const std::string& in_host,
- std::string* out_result,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- auto response = brillo::dbus_utils::CallMethodAndBlockWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "TestICMP",
- error,
- in_host);
- return response && brillo::dbus_utils::ExtractMethodCallResults(
- response.get(), error, out_result);
- }
-
- // Tests ICMP connectivity to a specified host.
- void TestICMPAsync(
- const std::string& in_host,
- base::OnceCallback<void(const std::string& /*result*/)> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- brillo::dbus_utils::CallMethodWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "TestICMP",
- std::move(success_callback),
- std::move(error_callback),
- in_host);
- }
-
- // Tests ICMP connectivity to a specified host (with options).
- bool TestICMPWithOptions(
- const std::string& in_host,
- const std::map<std::string, std::string>& in_options,
- std::string* out_result,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- auto response = brillo::dbus_utils::CallMethodAndBlockWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "TestICMPWithOptions",
- error,
- in_host,
- in_options);
- return response && brillo::dbus_utils::ExtractMethodCallResults(
- response.get(), error, out_result);
- }
-
- // Tests ICMP connectivity to a specified host (with options).
- void TestICMPWithOptionsAsync(
- const std::string& in_host,
- const std::map<std::string, std::string>& in_options,
- base::OnceCallback<void(const std::string& /*result*/)> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- brillo::dbus_utils::CallMethodWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "TestICMPWithOptions",
- std::move(success_callback),
- std::move(error_callback),
- in_host,
- in_options);
- }
-
- // Runs BatteryFirmware utility.
- bool BatteryFirmware(
- const std::string& in_option,
- std::string* out_result,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- auto response = brillo::dbus_utils::CallMethodAndBlockWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "BatteryFirmware",
- error,
- in_option);
- return response && brillo::dbus_utils::ExtractMethodCallResults(
- response.get(), error, out_result);
- }
-
- // Runs BatteryFirmware utility.
- void BatteryFirmwareAsync(
- const std::string& in_option,
- base::OnceCallback<void(const std::string& /*result*/)> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- brillo::dbus_utils::CallMethodWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "BatteryFirmware",
- std::move(success_callback),
- std::move(error_callback),
- in_option);
- }
-
- // Runs Smartctl utility.
- bool Smartctl(
- const std::string& in_option,
- std::string* out_result,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- auto response = brillo::dbus_utils::CallMethodAndBlockWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "Smartctl",
- error,
- in_option);
- return response && brillo::dbus_utils::ExtractMethodCallResults(
- response.get(), error, out_result);
- }
-
- // Runs Smartctl utility.
- void SmartctlAsync(
- const std::string& in_option,
- base::OnceCallback<void(const std::string& /*result*/)> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- brillo::dbus_utils::CallMethodWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "Smartctl",
- std::move(success_callback),
- std::move(error_callback),
- in_option);
- }
-
- // Runs mmc utility.
- bool Mmc(
- const std::string& in_option,
- std::string* out_result,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- auto response = brillo::dbus_utils::CallMethodAndBlockWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "Mmc",
- error,
- in_option);
- return response && brillo::dbus_utils::ExtractMethodCallResults(
- response.get(), error, out_result);
- }
-
- // Runs mmc utility.
- void MmcAsync(
- const std::string& in_option,
- base::OnceCallback<void(const std::string& /*result*/)> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- brillo::dbus_utils::CallMethodWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "Mmc",
- std::move(success_callback),
- std::move(error_callback),
- in_option);
- }
-
- // Runs ufs-related operations over various utilities.
- bool Ufs(
- const std::string& in_option,
- std::string* out_result,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- auto response = brillo::dbus_utils::CallMethodAndBlockWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "Ufs",
- error,
- in_option);
- return response && brillo::dbus_utils::ExtractMethodCallResults(
- response.get(), error, out_result);
- }
-
- // Runs ufs-related operations over various utilities.
- void UfsAsync(
- const std::string& in_option,
- base::OnceCallback<void(const std::string& /*result*/)> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- brillo::dbus_utils::CallMethodWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "Ufs",
- std::move(success_callback),
- std::move(error_callback),
- in_option);
- }
-
- // Runs nvme utility.
- bool Nvme(
- const std::string& in_option,
- std::string* out_result,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- auto response = brillo::dbus_utils::CallMethodAndBlockWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "Nvme",
- error,
- in_option);
- return response && brillo::dbus_utils::ExtractMethodCallResults(
- response.get(), error, out_result);
- }
-
- // Runs nvme utility.
- void NvmeAsync(
- const std::string& in_option,
- base::OnceCallback<void(const std::string& /*result*/)> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- brillo::dbus_utils::CallMethodWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "Nvme",
- std::move(success_callback),
- std::move(error_callback),
- in_option);
- }
-
- // Runs nvme utility to fetch log message.
- bool NvmeLog(
- uint32_t in_page_id,
- uint32_t in_length,
- bool in_raw_binary,
- std::string* out_result,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- auto response = brillo::dbus_utils::CallMethodAndBlockWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "NvmeLog",
- error,
- in_page_id,
- in_length,
- in_raw_binary);
- return response && brillo::dbus_utils::ExtractMethodCallResults(
- response.get(), error, out_result);
- }
-
- // Runs nvme utility to fetch log message.
- void NvmeLogAsync(
- uint32_t in_page_id,
- uint32_t in_length,
- bool in_raw_binary,
- base::OnceCallback<void(const std::string& /*result*/)> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- brillo::dbus_utils::CallMethodWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "NvmeLog",
- std::move(success_callback),
- std::move(error_callback),
- in_page_id,
- in_length,
- in_raw_binary);
- }
-
- // Starts running memtester.
- bool MemtesterStart(
- const base::ScopedFD& in_outfd,
- uint32_t in_memory,
- std::string* out_status,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- auto response = brillo::dbus_utils::CallMethodAndBlockWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "MemtesterStart",
- error,
- in_outfd,
- in_memory);
- return response && brillo::dbus_utils::ExtractMethodCallResults(
- response.get(), error, out_status);
- }
-
- // Starts running memtester.
- void MemtesterStartAsync(
- const base::ScopedFD& in_outfd,
- uint32_t in_memory,
- base::OnceCallback<void(const std::string& /*status*/)> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- brillo::dbus_utils::CallMethodWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "MemtesterStart",
- std::move(success_callback),
- std::move(error_callback),
- in_outfd,
- in_memory);
- }
-
- // Stops running memtester.
- bool MemtesterStop(
- const std::string& in_handle,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- auto response = brillo::dbus_utils::CallMethodAndBlockWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "MemtesterStop",
- error,
- in_handle);
- return response && brillo::dbus_utils::ExtractMethodCallResults(
- response.get(), error);
- }
-
- // Stops running memtester.
- void MemtesterStopAsync(
- const std::string& in_handle,
- base::OnceCallback<void()> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- brillo::dbus_utils::CallMethodWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "MemtesterStop",
- std::move(success_callback),
- std::move(error_callback),
- in_handle);
- }
-
- // Starts running badblocks test.
- bool BadblocksStart(
- const base::ScopedFD& in_outfd,
- std::string* out_status,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- auto response = brillo::dbus_utils::CallMethodAndBlockWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "BadblocksStart",
- error,
- in_outfd);
- return response && brillo::dbus_utils::ExtractMethodCallResults(
- response.get(), error, out_status);
- }
-
- // Starts running badblocks test.
- void BadblocksStartAsync(
- const base::ScopedFD& in_outfd,
- base::OnceCallback<void(const std::string& /*status*/)> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- brillo::dbus_utils::CallMethodWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "BadblocksStart",
- std::move(success_callback),
- std::move(error_callback),
- in_outfd);
- }
-
- // Stops running badblocks.
- bool BadblocksStop(
- const std::string& in_handle,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- auto response = brillo::dbus_utils::CallMethodAndBlockWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "BadblocksStop",
- error,
- in_handle);
- return response && brillo::dbus_utils::ExtractMethodCallResults(
- response.get(), error);
- }
-
- // Stops running badblocks.
- void BadblocksStopAsync(
- const std::string& in_handle,
- base::OnceCallback<void()> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- brillo::dbus_utils::CallMethodWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "BadblocksStop",
- std::move(success_callback),
- std::move(error_callback),
- in_handle);
- }
-
- // Starts a packet capture with the specified options, with diagnostic
- // status directed to the "statfd" file descriptor and packet capture
- // data sent to the "outfd" file descriptor. The returned opaque string
- // functions as a handle for this particular packet capture. Multiple
- // captures can be running at once. Captures can be initiated on
- // Ethernet-like devices or WiFi devices in "client mode" (showing only
- // Ethernet frames) by specifying the "device" parameter (see below).
- // By specifying a channel, the script will find or create a "monitor
- // mode" interface if one is available and produce an "over the air"
- // packet capture. The name of the output packet capture file is sent
- // to the output file descriptor.
- bool PacketCaptureStart(
- const base::ScopedFD& in_statfd,
- const base::ScopedFD& in_outfd,
- const brillo::VariantDictionary& in_options,
- std::string* out_handle,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- auto response = brillo::dbus_utils::CallMethodAndBlockWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "PacketCaptureStart",
- error,
- in_statfd,
- in_outfd,
- in_options);
- return response && brillo::dbus_utils::ExtractMethodCallResults(
- response.get(), error, out_handle);
- }
-
- // Starts a packet capture with the specified options, with diagnostic
- // status directed to the "statfd" file descriptor and packet capture
- // data sent to the "outfd" file descriptor. The returned opaque string
- // functions as a handle for this particular packet capture. Multiple
- // captures can be running at once. Captures can be initiated on
- // Ethernet-like devices or WiFi devices in "client mode" (showing only
- // Ethernet frames) by specifying the "device" parameter (see below).
- // By specifying a channel, the script will find or create a "monitor
- // mode" interface if one is available and produce an "over the air"
- // packet capture. The name of the output packet capture file is sent
- // to the output file descriptor.
- void PacketCaptureStartAsync(
- const base::ScopedFD& in_statfd,
- const base::ScopedFD& in_outfd,
- const brillo::VariantDictionary& in_options,
- base::OnceCallback<void(const std::string& /*handle*/)> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- brillo::dbus_utils::CallMethodWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "PacketCaptureStart",
- std::move(success_callback),
- std::move(error_callback),
- in_statfd,
- in_outfd,
- in_options);
- }
-
- // Stops a running packet capture.
- bool PacketCaptureStop(
- const std::string& in_handle,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- auto response = brillo::dbus_utils::CallMethodAndBlockWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "PacketCaptureStop",
- error,
- in_handle);
- return response && brillo::dbus_utils::ExtractMethodCallResults(
- response.get(), error);
- }
-
- // Stops a running packet capture.
- void PacketCaptureStopAsync(
- const std::string& in_handle,
- base::OnceCallback<void()> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- brillo::dbus_utils::CallMethodWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "PacketCaptureStop",
- std::move(success_callback),
- std::move(error_callback),
- in_handle);
- }
-
- // Triggers show-task-states(T) SysRq.
- // See https://www.kernel.org/doc/Documentation/sysrq.txt.
- bool LogKernelTaskStates(
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- auto response = brillo::dbus_utils::CallMethodAndBlockWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "LogKernelTaskStates",
- error);
- return response && brillo::dbus_utils::ExtractMethodCallResults(
- response.get(), error);
- }
-
- // Triggers show-task-states(T) SysRq.
- // See https://www.kernel.org/doc/Documentation/sysrq.txt.
- void LogKernelTaskStatesAsync(
- base::OnceCallback<void()> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- brillo::dbus_utils::CallMethodWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "LogKernelTaskStates",
- std::move(success_callback),
- std::move(error_callback));
- }
-
- // Triggers uploading of system crashes (the crash_sender program).
- bool UploadCrashes(
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- auto response = brillo::dbus_utils::CallMethodAndBlockWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "UploadCrashes",
- error);
- return response && brillo::dbus_utils::ExtractMethodCallResults(
- response.get(), error);
- }
-
- // Triggers uploading of system crashes (the crash_sender program).
- void UploadCrashesAsync(
- base::OnceCallback<void()> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- brillo::dbus_utils::CallMethodWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "UploadCrashes",
- std::move(success_callback),
- std::move(error_callback));
- }
-
- // Uploads a single crash report immediately. Crash report data is
- // contained in the message.
- bool UploadSingleCrash(
- const std::vector<std::tuple<std::string, base::ScopedFD>>& in_files,
- bool in_consent_already_checked_by_crash_reporter,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- auto response = brillo::dbus_utils::CallMethodAndBlockWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "UploadSingleCrash",
- error,
- in_files,
- in_consent_already_checked_by_crash_reporter);
- return response && brillo::dbus_utils::ExtractMethodCallResults(
- response.get(), error);
- }
-
- // Uploads a single crash report immediately. Crash report data is
- // contained in the message.
- void UploadSingleCrashAsync(
- const std::vector<std::tuple<std::string, base::ScopedFD>>& in_files,
- bool in_consent_already_checked_by_crash_reporter,
- base::OnceCallback<void()> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- brillo::dbus_utils::CallMethodWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "UploadSingleCrash",
- std::move(success_callback),
- std::move(error_callback),
- in_files,
- in_consent_already_checked_by_crash_reporter);
- }
-
- // If set to true, any UploadSingleCrash call will invoke crash_sender
- // with --test_mode. Avaialble only on dev mode devices.
- bool SetCrashSenderTestMode(
- bool in_mode,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- auto response = brillo::dbus_utils::CallMethodAndBlockWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "SetCrashSenderTestMode",
- error,
- in_mode);
- return response && brillo::dbus_utils::ExtractMethodCallResults(
- response.get(), error);
- }
-
- // If set to true, any UploadSingleCrash call will invoke crash_sender
- // with --test_mode. Avaialble only on dev mode devices.
- void SetCrashSenderTestModeAsync(
- bool in_mode,
- base::OnceCallback<void()> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- brillo::dbus_utils::CallMethodWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "SetCrashSenderTestMode",
- std::move(success_callback),
- std::move(error_callback),
- in_mode);
- }
-
- // Removes rootfs verification. Requires a system reboot before it will
- // take effect. Restricted to pre-owner dev mode.
- bool RemoveRootfsVerification(
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- auto response = brillo::dbus_utils::CallMethodAndBlockWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "RemoveRootfsVerification",
- error);
- return response && brillo::dbus_utils::ExtractMethodCallResults(
- response.get(), error);
- }
-
- // Removes rootfs verification. Requires a system reboot before it will
- // take effect. Restricted to pre-owner dev mode.
- void RemoveRootfsVerificationAsync(
- base::OnceCallback<void()> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- brillo::dbus_utils::CallMethodWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "RemoveRootfsVerification",
- std::move(success_callback),
- std::move(error_callback));
- }
-
- // Enables OS booting from a USB image. Restricted to pre-owner dev mode.
- bool EnableBootFromUsb(
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- auto response = brillo::dbus_utils::CallMethodAndBlockWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "EnableBootFromUsb",
- error);
- return response && brillo::dbus_utils::ExtractMethodCallResults(
- response.get(), error);
- }
-
- // Enables OS booting from a USB image. Restricted to pre-owner dev mode.
- void EnableBootFromUsbAsync(
- base::OnceCallback<void()> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- brillo::dbus_utils::CallMethodWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "EnableBootFromUsb",
- std::move(success_callback),
- std::move(error_callback));
- }
-
- // Sets up sshd to provide an SSH server immediately and on future reboots.
- // Also installs the test SSH keys to allow access by cros tools. Requires
- // that rootfs verification has been removed. Restricted to pre-owner dev
- // mode.
- bool ConfigureSshServer(
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- auto response = brillo::dbus_utils::CallMethodAndBlockWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "ConfigureSshServer",
- error);
- return response && brillo::dbus_utils::ExtractMethodCallResults(
- response.get(), error);
- }
-
- // Sets up sshd to provide an SSH server immediately and on future reboots.
- // Also installs the test SSH keys to allow access by cros tools. Requires
- // that rootfs verification has been removed. Restricted to pre-owner dev
- // mode.
- void ConfigureSshServerAsync(
- base::OnceCallback<void()> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- brillo::dbus_utils::CallMethodWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "ConfigureSshServer",
- std::move(success_callback),
- std::move(error_callback));
- }
-
- // Sets both the system and dev mode password for the indicated account.
- // Restricted to pre-owner dev mode.
- bool SetUserPassword(
- const std::string& in_username,
- const std::string& in_password,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- auto response = brillo::dbus_utils::CallMethodAndBlockWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "SetUserPassword",
- error,
- in_username,
- in_password);
- return response && brillo::dbus_utils::ExtractMethodCallResults(
- response.get(), error);
- }
-
- // Sets both the system and dev mode password for the indicated account.
- // Restricted to pre-owner dev mode.
- void SetUserPasswordAsync(
- const std::string& in_username,
- const std::string& in_password,
- base::OnceCallback<void()> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- brillo::dbus_utils::CallMethodWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "SetUserPassword",
- std::move(success_callback),
- std::move(error_callback),
- in_username,
- in_password);
- }
-
- // Sets up Chrome for remote debugging. It will take effect after a reboot
- // and using port 9222.
- // Requires that rootfs verification has been removed. Restricted to
- // pre-owner dev mode.
- bool EnableChromeRemoteDebugging(
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- auto response = brillo::dbus_utils::CallMethodAndBlockWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "EnableChromeRemoteDebugging",
- error);
- return response && brillo::dbus_utils::ExtractMethodCallResults(
- response.get(), error);
- }
-
- // Sets up Chrome for remote debugging. It will take effect after a reboot
- // and using port 9222.
- // Requires that rootfs verification has been removed. Restricted to
- // pre-owner dev mode.
- void EnableChromeRemoteDebuggingAsync(
- base::OnceCallback<void()> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- brillo::dbus_utils::CallMethodWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "EnableChromeRemoteDebugging",
- std::move(success_callback),
- std::move(error_callback));
- }
-
- // Convenience function to enable a predefined set of tools from the Chrome
- // UI. Equivalent to calling these functions in order:
- // 1. EnableBootFromUsb()
- // 2. ConfigureSshServer()
- // 3. SetUserPassword("root", root_password)
- // Requires that rootfs verification has been removed. If any sub-function
- // fails, this function will exit with an error without attempting any
- // further configuration or rollback. Restricted to pre-owner dev mode.
- bool EnableChromeDevFeatures(
- const std::string& in_root_password,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- auto response = brillo::dbus_utils::CallMethodAndBlockWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "EnableChromeDevFeatures",
- error,
- in_root_password);
- return response && brillo::dbus_utils::ExtractMethodCallResults(
- response.get(), error);
- }
-
- // Convenience function to enable a predefined set of tools from the Chrome
- // UI. Equivalent to calling these functions in order:
- // 1. EnableBootFromUsb()
- // 2. ConfigureSshServer()
- // 3. SetUserPassword("root", root_password)
- // Requires that rootfs verification has been removed. If any sub-function
- // fails, this function will exit with an error without attempting any
- // further configuration or rollback. Restricted to pre-owner dev mode.
- void EnableChromeDevFeaturesAsync(
- const std::string& in_root_password,
- base::OnceCallback<void()> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- brillo::dbus_utils::CallMethodWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "EnableChromeDevFeatures",
- std::move(success_callback),
- std::move(error_callback),
- in_root_password);
- }
-
- // Queries which dev features have been enabled. Each dev feature will be
- // indicated by a bit flag in the return value. Flags are defined in the
- // DevFeatureFlag enumeration. If the dev tools are unavailable (system is
- // not in dev mode/pre-login state), the DEV_FEATURES_DISABLED flag will be
- // set and the rest of the bits will always be set to 0.
- bool QueryDevFeatures(
- int32_t* out_features,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- auto response = brillo::dbus_utils::CallMethodAndBlockWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "QueryDevFeatures",
- error);
- return response && brillo::dbus_utils::ExtractMethodCallResults(
- response.get(), error, out_features);
- }
-
- // Queries which dev features have been enabled. Each dev feature will be
- // indicated by a bit flag in the return value. Flags are defined in the
- // DevFeatureFlag enumeration. If the dev tools are unavailable (system is
- // not in dev mode/pre-login state), the DEV_FEATURES_DISABLED flag will be
- // set and the rest of the bits will always be set to 0.
- void QueryDevFeaturesAsync(
- base::OnceCallback<void(int32_t /*features*/)> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- brillo::dbus_utils::CallMethodWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "QueryDevFeatures",
- std::move(success_callback),
- std::move(error_callback));
- }
-
- // Allow uploading of device coredump files.
- bool EnableDevCoredumpUpload(
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- auto response = brillo::dbus_utils::CallMethodAndBlockWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "EnableDevCoredumpUpload",
- error);
- return response && brillo::dbus_utils::ExtractMethodCallResults(
- response.get(), error);
- }
-
- // Allow uploading of device coredump files.
- void EnableDevCoredumpUploadAsync(
- base::OnceCallback<void()> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- brillo::dbus_utils::CallMethodWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "EnableDevCoredumpUpload",
- std::move(success_callback),
- std::move(error_callback));
- }
-
- // Disallow uploading of device coredump files.
- bool DisableDevCoredumpUpload(
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- auto response = brillo::dbus_utils::CallMethodAndBlockWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "DisableDevCoredumpUpload",
- error);
- return response && brillo::dbus_utils::ExtractMethodCallResults(
- response.get(), error);
- }
-
- // Disallow uploading of device coredump files.
- void DisableDevCoredumpUploadAsync(
- base::OnceCallback<void()> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- brillo::dbus_utils::CallMethodWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "DisableDevCoredumpUpload",
- std::move(success_callback),
- std::move(error_callback));
- }
-
- // Set OOM score by writing scores to procfs /proc/pid/oom_score_adj.
- // It is an operation which needs root privilege so needs to be handled
- // carefully:
- // 1. Only user chronos can request the operation.
- // 2. It can only modify processes owned by chronos or run in Android
- // container.
- bool SetOomScoreAdj(
- const std::map<int32_t, int32_t>& in_scores,
- std::string* out_out,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- auto response = brillo::dbus_utils::CallMethodAndBlockWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "SetOomScoreAdj",
- error,
- in_scores);
- return response && brillo::dbus_utils::ExtractMethodCallResults(
- response.get(), error, out_out);
- }
-
- // Set OOM score by writing scores to procfs /proc/pid/oom_score_adj.
- // It is an operation which needs root privilege so needs to be handled
- // carefully:
- // 1. Only user chronos can request the operation.
- // 2. It can only modify processes owned by chronos or run in Android
- // container.
- void SetOomScoreAdjAsync(
- const std::map<int32_t, int32_t>& in_scores,
- base::OnceCallback<void(const std::string& /*out*/)> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- brillo::dbus_utils::CallMethodWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "SetOomScoreAdj",
- std::move(success_callback),
- std::move(error_callback),
- in_scores);
- }
-
- // Enable swap file usage via config files.
- bool SwapEnable(
- int32_t in_size,
- bool in_change_now,
- std::string* out_status,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- auto response = brillo::dbus_utils::CallMethodAndBlockWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "SwapEnable",
- error,
- in_size,
- in_change_now);
- return response && brillo::dbus_utils::ExtractMethodCallResults(
- response.get(), error, out_status);
- }
-
- // Enable swap file usage via config files.
- void SwapEnableAsync(
- int32_t in_size,
- bool in_change_now,
- base::OnceCallback<void(const std::string& /*status*/)> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- brillo::dbus_utils::CallMethodWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "SwapEnable",
- std::move(success_callback),
- std::move(error_callback),
- in_size,
- in_change_now);
- }
-
- // Disable swap file usage via config files.
- bool SwapDisable(
- bool in_change_now,
- std::string* out_status,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- auto response = brillo::dbus_utils::CallMethodAndBlockWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "SwapDisable",
- error,
- in_change_now);
- return response && brillo::dbus_utils::ExtractMethodCallResults(
- response.get(), error, out_status);
- }
-
- // Disable swap file usage via config files.
- void SwapDisableAsync(
- bool in_change_now,
- base::OnceCallback<void(const std::string& /*status*/)> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- brillo::dbus_utils::CallMethodWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "SwapDisable",
- std::move(success_callback),
- std::move(error_callback),
- in_change_now);
- }
-
- // Sets the ratio to use for kstaled, 0 will disable the feature.
- // The kstaled ratio is a control of how aggressively kstaled will
- // attempt to swap, higher values are more aggressive and consume
- // more CPU.
- bool KstaledSetRatio(
- uint8_t in_ratio,
- bool* out_result,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- auto response = brillo::dbus_utils::CallMethodAndBlockWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "KstaledSetRatio",
- error,
- in_ratio);
- return response && brillo::dbus_utils::ExtractMethodCallResults(
- response.get(), error, out_result);
- }
-
- // Sets the ratio to use for kstaled, 0 will disable the feature.
- // The kstaled ratio is a control of how aggressively kstaled will
- // attempt to swap, higher values are more aggressive and consume
- // more CPU.
- void KstaledSetRatioAsync(
- uint8_t in_ratio,
- base::OnceCallback<void(bool /*result*/)> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- brillo::dbus_utils::CallMethodWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "KstaledSetRatio",
- std::move(success_callback),
- std::move(error_callback),
- in_ratio);
- }
-
- // Turn swap usage on/off (leaves config files alone).
- bool SwapStartStop(
- bool in_on,
- std::string* out_status,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- auto response = brillo::dbus_utils::CallMethodAndBlockWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "SwapStartStop",
- error,
- in_on);
- return response && brillo::dbus_utils::ExtractMethodCallResults(
- response.get(), error, out_status);
- }
-
- // Turn swap usage on/off (leaves config files alone).
- void SwapStartStopAsync(
- bool in_on,
- base::OnceCallback<void(const std::string& /*status*/)> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- brillo::dbus_utils::CallMethodWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "SwapStartStop",
- std::move(success_callback),
- std::move(error_callback),
- in_on);
- }
-
- // Show current swap status.
- bool SwapStatus(
- std::string* out_status,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- auto response = brillo::dbus_utils::CallMethodAndBlockWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "SwapStatus",
- error);
- return response && brillo::dbus_utils::ExtractMethodCallResults(
- response.get(), error, out_status);
- }
-
- // Show current swap status.
- void SwapStatusAsync(
- base::OnceCallback<void(const std::string& /*status*/)> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- brillo::dbus_utils::CallMethodWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "SwapStatus",
- std::move(success_callback),
- std::move(error_callback));
- }
-
- // Persistently change the value of various parameters.
- bool SwapSetParameter(
- const std::string& in_command_name,
- int32_t in_value,
- std::string* out_status,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- auto response = brillo::dbus_utils::CallMethodAndBlockWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "SwapSetParameter",
- error,
- in_command_name,
- in_value);
- return response && brillo::dbus_utils::ExtractMethodCallResults(
- response.get(), error, out_status);
- }
-
- // Persistently change the value of various parameters.
- void SwapSetParameterAsync(
- const std::string& in_command_name,
- int32_t in_value,
- base::OnceCallback<void(const std::string& /*status*/)> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- brillo::dbus_utils::CallMethodWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "SwapSetParameter",
- std::move(success_callback),
- std::move(error_callback),
- in_command_name,
- in_value);
- }
-
- // Enable writeback of zram swapped pages.
- bool SwapZramEnableWriteback(
- uint32_t in_size_mb,
- std::string* out_result,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- auto response = brillo::dbus_utils::CallMethodAndBlockWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "SwapZramEnableWriteback",
- error,
- in_size_mb);
- return response && brillo::dbus_utils::ExtractMethodCallResults(
- response.get(), error, out_result);
- }
-
- // Enable writeback of zram swapped pages.
- void SwapZramEnableWritebackAsync(
- uint32_t in_size_mb,
- base::OnceCallback<void(const std::string& /*result*/)> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- brillo::dbus_utils::CallMethodWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "SwapZramEnableWriteback",
- std::move(success_callback),
- std::move(error_callback),
- in_size_mb);
- }
-
- // Mark pages as idle which have been in zram for |age| in seconds.
- bool SwapZramMarkIdle(
- uint32_t in_age,
- std::string* out_status,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- auto response = brillo::dbus_utils::CallMethodAndBlockWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "SwapZramMarkIdle",
- error,
- in_age);
- return response && brillo::dbus_utils::ExtractMethodCallResults(
- response.get(), error, out_status);
- }
-
- // Mark pages as idle which have been in zram for |age| in seconds.
- void SwapZramMarkIdleAsync(
- uint32_t in_age,
- base::OnceCallback<void(const std::string& /*status*/)> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- brillo::dbus_utils::CallMethodWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "SwapZramMarkIdle",
- std::move(success_callback),
- std::move(error_callback),
- in_age);
- }
-
- // Set the zram writeback page limit to |limit| pages.
- bool SwapZramSetWritebackLimit(
- uint32_t in_limit,
- std::string* out_status,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- auto response = brillo::dbus_utils::CallMethodAndBlockWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "SwapZramSetWritebackLimit",
- error,
- in_limit);
- return response && brillo::dbus_utils::ExtractMethodCallResults(
- response.get(), error, out_status);
- }
-
- // Set the zram writeback page limit to |limit| pages.
- void SwapZramSetWritebackLimitAsync(
- uint32_t in_limit,
- base::OnceCallback<void(const std::string& /*status*/)> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- brillo::dbus_utils::CallMethodWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "SwapZramSetWritebackLimit",
- std::move(success_callback),
- std::move(error_callback),
- in_limit);
- }
-
- // Initiate a zram writeback using the provided |mode|.
- bool InitiateSwapZramWriteback(
- uint32_t in_mode,
- std::string* out_status,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- auto response = brillo::dbus_utils::CallMethodAndBlockWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "InitiateSwapZramWriteback",
- error,
- in_mode);
- return response && brillo::dbus_utils::ExtractMethodCallResults(
- response.get(), error, out_status);
- }
-
- // Initiate a zram writeback using the provided |mode|.
- void InitiateSwapZramWritebackAsync(
- uint32_t in_mode,
- base::OnceCallback<void(const std::string& /*status*/)> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- brillo::dbus_utils::CallMethodWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "InitiateSwapZramWriteback",
- std::move(success_callback),
- std::move(error_callback),
- in_mode);
- }
-
- // Set the /proc/sys/vm/swappiness to the provided |swappiness_value|.
- bool SwapSetSwappiness(
- uint32_t in_swappiness_value,
- std::string* out_status,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- auto response = brillo::dbus_utils::CallMethodAndBlockWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "SwapSetSwappiness",
- error,
- in_swappiness_value);
- return response && brillo::dbus_utils::ExtractMethodCallResults(
- response.get(), error, out_status);
- }
-
- // Set the /proc/sys/vm/swappiness to the provided |swappiness_value|.
- void SwapSetSwappinessAsync(
- uint32_t in_swappiness_value,
- base::OnceCallback<void(const std::string& /*status*/)> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- brillo::dbus_utils::CallMethodWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "SwapSetSwappiness",
- std::move(success_callback),
- std::move(error_callback),
- in_swappiness_value);
- }
-
- // Modify u2fd daemon debugging/override flags.
- bool SetU2fFlags(
- const std::string& in_flags,
- std::string* out_status,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- auto response = brillo::dbus_utils::CallMethodAndBlockWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "SetU2fFlags",
- error,
- in_flags);
- return response && brillo::dbus_utils::ExtractMethodCallResults(
- response.get(), error, out_status);
- }
-
- // Modify u2fd daemon debugging/override flags.
- void SetU2fFlagsAsync(
- const std::string& in_flags,
- base::OnceCallback<void(const std::string& /*status*/)> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- brillo::dbus_utils::CallMethodWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "SetU2fFlags",
- std::move(success_callback),
- std::move(error_callback),
- in_flags);
- }
-
- // Get u2fd daemon debugging/override flags.
- bool GetU2fFlags(
- std::string* out_flags,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- auto response = brillo::dbus_utils::CallMethodAndBlockWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "GetU2fFlags",
- error);
- return response && brillo::dbus_utils::ExtractMethodCallResults(
- response.get(), error, out_flags);
- }
-
- // Get u2fd daemon debugging/override flags.
- void GetU2fFlagsAsync(
- base::OnceCallback<void(const std::string& /*flags*/)> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- brillo::dbus_utils::CallMethodWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "GetU2fFlags",
- std::move(success_callback),
- std::move(error_callback));
- }
-
- // Notify debugd that a container is starting up.
- bool ContainerStarted(
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- auto response = brillo::dbus_utils::CallMethodAndBlockWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "ContainerStarted",
- error);
- return response && brillo::dbus_utils::ExtractMethodCallResults(
- response.get(), error);
- }
-
- // Notify debugd that a container is starting up.
- void ContainerStartedAsync(
- base::OnceCallback<void()> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- brillo::dbus_utils::CallMethodWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "ContainerStarted",
- std::move(success_callback),
- std::move(error_callback));
- }
-
- // Notify debugd that a container has stopped.
- bool ContainerStopped(
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- auto response = brillo::dbus_utils::CallMethodAndBlockWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "ContainerStopped",
- error);
- return response && brillo::dbus_utils::ExtractMethodCallResults(
- response.get(), error);
- }
-
- // Notify debugd that a container has stopped.
- void ContainerStoppedAsync(
- base::OnceCallback<void()> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- brillo::dbus_utils::CallMethodWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "ContainerStopped",
- std::move(success_callback),
- std::move(error_callback));
- }
-
- // Enable/disable WiFi power save mode.
- bool SetWifiPowerSave(
- bool in_enable,
- std::string* out_status,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- auto response = brillo::dbus_utils::CallMethodAndBlockWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "SetWifiPowerSave",
- error,
- in_enable);
- return response && brillo::dbus_utils::ExtractMethodCallResults(
- response.get(), error, out_status);
- }
-
- // Enable/disable WiFi power save mode.
- void SetWifiPowerSaveAsync(
- bool in_enable,
- base::OnceCallback<void(const std::string& /*status*/)> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- brillo::dbus_utils::CallMethodWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "SetWifiPowerSave",
- std::move(success_callback),
- std::move(error_callback),
- in_enable);
- }
-
- // Show current WiFi power save mode.
- bool GetWifiPowerSave(
- std::string* out_status,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- auto response = brillo::dbus_utils::CallMethodAndBlockWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "GetWifiPowerSave",
- error);
- return response && brillo::dbus_utils::ExtractMethodCallResults(
- response.get(), error, out_status);
- }
-
- // Show current WiFi power save mode.
- void GetWifiPowerSaveAsync(
- base::OnceCallback<void(const std::string& /*status*/)> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- brillo::dbus_utils::CallMethodWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "GetWifiPowerSave",
- std::move(success_callback),
- std::move(error_callback));
- }
-
- // Run a shill debug script in a sandboxed environment.
- bool RunShillScriptStart(
- const base::ScopedFD& in_outfd,
- const std::string& in_script,
- const std::vector<std::string>& in_script_args,
- std::string* out_handle,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- auto response = brillo::dbus_utils::CallMethodAndBlockWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "RunShillScriptStart",
- error,
- in_outfd,
- in_script,
- in_script_args);
- return response && brillo::dbus_utils::ExtractMethodCallResults(
- response.get(), error, out_handle);
- }
-
- // Run a shill debug script in a sandboxed environment.
- void RunShillScriptStartAsync(
- const base::ScopedFD& in_outfd,
- const std::string& in_script,
- const std::vector<std::string>& in_script_args,
- base::OnceCallback<void(const std::string& /*handle*/)> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- brillo::dbus_utils::CallMethodWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "RunShillScriptStart",
- std::move(success_callback),
- std::move(error_callback),
- in_outfd,
- in_script,
- in_script_args);
- }
-
- // Stops a running script.
- bool RunShillScriptStop(
- const std::string& in_handle,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- auto response = brillo::dbus_utils::CallMethodAndBlockWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "RunShillScriptStop",
- error,
- in_handle);
- return response && brillo::dbus_utils::ExtractMethodCallResults(
- response.get(), error);
- }
-
- // Stops a running script.
- void RunShillScriptStopAsync(
- const std::string& in_handle,
- base::OnceCallback<void()> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- brillo::dbus_utils::CallMethodWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "RunShillScriptStop",
- std::move(success_callback),
- std::move(error_callback),
- in_handle);
- }
-
- // Starts the VM Plugin Dispatcher service. Returns true if the service was
- // successfully started and is available over dbus, false otherwise.
- bool StartVmPluginDispatcher(
- const std::string& in_user_id_hash,
- const std::string& in_lang,
- bool* out_status,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- auto response = brillo::dbus_utils::CallMethodAndBlockWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "StartVmPluginDispatcher",
- error,
- in_user_id_hash,
- in_lang);
- return response && brillo::dbus_utils::ExtractMethodCallResults(
- response.get(), error, out_status);
- }
-
- // Starts the VM Plugin Dispatcher service. Returns true if the service was
- // successfully started and is available over dbus, false otherwise.
- void StartVmPluginDispatcherAsync(
- const std::string& in_user_id_hash,
- const std::string& in_lang,
- base::OnceCallback<void(bool /*status*/)> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- brillo::dbus_utils::CallMethodWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "StartVmPluginDispatcher",
- std::move(success_callback),
- std::move(error_callback),
- in_user_id_hash,
- in_lang);
- }
-
- // Stops the VM Plugin dispatcher service.
- bool StopVmPluginDispatcher(
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- auto response = brillo::dbus_utils::CallMethodAndBlockWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "StopVmPluginDispatcher",
- error);
- return response && brillo::dbus_utils::ExtractMethodCallResults(
- response.get(), error);
- }
-
- // Stops the VM Plugin dispatcher service.
- void StopVmPluginDispatcherAsync(
- base::OnceCallback<void()> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- brillo::dbus_utils::CallMethodWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "StopVmPluginDispatcher",
- std::move(success_callback),
- std::move(error_callback));
- }
-
- // Sets should_send_rlz_ping in RW_VPD to 0. Upon success, proceeds to
- // remove rlz_embargo_end_date in RW_VPD.
- bool SetRlzPingSent(
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- auto response = brillo::dbus_utils::CallMethodAndBlockWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "SetRlzPingSent",
- error);
- return response && brillo::dbus_utils::ExtractMethodCallResults(
- response.get(), error);
- }
-
- // Sets should_send_rlz_ping in RW_VPD to 0. Upon success, proceeds to
- // remove rlz_embargo_end_date in RW_VPD.
- void SetRlzPingSentAsync(
- base::OnceCallback<void()> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- brillo::dbus_utils::CallMethodWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "SetRlzPingSent",
- std::move(success_callback),
- std::move(error_callback));
- }
-
- // Start updating the GSC FW of the USB-connected device (only if the
- // device's FW is not up-to-date) and verifying AP and EC RO FW integrity
- // of the device.
- bool UpdateAndVerifyFWOnUsbStart(
- const base::ScopedFD& in_outfd,
- const std::string& in_image_file,
- const std::string& in_ro_db_dir,
- std::string* out_handle,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- auto response = brillo::dbus_utils::CallMethodAndBlockWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "UpdateAndVerifyFWOnUsbStart",
- error,
- in_outfd,
- in_image_file,
- in_ro_db_dir);
- return response && brillo::dbus_utils::ExtractMethodCallResults(
- response.get(), error, out_handle);
- }
-
- // Start updating the GSC FW of the USB-connected device (only if the
- // device's FW is not up-to-date) and verifying AP and EC RO FW integrity
- // of the device.
- void UpdateAndVerifyFWOnUsbStartAsync(
- const base::ScopedFD& in_outfd,
- const std::string& in_image_file,
- const std::string& in_ro_db_dir,
- base::OnceCallback<void(const std::string& /*handle*/)> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- brillo::dbus_utils::CallMethodWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "UpdateAndVerifyFWOnUsbStart",
- std::move(success_callback),
- std::move(error_callback),
- in_outfd,
- in_image_file,
- in_ro_db_dir);
- }
-
- // Stops a running VerifyRo.
- bool UpdateAndVerifyFWOnUsbStop(
- const std::string& in_handle,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- auto response = brillo::dbus_utils::CallMethodAndBlockWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "UpdateAndVerifyFWOnUsbStop",
- error,
- in_handle);
- return response && brillo::dbus_utils::ExtractMethodCallResults(
- response.get(), error);
- }
-
- // Stops a running VerifyRo.
- void UpdateAndVerifyFWOnUsbStopAsync(
- const std::string& in_handle,
- base::OnceCallback<void()> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- brillo::dbus_utils::CallMethodWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "UpdateAndVerifyFWOnUsbStop",
- std::move(success_callback),
- std::move(error_callback),
- in_handle);
- }
-
- // Set the scheduler configuration policy.
- bool SetSchedulerConfiguration(
- const std::string& in_policy,
- bool* out_result,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- auto response = brillo::dbus_utils::CallMethodAndBlockWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "SetSchedulerConfiguration",
- error,
- in_policy);
- return response && brillo::dbus_utils::ExtractMethodCallResults(
- response.get(), error, out_result);
- }
-
- // Set the scheduler configuration policy.
- void SetSchedulerConfigurationAsync(
- const std::string& in_policy,
- base::OnceCallback<void(bool /*result*/)> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- brillo::dbus_utils::CallMethodWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "SetSchedulerConfiguration",
- std::move(success_callback),
- std::move(error_callback),
- in_policy);
- }
-
- // Evaluates a probe statement by the runtime_probe helper with pre-defined
- // sandbox options in rootfs.
- bool EvaluateProbeFunction(
- const std::string& in_probe_statement,
- int32_t in_log_level,
- base::ScopedFD* out_result_fd,
- base::ScopedFD* out_error_fd,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- auto response = brillo::dbus_utils::CallMethodAndBlockWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "EvaluateProbeFunction",
- error,
- in_probe_statement,
- in_log_level);
- return response && brillo::dbus_utils::ExtractMethodCallResults(
- response.get(), error, out_result_fd, out_error_fd);
- }
-
- // Evaluates a probe statement by the runtime_probe helper with pre-defined
- // sandbox options in rootfs.
- void EvaluateProbeFunctionAsync(
- const std::string& in_probe_statement,
- int32_t in_log_level,
- base::OnceCallback<void(const base::ScopedFD& /*result_fd*/, const base::ScopedFD& /*error_fd*/)> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- brillo::dbus_utils::CallMethodWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "EvaluateProbeFunction",
- std::move(success_callback),
- std::move(error_callback),
- in_probe_statement,
- in_log_level);
- }
-
- // Set the scheduler configuration policy.
- bool SetSchedulerConfigurationV2(
- const std::string& in_policy,
- bool in_lock_policy,
- bool* out_result,
- uint32_t* out_num_cores_disabled,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- auto response = brillo::dbus_utils::CallMethodAndBlockWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "SetSchedulerConfigurationV2",
- error,
- in_policy,
- in_lock_policy);
- return response && brillo::dbus_utils::ExtractMethodCallResults(
- response.get(), error, out_result, out_num_cores_disabled);
- }
-
- // Set the scheduler configuration policy.
- void SetSchedulerConfigurationV2Async(
- const std::string& in_policy,
- bool in_lock_policy,
- base::OnceCallback<void(bool /*result*/, uint32_t /*num_cores_disabled*/)> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- brillo::dbus_utils::CallMethodWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "SetSchedulerConfigurationV2",
- std::move(success_callback),
- std::move(error_callback),
- in_policy,
- in_lock_policy);
- }
-
- // Trigger wifi firmware dump.
- bool WifiFWDump(
- std::string* out_output,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- auto response = brillo::dbus_utils::CallMethodAndBlockWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "WifiFWDump",
- error);
- return response && brillo::dbus_utils::ExtractMethodCallResults(
- response.get(), error, out_output);
- }
-
- // Trigger wifi firmware dump.
- void WifiFWDumpAsync(
- base::OnceCallback<void(const std::string& /*output*/)> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- brillo::dbus_utils::CallMethodWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "WifiFWDump",
- std::move(success_callback),
- std::move(error_callback));
- }
-
- // Runs the ectool i2cread command with pre-defined
- // sandbox options in rootfs and retrieves the
- // requested smart battery metric used by cros_healthd.
- bool CollectSmartBatteryMetric(
- const std::string& in_metric_name,
- std::string* out_output,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- auto response = brillo::dbus_utils::CallMethodAndBlockWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "CollectSmartBatteryMetric",
- error,
- in_metric_name);
- return response && brillo::dbus_utils::ExtractMethodCallResults(
- response.get(), error, out_output);
- }
-
- // Runs the ectool i2cread command with pre-defined
- // sandbox options in rootfs and retrieves the
- // requested smart battery metric used by cros_healthd.
- void CollectSmartBatteryMetricAsync(
- const std::string& in_metric_name,
- base::OnceCallback<void(const std::string& /*output*/)> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- brillo::dbus_utils::CallMethodWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "CollectSmartBatteryMetric",
- std::move(success_callback),
- std::move(error_callback),
- in_metric_name);
- }
-
- // Runs the 'ectool inventory' command with pre-defined
- // sandbox options in rootfs and returns the output.
- bool EcGetInventory(
- std::string* out_output,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- auto response = brillo::dbus_utils::CallMethodAndBlockWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "EcGetInventory",
- error);
- return response && brillo::dbus_utils::ExtractMethodCallResults(
- response.get(), error, out_output);
- }
-
- // Runs the 'ectool inventory' command with pre-defined
- // sandbox options in rootfs and returns the output.
- void EcGetInventoryAsync(
- base::OnceCallback<void(const std::string& /*output*/)> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- brillo::dbus_utils::CallMethodWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "EcGetInventory",
- std::move(success_callback),
- std::move(error_callback));
- }
-
- // Runs the command 'dmesg' with the given inputs.
- bool CallDmesg(
- const brillo::VariantDictionary& in_options,
- std::string* out_output,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- auto response = brillo::dbus_utils::CallMethodAndBlockWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "CallDmesg",
- error,
- in_options);
- return response && brillo::dbus_utils::ExtractMethodCallResults(
- response.get(), error, out_output);
- }
-
- // Runs the command 'dmesg' with the given inputs.
- void CallDmesgAsync(
- const brillo::VariantDictionary& in_options,
- base::OnceCallback<void(const std::string& /*output*/)> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- brillo::dbus_utils::CallMethodWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "CallDmesg",
- std::move(success_callback),
- std::move(error_callback),
- in_options);
- }
-
- // Runs the 'ectool typeccontrol' command with pre-defined
- // sandbox options in rootfs to enter a USB Type-C mode on the
- // specified port.
- bool EcTypeCEnterMode(
- uint32_t in_port_num,
- uint32_t in_mode,
- std::string* out_output,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- auto response = brillo::dbus_utils::CallMethodAndBlockWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "EcTypeCEnterMode",
- error,
- in_port_num,
- in_mode);
- return response && brillo::dbus_utils::ExtractMethodCallResults(
- response.get(), error, out_output);
- }
-
- // Runs the 'ectool typeccontrol' command with pre-defined
- // sandbox options in rootfs to enter a USB Type-C mode on the
- // specified port.
- void EcTypeCEnterModeAsync(
- uint32_t in_port_num,
- uint32_t in_mode,
- base::OnceCallback<void(const std::string& /*output*/)> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- brillo::dbus_utils::CallMethodWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "EcTypeCEnterMode",
- std::move(success_callback),
- std::move(error_callback),
- in_port_num,
- in_mode);
- }
-
- // Runs the 'ectool typeccontrol' command with pre-defined
- // sandbox options in rootfs to exit a USB Type-C mode on the
- // specified port.
- bool EcTypeCExitMode(
- uint32_t in_port_num,
- std::string* out_output,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- auto response = brillo::dbus_utils::CallMethodAndBlockWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "EcTypeCExitMode",
- error,
- in_port_num);
- return response && brillo::dbus_utils::ExtractMethodCallResults(
- response.get(), error, out_output);
- }
-
- // Runs the 'ectool typeccontrol' command with pre-defined
- // sandbox options in rootfs to exit a USB Type-C mode on the
- // specified port.
- void EcTypeCExitModeAsync(
- uint32_t in_port_num,
- base::OnceCallback<void(const std::string& /*output*/)> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- brillo::dbus_utils::CallMethodWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "EcTypeCExitMode",
- std::move(success_callback),
- std::move(error_callback),
- in_port_num);
- }
-
- // Runs the 'ectool usbpdmuxinfo' command with pre-defined
- // sandbox options in rootfs to determine the DisplayPort(DP) state
- // for a specified port.
- bool EcTypeCDpState(
- uint32_t in_port_num,
- bool* out_output,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- auto response = brillo::dbus_utils::CallMethodAndBlockWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "EcTypeCDpState",
- error,
- in_port_num);
- return response && brillo::dbus_utils::ExtractMethodCallResults(
- response.get(), error, out_output);
- }
-
- // Runs the 'ectool usbpdmuxinfo' command with pre-defined
- // sandbox options in rootfs to determine the DisplayPort(DP) state
- // for a specified port.
- void EcTypeCDpStateAsync(
- uint32_t in_port_num,
- base::OnceCallback<void(bool /*output*/)> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- brillo::dbus_utils::CallMethodWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "EcTypeCDpState",
- std::move(success_callback),
- std::move(error_callback),
- in_port_num);
- }
-
- // Runs the 'ectool gpioget' command with pre-defined
- // sandbox options in rootfs to determine the DisplayPort
- // Hot Plug Detect (HPD) GPIO state for a specified port.
- bool EcTypeCHpdState(
- uint32_t in_port_num,
- bool* out_output,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- auto response = brillo::dbus_utils::CallMethodAndBlockWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "EcTypeCHpdState",
- error,
- in_port_num);
- return response && brillo::dbus_utils::ExtractMethodCallResults(
- response.get(), error, out_output);
- }
-
- // Runs the 'ectool gpioget' command with pre-defined
- // sandbox options in rootfs to determine the DisplayPort
- // Hot Plug Detect (HPD) GPIO state for a specified port.
- void EcTypeCHpdStateAsync(
- uint32_t in_port_num,
- base::OnceCallback<void(bool /*output*/)> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- brillo::dbus_utils::CallMethodWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "EcTypeCHpdState",
- std::move(success_callback),
- std::move(error_callback),
- in_port_num);
- }
-
- // Execute a sequence of commands to enable a kernel feature.
- bool KernelFeatureEnable(
- const std::string& in_name,
- bool* out_result,
- std::string* out_err_str,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- auto response = brillo::dbus_utils::CallMethodAndBlockWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "KernelFeatureEnable",
- error,
- in_name);
- return response && brillo::dbus_utils::ExtractMethodCallResults(
- response.get(), error, out_result, out_err_str);
- }
-
- // Execute a sequence of commands to enable a kernel feature.
- void KernelFeatureEnableAsync(
- const std::string& in_name,
- base::OnceCallback<void(bool /*result*/, const std::string& /*err_str*/)> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- brillo::dbus_utils::CallMethodWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "KernelFeatureEnable",
- std::move(success_callback),
- std::move(error_callback),
- in_name);
- }
-
- // Get a CSV list of kernel features that are available to be enabled.
- bool KernelFeatureList(
- bool* out_result,
- std::string* out_csv,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- auto response = brillo::dbus_utils::CallMethodAndBlockWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "KernelFeatureList",
- error);
- return response && brillo::dbus_utils::ExtractMethodCallResults(
- response.get(), error, out_result, out_csv);
- }
-
- // Get a CSV list of kernel features that are available to be enabled.
- void KernelFeatureListAsync(
- base::OnceCallback<void(bool /*result*/, const std::string& /*csv*/)> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- brillo::dbus_utils::CallMethodWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "KernelFeatureList",
- std::move(success_callback),
- std::move(error_callback));
- }
-
- // Set the log categories to enable for drm_trace.
- bool DRMTraceSetCategories(
- uint32_t in_categories,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- auto response = brillo::dbus_utils::CallMethodAndBlockWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "DRMTraceSetCategories",
- error,
- in_categories);
- return response && brillo::dbus_utils::ExtractMethodCallResults(
- response.get(), error);
- }
-
- // Set the log categories to enable for drm_trace.
- void DRMTraceSetCategoriesAsync(
- uint32_t in_categories,
- base::OnceCallback<void()> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- brillo::dbus_utils::CallMethodWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "DRMTraceSetCategories",
- std::move(success_callback),
- std::move(error_callback),
- in_categories);
- }
-
- // Modify the size of the drm_trace buffer.
- bool DRMTraceSetSize(
- uint32_t in_size,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- auto response = brillo::dbus_utils::CallMethodAndBlockWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "DRMTraceSetSize",
- error,
- in_size);
- return response && brillo::dbus_utils::ExtractMethodCallResults(
- response.get(), error);
- }
-
- // Modify the size of the drm_trace buffer.
- void DRMTraceSetSizeAsync(
- uint32_t in_size,
- base::OnceCallback<void()> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- brillo::dbus_utils::CallMethodWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "DRMTraceSetSize",
- std::move(success_callback),
- std::move(error_callback),
- in_size);
- }
-
- // Append a string to the drm_trace log by writing |log| to
- // /sys/kernel/debug/trace/instances/drm/trace_marker
- // Characters that are not human-readable will be filtered out and
- // replaced with '_'.
- bool DRMTraceAnnotateLog(
- const std::string& in_log,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- auto response = brillo::dbus_utils::CallMethodAndBlockWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "DRMTraceAnnotateLog",
- error,
- in_log);
- return response && brillo::dbus_utils::ExtractMethodCallResults(
- response.get(), error);
- }
-
- // Append a string to the drm_trace log by writing |log| to
- // /sys/kernel/debug/trace/instances/drm/trace_marker
- // Characters that are not human-readable will be filtered out and
- // replaced with '_'.
- void DRMTraceAnnotateLogAsync(
- const std::string& in_log,
- base::OnceCallback<void()> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- brillo::dbus_utils::CallMethodWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "DRMTraceAnnotateLog",
- std::move(success_callback),
- std::move(error_callback),
- in_log);
- }
-
- // Copy the current contents of the specified log type to a new file
- // /var/log/display_debug/$logtype.$datetimestamp
- bool DRMTraceSnapshot(
- uint32_t in_type,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- auto response = brillo::dbus_utils::CallMethodAndBlockWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "DRMTraceSnapshot",
- error,
- in_type);
- return response && brillo::dbus_utils::ExtractMethodCallResults(
- response.get(), error);
- }
-
- // Copy the current contents of the specified log type to a new file
- // /var/log/display_debug/$logtype.$datetimestamp
- void DRMTraceSnapshotAsync(
- uint32_t in_type,
- base::OnceCallback<void()> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- brillo::dbus_utils::CallMethodWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "DRMTraceSnapshot",
- std::move(success_callback),
- std::move(error_callback),
- in_type);
- }
-
- // Collect printscan debug logs for the specified categories.
- // If no categories are specified, disable log collection
- // for all categories.
- bool PrintscanDebugSetCategories(
- uint32_t in_categories,
- brillo::ErrorPtr* error,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- auto response = brillo::dbus_utils::CallMethodAndBlockWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "PrintscanDebugSetCategories",
- error,
- in_categories);
- return response && brillo::dbus_utils::ExtractMethodCallResults(
- response.get(), error);
- }
-
- // Collect printscan debug logs for the specified categories.
- // If no categories are specified, disable log collection
- // for all categories.
- void PrintscanDebugSetCategoriesAsync(
- uint32_t in_categories,
- base::OnceCallback<void()> success_callback,
- base::OnceCallback<void(brillo::Error*)> error_callback,
- int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) override {
- brillo::dbus_utils::CallMethodWithTimeout(
- timeout_ms,
- dbus_object_proxy_,
- "org.chromium.debugd",
- "PrintscanDebugSetCategories",
- std::move(success_callback),
- std::move(error_callback),
- in_categories);
- }
-
- private:
- scoped_refptr<dbus::Bus> bus_;
- const std::string service_name_{"org.chromium.debugd"};
- const dbus::ObjectPath object_path_{"/org/chromium/debugd"};
- dbus::ObjectProxy* dbus_object_proxy_;
-
-};
-
-} // namespace chromium
-} // namespace org
-
-#endif // ____CHROMEOS_DBUS_BINDING___VAR_CACHE_PORTAGE_CHROMEOS_BASE_DEBUGD_CLIENT_OUT_DEFAULT_GEN_INCLUDE_DEBUGD_DBUS_PROXIES_H
diff --git a/chroot/var/cache/portage/chromeos-base/debugd-client/out/Default/gen/include/debugd/dbus-proxy-mocks.h b/chroot/var/cache/portage/chromeos-base/debugd-client/out/Default/gen/include/debugd/dbus-proxy-mocks.h
deleted file mode 100644
index bf4a720..0000000
--- a/chroot/var/cache/portage/chromeos-base/debugd-client/out/Default/gen/include/debugd/dbus-proxy-mocks.h
+++ /dev/null
@@ -1,1020 +0,0 @@
-// Automatic generation of D-Bus interface mock proxies for:
-// - org.chromium.debugd
-#ifndef ____CHROMEOS_DBUS_BINDING___VAR_CACHE_PORTAGE_CHROMEOS_BASE_DEBUGD_CLIENT_OUT_DEFAULT_GEN_INCLUDE_DEBUGD_DBUS_PROXY_MOCKS_H
-#define ____CHROMEOS_DBUS_BINDING___VAR_CACHE_PORTAGE_CHROMEOS_BASE_DEBUGD_CLIENT_OUT_DEFAULT_GEN_INCLUDE_DEBUGD_DBUS_PROXY_MOCKS_H
-#include <string>
-#include <vector>
-
-#include <base/functional/callback_forward.h>
-#include <base/logging.h>
-#include <brillo/any.h>
-#include <brillo/errors/error.h>
-#include <brillo/variant_dictionary.h>
-#include <gmock/gmock.h>
-
-#include "debugd/dbus-proxies.h"
-
-namespace org {
-namespace chromium {
-
-// Mock object for debugdProxyInterface.
-class debugdProxyMock : public debugdProxyInterface {
- public:
- debugdProxyMock() = default;
- debugdProxyMock(const debugdProxyMock&) = delete;
- debugdProxyMock& operator=(const debugdProxyMock&) = delete;
-
- MOCK_METHOD6(PingStart,
- bool(const base::ScopedFD& /*in_outfd*/,
- const std::string& /*in_destination*/,
- const brillo::VariantDictionary& /*in_options*/,
- std::string* /*out_handle*/,
- brillo::ErrorPtr* /*error*/,
- int /*timeout_ms*/));
- MOCK_METHOD6(PingStartAsync,
- void(const base::ScopedFD& /*in_outfd*/,
- const std::string& /*in_destination*/,
- const brillo::VariantDictionary& /*in_options*/,
- base::OnceCallback<void(const std::string& /*handle*/)> /*success_callback*/,
- base::OnceCallback<void(brillo::Error*)> /*error_callback*/,
- int /*timeout_ms*/));
- MOCK_METHOD3(PingStop,
- bool(const std::string& /*in_handle*/,
- brillo::ErrorPtr* /*error*/,
- int /*timeout_ms*/));
- MOCK_METHOD4(PingStopAsync,
- void(const std::string& /*in_handle*/,
- base::OnceCallback<void()> /*success_callback*/,
- base::OnceCallback<void(brillo::Error*)> /*error_callback*/,
- int /*timeout_ms*/));
- MOCK_METHOD3(SystraceStart,
- bool(const std::string& /*in_categories*/,
- brillo::ErrorPtr* /*error*/,
- int /*timeout_ms*/));
- MOCK_METHOD4(SystraceStartAsync,
- void(const std::string& /*in_categories*/,
- base::OnceCallback<void()> /*success_callback*/,
- base::OnceCallback<void(brillo::Error*)> /*error_callback*/,
- int /*timeout_ms*/));
- MOCK_METHOD3(SystraceStop,
- bool(const base::ScopedFD& /*in_outfd*/,
- brillo::ErrorPtr* /*error*/,
- int /*timeout_ms*/));
- MOCK_METHOD4(SystraceStopAsync,
- void(const base::ScopedFD& /*in_outfd*/,
- base::OnceCallback<void()> /*success_callback*/,
- base::OnceCallback<void(brillo::Error*)> /*error_callback*/,
- int /*timeout_ms*/));
- MOCK_METHOD3(SystraceStatus,
- bool(std::string* /*out_status*/,
- brillo::ErrorPtr* /*error*/,
- int /*timeout_ms*/));
- MOCK_METHOD3(SystraceStatusAsync,
- void(base::OnceCallback<void(const std::string& /*status*/)> /*success_callback*/,
- base::OnceCallback<void(brillo::Error*)> /*error_callback*/,
- int /*timeout_ms*/));
- MOCK_METHOD6(TracePathStart,
- bool(const base::ScopedFD& /*in_outfd*/,
- const std::string& /*in_destination*/,
- const brillo::VariantDictionary& /*in_options*/,
- std::string* /*out_handle*/,
- brillo::ErrorPtr* /*error*/,
- int /*timeout_ms*/));
- MOCK_METHOD6(TracePathStartAsync,
- void(const base::ScopedFD& /*in_outfd*/,
- const std::string& /*in_destination*/,
- const brillo::VariantDictionary& /*in_options*/,
- base::OnceCallback<void(const std::string& /*handle*/)> /*success_callback*/,
- base::OnceCallback<void(brillo::Error*)> /*error_callback*/,
- int /*timeout_ms*/));
- MOCK_METHOD3(TracePathStop,
- bool(const std::string& /*in_handle*/,
- brillo::ErrorPtr* /*error*/,
- int /*timeout_ms*/));
- MOCK_METHOD4(TracePathStopAsync,
- void(const std::string& /*in_handle*/,
- base::OnceCallback<void()> /*success_callback*/,
- base::OnceCallback<void(brillo::Error*)> /*error_callback*/,
- int /*timeout_ms*/));
- MOCK_METHOD4(GetIpAddresses,
- bool(const brillo::VariantDictionary& /*in_options*/,
- std::vector<std::string>* /*out_result*/,
- brillo::ErrorPtr* /*error*/,
- int /*timeout_ms*/));
- MOCK_METHOD4(GetIpAddressesAsync,
- void(const brillo::VariantDictionary& /*in_options*/,
- base::OnceCallback<void(const std::vector<std::string>& /*result*/)> /*success_callback*/,
- base::OnceCallback<void(brillo::Error*)> /*error_callback*/,
- int /*timeout_ms*/));
- MOCK_METHOD4(GetRoutes,
- bool(const brillo::VariantDictionary& /*in_options*/,
- std::vector<std::string>* /*out_result*/,
- brillo::ErrorPtr* /*error*/,
- int /*timeout_ms*/));
- MOCK_METHOD4(GetRoutesAsync,
- void(const brillo::VariantDictionary& /*in_options*/,
- base::OnceCallback<void(const std::vector<std::string>& /*result*/)> /*success_callback*/,
- base::OnceCallback<void(brillo::Error*)> /*error_callback*/,
- int /*timeout_ms*/));
- MOCK_METHOD3(GetNetworkStatus,
- bool(std::string* /*out_status*/,
- brillo::ErrorPtr* /*error*/,
- int /*timeout_ms*/));
- MOCK_METHOD3(GetNetworkStatusAsync,
- void(base::OnceCallback<void(const std::string& /*status*/)> /*success_callback*/,
- base::OnceCallback<void(brillo::Error*)> /*error_callback*/,
- int /*timeout_ms*/));
- MOCK_METHOD7(GetPerfOutput,
- bool(uint32_t /*in_duration_sec*/,
- const std::vector<std::string>& /*in_perf_args*/,
- int32_t* /*out_status*/,
- std::vector<uint8_t>* /*out_perf_data*/,
- std::vector<uint8_t>* /*out_perf_stat*/,
- brillo::ErrorPtr* /*error*/,
- int /*timeout_ms*/));
- MOCK_METHOD5(GetPerfOutputAsync,
- void(uint32_t /*in_duration_sec*/,
- const std::vector<std::string>& /*in_perf_args*/,
- base::OnceCallback<void(int32_t /*status*/, const std::vector<uint8_t>& /*perf_data*/, const std::vector<uint8_t>& /*perf_stat*/)> /*success_callback*/,
- base::OnceCallback<void(brillo::Error*)> /*error_callback*/,
- int /*timeout_ms*/));
- MOCK_METHOD6(GetPerfOutputFd,
- bool(uint32_t /*in_duration_sec*/,
- const std::vector<std::string>& /*in_perf_args*/,
- const base::ScopedFD& /*in_stdout*/,
- uint64_t* /*out_session_id*/,
- brillo::ErrorPtr* /*error*/,
- int /*timeout_ms*/));
- MOCK_METHOD6(GetPerfOutputFdAsync,
- void(uint32_t /*in_duration_sec*/,
- const std::vector<std::string>& /*in_perf_args*/,
- const base::ScopedFD& /*in_stdout*/,
- base::OnceCallback<void(uint64_t /*session_id*/)> /*success_callback*/,
- base::OnceCallback<void(brillo::Error*)> /*error_callback*/,
- int /*timeout_ms*/));
- MOCK_METHOD3(StopPerf,
- bool(uint64_t /*in_session_id*/,
- brillo::ErrorPtr* /*error*/,
- int /*timeout_ms*/));
- MOCK_METHOD4(StopPerfAsync,
- void(uint64_t /*in_session_id*/,
- base::OnceCallback<void()> /*success_callback*/,
- base::OnceCallback<void(brillo::Error*)> /*error_callback*/,
- int /*timeout_ms*/));
- MOCK_METHOD6(GetPerfOutputV2,
- bool(const std::vector<std::string>& /*in_quipper_args*/,
- bool /*in_disable_cpu_idle*/,
- const base::ScopedFD& /*in_stdout*/,
- uint64_t* /*out_session_id*/,
- brillo::ErrorPtr* /*error*/,
- int /*timeout_ms*/));
- MOCK_METHOD6(GetPerfOutputV2Async,
- void(const std::vector<std::string>& /*in_quipper_args*/,
- bool /*in_disable_cpu_idle*/,
- const base::ScopedFD& /*in_stdout*/,
- base::OnceCallback<void(uint64_t /*session_id*/)> /*success_callback*/,
- base::OnceCallback<void(brillo::Error*)> /*error_callback*/,
- int /*timeout_ms*/));
- MOCK_METHOD4(DumpDebugLogs,
- bool(bool /*in_is_compressed*/,
- const base::ScopedFD& /*in_outfd*/,
- brillo::ErrorPtr* /*error*/,
- int /*timeout_ms*/));
- MOCK_METHOD5(DumpDebugLogsAsync,
- void(bool /*in_is_compressed*/,
- const base::ScopedFD& /*in_outfd*/,
- base::OnceCallback<void()> /*success_callback*/,
- base::OnceCallback<void(brillo::Error*)> /*error_callback*/,
- int /*timeout_ms*/));
- MOCK_METHOD3(SetDebugMode,
- bool(const std::string& /*in_subsystem*/,
- brillo::ErrorPtr* /*error*/,
- int /*timeout_ms*/));
- MOCK_METHOD4(SetDebugModeAsync,
- void(const std::string& /*in_subsystem*/,
- base::OnceCallback<void()> /*success_callback*/,
- base::OnceCallback<void(brillo::Error*)> /*error_callback*/,
- int /*timeout_ms*/));
- MOCK_METHOD4(GetLog,
- bool(const std::string& /*in_log*/,
- std::string* /*out_contents*/,
- brillo::ErrorPtr* /*error*/,
- int /*timeout_ms*/));
- MOCK_METHOD4(GetLogAsync,
- void(const std::string& /*in_log*/,
- base::OnceCallback<void(const std::string& /*contents*/)> /*success_callback*/,
- base::OnceCallback<void(brillo::Error*)> /*error_callback*/,
- int /*timeout_ms*/));
- MOCK_METHOD3(GetAllLogs,
- bool(std::map<std::string, std::string>* /*out_logs*/,
- brillo::ErrorPtr* /*error*/,
- int /*timeout_ms*/));
- MOCK_METHOD3(GetAllLogsAsync,
- void(base::OnceCallback<void(const std::map<std::string, std::string>& /*logs*/)> /*success_callback*/,
- base::OnceCallback<void(brillo::Error*)> /*error_callback*/,
- int /*timeout_ms*/));
- MOCK_METHOD5(GetFeedbackLogsV2,
- bool(const base::ScopedFD& /*in_outfd*/,
- const std::string& /*in_username*/,
- const std::vector<int32_t>& /*in_requested_logs*/,
- brillo::ErrorPtr* /*error*/,
- int /*timeout_ms*/));
- MOCK_METHOD6(GetFeedbackLogsV2Async,
- void(const base::ScopedFD& /*in_outfd*/,
- const std::string& /*in_username*/,
- const std::vector<int32_t>& /*in_requested_logs*/,
- base::OnceCallback<void()> /*success_callback*/,
- base::OnceCallback<void(brillo::Error*)> /*error_callback*/,
- int /*timeout_ms*/));
- MOCK_METHOD5(GetFeedbackLogsV3,
- bool(const base::ScopedFD& /*in_outfd*/,
- const std::string& /*in_username*/,
- const std::vector<int32_t>& /*in_requested_logs*/,
- brillo::ErrorPtr* /*error*/,
- int /*timeout_ms*/));
- MOCK_METHOD6(GetFeedbackLogsV3Async,
- void(const base::ScopedFD& /*in_outfd*/,
- const std::string& /*in_username*/,
- const std::vector<int32_t>& /*in_requested_logs*/,
- base::OnceCallback<void()> /*success_callback*/,
- base::OnceCallback<void(brillo::Error*)> /*error_callback*/,
- int /*timeout_ms*/));
- MOCK_METHOD3(BackupArcBugReport,
- bool(const std::string& /*in_username*/,
- brillo::ErrorPtr* /*error*/,
- int /*timeout_ms*/));
- MOCK_METHOD4(BackupArcBugReportAsync,
- void(const std::string& /*in_username*/,
- base::OnceCallback<void()> /*success_callback*/,
- base::OnceCallback<void(brillo::Error*)> /*error_callback*/,
- int /*timeout_ms*/));
- MOCK_METHOD3(DeleteArcBugReportBackup,
- bool(const std::string& /*in_username*/,
- brillo::ErrorPtr* /*error*/,
- int /*timeout_ms*/));
- MOCK_METHOD4(DeleteArcBugReportBackupAsync,
- void(const std::string& /*in_username*/,
- base::OnceCallback<void()> /*success_callback*/,
- base::OnceCallback<void(brillo::Error*)> /*error_callback*/,
- int /*timeout_ms*/));
- MOCK_METHOD3(GetExample,
- bool(std::string* /*out_result*/,
- brillo::ErrorPtr* /*error*/,
- int /*timeout_ms*/));
- MOCK_METHOD3(GetExampleAsync,
- void(base::OnceCallback<void(const std::string& /*result*/)> /*success_callback*/,
- base::OnceCallback<void(brillo::Error*)> /*error_callback*/,
- int /*timeout_ms*/));
- MOCK_METHOD5(CupsAddAutoConfiguredPrinter,
- bool(const std::string& /*in_name*/,
- const std::string& /*in_uri*/,
- int32_t* /*out_result*/,
- brillo::ErrorPtr* /*error*/,
- int /*timeout_ms*/));
- MOCK_METHOD5(CupsAddAutoConfiguredPrinterAsync,
- void(const std::string& /*in_name*/,
- const std::string& /*in_uri*/,
- base::OnceCallback<void(int32_t /*result*/)> /*success_callback*/,
- base::OnceCallback<void(brillo::Error*)> /*error_callback*/,
- int /*timeout_ms*/));
- MOCK_METHOD6(CupsAddManuallyConfiguredPrinter,
- bool(const std::string& /*in_name*/,
- const std::string& /*in_uri*/,
- const std::vector<uint8_t>& /*in_ppd_contents*/,
- int32_t* /*out_result*/,
- brillo::ErrorPtr* /*error*/,
- int /*timeout_ms*/));
- MOCK_METHOD6(CupsAddManuallyConfiguredPrinterAsync,
- void(const std::string& /*in_name*/,
- const std::string& /*in_uri*/,
- const std::vector<uint8_t>& /*in_ppd_contents*/,
- base::OnceCallback<void(int32_t /*result*/)> /*success_callback*/,
- base::OnceCallback<void(brillo::Error*)> /*error_callback*/,
- int /*timeout_ms*/));
- MOCK_METHOD4(CupsRemovePrinter,
- bool(const std::string& /*in_name*/,
- bool* /*out_result*/,
- brillo::ErrorPtr* /*error*/,
- int /*timeout_ms*/));
- MOCK_METHOD4(CupsRemovePrinterAsync,
- void(const std::string& /*in_name*/,
- base::OnceCallback<void(bool /*result*/)> /*success_callback*/,
- base::OnceCallback<void(brillo::Error*)> /*error_callback*/,
- int /*timeout_ms*/));
- MOCK_METHOD4(CupsRetrievePpd,
- bool(const std::string& /*in_name*/,
- std::vector<uint8_t>* /*out_ppd*/,
- brillo::ErrorPtr* /*error*/,
- int /*timeout_ms*/));
- MOCK_METHOD4(CupsRetrievePpdAsync,
- void(const std::string& /*in_name*/,
- base::OnceCallback<void(const std::vector<uint8_t>& /*ppd*/)> /*success_callback*/,
- base::OnceCallback<void(brillo::Error*)> /*error_callback*/,
- int /*timeout_ms*/));
- MOCK_METHOD3(GetInterfaces,
- bool(std::string* /*out_result*/,
- brillo::ErrorPtr* /*error*/,
- int /*timeout_ms*/));
- MOCK_METHOD3(GetInterfacesAsync,
- void(base::OnceCallback<void(const std::string& /*result*/)> /*success_callback*/,
- base::OnceCallback<void(brillo::Error*)> /*error_callback*/,
- int /*timeout_ms*/));
- MOCK_METHOD4(TestICMP,
- bool(const std::string& /*in_host*/,
- std::string* /*out_result*/,
- brillo::ErrorPtr* /*error*/,
- int /*timeout_ms*/));
- MOCK_METHOD4(TestICMPAsync,
- void(const std::string& /*in_host*/,
- base::OnceCallback<void(const std::string& /*result*/)> /*success_callback*/,
- base::OnceCallback<void(brillo::Error*)> /*error_callback*/,
- int /*timeout_ms*/));
- MOCK_METHOD5(TestICMPWithOptions,
- bool(const std::string& /*in_host*/,
- const std::map<std::string, std::string>& /*in_options*/,
- std::string* /*out_result*/,
- brillo::ErrorPtr* /*error*/,
- int /*timeout_ms*/));
- MOCK_METHOD5(TestICMPWithOptionsAsync,
- void(const std::string& /*in_host*/,
- const std::map<std::string, std::string>& /*in_options*/,
- base::OnceCallback<void(const std::string& /*result*/)> /*success_callback*/,
- base::OnceCallback<void(brillo::Error*)> /*error_callback*/,
- int /*timeout_ms*/));
- MOCK_METHOD4(BatteryFirmware,
- bool(const std::string& /*in_option*/,
- std::string* /*out_result*/,
- brillo::ErrorPtr* /*error*/,
- int /*timeout_ms*/));
- MOCK_METHOD4(BatteryFirmwareAsync,
- void(const std::string& /*in_option*/,
- base::OnceCallback<void(const std::string& /*result*/)> /*success_callback*/,
- base::OnceCallback<void(brillo::Error*)> /*error_callback*/,
- int /*timeout_ms*/));
- MOCK_METHOD4(Smartctl,
- bool(const std::string& /*in_option*/,
- std::string* /*out_result*/,
- brillo::ErrorPtr* /*error*/,
- int /*timeout_ms*/));
- MOCK_METHOD4(SmartctlAsync,
- void(const std::string& /*in_option*/,
- base::OnceCallback<void(const std::string& /*result*/)> /*success_callback*/,
- base::OnceCallback<void(brillo::Error*)> /*error_callback*/,
- int /*timeout_ms*/));
- MOCK_METHOD4(Mmc,
- bool(const std::string& /*in_option*/,
- std::string* /*out_result*/,
- brillo::ErrorPtr* /*error*/,
- int /*timeout_ms*/));
- MOCK_METHOD4(MmcAsync,
- void(const std::string& /*in_option*/,
- base::OnceCallback<void(const std::string& /*result*/)> /*success_callback*/,
- base::OnceCallback<void(brillo::Error*)> /*error_callback*/,
- int /*timeout_ms*/));
- MOCK_METHOD4(Ufs,
- bool(const std::string& /*in_option*/,
- std::string* /*out_result*/,
- brillo::ErrorPtr* /*error*/,
- int /*timeout_ms*/));
- MOCK_METHOD4(UfsAsync,
- void(const std::string& /*in_option*/,
- base::OnceCallback<void(const std::string& /*result*/)> /*success_callback*/,
- base::OnceCallback<void(brillo::Error*)> /*error_callback*/,
- int /*timeout_ms*/));
- MOCK_METHOD4(Nvme,
- bool(const std::string& /*in_option*/,
- std::string* /*out_result*/,
- brillo::ErrorPtr* /*error*/,
- int /*timeout_ms*/));
- MOCK_METHOD4(NvmeAsync,
- void(const std::string& /*in_option*/,
- base::OnceCallback<void(const std::string& /*result*/)> /*success_callback*/,
- base::OnceCallback<void(brillo::Error*)> /*error_callback*/,
- int /*timeout_ms*/));
- MOCK_METHOD6(NvmeLog,
- bool(uint32_t /*in_page_id*/,
- uint32_t /*in_length*/,
- bool /*in_raw_binary*/,
- std::string* /*out_result*/,
- brillo::ErrorPtr* /*error*/,
- int /*timeout_ms*/));
- MOCK_METHOD6(NvmeLogAsync,
- void(uint32_t /*in_page_id*/,
- uint32_t /*in_length*/,
- bool /*in_raw_binary*/,
- base::OnceCallback<void(const std::string& /*result*/)> /*success_callback*/,
- base::OnceCallback<void(brillo::Error*)> /*error_callback*/,
- int /*timeout_ms*/));
- MOCK_METHOD5(MemtesterStart,
- bool(const base::ScopedFD& /*in_outfd*/,
- uint32_t /*in_memory*/,
- std::string* /*out_status*/,
- brillo::ErrorPtr* /*error*/,
- int /*timeout_ms*/));
- MOCK_METHOD5(MemtesterStartAsync,
- void(const base::ScopedFD& /*in_outfd*/,
- uint32_t /*in_memory*/,
- base::OnceCallback<void(const std::string& /*status*/)> /*success_callback*/,
- base::OnceCallback<void(brillo::Error*)> /*error_callback*/,
- int /*timeout_ms*/));
- MOCK_METHOD3(MemtesterStop,
- bool(const std::string& /*in_handle*/,
- brillo::ErrorPtr* /*error*/,
- int /*timeout_ms*/));
- MOCK_METHOD4(MemtesterStopAsync,
- void(const std::string& /*in_handle*/,
- base::OnceCallback<void()> /*success_callback*/,
- base::OnceCallback<void(brillo::Error*)> /*error_callback*/,
- int /*timeout_ms*/));
- MOCK_METHOD4(BadblocksStart,
- bool(const base::ScopedFD& /*in_outfd*/,
- std::string* /*out_status*/,
- brillo::ErrorPtr* /*error*/,
- int /*timeout_ms*/));
- MOCK_METHOD4(BadblocksStartAsync,
- void(const base::ScopedFD& /*in_outfd*/,
- base::OnceCallback<void(const std::string& /*status*/)> /*success_callback*/,
- base::OnceCallback<void(brillo::Error*)> /*error_callback*/,
- int /*timeout_ms*/));
- MOCK_METHOD3(BadblocksStop,
- bool(const std::string& /*in_handle*/,
- brillo::ErrorPtr* /*error*/,
- int /*timeout_ms*/));
- MOCK_METHOD4(BadblocksStopAsync,
- void(const std::string& /*in_handle*/,
- base::OnceCallback<void()> /*success_callback*/,
- base::OnceCallback<void(brillo::Error*)> /*error_callback*/,
- int /*timeout_ms*/));
- MOCK_METHOD6(PacketCaptureStart,
- bool(const base::ScopedFD& /*in_statfd*/,
- const base::ScopedFD& /*in_outfd*/,
- const brillo::VariantDictionary& /*in_options*/,
- std::string* /*out_handle*/,
- brillo::ErrorPtr* /*error*/,
- int /*timeout_ms*/));
- MOCK_METHOD6(PacketCaptureStartAsync,
- void(const base::ScopedFD& /*in_statfd*/,
- const base::ScopedFD& /*in_outfd*/,
- const brillo::VariantDictionary& /*in_options*/,
- base::OnceCallback<void(const std::string& /*handle*/)> /*success_callback*/,
- base::OnceCallback<void(brillo::Error*)> /*error_callback*/,
- int /*timeout_ms*/));
- MOCK_METHOD3(PacketCaptureStop,
- bool(const std::string& /*in_handle*/,
- brillo::ErrorPtr* /*error*/,
- int /*timeout_ms*/));
- MOCK_METHOD4(PacketCaptureStopAsync,
- void(const std::string& /*in_handle*/,
- base::OnceCallback<void()> /*success_callback*/,
- base::OnceCallback<void(brillo::Error*)> /*error_callback*/,
- int /*timeout_ms*/));
- MOCK_METHOD2(LogKernelTaskStates,
- bool(brillo::ErrorPtr* /*error*/,
- int /*timeout_ms*/));
- MOCK_METHOD3(LogKernelTaskStatesAsync,
- void(base::OnceCallback<void()> /*success_callback*/,
- base::OnceCallback<void(brillo::Error*)> /*error_callback*/,
- int /*timeout_ms*/));
- MOCK_METHOD2(UploadCrashes,
- bool(brillo::ErrorPtr* /*error*/,
- int /*timeout_ms*/));
- MOCK_METHOD3(UploadCrashesAsync,
- void(base::OnceCallback<void()> /*success_callback*/,
- base::OnceCallback<void(brillo::Error*)> /*error_callback*/,
- int /*timeout_ms*/));
- MOCK_METHOD4(UploadSingleCrash,
- bool(const std::vector<std::tuple<std::string, base::ScopedFD>>& /*in_files*/,
- bool /*in_consent_already_checked_by_crash_reporter*/,
- brillo::ErrorPtr* /*error*/,
- int /*timeout_ms*/));
- MOCK_METHOD5(UploadSingleCrashAsync,
- void(const std::vector<std::tuple<std::string, base::ScopedFD>>& /*in_files*/,
- bool /*in_consent_already_checked_by_crash_reporter*/,
- base::OnceCallback<void()> /*success_callback*/,
- base::OnceCallback<void(brillo::Error*)> /*error_callback*/,
- int /*timeout_ms*/));
- MOCK_METHOD3(SetCrashSenderTestMode,
- bool(bool /*in_mode*/,
- brillo::ErrorPtr* /*error*/,
- int /*timeout_ms*/));
- MOCK_METHOD4(SetCrashSenderTestModeAsync,
- void(bool /*in_mode*/,
- base::OnceCallback<void()> /*success_callback*/,
- base::OnceCallback<void(brillo::Error*)> /*error_callback*/,
- int /*timeout_ms*/));
- MOCK_METHOD2(RemoveRootfsVerification,
- bool(brillo::ErrorPtr* /*error*/,
- int /*timeout_ms*/));
- MOCK_METHOD3(RemoveRootfsVerificationAsync,
- void(base::OnceCallback<void()> /*success_callback*/,
- base::OnceCallback<void(brillo::Error*)> /*error_callback*/,
- int /*timeout_ms*/));
- MOCK_METHOD2(EnableBootFromUsb,
- bool(brillo::ErrorPtr* /*error*/,
- int /*timeout_ms*/));
- MOCK_METHOD3(EnableBootFromUsbAsync,
- void(base::OnceCallback<void()> /*success_callback*/,
- base::OnceCallback<void(brillo::Error*)> /*error_callback*/,
- int /*timeout_ms*/));
- MOCK_METHOD2(ConfigureSshServer,
- bool(brillo::ErrorPtr* /*error*/,
- int /*timeout_ms*/));
- MOCK_METHOD3(ConfigureSshServerAsync,
- void(base::OnceCallback<void()> /*success_callback*/,
- base::OnceCallback<void(brillo::Error*)> /*error_callback*/,
- int /*timeout_ms*/));
- MOCK_METHOD4(SetUserPassword,
- bool(const std::string& /*in_username*/,
- const std::string& /*in_password*/,
- brillo::ErrorPtr* /*error*/,
- int /*timeout_ms*/));
- MOCK_METHOD5(SetUserPasswordAsync,
- void(const std::string& /*in_username*/,
- const std::string& /*in_password*/,
- base::OnceCallback<void()> /*success_callback*/,
- base::OnceCallback<void(brillo::Error*)> /*error_callback*/,
- int /*timeout_ms*/));
- MOCK_METHOD2(EnableChromeRemoteDebugging,
- bool(brillo::ErrorPtr* /*error*/,
- int /*timeout_ms*/));
- MOCK_METHOD3(EnableChromeRemoteDebuggingAsync,
- void(base::OnceCallback<void()> /*success_callback*/,
- base::OnceCallback<void(brillo::Error*)> /*error_callback*/,
- int /*timeout_ms*/));
- MOCK_METHOD3(EnableChromeDevFeatures,
- bool(const std::string& /*in_root_password*/,
- brillo::ErrorPtr* /*error*/,
- int /*timeout_ms*/));
- MOCK_METHOD4(EnableChromeDevFeaturesAsync,
- void(const std::string& /*in_root_password*/,
- base::OnceCallback<void()> /*success_callback*/,
- base::OnceCallback<void(brillo::Error*)> /*error_callback*/,
- int /*timeout_ms*/));
- MOCK_METHOD3(QueryDevFeatures,
- bool(int32_t* /*out_features*/,
- brillo::ErrorPtr* /*error*/,
- int /*timeout_ms*/));
- MOCK_METHOD3(QueryDevFeaturesAsync,
- void(base::OnceCallback<void(int32_t /*features*/)> /*success_callback*/,
- base::OnceCallback<void(brillo::Error*)> /*error_callback*/,
- int /*timeout_ms*/));
- MOCK_METHOD2(EnableDevCoredumpUpload,
- bool(brillo::ErrorPtr* /*error*/,
- int /*timeout_ms*/));
- MOCK_METHOD3(EnableDevCoredumpUploadAsync,
- void(base::OnceCallback<void()> /*success_callback*/,
- base::OnceCallback<void(brillo::Error*)> /*error_callback*/,
- int /*timeout_ms*/));
- MOCK_METHOD2(DisableDevCoredumpUpload,
- bool(brillo::ErrorPtr* /*error*/,
- int /*timeout_ms*/));
- MOCK_METHOD3(DisableDevCoredumpUploadAsync,
- void(base::OnceCallback<void()> /*success_callback*/,
- base::OnceCallback<void(brillo::Error*)> /*error_callback*/,
- int /*timeout_ms*/));
- MOCK_METHOD4(SetOomScoreAdj,
- bool(const std::map<int32_t, int32_t>& /*in_scores*/,
- std::string* /*out_out*/,
- brillo::ErrorPtr* /*error*/,
- int /*timeout_ms*/));
- MOCK_METHOD4(SetOomScoreAdjAsync,
- void(const std::map<int32_t, int32_t>& /*in_scores*/,
- base::OnceCallback<void(const std::string& /*out*/)> /*success_callback*/,
- base::OnceCallback<void(brillo::Error*)> /*error_callback*/,
- int /*timeout_ms*/));
- MOCK_METHOD5(SwapEnable,
- bool(int32_t /*in_size*/,
- bool /*in_change_now*/,
- std::string* /*out_status*/,
- brillo::ErrorPtr* /*error*/,
- int /*timeout_ms*/));
- MOCK_METHOD5(SwapEnableAsync,
- void(int32_t /*in_size*/,
- bool /*in_change_now*/,
- base::OnceCallback<void(const std::string& /*status*/)> /*success_callback*/,
- base::OnceCallback<void(brillo::Error*)> /*error_callback*/,
- int /*timeout_ms*/));
- MOCK_METHOD4(SwapDisable,
- bool(bool /*in_change_now*/,
- std::string* /*out_status*/,
- brillo::ErrorPtr* /*error*/,
- int /*timeout_ms*/));
- MOCK_METHOD4(SwapDisableAsync,
- void(bool /*in_change_now*/,
- base::OnceCallback<void(const std::string& /*status*/)> /*success_callback*/,
- base::OnceCallback<void(brillo::Error*)> /*error_callback*/,
- int /*timeout_ms*/));
- MOCK_METHOD4(KstaledSetRatio,
- bool(uint8_t /*in_ratio*/,
- bool* /*out_result*/,
- brillo::ErrorPtr* /*error*/,
- int /*timeout_ms*/));
- MOCK_METHOD4(KstaledSetRatioAsync,
- void(uint8_t /*in_ratio*/,
- base::OnceCallback<void(bool /*result*/)> /*success_callback*/,
- base::OnceCallback<void(brillo::Error*)> /*error_callback*/,
- int /*timeout_ms*/));
- MOCK_METHOD4(SwapStartStop,
- bool(bool /*in_on*/,
- std::string* /*out_status*/,
- brillo::ErrorPtr* /*error*/,
- int /*timeout_ms*/));
- MOCK_METHOD4(SwapStartStopAsync,
- void(bool /*in_on*/,
- base::OnceCallback<void(const std::string& /*status*/)> /*success_callback*/,
- base::OnceCallback<void(brillo::Error*)> /*error_callback*/,
- int /*timeout_ms*/));
- MOCK_METHOD3(SwapStatus,
- bool(std::string* /*out_status*/,
- brillo::ErrorPtr* /*error*/,
- int /*timeout_ms*/));
- MOCK_METHOD3(SwapStatusAsync,
- void(base::OnceCallback<void(const std::string& /*status*/)> /*success_callback*/,
- base::OnceCallback<void(brillo::Error*)> /*error_callback*/,
- int /*timeout_ms*/));
- MOCK_METHOD5(SwapSetParameter,
- bool(const std::string& /*in_command_name*/,
- int32_t /*in_value*/,
- std::string* /*out_status*/,
- brillo::ErrorPtr* /*error*/,
- int /*timeout_ms*/));
- MOCK_METHOD5(SwapSetParameterAsync,
- void(const std::string& /*in_command_name*/,
- int32_t /*in_value*/,
- base::OnceCallback<void(const std::string& /*status*/)> /*success_callback*/,
- base::OnceCallback<void(brillo::Error*)> /*error_callback*/,
- int /*timeout_ms*/));
- MOCK_METHOD4(SwapZramEnableWriteback,
- bool(uint32_t /*in_size_mb*/,
- std::string* /*out_result*/,
- brillo::ErrorPtr* /*error*/,
- int /*timeout_ms*/));
- MOCK_METHOD4(SwapZramEnableWritebackAsync,
- void(uint32_t /*in_size_mb*/,
- base::OnceCallback<void(const std::string& /*result*/)> /*success_callback*/,
- base::OnceCallback<void(brillo::Error*)> /*error_callback*/,
- int /*timeout_ms*/));
- MOCK_METHOD4(SwapZramMarkIdle,
- bool(uint32_t /*in_age*/,
- std::string* /*out_status*/,
- brillo::ErrorPtr* /*error*/,
- int /*timeout_ms*/));
- MOCK_METHOD4(SwapZramMarkIdleAsync,
- void(uint32_t /*in_age*/,
- base::OnceCallback<void(const std::string& /*status*/)> /*success_callback*/,
- base::OnceCallback<void(brillo::Error*)> /*error_callback*/,
- int /*timeout_ms*/));
- MOCK_METHOD4(SwapZramSetWritebackLimit,
- bool(uint32_t /*in_limit*/,
- std::string* /*out_status*/,
- brillo::ErrorPtr* /*error*/,
- int /*timeout_ms*/));
- MOCK_METHOD4(SwapZramSetWritebackLimitAsync,
- void(uint32_t /*in_limit*/,
- base::OnceCallback<void(const std::string& /*status*/)> /*success_callback*/,
- base::OnceCallback<void(brillo::Error*)> /*error_callback*/,
- int /*timeout_ms*/));
- MOCK_METHOD4(InitiateSwapZramWriteback,
- bool(uint32_t /*in_mode*/,
- std::string* /*out_status*/,
- brillo::ErrorPtr* /*error*/,
- int /*timeout_ms*/));
- MOCK_METHOD4(InitiateSwapZramWritebackAsync,
- void(uint32_t /*in_mode*/,
- base::OnceCallback<void(const std::string& /*status*/)> /*success_callback*/,
- base::OnceCallback<void(brillo::Error*)> /*error_callback*/,
- int /*timeout_ms*/));
- MOCK_METHOD4(SwapSetSwappiness,
- bool(uint32_t /*in_swappiness_value*/,
- std::string* /*out_status*/,
- brillo::ErrorPtr* /*error*/,
- int /*timeout_ms*/));
- MOCK_METHOD4(SwapSetSwappinessAsync,
- void(uint32_t /*in_swappiness_value*/,
- base::OnceCallback<void(const std::string& /*status*/)> /*success_callback*/,
- base::OnceCallback<void(brillo::Error*)> /*error_callback*/,
- int /*timeout_ms*/));
- MOCK_METHOD4(SetU2fFlags,
- bool(const std::string& /*in_flags*/,
- std::string* /*out_status*/,
- brillo::ErrorPtr* /*error*/,
- int /*timeout_ms*/));
- MOCK_METHOD4(SetU2fFlagsAsync,
- void(const std::string& /*in_flags*/,
- base::OnceCallback<void(const std::string& /*status*/)> /*success_callback*/,
- base::OnceCallback<void(brillo::Error*)> /*error_callback*/,
- int /*timeout_ms*/));
- MOCK_METHOD3(GetU2fFlags,
- bool(std::string* /*out_flags*/,
- brillo::ErrorPtr* /*error*/,
- int /*timeout_ms*/));
- MOCK_METHOD3(GetU2fFlagsAsync,
- void(base::OnceCallback<void(const std::string& /*flags*/)> /*success_callback*/,
- base::OnceCallback<void(brillo::Error*)> /*error_callback*/,
- int /*timeout_ms*/));
- MOCK_METHOD2(ContainerStarted,
- bool(brillo::ErrorPtr* /*error*/,
- int /*timeout_ms*/));
- MOCK_METHOD3(ContainerStartedAsync,
- void(base::OnceCallback<void()> /*success_callback*/,
- base::OnceCallback<void(brillo::Error*)> /*error_callback*/,
- int /*timeout_ms*/));
- MOCK_METHOD2(ContainerStopped,
- bool(brillo::ErrorPtr* /*error*/,
- int /*timeout_ms*/));
- MOCK_METHOD3(ContainerStoppedAsync,
- void(base::OnceCallback<void()> /*success_callback*/,
- base::OnceCallback<void(brillo::Error*)> /*error_callback*/,
- int /*timeout_ms*/));
- MOCK_METHOD4(SetWifiPowerSave,
- bool(bool /*in_enable*/,
- std::string* /*out_status*/,
- brillo::ErrorPtr* /*error*/,
- int /*timeout_ms*/));
- MOCK_METHOD4(SetWifiPowerSaveAsync,
- void(bool /*in_enable*/,
- base::OnceCallback<void(const std::string& /*status*/)> /*success_callback*/,
- base::OnceCallback<void(brillo::Error*)> /*error_callback*/,
- int /*timeout_ms*/));
- MOCK_METHOD3(GetWifiPowerSave,
- bool(std::string* /*out_status*/,
- brillo::ErrorPtr* /*error*/,
- int /*timeout_ms*/));
- MOCK_METHOD3(GetWifiPowerSaveAsync,
- void(base::OnceCallback<void(const std::string& /*status*/)> /*success_callback*/,
- base::OnceCallback<void(brillo::Error*)> /*error_callback*/,
- int /*timeout_ms*/));
- MOCK_METHOD6(RunShillScriptStart,
- bool(const base::ScopedFD& /*in_outfd*/,
- const std::string& /*in_script*/,
- const std::vector<std::string>& /*in_script_args*/,
- std::string* /*out_handle*/,
- brillo::ErrorPtr* /*error*/,
- int /*timeout_ms*/));
- MOCK_METHOD6(RunShillScriptStartAsync,
- void(const base::ScopedFD& /*in_outfd*/,
- const std::string& /*in_script*/,
- const std::vector<std::string>& /*in_script_args*/,
- base::OnceCallback<void(const std::string& /*handle*/)> /*success_callback*/,
- base::OnceCallback<void(brillo::Error*)> /*error_callback*/,
- int /*timeout_ms*/));
- MOCK_METHOD3(RunShillScriptStop,
- bool(const std::string& /*in_handle*/,
- brillo::ErrorPtr* /*error*/,
- int /*timeout_ms*/));
- MOCK_METHOD4(RunShillScriptStopAsync,
- void(const std::string& /*in_handle*/,
- base::OnceCallback<void()> /*success_callback*/,
- base::OnceCallback<void(brillo::Error*)> /*error_callback*/,
- int /*timeout_ms*/));
- MOCK_METHOD5(StartVmPluginDispatcher,
- bool(const std::string& /*in_user_id_hash*/,
- const std::string& /*in_lang*/,
- bool* /*out_status*/,
- brillo::ErrorPtr* /*error*/,
- int /*timeout_ms*/));
- MOCK_METHOD5(StartVmPluginDispatcherAsync,
- void(const std::string& /*in_user_id_hash*/,
- const std::string& /*in_lang*/,
- base::OnceCallback<void(bool /*status*/)> /*success_callback*/,
- base::OnceCallback<void(brillo::Error*)> /*error_callback*/,
- int /*timeout_ms*/));
- MOCK_METHOD2(StopVmPluginDispatcher,
- bool(brillo::ErrorPtr* /*error*/,
- int /*timeout_ms*/));
- MOCK_METHOD3(StopVmPluginDispatcherAsync,
- void(base::OnceCallback<void()> /*success_callback*/,
- base::OnceCallback<void(brillo::Error*)> /*error_callback*/,
- int /*timeout_ms*/));
- MOCK_METHOD2(SetRlzPingSent,
- bool(brillo::ErrorPtr* /*error*/,
- int /*timeout_ms*/));
- MOCK_METHOD3(SetRlzPingSentAsync,
- void(base::OnceCallback<void()> /*success_callback*/,
- base::OnceCallback<void(brillo::Error*)> /*error_callback*/,
- int /*timeout_ms*/));
- MOCK_METHOD6(UpdateAndVerifyFWOnUsbStart,
- bool(const base::ScopedFD& /*in_outfd*/,
- const std::string& /*in_image_file*/,
- const std::string& /*in_ro_db_dir*/,
- std::string* /*out_handle*/,
- brillo::ErrorPtr* /*error*/,
- int /*timeout_ms*/));
- MOCK_METHOD6(UpdateAndVerifyFWOnUsbStartAsync,
- void(const base::ScopedFD& /*in_outfd*/,
- const std::string& /*in_image_file*/,
- const std::string& /*in_ro_db_dir*/,
- base::OnceCallback<void(const std::string& /*handle*/)> /*success_callback*/,
- base::OnceCallback<void(brillo::Error*)> /*error_callback*/,
- int /*timeout_ms*/));
- MOCK_METHOD3(UpdateAndVerifyFWOnUsbStop,
- bool(const std::string& /*in_handle*/,
- brillo::ErrorPtr* /*error*/,
- int /*timeout_ms*/));
- MOCK_METHOD4(UpdateAndVerifyFWOnUsbStopAsync,
- void(const std::string& /*in_handle*/,
- base::OnceCallback<void()> /*success_callback*/,
- base::OnceCallback<void(brillo::Error*)> /*error_callback*/,
- int /*timeout_ms*/));
- MOCK_METHOD4(SetSchedulerConfiguration,
- bool(const std::string& /*in_policy*/,
- bool* /*out_result*/,
- brillo::ErrorPtr* /*error*/,
- int /*timeout_ms*/));
- MOCK_METHOD4(SetSchedulerConfigurationAsync,
- void(const std::string& /*in_policy*/,
- base::OnceCallback<void(bool /*result*/)> /*success_callback*/,
- base::OnceCallback<void(brillo::Error*)> /*error_callback*/,
- int /*timeout_ms*/));
- MOCK_METHOD6(EvaluateProbeFunction,
- bool(const std::string& /*in_probe_statement*/,
- int32_t /*in_log_level*/,
- base::ScopedFD* /*out_result_fd*/,
- base::ScopedFD* /*out_error_fd*/,
- brillo::ErrorPtr* /*error*/,
- int /*timeout_ms*/));
- MOCK_METHOD5(EvaluateProbeFunctionAsync,
- void(const std::string& /*in_probe_statement*/,
- int32_t /*in_log_level*/,
- base::OnceCallback<void(const base::ScopedFD& /*result_fd*/, const base::ScopedFD& /*error_fd*/)> /*success_callback*/,
- base::OnceCallback<void(brillo::Error*)> /*error_callback*/,
- int /*timeout_ms*/));
- MOCK_METHOD6(SetSchedulerConfigurationV2,
- bool(const std::string& /*in_policy*/,
- bool /*in_lock_policy*/,
- bool* /*out_result*/,
- uint32_t* /*out_num_cores_disabled*/,
- brillo::ErrorPtr* /*error*/,
- int /*timeout_ms*/));
- MOCK_METHOD5(SetSchedulerConfigurationV2Async,
- void(const std::string& /*in_policy*/,
- bool /*in_lock_policy*/,
- base::OnceCallback<void(bool /*result*/, uint32_t /*num_cores_disabled*/)> /*success_callback*/,
- base::OnceCallback<void(brillo::Error*)> /*error_callback*/,
- int /*timeout_ms*/));
- MOCK_METHOD3(WifiFWDump,
- bool(std::string* /*out_output*/,
- brillo::ErrorPtr* /*error*/,
- int /*timeout_ms*/));
- MOCK_METHOD3(WifiFWDumpAsync,
- void(base::OnceCallback<void(const std::string& /*output*/)> /*success_callback*/,
- base::OnceCallback<void(brillo::Error*)> /*error_callback*/,
- int /*timeout_ms*/));
- MOCK_METHOD4(CollectSmartBatteryMetric,
- bool(const std::string& /*in_metric_name*/,
- std::string* /*out_output*/,
- brillo::ErrorPtr* /*error*/,
- int /*timeout_ms*/));
- MOCK_METHOD4(CollectSmartBatteryMetricAsync,
- void(const std::string& /*in_metric_name*/,
- base::OnceCallback<void(const std::string& /*output*/)> /*success_callback*/,
- base::OnceCallback<void(brillo::Error*)> /*error_callback*/,
- int /*timeout_ms*/));
- MOCK_METHOD3(EcGetInventory,
- bool(std::string* /*out_output*/,
- brillo::ErrorPtr* /*error*/,
- int /*timeout_ms*/));
- MOCK_METHOD3(EcGetInventoryAsync,
- void(base::OnceCallback<void(const std::string& /*output*/)> /*success_callback*/,
- base::OnceCallback<void(brillo::Error*)> /*error_callback*/,
- int /*timeout_ms*/));
- MOCK_METHOD4(CallDmesg,
- bool(const brillo::VariantDictionary& /*in_options*/,
- std::string* /*out_output*/,
- brillo::ErrorPtr* /*error*/,
- int /*timeout_ms*/));
- MOCK_METHOD4(CallDmesgAsync,
- void(const brillo::VariantDictionary& /*in_options*/,
- base::OnceCallback<void(const std::string& /*output*/)> /*success_callback*/,
- base::OnceCallback<void(brillo::Error*)> /*error_callback*/,
- int /*timeout_ms*/));
- MOCK_METHOD5(EcTypeCEnterMode,
- bool(uint32_t /*in_port_num*/,
- uint32_t /*in_mode*/,
- std::string* /*out_output*/,
- brillo::ErrorPtr* /*error*/,
- int /*timeout_ms*/));
- MOCK_METHOD5(EcTypeCEnterModeAsync,
- void(uint32_t /*in_port_num*/,
- uint32_t /*in_mode*/,
- base::OnceCallback<void(const std::string& /*output*/)> /*success_callback*/,
- base::OnceCallback<void(brillo::Error*)> /*error_callback*/,
- int /*timeout_ms*/));
- MOCK_METHOD4(EcTypeCExitMode,
- bool(uint32_t /*in_port_num*/,
- std::string* /*out_output*/,
- brillo::ErrorPtr* /*error*/,
- int /*timeout_ms*/));
- MOCK_METHOD4(EcTypeCExitModeAsync,
- void(uint32_t /*in_port_num*/,
- base::OnceCallback<void(const std::string& /*output*/)> /*success_callback*/,
- base::OnceCallback<void(brillo::Error*)> /*error_callback*/,
- int /*timeout_ms*/));
- MOCK_METHOD4(EcTypeCDpState,
- bool(uint32_t /*in_port_num*/,
- bool* /*out_output*/,
- brillo::ErrorPtr* /*error*/,
- int /*timeout_ms*/));
- MOCK_METHOD4(EcTypeCDpStateAsync,
- void(uint32_t /*in_port_num*/,
- base::OnceCallback<void(bool /*output*/)> /*success_callback*/,
- base::OnceCallback<void(brillo::Error*)> /*error_callback*/,
- int /*timeout_ms*/));
- MOCK_METHOD4(EcTypeCHpdState,
- bool(uint32_t /*in_port_num*/,
- bool* /*out_output*/,
- brillo::ErrorPtr* /*error*/,
- int /*timeout_ms*/));
- MOCK_METHOD4(EcTypeCHpdStateAsync,
- void(uint32_t /*in_port_num*/,
- base::OnceCallback<void(bool /*output*/)> /*success_callback*/,
- base::OnceCallback<void(brillo::Error*)> /*error_callback*/,
- int /*timeout_ms*/));
- MOCK_METHOD5(KernelFeatureEnable,
- bool(const std::string& /*in_name*/,
- bool* /*out_result*/,
- std::string* /*out_err_str*/,
- brillo::ErrorPtr* /*error*/,
- int /*timeout_ms*/));
- MOCK_METHOD4(KernelFeatureEnableAsync,
- void(const std::string& /*in_name*/,
- base::OnceCallback<void(bool /*result*/, const std::string& /*err_str*/)> /*success_callback*/,
- base::OnceCallback<void(brillo::Error*)> /*error_callback*/,
- int /*timeout_ms*/));
- MOCK_METHOD4(KernelFeatureList,
- bool(bool* /*out_result*/,
- std::string* /*out_csv*/,
- brillo::ErrorPtr* /*error*/,
- int /*timeout_ms*/));
- MOCK_METHOD3(KernelFeatureListAsync,
- void(base::OnceCallback<void(bool /*result*/, const std::string& /*csv*/)> /*success_callback*/,
- base::OnceCallback<void(brillo::Error*)> /*error_callback*/,
- int /*timeout_ms*/));
- MOCK_METHOD3(DRMTraceSetCategories,
- bool(uint32_t /*in_categories*/,
- brillo::ErrorPtr* /*error*/,
- int /*timeout_ms*/));
- MOCK_METHOD4(DRMTraceSetCategoriesAsync,
- void(uint32_t /*in_categories*/,
- base::OnceCallback<void()> /*success_callback*/,
- base::OnceCallback<void(brillo::Error*)> /*error_callback*/,
- int /*timeout_ms*/));
- MOCK_METHOD3(DRMTraceSetSize,
- bool(uint32_t /*in_size*/,
- brillo::ErrorPtr* /*error*/,
- int /*timeout_ms*/));
- MOCK_METHOD4(DRMTraceSetSizeAsync,
- void(uint32_t /*in_size*/,
- base::OnceCallback<void()> /*success_callback*/,
- base::OnceCallback<void(brillo::Error*)> /*error_callback*/,
- int /*timeout_ms*/));
- MOCK_METHOD3(DRMTraceAnnotateLog,
- bool(const std::string& /*in_log*/,
- brillo::ErrorPtr* /*error*/,
- int /*timeout_ms*/));
- MOCK_METHOD4(DRMTraceAnnotateLogAsync,
- void(const std::string& /*in_log*/,
- base::OnceCallback<void()> /*success_callback*/,
- base::OnceCallback<void(brillo::Error*)> /*error_callback*/,
- int /*timeout_ms*/));
- MOCK_METHOD3(DRMTraceSnapshot,
- bool(uint32_t /*in_type*/,
- brillo::ErrorPtr* /*error*/,
- int /*timeout_ms*/));
- MOCK_METHOD4(DRMTraceSnapshotAsync,
- void(uint32_t /*in_type*/,
- base::OnceCallback<void()> /*success_callback*/,
- base::OnceCallback<void(brillo::Error*)> /*error_callback*/,
- int /*timeout_ms*/));
- MOCK_METHOD3(PrintscanDebugSetCategories,
- bool(uint32_t /*in_categories*/,
- brillo::ErrorPtr* /*error*/,
- int /*timeout_ms*/));
- MOCK_METHOD4(PrintscanDebugSetCategoriesAsync,
- void(uint32_t /*in_categories*/,
- base::OnceCallback<void()> /*success_callback*/,
- base::OnceCallback<void(brillo::Error*)> /*error_callback*/,
- int /*timeout_ms*/));
- void RegisterPacketCaptureStartSignalHandler(
- base::RepeatingClosure signal_callback,
- dbus::ObjectProxy::OnConnectedCallback on_connected_callback) {
- DoRegisterPacketCaptureStartSignalHandler(signal_callback, &on_connected_callback);
- }
- MOCK_METHOD2(DoRegisterPacketCaptureStartSignalHandler,
- void(base::RepeatingClosure /*signal_callback*/,
- dbus::ObjectProxy::OnConnectedCallback* /*on_connected_callback*/));
- void RegisterPacketCaptureStopSignalHandler(
- base::RepeatingClosure signal_callback,
- dbus::ObjectProxy::OnConnectedCallback on_connected_callback) {
- DoRegisterPacketCaptureStopSignalHandler(signal_callback, &on_connected_callback);
- }
- MOCK_METHOD2(DoRegisterPacketCaptureStopSignalHandler,
- void(base::RepeatingClosure /*signal_callback*/,
- dbus::ObjectProxy::OnConnectedCallback* /*on_connected_callback*/));
- MOCK_CONST_METHOD0(GetObjectPath, const dbus::ObjectPath&());
- MOCK_CONST_METHOD0(GetObjectProxy, dbus::ObjectProxy*());
-};
-} // namespace chromium
-} // namespace org
-
-#endif // ____CHROMEOS_DBUS_BINDING___VAR_CACHE_PORTAGE_CHROMEOS_BASE_DEBUGD_CLIENT_OUT_DEFAULT_GEN_INCLUDE_DEBUGD_DBUS_PROXY_MOCKS_H
diff --git a/chroot/var/cache/portage/chromeos-base/imageloader/out/Default/gen/include/imageloader/dbus_adaptors/org.chromium.ImageLoaderInterface.h b/chroot/var/cache/portage/chromeos-base/imageloader/out/Default/gen/include/imageloader/dbus_adaptors/org.chromium.ImageLoaderInterface.h
deleted file mode 100644
index 51d0d70..0000000
--- a/chroot/var/cache/portage/chromeos-base/imageloader/out/Default/gen/include/imageloader/dbus_adaptors/org.chromium.ImageLoaderInterface.h
+++ /dev/null
@@ -1,202 +0,0 @@
-// Automatic generation of D-Bus interfaces:
-// - org.chromium.ImageLoaderInterface
-#ifndef ____CHROMEOS_DBUS_BINDING___VAR_CACHE_PORTAGE_CHROMEOS_BASE_IMAGELOADER_OUT_DEFAULT_GEN_INCLUDE_IMAGELOADER_DBUS_ADAPTORS_ORG_CHROMIUM_IMAGELOADERINTERFACE_H
-#define ____CHROMEOS_DBUS_BINDING___VAR_CACHE_PORTAGE_CHROMEOS_BASE_IMAGELOADER_OUT_DEFAULT_GEN_INCLUDE_IMAGELOADER_DBUS_ADAPTORS_ORG_CHROMIUM_IMAGELOADERINTERFACE_H
-#include <memory>
-#include <string>
-#include <tuple>
-#include <vector>
-
-#include <base/files/scoped_file.h>
-#include <dbus/object_path.h>
-#include <brillo/any.h>
-#include <brillo/dbus/dbus_object.h>
-#include <brillo/dbus/exported_object_manager.h>
-#include <brillo/variant_dictionary.h>
-
-namespace org {
-namespace chromium {
-
-// Interface definition for org::chromium::ImageLoaderInterface.
-class ImageLoaderInterfaceInterface {
- public:
- virtual ~ImageLoaderInterfaceInterface() = default;
-
- // Registers a component with ImageLoader. ImageLoader will verify
- // the integrity and Google signature of the component and, if and
- // only if valid, copy the component into its internal storage.
- virtual bool RegisterComponent(
- brillo::ErrorPtr* error,
- const std::string& in_name,
- const std::string& in_version,
- const std::string& in_component_folder_abs_path,
- bool* out_success) = 0;
- // Returns the currently registered version of the given component.
- virtual bool GetComponentVersion(
- brillo::ErrorPtr* error,
- const std::string& in_name,
- std::string* out_version) = 0;
- // Loads the component, if and only if the component verifies the
- // signature check, and returns the mount point.
- virtual bool LoadComponent(
- brillo::ErrorPtr* error,
- const std::string& in_name,
- std::string* out_mount_point) = 0;
- // Loads the component at the given path, if and only if the component
- // verifies the signature check, and returns the mount point.
- virtual bool LoadComponentAtPath(
- brillo::ErrorPtr* error,
- const std::string& in_name,
- const std::string& in_absolute_path,
- std::string* out_mount_point) = 0;
- // Loads a DLC module image.
- virtual bool LoadDlcImage(
- brillo::ErrorPtr* error,
- const std::string& in_id,
- const std::string& in_package,
- const std::string& in_a_or_b,
- std::string* out_mount_point) = 0;
- // Loads a DLC image.
- virtual bool LoadDlc(
- brillo::ErrorPtr* error,
- const imageloader::LoadDlcRequest& in_load_request,
- std::string* out_mount_point) = 0;
- // Remove all versions of a component if removable.
- virtual bool RemoveComponent(
- brillo::ErrorPtr* error,
- const std::string& in_name,
- bool* out_success) = 0;
- // Get the metadata for a registered component.
- virtual bool GetComponentMetadata(
- brillo::ErrorPtr* error,
- const std::string& in_name,
- std::map<std::string, std::string>* out_metadata) = 0;
- // Unmount all mount points of a component.
- virtual bool UnmountComponent(
- brillo::ErrorPtr* error,
- const std::string& in_name,
- bool* out_success) = 0;
- // Unmounts a DLC image.
- virtual bool UnloadDlcImage(
- brillo::ErrorPtr* error,
- const std::string& in_id,
- const std::string& in_package,
- bool* out_success) = 0;
-};
-
-// Interface adaptor for org::chromium::ImageLoaderInterface.
-class ImageLoaderInterfaceAdaptor {
- public:
- ImageLoaderInterfaceAdaptor(ImageLoaderInterfaceInterface* interface) : interface_(interface) {}
- ImageLoaderInterfaceAdaptor(const ImageLoaderInterfaceAdaptor&) = delete;
- ImageLoaderInterfaceAdaptor& operator=(const ImageLoaderInterfaceAdaptor&) = delete;
-
- void RegisterWithDBusObject(brillo::dbus_utils::DBusObject* object) {
- brillo::dbus_utils::DBusInterface* itf =
- object->AddOrGetInterface("org.chromium.ImageLoaderInterface");
-
- itf->AddSimpleMethodHandlerWithError(
- "RegisterComponent",
- base::Unretained(interface_),
- &ImageLoaderInterfaceInterface::RegisterComponent);
- itf->AddSimpleMethodHandlerWithError(
- "GetComponentVersion",
- base::Unretained(interface_),
- &ImageLoaderInterfaceInterface::GetComponentVersion);
- itf->AddSimpleMethodHandlerWithError(
- "LoadComponent",
- base::Unretained(interface_),
- &ImageLoaderInterfaceInterface::LoadComponent);
- itf->AddSimpleMethodHandlerWithError(
- "LoadComponentAtPath",
- base::Unretained(interface_),
- &ImageLoaderInterfaceInterface::LoadComponentAtPath);
- itf->AddSimpleMethodHandlerWithError(
- "LoadDlcImage",
- base::Unretained(interface_),
- &ImageLoaderInterfaceInterface::LoadDlcImage);
- itf->AddSimpleMethodHandlerWithError(
- "LoadDlc",
- base::Unretained(interface_),
- &ImageLoaderInterfaceInterface::LoadDlc);
- itf->AddSimpleMethodHandlerWithError(
- "RemoveComponent",
- base::Unretained(interface_),
- &ImageLoaderInterfaceInterface::RemoveComponent);
- itf->AddSimpleMethodHandlerWithError(
- "GetComponentMetadata",
- base::Unretained(interface_),
- &ImageLoaderInterfaceInterface::GetComponentMetadata);
- itf->AddSimpleMethodHandlerWithError(
- "UnmountComponent",
- base::Unretained(interface_),
- &ImageLoaderInterfaceInterface::UnmountComponent);
- itf->AddSimpleMethodHandlerWithError(
- "UnloadDlcImage",
- base::Unretained(interface_),
- &ImageLoaderInterfaceInterface::UnloadDlcImage);
- }
-
- static dbus::ObjectPath GetObjectPath() {
- return dbus::ObjectPath{"/org/chromium/ImageLoader"};
- }
-
- static const char* GetIntrospectionXml() {
- return
- " <interface name=\"org.chromium.ImageLoaderInterface\">\n"
- " <method name=\"RegisterComponent\">\n"
- " <arg name=\"name\" type=\"s\" direction=\"in\"/>\n"
- " <arg name=\"version\" type=\"s\" direction=\"in\"/>\n"
- " <arg name=\"component_folder_abs_path\" type=\"s\" direction=\"in\"/>\n"
- " <arg name=\"success\" type=\"b\" direction=\"out\"/>\n"
- " </method>\n"
- " <method name=\"GetComponentVersion\">\n"
- " <arg name=\"name\" type=\"s\" direction=\"in\"/>\n"
- " <arg name=\"version\" type=\"s\" direction=\"out\"/>\n"
- " </method>\n"
- " <method name=\"LoadComponent\">\n"
- " <arg name=\"name\" type=\"s\" direction=\"in\"/>\n"
- " <arg name=\"mount_point\" type=\"s\" direction=\"out\"/>\n"
- " </method>\n"
- " <method name=\"LoadComponentAtPath\">\n"
- " <arg name=\"name\" type=\"s\" direction=\"in\"/>\n"
- " <arg name=\"absolute_path\" type=\"s\" direction=\"in\"/>\n"
- " <arg name=\"mount_point\" type=\"s\" direction=\"out\"/>\n"
- " </method>\n"
- " <method name=\"LoadDlcImage\">\n"
- " <arg name=\"id\" type=\"s\" direction=\"in\"/>\n"
- " <arg name=\"package\" type=\"s\" direction=\"in\"/>\n"
- " <arg name=\"a_or_b\" type=\"s\" direction=\"in\"/>\n"
- " <arg name=\"mount_point\" type=\"s\" direction=\"out\"/>\n"
- " </method>\n"
- " <method name=\"LoadDlc\">\n"
- " <arg name=\"load_request\" type=\"ay\" direction=\"in\"/>\n"
- " <arg name=\"mount_point\" type=\"s\" direction=\"out\"/>\n"
- " </method>\n"
- " <method name=\"RemoveComponent\">\n"
- " <arg name=\"name\" type=\"s\" direction=\"in\"/>\n"
- " <arg name=\"success\" type=\"b\" direction=\"out\"/>\n"
- " </method>\n"
- " <method name=\"GetComponentMetadata\">\n"
- " <arg name=\"name\" type=\"s\" direction=\"in\"/>\n"
- " <arg name=\"metadata\" type=\"a{ss}\" direction=\"out\"/>\n"
- " </method>\n"
- " <method name=\"UnmountComponent\">\n"
- " <arg name=\"name\" type=\"s\" direction=\"in\"/>\n"
- " <arg name=\"success\" type=\"b\" direction=\"out\"/>\n"
- " </method>\n"
- " <method name=\"UnloadDlcImage\">\n"
- " <arg name=\"id\" type=\"s\" direction=\"in\"/>\n"
- " <arg name=\"package\" type=\"s\" direction=\"in\"/>\n"
- " <arg name=\"success\" type=\"b\" direction=\"out\"/>\n"
- " </method>\n"
- " </interface>\n";
- }
-
- private:
- ImageLoaderInterfaceInterface* interface_; // Owned by container of this adapter.
-};
-
-} // namespace chromium
-} // namespace org
-#endif // ____CHROMEOS_DBUS_BINDING___VAR_CACHE_PORTAGE_CHROMEOS_BASE_IMAGELOADER_OUT_DEFAULT_GEN_INCLUDE_IMAGELOADER_DBUS_ADAPTORS_ORG_CHROMIUM_IMAGELOADERINTERFACE_H
diff --git a/chroot/var/cache/portage/chromeos-base/imageloader/out/Default/gen/include/imageloader/ipc.pb.cc b/chroot/var/cache/portage/chromeos-base/imageloader/out/Default/gen/include/imageloader/ipc.pb.cc
deleted file mode 100644
index ab87dc0..0000000
--- a/chroot/var/cache/portage/chromeos-base/imageloader/out/Default/gen/include/imageloader/ipc.pb.cc
+++ /dev/null
@@ -1,1624 +0,0 @@
-// Generated by the protocol buffer compiler. DO NOT EDIT!
-// source: ipc.proto
-
-#include "ipc.pb.h"
-
-#include <algorithm>
-
-#include <google/protobuf/io/coded_stream.h>
-#include <google/protobuf/extension_set.h>
-#include <google/protobuf/wire_format_lite.h>
-#include <google/protobuf/io/zero_copy_stream_impl_lite.h>
-// @@protoc_insertion_point(includes)
-#include <google/protobuf/port_def.inc>
-
-PROTOBUF_PRAGMA_INIT_SEG
-
-namespace _pb = ::PROTOBUF_NAMESPACE_ID;
-namespace _pbi = _pb::internal;
-
-namespace imageloader {
-PROTOBUF_CONSTEXPR ImageCommand::ImageCommand(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_.op_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_._oneof_case_)*/{}} {}
-struct ImageCommandDefaultTypeInternal {
- PROTOBUF_CONSTEXPR ImageCommandDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~ImageCommandDefaultTypeInternal() {}
- union {
- ImageCommand _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ImageCommandDefaultTypeInternal _ImageCommand_default_instance_;
-PROTOBUF_CONSTEXPR MountCommand::MountCommand(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.mount_path_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
- , /*decltype(_impl_.table_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
- , /*decltype(_impl_.fs_type_)*/1} {}
-struct MountCommandDefaultTypeInternal {
- PROTOBUF_CONSTEXPR MountCommandDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~MountCommandDefaultTypeInternal() {}
- union {
- MountCommand _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MountCommandDefaultTypeInternal _MountCommand_default_instance_;
-PROTOBUF_CONSTEXPR UnmountAllCommand::UnmountAllCommand(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.unmount_rootpath_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
- , /*decltype(_impl_.dry_run_)*/true} {}
-struct UnmountAllCommandDefaultTypeInternal {
- PROTOBUF_CONSTEXPR UnmountAllCommandDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~UnmountAllCommandDefaultTypeInternal() {}
- union {
- UnmountAllCommand _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 UnmountAllCommandDefaultTypeInternal _UnmountAllCommand_default_instance_;
-PROTOBUF_CONSTEXPR UnmountCommand::UnmountCommand(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.unmount_path_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {}
-struct UnmountCommandDefaultTypeInternal {
- PROTOBUF_CONSTEXPR UnmountCommandDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~UnmountCommandDefaultTypeInternal() {}
- union {
- UnmountCommand _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 UnmountCommandDefaultTypeInternal _UnmountCommand_default_instance_;
-PROTOBUF_CONSTEXPR CommandResponse::CommandResponse(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.paths_)*/{}
- , /*decltype(_impl_.success_)*/false} {}
-struct CommandResponseDefaultTypeInternal {
- PROTOBUF_CONSTEXPR CommandResponseDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~CommandResponseDefaultTypeInternal() {}
- union {
- CommandResponse _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CommandResponseDefaultTypeInternal _CommandResponse_default_instance_;
-} // namespace imageloader
-namespace imageloader {
-bool MountCommand_FileSystem_IsValid(int value) {
- switch (value) {
- case 1:
- case 2:
- return true;
- default:
- return false;
- }
-}
-
-static ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<std::string> MountCommand_FileSystem_strings[2] = {};
-
-static const char MountCommand_FileSystem_names[] =
- "EXT4"
- "SQUASH";
-
-static const ::PROTOBUF_NAMESPACE_ID::internal::EnumEntry MountCommand_FileSystem_entries[] = {
- { {MountCommand_FileSystem_names + 0, 4}, 2 },
- { {MountCommand_FileSystem_names + 4, 6}, 1 },
-};
-
-static const int MountCommand_FileSystem_entries_by_number[] = {
- 1, // 1 -> SQUASH
- 0, // 2 -> EXT4
-};
-
-const std::string& MountCommand_FileSystem_Name(
- MountCommand_FileSystem value) {
- static const bool dummy =
- ::PROTOBUF_NAMESPACE_ID::internal::InitializeEnumStrings(
- MountCommand_FileSystem_entries,
- MountCommand_FileSystem_entries_by_number,
- 2, MountCommand_FileSystem_strings);
- (void) dummy;
- int idx = ::PROTOBUF_NAMESPACE_ID::internal::LookUpEnumName(
- MountCommand_FileSystem_entries,
- MountCommand_FileSystem_entries_by_number,
- 2, value);
- return idx == -1 ? ::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString() :
- MountCommand_FileSystem_strings[idx].get();
-}
-bool MountCommand_FileSystem_Parse(
- ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, MountCommand_FileSystem* value) {
- int int_value;
- bool success = ::PROTOBUF_NAMESPACE_ID::internal::LookUpEnumValue(
- MountCommand_FileSystem_entries, 2, name, &int_value);
- if (success) {
- *value = static_cast<MountCommand_FileSystem>(int_value);
- }
- return success;
-}
-#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
-constexpr MountCommand_FileSystem MountCommand::SQUASH;
-constexpr MountCommand_FileSystem MountCommand::EXT4;
-constexpr MountCommand_FileSystem MountCommand::FileSystem_MIN;
-constexpr MountCommand_FileSystem MountCommand::FileSystem_MAX;
-constexpr int MountCommand::FileSystem_ARRAYSIZE;
-#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
-
-// ===================================================================
-
-class ImageCommand::_Internal {
- public:
- static const ::imageloader::MountCommand& mount_command(const ImageCommand* msg);
- static const ::imageloader::UnmountAllCommand& unmount_all_command(const ImageCommand* msg);
- static const ::imageloader::UnmountCommand& unmount_command(const ImageCommand* msg);
-};
-
-const ::imageloader::MountCommand&
-ImageCommand::_Internal::mount_command(const ImageCommand* msg) {
- return *msg->_impl_.op_.mount_command_;
-}
-const ::imageloader::UnmountAllCommand&
-ImageCommand::_Internal::unmount_all_command(const ImageCommand* msg) {
- return *msg->_impl_.op_.unmount_all_command_;
-}
-const ::imageloader::UnmountCommand&
-ImageCommand::_Internal::unmount_command(const ImageCommand* msg) {
- return *msg->_impl_.op_.unmount_command_;
-}
-void ImageCommand::set_allocated_mount_command(::imageloader::MountCommand* mount_command) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
- clear_op();
- if (mount_command) {
- ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(mount_command);
- if (message_arena != submessage_arena) {
- mount_command = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
- message_arena, mount_command, submessage_arena);
- }
- set_has_mount_command();
- _impl_.op_.mount_command_ = mount_command;
- }
- // @@protoc_insertion_point(field_set_allocated:imageloader.ImageCommand.mount_command)
-}
-void ImageCommand::set_allocated_unmount_all_command(::imageloader::UnmountAllCommand* unmount_all_command) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
- clear_op();
- if (unmount_all_command) {
- ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(unmount_all_command);
- if (message_arena != submessage_arena) {
- unmount_all_command = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
- message_arena, unmount_all_command, submessage_arena);
- }
- set_has_unmount_all_command();
- _impl_.op_.unmount_all_command_ = unmount_all_command;
- }
- // @@protoc_insertion_point(field_set_allocated:imageloader.ImageCommand.unmount_all_command)
-}
-void ImageCommand::set_allocated_unmount_command(::imageloader::UnmountCommand* unmount_command) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
- clear_op();
- if (unmount_command) {
- ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(unmount_command);
- if (message_arena != submessage_arena) {
- unmount_command = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
- message_arena, unmount_command, submessage_arena);
- }
- set_has_unmount_command();
- _impl_.op_.unmount_command_ = unmount_command;
- }
- // @@protoc_insertion_point(field_set_allocated:imageloader.ImageCommand.unmount_command)
-}
-ImageCommand::ImageCommand(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
- SharedCtor(arena, is_message_owned);
- // @@protoc_insertion_point(arena_constructor:imageloader.ImageCommand)
-}
-ImageCommand::ImageCommand(const ImageCommand& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
- ImageCommand* const _this = this; (void)_this;
- new (&_impl_) Impl_{
- decltype(_impl_.op_){}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_._oneof_case_)*/{}};
-
- _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- clear_has_op();
- switch (from.op_case()) {
- case kMountCommand: {
- _this->_internal_mutable_mount_command()->::imageloader::MountCommand::MergeFrom(
- from._internal_mount_command());
- break;
- }
- case kUnmountAllCommand: {
- _this->_internal_mutable_unmount_all_command()->::imageloader::UnmountAllCommand::MergeFrom(
- from._internal_unmount_all_command());
- break;
- }
- case kUnmountCommand: {
- _this->_internal_mutable_unmount_command()->::imageloader::UnmountCommand::MergeFrom(
- from._internal_unmount_command());
- break;
- }
- case OP_NOT_SET: {
- break;
- }
- }
- // @@protoc_insertion_point(copy_constructor:imageloader.ImageCommand)
-}
-
-inline void ImageCommand::SharedCtor(
- ::_pb::Arena* arena, bool is_message_owned) {
- (void)arena;
- (void)is_message_owned;
- new (&_impl_) Impl_{
- decltype(_impl_.op_){}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_._oneof_case_)*/{}
- };
- clear_has_op();
-}
-
-ImageCommand::~ImageCommand() {
- // @@protoc_insertion_point(destructor:imageloader.ImageCommand)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
-}
-
-inline void ImageCommand::SharedDtor() {
- GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
- if (has_op()) {
- clear_op();
- }
-}
-
-void ImageCommand::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
-}
-
-void ImageCommand::clear_op() {
-// @@protoc_insertion_point(one_of_clear_start:imageloader.ImageCommand)
- switch (op_case()) {
- case kMountCommand: {
- if (GetArenaForAllocation() == nullptr) {
- delete _impl_.op_.mount_command_;
- }
- break;
- }
- case kUnmountAllCommand: {
- if (GetArenaForAllocation() == nullptr) {
- delete _impl_.op_.unmount_all_command_;
- }
- break;
- }
- case kUnmountCommand: {
- if (GetArenaForAllocation() == nullptr) {
- delete _impl_.op_.unmount_command_;
- }
- break;
- }
- case OP_NOT_SET: {
- break;
- }
- }
- _impl_._oneof_case_[0] = OP_NOT_SET;
-}
-
-
-void ImageCommand::Clear() {
-// @@protoc_insertion_point(message_clear_start:imageloader.ImageCommand)
- uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
-
- clear_op();
- _internal_metadata_.Clear<std::string>();
-}
-
-const char* ImageCommand::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
-#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- while (!ctx->Done(&ptr)) {
- uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // .imageloader.MountCommand mount_command = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
- ptr = ctx->ParseMessage(_internal_mutable_mount_command(), ptr);
- CHK_(ptr);
- } else
- goto handle_unusual;
- continue;
- // .imageloader.UnmountAllCommand unmount_all_command = 2;
- case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) {
- ptr = ctx->ParseMessage(_internal_mutable_unmount_all_command(), ptr);
- CHK_(ptr);
- } else
- goto handle_unusual;
- continue;
- // .imageloader.UnmountCommand unmount_command = 3;
- case 3:
- if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 26)) {
- ptr = ctx->ParseMessage(_internal_mutable_unmount_command(), ptr);
- CHK_(ptr);
- } else
- goto handle_unusual;
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
-message_done:
- return ptr;
-failure:
- ptr = nullptr;
- goto message_done;
-#undef CHK_
-}
-
-uint8_t* ImageCommand::_InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:imageloader.ImageCommand)
- uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
-
- switch (op_case()) {
- case kMountCommand: {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(1, _Internal::mount_command(this),
- _Internal::mount_command(this).GetCachedSize(), target, stream);
- break;
- }
- case kUnmountAllCommand: {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(2, _Internal::unmount_all_command(this),
- _Internal::unmount_all_command(this).GetCachedSize(), target, stream);
- break;
- }
- case kUnmountCommand: {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(3, _Internal::unmount_command(this),
- _Internal::unmount_command(this).GetCachedSize(), target, stream);
- break;
- }
- default: ;
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:imageloader.ImageCommand)
- return target;
-}
-
-size_t ImageCommand::ByteSizeLong() const {
-// @@protoc_insertion_point(message_byte_size_start:imageloader.ImageCommand)
- size_t total_size = 0;
-
- uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
-
- switch (op_case()) {
- // .imageloader.MountCommand mount_command = 1;
- case kMountCommand: {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *_impl_.op_.mount_command_);
- break;
- }
- // .imageloader.UnmountAllCommand unmount_all_command = 2;
- case kUnmountAllCommand: {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *_impl_.op_.unmount_all_command_);
- break;
- }
- // .imageloader.UnmountCommand unmount_command = 3;
- case kUnmountCommand: {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *_impl_.op_.unmount_command_);
- break;
- }
- case OP_NOT_SET: {
- break;
- }
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
-}
-
-void ImageCommand::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const ImageCommand*>(
- &from));
-}
-
-void ImageCommand::MergeFrom(const ImageCommand& from) {
- ImageCommand* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:imageloader.ImageCommand)
- GOOGLE_DCHECK_NE(&from, _this);
- uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
-
- switch (from.op_case()) {
- case kMountCommand: {
- _this->_internal_mutable_mount_command()->::imageloader::MountCommand::MergeFrom(
- from._internal_mount_command());
- break;
- }
- case kUnmountAllCommand: {
- _this->_internal_mutable_unmount_all_command()->::imageloader::UnmountAllCommand::MergeFrom(
- from._internal_unmount_all_command());
- break;
- }
- case kUnmountCommand: {
- _this->_internal_mutable_unmount_command()->::imageloader::UnmountCommand::MergeFrom(
- from._internal_unmount_command());
- break;
- }
- case OP_NOT_SET: {
- break;
- }
- }
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
-}
-
-void ImageCommand::CopyFrom(const ImageCommand& from) {
-// @@protoc_insertion_point(class_specific_copy_from_start:imageloader.ImageCommand)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
-}
-
-bool ImageCommand::IsInitialized() const {
- switch (op_case()) {
- case kMountCommand: {
- if (_internal_has_mount_command()) {
- if (!_impl_.op_.mount_command_->IsInitialized()) return false;
- }
- break;
- }
- case kUnmountAllCommand: {
- if (_internal_has_unmount_all_command()) {
- if (!_impl_.op_.unmount_all_command_->IsInitialized()) return false;
- }
- break;
- }
- case kUnmountCommand: {
- if (_internal_has_unmount_command()) {
- if (!_impl_.op_.unmount_command_->IsInitialized()) return false;
- }
- break;
- }
- case OP_NOT_SET: {
- break;
- }
- }
- return true;
-}
-
-void ImageCommand::InternalSwap(ImageCommand* other) {
- using std::swap;
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_impl_.op_, other->_impl_.op_);
- swap(_impl_._oneof_case_[0], other->_impl_._oneof_case_[0]);
-}
-
-std::string ImageCommand::GetTypeName() const {
- return "imageloader.ImageCommand";
-}
-
-
-// ===================================================================
-
-class MountCommand::_Internal {
- public:
- using HasBits = decltype(std::declval<MountCommand>()._impl_._has_bits_);
- static void set_has_mount_path(HasBits* has_bits) {
- (*has_bits)[0] |= 1u;
- }
- static void set_has_table(HasBits* has_bits) {
- (*has_bits)[0] |= 2u;
- }
- static void set_has_fs_type(HasBits* has_bits) {
- (*has_bits)[0] |= 4u;
- }
- static bool MissingRequiredFields(const HasBits& has_bits) {
- return ((has_bits[0] & 0x00000007) ^ 0x00000007) != 0;
- }
-};
-
-MountCommand::MountCommand(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
- SharedCtor(arena, is_message_owned);
- // @@protoc_insertion_point(arena_constructor:imageloader.MountCommand)
-}
-MountCommand::MountCommand(const MountCommand& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
- MountCommand* const _this = this; (void)_this;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){from._impl_._has_bits_}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.mount_path_){}
- , decltype(_impl_.table_){}
- , decltype(_impl_.fs_type_){}};
-
- _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- _impl_.mount_path_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.mount_path_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (from._internal_has_mount_path()) {
- _this->_impl_.mount_path_.Set(from._internal_mount_path(),
- _this->GetArenaForAllocation());
- }
- _impl_.table_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.table_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (from._internal_has_table()) {
- _this->_impl_.table_.Set(from._internal_table(),
- _this->GetArenaForAllocation());
- }
- _this->_impl_.fs_type_ = from._impl_.fs_type_;
- // @@protoc_insertion_point(copy_constructor:imageloader.MountCommand)
-}
-
-inline void MountCommand::SharedCtor(
- ::_pb::Arena* arena, bool is_message_owned) {
- (void)arena;
- (void)is_message_owned;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.mount_path_){}
- , decltype(_impl_.table_){}
- , decltype(_impl_.fs_type_){1}
- };
- _impl_.mount_path_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.mount_path_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.table_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.table_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
-}
-
-MountCommand::~MountCommand() {
- // @@protoc_insertion_point(destructor:imageloader.MountCommand)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
-}
-
-inline void MountCommand::SharedDtor() {
- GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
- _impl_.mount_path_.Destroy();
- _impl_.table_.Destroy();
-}
-
-void MountCommand::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
-}
-
-void MountCommand::Clear() {
-// @@protoc_insertion_point(message_clear_start:imageloader.MountCommand)
- uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
-
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000007u) {
- if (cached_has_bits & 0x00000001u) {
- _impl_.mount_path_.ClearNonDefaultToEmpty();
- }
- if (cached_has_bits & 0x00000002u) {
- _impl_.table_.ClearNonDefaultToEmpty();
- }
- _impl_.fs_type_ = 1;
- }
- _impl_._has_bits_.Clear();
- _internal_metadata_.Clear<std::string>();
-}
-
-const char* MountCommand::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
-#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- _Internal::HasBits has_bits{};
- while (!ctx->Done(&ptr)) {
- uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // required string mount_path = 2;
- case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) {
- auto str = _internal_mutable_mount_path();
- ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
- CHK_(ptr);
- } else
- goto handle_unusual;
- continue;
- // required string table = 3;
- case 3:
- if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 26)) {
- auto str = _internal_mutable_table();
- ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
- CHK_(ptr);
- } else
- goto handle_unusual;
- continue;
- // required .imageloader.MountCommand.FileSystem fs_type = 4 [default = SQUASH];
- case 4:
- if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 32)) {
- uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
- CHK_(ptr);
- if (PROTOBUF_PREDICT_TRUE(::imageloader::MountCommand_FileSystem_IsValid(val))) {
- _internal_set_fs_type(static_cast<::imageloader::MountCommand_FileSystem>(val));
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(4, val, mutable_unknown_fields());
- }
- } else
- goto handle_unusual;
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
-message_done:
- _impl_._has_bits_.Or(has_bits);
- return ptr;
-failure:
- ptr = nullptr;
- goto message_done;
-#undef CHK_
-}
-
-uint8_t* MountCommand::_InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:imageloader.MountCommand)
- uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
-
- cached_has_bits = _impl_._has_bits_[0];
- // required string mount_path = 2;
- if (cached_has_bits & 0x00000001u) {
- target = stream->WriteStringMaybeAliased(
- 2, this->_internal_mount_path(), target);
- }
-
- // required string table = 3;
- if (cached_has_bits & 0x00000002u) {
- target = stream->WriteStringMaybeAliased(
- 3, this->_internal_table(), target);
- }
-
- // required .imageloader.MountCommand.FileSystem fs_type = 4 [default = SQUASH];
- if (cached_has_bits & 0x00000004u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteEnumToArray(
- 4, this->_internal_fs_type(), target);
- }
-
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:imageloader.MountCommand)
- return target;
-}
-
-size_t MountCommand::RequiredFieldsByteSizeFallback() const {
-// @@protoc_insertion_point(required_fields_byte_size_fallback_start:imageloader.MountCommand)
- size_t total_size = 0;
-
- if (_internal_has_mount_path()) {
- // required string mount_path = 2;
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
- this->_internal_mount_path());
- }
-
- if (_internal_has_table()) {
- // required string table = 3;
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
- this->_internal_table());
- }
-
- if (_internal_has_fs_type()) {
- // required .imageloader.MountCommand.FileSystem fs_type = 4 [default = SQUASH];
- total_size += 1 +
- ::_pbi::WireFormatLite::EnumSize(this->_internal_fs_type());
- }
-
- return total_size;
-}
-size_t MountCommand::ByteSizeLong() const {
-// @@protoc_insertion_point(message_byte_size_start:imageloader.MountCommand)
- size_t total_size = 0;
-
- if (((_impl_._has_bits_[0] & 0x00000007) ^ 0x00000007) == 0) { // All required fields are present.
- // required string mount_path = 2;
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
- this->_internal_mount_path());
-
- // required string table = 3;
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
- this->_internal_table());
-
- // required .imageloader.MountCommand.FileSystem fs_type = 4 [default = SQUASH];
- total_size += 1 +
- ::_pbi::WireFormatLite::EnumSize(this->_internal_fs_type());
-
- } else {
- total_size += RequiredFieldsByteSizeFallback();
- }
- uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
-
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
-}
-
-void MountCommand::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const MountCommand*>(
- &from));
-}
-
-void MountCommand::MergeFrom(const MountCommand& from) {
- MountCommand* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:imageloader.MountCommand)
- GOOGLE_DCHECK_NE(&from, _this);
- uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
-
- cached_has_bits = from._impl_._has_bits_[0];
- if (cached_has_bits & 0x00000007u) {
- if (cached_has_bits & 0x00000001u) {
- _this->_internal_set_mount_path(from._internal_mount_path());
- }
- if (cached_has_bits & 0x00000002u) {
- _this->_internal_set_table(from._internal_table());
- }
- if (cached_has_bits & 0x00000004u) {
- _this->_impl_.fs_type_ = from._impl_.fs_type_;
- }
- _this->_impl_._has_bits_[0] |= cached_has_bits;
- }
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
-}
-
-void MountCommand::CopyFrom(const MountCommand& from) {
-// @@protoc_insertion_point(class_specific_copy_from_start:imageloader.MountCommand)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
-}
-
-bool MountCommand::IsInitialized() const {
- if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false;
- return true;
-}
-
-void MountCommand::InternalSwap(MountCommand* other) {
- using std::swap;
- auto* lhs_arena = GetArenaForAllocation();
- auto* rhs_arena = other->GetArenaForAllocation();
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &_impl_.mount_path_, lhs_arena,
- &other->_impl_.mount_path_, rhs_arena
- );
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &_impl_.table_, lhs_arena,
- &other->_impl_.table_, rhs_arena
- );
- swap(_impl_.fs_type_, other->_impl_.fs_type_);
-}
-
-std::string MountCommand::GetTypeName() const {
- return "imageloader.MountCommand";
-}
-
-
-// ===================================================================
-
-class UnmountAllCommand::_Internal {
- public:
- using HasBits = decltype(std::declval<UnmountAllCommand>()._impl_._has_bits_);
- static void set_has_dry_run(HasBits* has_bits) {
- (*has_bits)[0] |= 2u;
- }
- static void set_has_unmount_rootpath(HasBits* has_bits) {
- (*has_bits)[0] |= 1u;
- }
- static bool MissingRequiredFields(const HasBits& has_bits) {
- return ((has_bits[0] & 0x00000003) ^ 0x00000003) != 0;
- }
-};
-
-UnmountAllCommand::UnmountAllCommand(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
- SharedCtor(arena, is_message_owned);
- // @@protoc_insertion_point(arena_constructor:imageloader.UnmountAllCommand)
-}
-UnmountAllCommand::UnmountAllCommand(const UnmountAllCommand& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
- UnmountAllCommand* const _this = this; (void)_this;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){from._impl_._has_bits_}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.unmount_rootpath_){}
- , decltype(_impl_.dry_run_){}};
-
- _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- _impl_.unmount_rootpath_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.unmount_rootpath_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (from._internal_has_unmount_rootpath()) {
- _this->_impl_.unmount_rootpath_.Set(from._internal_unmount_rootpath(),
- _this->GetArenaForAllocation());
- }
- _this->_impl_.dry_run_ = from._impl_.dry_run_;
- // @@protoc_insertion_point(copy_constructor:imageloader.UnmountAllCommand)
-}
-
-inline void UnmountAllCommand::SharedCtor(
- ::_pb::Arena* arena, bool is_message_owned) {
- (void)arena;
- (void)is_message_owned;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.unmount_rootpath_){}
- , decltype(_impl_.dry_run_){true}
- };
- _impl_.unmount_rootpath_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.unmount_rootpath_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
-}
-
-UnmountAllCommand::~UnmountAllCommand() {
- // @@protoc_insertion_point(destructor:imageloader.UnmountAllCommand)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
-}
-
-inline void UnmountAllCommand::SharedDtor() {
- GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
- _impl_.unmount_rootpath_.Destroy();
-}
-
-void UnmountAllCommand::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
-}
-
-void UnmountAllCommand::Clear() {
-// @@protoc_insertion_point(message_clear_start:imageloader.UnmountAllCommand)
- uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
-
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000003u) {
- if (cached_has_bits & 0x00000001u) {
- _impl_.unmount_rootpath_.ClearNonDefaultToEmpty();
- }
- _impl_.dry_run_ = true;
- }
- _impl_._has_bits_.Clear();
- _internal_metadata_.Clear<std::string>();
-}
-
-const char* UnmountAllCommand::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
-#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- _Internal::HasBits has_bits{};
- while (!ctx->Done(&ptr)) {
- uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // required bool dry_run = 5 [default = true];
- case 5:
- if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 40)) {
- _Internal::set_has_dry_run(&has_bits);
- _impl_.dry_run_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
- CHK_(ptr);
- } else
- goto handle_unusual;
- continue;
- // required string unmount_rootpath = 6;
- case 6:
- if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 50)) {
- auto str = _internal_mutable_unmount_rootpath();
- ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
- CHK_(ptr);
- } else
- goto handle_unusual;
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
-message_done:
- _impl_._has_bits_.Or(has_bits);
- return ptr;
-failure:
- ptr = nullptr;
- goto message_done;
-#undef CHK_
-}
-
-uint8_t* UnmountAllCommand::_InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:imageloader.UnmountAllCommand)
- uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
-
- cached_has_bits = _impl_._has_bits_[0];
- // required bool dry_run = 5 [default = true];
- if (cached_has_bits & 0x00000002u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteBoolToArray(5, this->_internal_dry_run(), target);
- }
-
- // required string unmount_rootpath = 6;
- if (cached_has_bits & 0x00000001u) {
- target = stream->WriteStringMaybeAliased(
- 6, this->_internal_unmount_rootpath(), target);
- }
-
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:imageloader.UnmountAllCommand)
- return target;
-}
-
-size_t UnmountAllCommand::RequiredFieldsByteSizeFallback() const {
-// @@protoc_insertion_point(required_fields_byte_size_fallback_start:imageloader.UnmountAllCommand)
- size_t total_size = 0;
-
- if (_internal_has_unmount_rootpath()) {
- // required string unmount_rootpath = 6;
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
- this->_internal_unmount_rootpath());
- }
-
- if (_internal_has_dry_run()) {
- // required bool dry_run = 5 [default = true];
- total_size += 1 + 1;
- }
-
- return total_size;
-}
-size_t UnmountAllCommand::ByteSizeLong() const {
-// @@protoc_insertion_point(message_byte_size_start:imageloader.UnmountAllCommand)
- size_t total_size = 0;
-
- if (((_impl_._has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) { // All required fields are present.
- // required string unmount_rootpath = 6;
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
- this->_internal_unmount_rootpath());
-
- // required bool dry_run = 5 [default = true];
- total_size += 1 + 1;
-
- } else {
- total_size += RequiredFieldsByteSizeFallback();
- }
- uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
-
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
-}
-
-void UnmountAllCommand::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const UnmountAllCommand*>(
- &from));
-}
-
-void UnmountAllCommand::MergeFrom(const UnmountAllCommand& from) {
- UnmountAllCommand* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:imageloader.UnmountAllCommand)
- GOOGLE_DCHECK_NE(&from, _this);
- uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
-
- cached_has_bits = from._impl_._has_bits_[0];
- if (cached_has_bits & 0x00000003u) {
- if (cached_has_bits & 0x00000001u) {
- _this->_internal_set_unmount_rootpath(from._internal_unmount_rootpath());
- }
- if (cached_has_bits & 0x00000002u) {
- _this->_impl_.dry_run_ = from._impl_.dry_run_;
- }
- _this->_impl_._has_bits_[0] |= cached_has_bits;
- }
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
-}
-
-void UnmountAllCommand::CopyFrom(const UnmountAllCommand& from) {
-// @@protoc_insertion_point(class_specific_copy_from_start:imageloader.UnmountAllCommand)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
-}
-
-bool UnmountAllCommand::IsInitialized() const {
- if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false;
- return true;
-}
-
-void UnmountAllCommand::InternalSwap(UnmountAllCommand* other) {
- using std::swap;
- auto* lhs_arena = GetArenaForAllocation();
- auto* rhs_arena = other->GetArenaForAllocation();
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &_impl_.unmount_rootpath_, lhs_arena,
- &other->_impl_.unmount_rootpath_, rhs_arena
- );
- swap(_impl_.dry_run_, other->_impl_.dry_run_);
-}
-
-std::string UnmountAllCommand::GetTypeName() const {
- return "imageloader.UnmountAllCommand";
-}
-
-
-// ===================================================================
-
-class UnmountCommand::_Internal {
- public:
- using HasBits = decltype(std::declval<UnmountCommand>()._impl_._has_bits_);
- static void set_has_unmount_path(HasBits* has_bits) {
- (*has_bits)[0] |= 1u;
- }
- static bool MissingRequiredFields(const HasBits& has_bits) {
- return ((has_bits[0] & 0x00000001) ^ 0x00000001) != 0;
- }
-};
-
-UnmountCommand::UnmountCommand(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
- SharedCtor(arena, is_message_owned);
- // @@protoc_insertion_point(arena_constructor:imageloader.UnmountCommand)
-}
-UnmountCommand::UnmountCommand(const UnmountCommand& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
- UnmountCommand* const _this = this; (void)_this;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){from._impl_._has_bits_}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.unmount_path_){}};
-
- _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- _impl_.unmount_path_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.unmount_path_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (from._internal_has_unmount_path()) {
- _this->_impl_.unmount_path_.Set(from._internal_unmount_path(),
- _this->GetArenaForAllocation());
- }
- // @@protoc_insertion_point(copy_constructor:imageloader.UnmountCommand)
-}
-
-inline void UnmountCommand::SharedCtor(
- ::_pb::Arena* arena, bool is_message_owned) {
- (void)arena;
- (void)is_message_owned;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.unmount_path_){}
- };
- _impl_.unmount_path_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.unmount_path_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
-}
-
-UnmountCommand::~UnmountCommand() {
- // @@protoc_insertion_point(destructor:imageloader.UnmountCommand)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
-}
-
-inline void UnmountCommand::SharedDtor() {
- GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
- _impl_.unmount_path_.Destroy();
-}
-
-void UnmountCommand::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
-}
-
-void UnmountCommand::Clear() {
-// @@protoc_insertion_point(message_clear_start:imageloader.UnmountCommand)
- uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
-
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000001u) {
- _impl_.unmount_path_.ClearNonDefaultToEmpty();
- }
- _impl_._has_bits_.Clear();
- _internal_metadata_.Clear<std::string>();
-}
-
-const char* UnmountCommand::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
-#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- _Internal::HasBits has_bits{};
- while (!ctx->Done(&ptr)) {
- uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // required string unmount_path = 7;
- case 7:
- if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 58)) {
- auto str = _internal_mutable_unmount_path();
- ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
- CHK_(ptr);
- } else
- goto handle_unusual;
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
-message_done:
- _impl_._has_bits_.Or(has_bits);
- return ptr;
-failure:
- ptr = nullptr;
- goto message_done;
-#undef CHK_
-}
-
-uint8_t* UnmountCommand::_InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:imageloader.UnmountCommand)
- uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
-
- cached_has_bits = _impl_._has_bits_[0];
- // required string unmount_path = 7;
- if (cached_has_bits & 0x00000001u) {
- target = stream->WriteStringMaybeAliased(
- 7, this->_internal_unmount_path(), target);
- }
-
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:imageloader.UnmountCommand)
- return target;
-}
-
-size_t UnmountCommand::ByteSizeLong() const {
-// @@protoc_insertion_point(message_byte_size_start:imageloader.UnmountCommand)
- size_t total_size = 0;
-
- // required string unmount_path = 7;
- if (_internal_has_unmount_path()) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
- this->_internal_unmount_path());
- }
- uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
-
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
-}
-
-void UnmountCommand::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const UnmountCommand*>(
- &from));
-}
-
-void UnmountCommand::MergeFrom(const UnmountCommand& from) {
- UnmountCommand* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:imageloader.UnmountCommand)
- GOOGLE_DCHECK_NE(&from, _this);
- uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
-
- if (from._internal_has_unmount_path()) {
- _this->_internal_set_unmount_path(from._internal_unmount_path());
- }
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
-}
-
-void UnmountCommand::CopyFrom(const UnmountCommand& from) {
-// @@protoc_insertion_point(class_specific_copy_from_start:imageloader.UnmountCommand)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
-}
-
-bool UnmountCommand::IsInitialized() const {
- if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false;
- return true;
-}
-
-void UnmountCommand::InternalSwap(UnmountCommand* other) {
- using std::swap;
- auto* lhs_arena = GetArenaForAllocation();
- auto* rhs_arena = other->GetArenaForAllocation();
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &_impl_.unmount_path_, lhs_arena,
- &other->_impl_.unmount_path_, rhs_arena
- );
-}
-
-std::string UnmountCommand::GetTypeName() const {
- return "imageloader.UnmountCommand";
-}
-
-
-// ===================================================================
-
-class CommandResponse::_Internal {
- public:
- using HasBits = decltype(std::declval<CommandResponse>()._impl_._has_bits_);
- static void set_has_success(HasBits* has_bits) {
- (*has_bits)[0] |= 1u;
- }
- static bool MissingRequiredFields(const HasBits& has_bits) {
- return ((has_bits[0] & 0x00000001) ^ 0x00000001) != 0;
- }
-};
-
-CommandResponse::CommandResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
- SharedCtor(arena, is_message_owned);
- // @@protoc_insertion_point(arena_constructor:imageloader.CommandResponse)
-}
-CommandResponse::CommandResponse(const CommandResponse& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
- CommandResponse* const _this = this; (void)_this;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){from._impl_._has_bits_}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.paths_){from._impl_.paths_}
- , decltype(_impl_.success_){}};
-
- _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- _this->_impl_.success_ = from._impl_.success_;
- // @@protoc_insertion_point(copy_constructor:imageloader.CommandResponse)
-}
-
-inline void CommandResponse::SharedCtor(
- ::_pb::Arena* arena, bool is_message_owned) {
- (void)arena;
- (void)is_message_owned;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.paths_){arena}
- , decltype(_impl_.success_){false}
- };
-}
-
-CommandResponse::~CommandResponse() {
- // @@protoc_insertion_point(destructor:imageloader.CommandResponse)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
-}
-
-inline void CommandResponse::SharedDtor() {
- GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
- _impl_.paths_.~RepeatedPtrField();
-}
-
-void CommandResponse::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
-}
-
-void CommandResponse::Clear() {
-// @@protoc_insertion_point(message_clear_start:imageloader.CommandResponse)
- uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
-
- _impl_.paths_.Clear();
- _impl_.success_ = false;
- _impl_._has_bits_.Clear();
- _internal_metadata_.Clear<std::string>();
-}
-
-const char* CommandResponse::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
-#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- _Internal::HasBits has_bits{};
- while (!ctx->Done(&ptr)) {
- uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // required bool success = 1 [default = false];
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 8)) {
- _Internal::set_has_success(&has_bits);
- _impl_.success_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
- CHK_(ptr);
- } else
- goto handle_unusual;
- continue;
- // repeated string paths = 2;
- case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) {
- ptr -= 1;
- do {
- ptr += 1;
- auto str = _internal_add_paths();
- ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
- CHK_(ptr);
- if (!ctx->DataAvailable(ptr)) break;
- } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr));
- } else
- goto handle_unusual;
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
-message_done:
- _impl_._has_bits_.Or(has_bits);
- return ptr;
-failure:
- ptr = nullptr;
- goto message_done;
-#undef CHK_
-}
-
-uint8_t* CommandResponse::_InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:imageloader.CommandResponse)
- uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
-
- cached_has_bits = _impl_._has_bits_[0];
- // required bool success = 1 [default = false];
- if (cached_has_bits & 0x00000001u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteBoolToArray(1, this->_internal_success(), target);
- }
-
- // repeated string paths = 2;
- for (int i = 0, n = this->_internal_paths_size(); i < n; i++) {
- const auto& s = this->_internal_paths(i);
- target = stream->WriteString(2, s, target);
- }
-
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:imageloader.CommandResponse)
- return target;
-}
-
-size_t CommandResponse::ByteSizeLong() const {
-// @@protoc_insertion_point(message_byte_size_start:imageloader.CommandResponse)
- size_t total_size = 0;
-
- // required bool success = 1 [default = false];
- if (_internal_has_success()) {
- total_size += 1 + 1;
- }
- uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
-
- // repeated string paths = 2;
- total_size += 1 *
- ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(_impl_.paths_.size());
- for (int i = 0, n = _impl_.paths_.size(); i < n; i++) {
- total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
- _impl_.paths_.Get(i));
- }
-
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
-}
-
-void CommandResponse::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const CommandResponse*>(
- &from));
-}
-
-void CommandResponse::MergeFrom(const CommandResponse& from) {
- CommandResponse* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:imageloader.CommandResponse)
- GOOGLE_DCHECK_NE(&from, _this);
- uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
-
- _this->_impl_.paths_.MergeFrom(from._impl_.paths_);
- if (from._internal_has_success()) {
- _this->_internal_set_success(from._internal_success());
- }
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
-}
-
-void CommandResponse::CopyFrom(const CommandResponse& from) {
-// @@protoc_insertion_point(class_specific_copy_from_start:imageloader.CommandResponse)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
-}
-
-bool CommandResponse::IsInitialized() const {
- if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false;
- return true;
-}
-
-void CommandResponse::InternalSwap(CommandResponse* other) {
- using std::swap;
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
- _impl_.paths_.InternalSwap(&other->_impl_.paths_);
- swap(_impl_.success_, other->_impl_.success_);
-}
-
-std::string CommandResponse::GetTypeName() const {
- return "imageloader.CommandResponse";
-}
-
-
-// @@protoc_insertion_point(namespace_scope)
-} // namespace imageloader
-PROTOBUF_NAMESPACE_OPEN
-template<> PROTOBUF_NOINLINE ::imageloader::ImageCommand*
-Arena::CreateMaybeMessage< ::imageloader::ImageCommand >(Arena* arena) {
- return Arena::CreateMessageInternal< ::imageloader::ImageCommand >(arena);
-}
-template<> PROTOBUF_NOINLINE ::imageloader::MountCommand*
-Arena::CreateMaybeMessage< ::imageloader::MountCommand >(Arena* arena) {
- return Arena::CreateMessageInternal< ::imageloader::MountCommand >(arena);
-}
-template<> PROTOBUF_NOINLINE ::imageloader::UnmountAllCommand*
-Arena::CreateMaybeMessage< ::imageloader::UnmountAllCommand >(Arena* arena) {
- return Arena::CreateMessageInternal< ::imageloader::UnmountAllCommand >(arena);
-}
-template<> PROTOBUF_NOINLINE ::imageloader::UnmountCommand*
-Arena::CreateMaybeMessage< ::imageloader::UnmountCommand >(Arena* arena) {
- return Arena::CreateMessageInternal< ::imageloader::UnmountCommand >(arena);
-}
-template<> PROTOBUF_NOINLINE ::imageloader::CommandResponse*
-Arena::CreateMaybeMessage< ::imageloader::CommandResponse >(Arena* arena) {
- return Arena::CreateMessageInternal< ::imageloader::CommandResponse >(arena);
-}
-PROTOBUF_NAMESPACE_CLOSE
-
-// @@protoc_insertion_point(global_scope)
-#include <google/protobuf/port_undef.inc>
diff --git a/chroot/var/cache/portage/chromeos-base/imageloader/out/Default/gen/include/imageloader/ipc.pb.h b/chroot/var/cache/portage/chromeos-base/imageloader/out/Default/gen/include/imageloader/ipc.pb.h
deleted file mode 100644
index 35f1a9a..0000000
--- a/chroot/var/cache/portage/chromeos-base/imageloader/out/Default/gen/include/imageloader/ipc.pb.h
+++ /dev/null
@@ -1,1703 +0,0 @@
-// Generated by the protocol buffer compiler. DO NOT EDIT!
-// source: ipc.proto
-
-#ifndef GOOGLE_PROTOBUF_INCLUDED_ipc_2eproto
-#define GOOGLE_PROTOBUF_INCLUDED_ipc_2eproto
-
-#include <limits>
-#include <string>
-
-#include <google/protobuf/port_def.inc>
-#if PROTOBUF_VERSION < 3021000
-#error This file was generated by a newer version of protoc which is
-#error incompatible with your Protocol Buffer headers. Please update
-#error your headers.
-#endif
-#if 3021009 < PROTOBUF_MIN_PROTOC_VERSION
-#error This file was generated by an older version of protoc which is
-#error incompatible with your Protocol Buffer headers. Please
-#error regenerate this file with a newer version of protoc.
-#endif
-
-#include <google/protobuf/port_undef.inc>
-#include <google/protobuf/io/coded_stream.h>
-#include <google/protobuf/arena.h>
-#include <google/protobuf/arenastring.h>
-#include <google/protobuf/generated_message_util.h>
-#include <google/protobuf/metadata_lite.h>
-#include <google/protobuf/message_lite.h>
-#include <google/protobuf/repeated_field.h> // IWYU pragma: export
-#include <google/protobuf/extension_set.h> // IWYU pragma: export
-#include <google/protobuf/generated_enum_util.h>
-// @@protoc_insertion_point(includes)
-#include <google/protobuf/port_def.inc>
-#define PROTOBUF_INTERNAL_EXPORT_ipc_2eproto
-PROTOBUF_NAMESPACE_OPEN
-namespace internal {
-class AnyMetadata;
-} // namespace internal
-PROTOBUF_NAMESPACE_CLOSE
-
-// Internal implementation detail -- do not use these members.
-struct TableStruct_ipc_2eproto {
- static const uint32_t offsets[];
-};
-namespace imageloader {
-class CommandResponse;
-struct CommandResponseDefaultTypeInternal;
-extern CommandResponseDefaultTypeInternal _CommandResponse_default_instance_;
-class ImageCommand;
-struct ImageCommandDefaultTypeInternal;
-extern ImageCommandDefaultTypeInternal _ImageCommand_default_instance_;
-class MountCommand;
-struct MountCommandDefaultTypeInternal;
-extern MountCommandDefaultTypeInternal _MountCommand_default_instance_;
-class UnmountAllCommand;
-struct UnmountAllCommandDefaultTypeInternal;
-extern UnmountAllCommandDefaultTypeInternal _UnmountAllCommand_default_instance_;
-class UnmountCommand;
-struct UnmountCommandDefaultTypeInternal;
-extern UnmountCommandDefaultTypeInternal _UnmountCommand_default_instance_;
-} // namespace imageloader
-PROTOBUF_NAMESPACE_OPEN
-template<> ::imageloader::CommandResponse* Arena::CreateMaybeMessage<::imageloader::CommandResponse>(Arena*);
-template<> ::imageloader::ImageCommand* Arena::CreateMaybeMessage<::imageloader::ImageCommand>(Arena*);
-template<> ::imageloader::MountCommand* Arena::CreateMaybeMessage<::imageloader::MountCommand>(Arena*);
-template<> ::imageloader::UnmountAllCommand* Arena::CreateMaybeMessage<::imageloader::UnmountAllCommand>(Arena*);
-template<> ::imageloader::UnmountCommand* Arena::CreateMaybeMessage<::imageloader::UnmountCommand>(Arena*);
-PROTOBUF_NAMESPACE_CLOSE
-namespace imageloader {
-
-enum MountCommand_FileSystem : int {
- MountCommand_FileSystem_SQUASH = 1,
- MountCommand_FileSystem_EXT4 = 2
-};
-bool MountCommand_FileSystem_IsValid(int value);
-constexpr MountCommand_FileSystem MountCommand_FileSystem_FileSystem_MIN = MountCommand_FileSystem_SQUASH;
-constexpr MountCommand_FileSystem MountCommand_FileSystem_FileSystem_MAX = MountCommand_FileSystem_EXT4;
-constexpr int MountCommand_FileSystem_FileSystem_ARRAYSIZE = MountCommand_FileSystem_FileSystem_MAX + 1;
-
-const std::string& MountCommand_FileSystem_Name(MountCommand_FileSystem value);
-template<typename T>
-inline const std::string& MountCommand_FileSystem_Name(T enum_t_value) {
- static_assert(::std::is_same<T, MountCommand_FileSystem>::value ||
- ::std::is_integral<T>::value,
- "Incorrect type passed to function MountCommand_FileSystem_Name.");
- return MountCommand_FileSystem_Name(static_cast<MountCommand_FileSystem>(enum_t_value));
-}
-bool MountCommand_FileSystem_Parse(
- ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, MountCommand_FileSystem* value);
-// ===================================================================
-
-class ImageCommand final :
- public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:imageloader.ImageCommand) */ {
- public:
- inline ImageCommand() : ImageCommand(nullptr) {}
- ~ImageCommand() override;
- explicit PROTOBUF_CONSTEXPR ImageCommand(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
-
- ImageCommand(const ImageCommand& from);
- ImageCommand(ImageCommand&& from) noexcept
- : ImageCommand() {
- *this = ::std::move(from);
- }
-
- inline ImageCommand& operator=(const ImageCommand& from) {
- CopyFrom(from);
- return *this;
- }
- inline ImageCommand& operator=(ImageCommand&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
-
- inline const std::string& unknown_fields() const {
- return _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString);
- }
- inline std::string* mutable_unknown_fields() {
- return _internal_metadata_.mutable_unknown_fields<std::string>();
- }
-
- static const ImageCommand& default_instance() {
- return *internal_default_instance();
- }
- enum OpCase {
- kMountCommand = 1,
- kUnmountAllCommand = 2,
- kUnmountCommand = 3,
- OP_NOT_SET = 0,
- };
-
- static inline const ImageCommand* internal_default_instance() {
- return reinterpret_cast<const ImageCommand*>(
- &_ImageCommand_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 0;
-
- friend void swap(ImageCommand& a, ImageCommand& b) {
- a.Swap(&b);
- }
- inline void Swap(ImageCommand* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(ImageCommand* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
-
- // implements Message ----------------------------------------------
-
- ImageCommand* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<ImageCommand>(arena);
- }
- void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
- void CopyFrom(const ImageCommand& from);
- void MergeFrom(const ImageCommand& from);
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
-
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
-
- private:
- void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
- void SharedDtor();
- void SetCachedSize(int size) const;
- void InternalSwap(ImageCommand* other);
-
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "imageloader.ImageCommand";
- }
- protected:
- explicit ImageCommand(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- public:
-
- std::string GetTypeName() const final;
-
- // nested types ----------------------------------------------------
-
- // accessors -------------------------------------------------------
-
- enum : int {
- kMountCommandFieldNumber = 1,
- kUnmountAllCommandFieldNumber = 2,
- kUnmountCommandFieldNumber = 3,
- };
- // .imageloader.MountCommand mount_command = 1;
- bool has_mount_command() const;
- private:
- bool _internal_has_mount_command() const;
- public:
- void clear_mount_command();
- const ::imageloader::MountCommand& mount_command() const;
- PROTOBUF_NODISCARD ::imageloader::MountCommand* release_mount_command();
- ::imageloader::MountCommand* mutable_mount_command();
- void set_allocated_mount_command(::imageloader::MountCommand* mount_command);
- private:
- const ::imageloader::MountCommand& _internal_mount_command() const;
- ::imageloader::MountCommand* _internal_mutable_mount_command();
- public:
- void unsafe_arena_set_allocated_mount_command(
- ::imageloader::MountCommand* mount_command);
- ::imageloader::MountCommand* unsafe_arena_release_mount_command();
-
- // .imageloader.UnmountAllCommand unmount_all_command = 2;
- bool has_unmount_all_command() const;
- private:
- bool _internal_has_unmount_all_command() const;
- public:
- void clear_unmount_all_command();
- const ::imageloader::UnmountAllCommand& unmount_all_command() const;
- PROTOBUF_NODISCARD ::imageloader::UnmountAllCommand* release_unmount_all_command();
- ::imageloader::UnmountAllCommand* mutable_unmount_all_command();
- void set_allocated_unmount_all_command(::imageloader::UnmountAllCommand* unmount_all_command);
- private:
- const ::imageloader::UnmountAllCommand& _internal_unmount_all_command() const;
- ::imageloader::UnmountAllCommand* _internal_mutable_unmount_all_command();
- public:
- void unsafe_arena_set_allocated_unmount_all_command(
- ::imageloader::UnmountAllCommand* unmount_all_command);
- ::imageloader::UnmountAllCommand* unsafe_arena_release_unmount_all_command();
-
- // .imageloader.UnmountCommand unmount_command = 3;
- bool has_unmount_command() const;
- private:
- bool _internal_has_unmount_command() const;
- public:
- void clear_unmount_command();
- const ::imageloader::UnmountCommand& unmount_command() const;
- PROTOBUF_NODISCARD ::imageloader::UnmountCommand* release_unmount_command();
- ::imageloader::UnmountCommand* mutable_unmount_command();
- void set_allocated_unmount_command(::imageloader::UnmountCommand* unmount_command);
- private:
- const ::imageloader::UnmountCommand& _internal_unmount_command() const;
- ::imageloader::UnmountCommand* _internal_mutable_unmount_command();
- public:
- void unsafe_arena_set_allocated_unmount_command(
- ::imageloader::UnmountCommand* unmount_command);
- ::imageloader::UnmountCommand* unsafe_arena_release_unmount_command();
-
- void clear_op();
- OpCase op_case() const;
- // @@protoc_insertion_point(class_scope:imageloader.ImageCommand)
- private:
- class _Internal;
- void set_has_mount_command();
- void set_has_unmount_all_command();
- void set_has_unmount_command();
-
- inline bool has_op() const;
- inline void clear_has_op();
-
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- struct Impl_ {
- union OpUnion {
- constexpr OpUnion() : _constinit_{} {}
- ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_;
- ::imageloader::MountCommand* mount_command_;
- ::imageloader::UnmountAllCommand* unmount_all_command_;
- ::imageloader::UnmountCommand* unmount_command_;
- } op_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- uint32_t _oneof_case_[1];
-
- };
- union { Impl_ _impl_; };
- friend struct ::TableStruct_ipc_2eproto;
-};
-// -------------------------------------------------------------------
-
-class MountCommand final :
- public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:imageloader.MountCommand) */ {
- public:
- inline MountCommand() : MountCommand(nullptr) {}
- ~MountCommand() override;
- explicit PROTOBUF_CONSTEXPR MountCommand(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
-
- MountCommand(const MountCommand& from);
- MountCommand(MountCommand&& from) noexcept
- : MountCommand() {
- *this = ::std::move(from);
- }
-
- inline MountCommand& operator=(const MountCommand& from) {
- CopyFrom(from);
- return *this;
- }
- inline MountCommand& operator=(MountCommand&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
-
- inline const std::string& unknown_fields() const {
- return _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString);
- }
- inline std::string* mutable_unknown_fields() {
- return _internal_metadata_.mutable_unknown_fields<std::string>();
- }
-
- static const MountCommand& default_instance() {
- return *internal_default_instance();
- }
- static inline const MountCommand* internal_default_instance() {
- return reinterpret_cast<const MountCommand*>(
- &_MountCommand_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 1;
-
- friend void swap(MountCommand& a, MountCommand& b) {
- a.Swap(&b);
- }
- inline void Swap(MountCommand* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(MountCommand* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
-
- // implements Message ----------------------------------------------
-
- MountCommand* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<MountCommand>(arena);
- }
- void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
- void CopyFrom(const MountCommand& from);
- void MergeFrom(const MountCommand& from);
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
-
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
-
- private:
- void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
- void SharedDtor();
- void SetCachedSize(int size) const;
- void InternalSwap(MountCommand* other);
-
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "imageloader.MountCommand";
- }
- protected:
- explicit MountCommand(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- public:
-
- std::string GetTypeName() const final;
-
- // nested types ----------------------------------------------------
-
- typedef MountCommand_FileSystem FileSystem;
- static constexpr FileSystem SQUASH =
- MountCommand_FileSystem_SQUASH;
- static constexpr FileSystem EXT4 =
- MountCommand_FileSystem_EXT4;
- static inline bool FileSystem_IsValid(int value) {
- return MountCommand_FileSystem_IsValid(value);
- }
- static constexpr FileSystem FileSystem_MIN =
- MountCommand_FileSystem_FileSystem_MIN;
- static constexpr FileSystem FileSystem_MAX =
- MountCommand_FileSystem_FileSystem_MAX;
- static constexpr int FileSystem_ARRAYSIZE =
- MountCommand_FileSystem_FileSystem_ARRAYSIZE;
- template<typename T>
- static inline const std::string& FileSystem_Name(T enum_t_value) {
- static_assert(::std::is_same<T, FileSystem>::value ||
- ::std::is_integral<T>::value,
- "Incorrect type passed to function FileSystem_Name.");
- return MountCommand_FileSystem_Name(enum_t_value);
- }
- static inline bool FileSystem_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
- FileSystem* value) {
- return MountCommand_FileSystem_Parse(name, value);
- }
-
- // accessors -------------------------------------------------------
-
- enum : int {
- kMountPathFieldNumber = 2,
- kTableFieldNumber = 3,
- kFsTypeFieldNumber = 4,
- };
- // required string mount_path = 2;
- bool has_mount_path() const;
- private:
- bool _internal_has_mount_path() const;
- public:
- void clear_mount_path();
- const std::string& mount_path() const;
- template <typename ArgT0 = const std::string&, typename... ArgT>
- void set_mount_path(ArgT0&& arg0, ArgT... args);
- std::string* mutable_mount_path();
- PROTOBUF_NODISCARD std::string* release_mount_path();
- void set_allocated_mount_path(std::string* mount_path);
- private:
- const std::string& _internal_mount_path() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_mount_path(const std::string& value);
- std::string* _internal_mutable_mount_path();
- public:
-
- // required string table = 3;
- bool has_table() const;
- private:
- bool _internal_has_table() const;
- public:
- void clear_table();
- const std::string& table() const;
- template <typename ArgT0 = const std::string&, typename... ArgT>
- void set_table(ArgT0&& arg0, ArgT... args);
- std::string* mutable_table();
- PROTOBUF_NODISCARD std::string* release_table();
- void set_allocated_table(std::string* table);
- private:
- const std::string& _internal_table() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_table(const std::string& value);
- std::string* _internal_mutable_table();
- public:
-
- // required .imageloader.MountCommand.FileSystem fs_type = 4 [default = SQUASH];
- bool has_fs_type() const;
- private:
- bool _internal_has_fs_type() const;
- public:
- void clear_fs_type();
- ::imageloader::MountCommand_FileSystem fs_type() const;
- void set_fs_type(::imageloader::MountCommand_FileSystem value);
- private:
- ::imageloader::MountCommand_FileSystem _internal_fs_type() const;
- void _internal_set_fs_type(::imageloader::MountCommand_FileSystem value);
- public:
-
- // @@protoc_insertion_point(class_scope:imageloader.MountCommand)
- private:
- class _Internal;
-
- // helper for ByteSizeLong()
- size_t RequiredFieldsByteSizeFallback() const;
-
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- struct Impl_ {
- ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr mount_path_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr table_;
- int fs_type_;
- };
- union { Impl_ _impl_; };
- friend struct ::TableStruct_ipc_2eproto;
-};
-// -------------------------------------------------------------------
-
-class UnmountAllCommand final :
- public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:imageloader.UnmountAllCommand) */ {
- public:
- inline UnmountAllCommand() : UnmountAllCommand(nullptr) {}
- ~UnmountAllCommand() override;
- explicit PROTOBUF_CONSTEXPR UnmountAllCommand(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
-
- UnmountAllCommand(const UnmountAllCommand& from);
- UnmountAllCommand(UnmountAllCommand&& from) noexcept
- : UnmountAllCommand() {
- *this = ::std::move(from);
- }
-
- inline UnmountAllCommand& operator=(const UnmountAllCommand& from) {
- CopyFrom(from);
- return *this;
- }
- inline UnmountAllCommand& operator=(UnmountAllCommand&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
-
- inline const std::string& unknown_fields() const {
- return _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString);
- }
- inline std::string* mutable_unknown_fields() {
- return _internal_metadata_.mutable_unknown_fields<std::string>();
- }
-
- static const UnmountAllCommand& default_instance() {
- return *internal_default_instance();
- }
- static inline const UnmountAllCommand* internal_default_instance() {
- return reinterpret_cast<const UnmountAllCommand*>(
- &_UnmountAllCommand_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 2;
-
- friend void swap(UnmountAllCommand& a, UnmountAllCommand& b) {
- a.Swap(&b);
- }
- inline void Swap(UnmountAllCommand* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(UnmountAllCommand* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
-
- // implements Message ----------------------------------------------
-
- UnmountAllCommand* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<UnmountAllCommand>(arena);
- }
- void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
- void CopyFrom(const UnmountAllCommand& from);
- void MergeFrom(const UnmountAllCommand& from);
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
-
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
-
- private:
- void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
- void SharedDtor();
- void SetCachedSize(int size) const;
- void InternalSwap(UnmountAllCommand* other);
-
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "imageloader.UnmountAllCommand";
- }
- protected:
- explicit UnmountAllCommand(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- public:
-
- std::string GetTypeName() const final;
-
- // nested types ----------------------------------------------------
-
- // accessors -------------------------------------------------------
-
- enum : int {
- kUnmountRootpathFieldNumber = 6,
- kDryRunFieldNumber = 5,
- };
- // required string unmount_rootpath = 6;
- bool has_unmount_rootpath() const;
- private:
- bool _internal_has_unmount_rootpath() const;
- public:
- void clear_unmount_rootpath();
- const std::string& unmount_rootpath() const;
- template <typename ArgT0 = const std::string&, typename... ArgT>
- void set_unmount_rootpath(ArgT0&& arg0, ArgT... args);
- std::string* mutable_unmount_rootpath();
- PROTOBUF_NODISCARD std::string* release_unmount_rootpath();
- void set_allocated_unmount_rootpath(std::string* unmount_rootpath);
- private:
- const std::string& _internal_unmount_rootpath() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_unmount_rootpath(const std::string& value);
- std::string* _internal_mutable_unmount_rootpath();
- public:
-
- // required bool dry_run = 5 [default = true];
- bool has_dry_run() const;
- private:
- bool _internal_has_dry_run() const;
- public:
- void clear_dry_run();
- bool dry_run() const;
- void set_dry_run(bool value);
- private:
- bool _internal_dry_run() const;
- void _internal_set_dry_run(bool value);
- public:
-
- // @@protoc_insertion_point(class_scope:imageloader.UnmountAllCommand)
- private:
- class _Internal;
-
- // helper for ByteSizeLong()
- size_t RequiredFieldsByteSizeFallback() const;
-
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- struct Impl_ {
- ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr unmount_rootpath_;
- bool dry_run_;
- };
- union { Impl_ _impl_; };
- friend struct ::TableStruct_ipc_2eproto;
-};
-// -------------------------------------------------------------------
-
-class UnmountCommand final :
- public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:imageloader.UnmountCommand) */ {
- public:
- inline UnmountCommand() : UnmountCommand(nullptr) {}
- ~UnmountCommand() override;
- explicit PROTOBUF_CONSTEXPR UnmountCommand(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
-
- UnmountCommand(const UnmountCommand& from);
- UnmountCommand(UnmountCommand&& from) noexcept
- : UnmountCommand() {
- *this = ::std::move(from);
- }
-
- inline UnmountCommand& operator=(const UnmountCommand& from) {
- CopyFrom(from);
- return *this;
- }
- inline UnmountCommand& operator=(UnmountCommand&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
-
- inline const std::string& unknown_fields() const {
- return _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString);
- }
- inline std::string* mutable_unknown_fields() {
- return _internal_metadata_.mutable_unknown_fields<std::string>();
- }
-
- static const UnmountCommand& default_instance() {
- return *internal_default_instance();
- }
- static inline const UnmountCommand* internal_default_instance() {
- return reinterpret_cast<const UnmountCommand*>(
- &_UnmountCommand_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 3;
-
- friend void swap(UnmountCommand& a, UnmountCommand& b) {
- a.Swap(&b);
- }
- inline void Swap(UnmountCommand* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(UnmountCommand* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
-
- // implements Message ----------------------------------------------
-
- UnmountCommand* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<UnmountCommand>(arena);
- }
- void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
- void CopyFrom(const UnmountCommand& from);
- void MergeFrom(const UnmountCommand& from);
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
-
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
-
- private:
- void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
- void SharedDtor();
- void SetCachedSize(int size) const;
- void InternalSwap(UnmountCommand* other);
-
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "imageloader.UnmountCommand";
- }
- protected:
- explicit UnmountCommand(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- public:
-
- std::string GetTypeName() const final;
-
- // nested types ----------------------------------------------------
-
- // accessors -------------------------------------------------------
-
- enum : int {
- kUnmountPathFieldNumber = 7,
- };
- // required string unmount_path = 7;
- bool has_unmount_path() const;
- private:
- bool _internal_has_unmount_path() const;
- public:
- void clear_unmount_path();
- const std::string& unmount_path() const;
- template <typename ArgT0 = const std::string&, typename... ArgT>
- void set_unmount_path(ArgT0&& arg0, ArgT... args);
- std::string* mutable_unmount_path();
- PROTOBUF_NODISCARD std::string* release_unmount_path();
- void set_allocated_unmount_path(std::string* unmount_path);
- private:
- const std::string& _internal_unmount_path() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_unmount_path(const std::string& value);
- std::string* _internal_mutable_unmount_path();
- public:
-
- // @@protoc_insertion_point(class_scope:imageloader.UnmountCommand)
- private:
- class _Internal;
-
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- struct Impl_ {
- ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr unmount_path_;
- };
- union { Impl_ _impl_; };
- friend struct ::TableStruct_ipc_2eproto;
-};
-// -------------------------------------------------------------------
-
-class CommandResponse final :
- public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:imageloader.CommandResponse) */ {
- public:
- inline CommandResponse() : CommandResponse(nullptr) {}
- ~CommandResponse() override;
- explicit PROTOBUF_CONSTEXPR CommandResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
-
- CommandResponse(const CommandResponse& from);
- CommandResponse(CommandResponse&& from) noexcept
- : CommandResponse() {
- *this = ::std::move(from);
- }
-
- inline CommandResponse& operator=(const CommandResponse& from) {
- CopyFrom(from);
- return *this;
- }
- inline CommandResponse& operator=(CommandResponse&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
-
- inline const std::string& unknown_fields() const {
- return _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString);
- }
- inline std::string* mutable_unknown_fields() {
- return _internal_metadata_.mutable_unknown_fields<std::string>();
- }
-
- static const CommandResponse& default_instance() {
- return *internal_default_instance();
- }
- static inline const CommandResponse* internal_default_instance() {
- return reinterpret_cast<const CommandResponse*>(
- &_CommandResponse_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 4;
-
- friend void swap(CommandResponse& a, CommandResponse& b) {
- a.Swap(&b);
- }
- inline void Swap(CommandResponse* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(CommandResponse* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
-
- // implements Message ----------------------------------------------
-
- CommandResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<CommandResponse>(arena);
- }
- void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
- void CopyFrom(const CommandResponse& from);
- void MergeFrom(const CommandResponse& from);
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
-
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
-
- private:
- void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
- void SharedDtor();
- void SetCachedSize(int size) const;
- void InternalSwap(CommandResponse* other);
-
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "imageloader.CommandResponse";
- }
- protected:
- explicit CommandResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- public:
-
- std::string GetTypeName() const final;
-
- // nested types ----------------------------------------------------
-
- // accessors -------------------------------------------------------
-
- enum : int {
- kPathsFieldNumber = 2,
- kSuccessFieldNumber = 1,
- };
- // repeated string paths = 2;
- int paths_size() const;
- private:
- int _internal_paths_size() const;
- public:
- void clear_paths();
- const std::string& paths(int index) const;
- std::string* mutable_paths(int index);
- void set_paths(int index, const std::string& value);
- void set_paths(int index, std::string&& value);
- void set_paths(int index, const char* value);
- void set_paths(int index, const char* value, size_t size);
- std::string* add_paths();
- void add_paths(const std::string& value);
- void add_paths(std::string&& value);
- void add_paths(const char* value);
- void add_paths(const char* value, size_t size);
- const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& paths() const;
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_paths();
- private:
- const std::string& _internal_paths(int index) const;
- std::string* _internal_add_paths();
- public:
-
- // required bool success = 1 [default = false];
- bool has_success() const;
- private:
- bool _internal_has_success() const;
- public:
- void clear_success();
- bool success() const;
- void set_success(bool value);
- private:
- bool _internal_success() const;
- void _internal_set_success(bool value);
- public:
-
- // @@protoc_insertion_point(class_scope:imageloader.CommandResponse)
- private:
- class _Internal;
-
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- struct Impl_ {
- ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> paths_;
- bool success_;
- };
- union { Impl_ _impl_; };
- friend struct ::TableStruct_ipc_2eproto;
-};
-// ===================================================================
-
-
-// ===================================================================
-
-#ifdef __GNUC__
- #pragma GCC diagnostic push
- #pragma GCC diagnostic ignored "-Wstrict-aliasing"
-#endif // __GNUC__
-// ImageCommand
-
-// .imageloader.MountCommand mount_command = 1;
-inline bool ImageCommand::_internal_has_mount_command() const {
- return op_case() == kMountCommand;
-}
-inline bool ImageCommand::has_mount_command() const {
- return _internal_has_mount_command();
-}
-inline void ImageCommand::set_has_mount_command() {
- _impl_._oneof_case_[0] = kMountCommand;
-}
-inline void ImageCommand::clear_mount_command() {
- if (_internal_has_mount_command()) {
- if (GetArenaForAllocation() == nullptr) {
- delete _impl_.op_.mount_command_;
- }
- clear_has_op();
- }
-}
-inline ::imageloader::MountCommand* ImageCommand::release_mount_command() {
- // @@protoc_insertion_point(field_release:imageloader.ImageCommand.mount_command)
- if (_internal_has_mount_command()) {
- clear_has_op();
- ::imageloader::MountCommand* temp = _impl_.op_.mount_command_;
- if (GetArenaForAllocation() != nullptr) {
- temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
- }
- _impl_.op_.mount_command_ = nullptr;
- return temp;
- } else {
- return nullptr;
- }
-}
-inline const ::imageloader::MountCommand& ImageCommand::_internal_mount_command() const {
- return _internal_has_mount_command()
- ? *_impl_.op_.mount_command_
- : reinterpret_cast< ::imageloader::MountCommand&>(::imageloader::_MountCommand_default_instance_);
-}
-inline const ::imageloader::MountCommand& ImageCommand::mount_command() const {
- // @@protoc_insertion_point(field_get:imageloader.ImageCommand.mount_command)
- return _internal_mount_command();
-}
-inline ::imageloader::MountCommand* ImageCommand::unsafe_arena_release_mount_command() {
- // @@protoc_insertion_point(field_unsafe_arena_release:imageloader.ImageCommand.mount_command)
- if (_internal_has_mount_command()) {
- clear_has_op();
- ::imageloader::MountCommand* temp = _impl_.op_.mount_command_;
- _impl_.op_.mount_command_ = nullptr;
- return temp;
- } else {
- return nullptr;
- }
-}
-inline void ImageCommand::unsafe_arena_set_allocated_mount_command(::imageloader::MountCommand* mount_command) {
- clear_op();
- if (mount_command) {
- set_has_mount_command();
- _impl_.op_.mount_command_ = mount_command;
- }
- // @@protoc_insertion_point(field_unsafe_arena_set_allocated:imageloader.ImageCommand.mount_command)
-}
-inline ::imageloader::MountCommand* ImageCommand::_internal_mutable_mount_command() {
- if (!_internal_has_mount_command()) {
- clear_op();
- set_has_mount_command();
- _impl_.op_.mount_command_ = CreateMaybeMessage< ::imageloader::MountCommand >(GetArenaForAllocation());
- }
- return _impl_.op_.mount_command_;
-}
-inline ::imageloader::MountCommand* ImageCommand::mutable_mount_command() {
- ::imageloader::MountCommand* _msg = _internal_mutable_mount_command();
- // @@protoc_insertion_point(field_mutable:imageloader.ImageCommand.mount_command)
- return _msg;
-}
-
-// .imageloader.UnmountAllCommand unmount_all_command = 2;
-inline bool ImageCommand::_internal_has_unmount_all_command() const {
- return op_case() == kUnmountAllCommand;
-}
-inline bool ImageCommand::has_unmount_all_command() const {
- return _internal_has_unmount_all_command();
-}
-inline void ImageCommand::set_has_unmount_all_command() {
- _impl_._oneof_case_[0] = kUnmountAllCommand;
-}
-inline void ImageCommand::clear_unmount_all_command() {
- if (_internal_has_unmount_all_command()) {
- if (GetArenaForAllocation() == nullptr) {
- delete _impl_.op_.unmount_all_command_;
- }
- clear_has_op();
- }
-}
-inline ::imageloader::UnmountAllCommand* ImageCommand::release_unmount_all_command() {
- // @@protoc_insertion_point(field_release:imageloader.ImageCommand.unmount_all_command)
- if (_internal_has_unmount_all_command()) {
- clear_has_op();
- ::imageloader::UnmountAllCommand* temp = _impl_.op_.unmount_all_command_;
- if (GetArenaForAllocation() != nullptr) {
- temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
- }
- _impl_.op_.unmount_all_command_ = nullptr;
- return temp;
- } else {
- return nullptr;
- }
-}
-inline const ::imageloader::UnmountAllCommand& ImageCommand::_internal_unmount_all_command() const {
- return _internal_has_unmount_all_command()
- ? *_impl_.op_.unmount_all_command_
- : reinterpret_cast< ::imageloader::UnmountAllCommand&>(::imageloader::_UnmountAllCommand_default_instance_);
-}
-inline const ::imageloader::UnmountAllCommand& ImageCommand::unmount_all_command() const {
- // @@protoc_insertion_point(field_get:imageloader.ImageCommand.unmount_all_command)
- return _internal_unmount_all_command();
-}
-inline ::imageloader::UnmountAllCommand* ImageCommand::unsafe_arena_release_unmount_all_command() {
- // @@protoc_insertion_point(field_unsafe_arena_release:imageloader.ImageCommand.unmount_all_command)
- if (_internal_has_unmount_all_command()) {
- clear_has_op();
- ::imageloader::UnmountAllCommand* temp = _impl_.op_.unmount_all_command_;
- _impl_.op_.unmount_all_command_ = nullptr;
- return temp;
- } else {
- return nullptr;
- }
-}
-inline void ImageCommand::unsafe_arena_set_allocated_unmount_all_command(::imageloader::UnmountAllCommand* unmount_all_command) {
- clear_op();
- if (unmount_all_command) {
- set_has_unmount_all_command();
- _impl_.op_.unmount_all_command_ = unmount_all_command;
- }
- // @@protoc_insertion_point(field_unsafe_arena_set_allocated:imageloader.ImageCommand.unmount_all_command)
-}
-inline ::imageloader::UnmountAllCommand* ImageCommand::_internal_mutable_unmount_all_command() {
- if (!_internal_has_unmount_all_command()) {
- clear_op();
- set_has_unmount_all_command();
- _impl_.op_.unmount_all_command_ = CreateMaybeMessage< ::imageloader::UnmountAllCommand >(GetArenaForAllocation());
- }
- return _impl_.op_.unmount_all_command_;
-}
-inline ::imageloader::UnmountAllCommand* ImageCommand::mutable_unmount_all_command() {
- ::imageloader::UnmountAllCommand* _msg = _internal_mutable_unmount_all_command();
- // @@protoc_insertion_point(field_mutable:imageloader.ImageCommand.unmount_all_command)
- return _msg;
-}
-
-// .imageloader.UnmountCommand unmount_command = 3;
-inline bool ImageCommand::_internal_has_unmount_command() const {
- return op_case() == kUnmountCommand;
-}
-inline bool ImageCommand::has_unmount_command() const {
- return _internal_has_unmount_command();
-}
-inline void ImageCommand::set_has_unmount_command() {
- _impl_._oneof_case_[0] = kUnmountCommand;
-}
-inline void ImageCommand::clear_unmount_command() {
- if (_internal_has_unmount_command()) {
- if (GetArenaForAllocation() == nullptr) {
- delete _impl_.op_.unmount_command_;
- }
- clear_has_op();
- }
-}
-inline ::imageloader::UnmountCommand* ImageCommand::release_unmount_command() {
- // @@protoc_insertion_point(field_release:imageloader.ImageCommand.unmount_command)
- if (_internal_has_unmount_command()) {
- clear_has_op();
- ::imageloader::UnmountCommand* temp = _impl_.op_.unmount_command_;
- if (GetArenaForAllocation() != nullptr) {
- temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
- }
- _impl_.op_.unmount_command_ = nullptr;
- return temp;
- } else {
- return nullptr;
- }
-}
-inline const ::imageloader::UnmountCommand& ImageCommand::_internal_unmount_command() const {
- return _internal_has_unmount_command()
- ? *_impl_.op_.unmount_command_
- : reinterpret_cast< ::imageloader::UnmountCommand&>(::imageloader::_UnmountCommand_default_instance_);
-}
-inline const ::imageloader::UnmountCommand& ImageCommand::unmount_command() const {
- // @@protoc_insertion_point(field_get:imageloader.ImageCommand.unmount_command)
- return _internal_unmount_command();
-}
-inline ::imageloader::UnmountCommand* ImageCommand::unsafe_arena_release_unmount_command() {
- // @@protoc_insertion_point(field_unsafe_arena_release:imageloader.ImageCommand.unmount_command)
- if (_internal_has_unmount_command()) {
- clear_has_op();
- ::imageloader::UnmountCommand* temp = _impl_.op_.unmount_command_;
- _impl_.op_.unmount_command_ = nullptr;
- return temp;
- } else {
- return nullptr;
- }
-}
-inline void ImageCommand::unsafe_arena_set_allocated_unmount_command(::imageloader::UnmountCommand* unmount_command) {
- clear_op();
- if (unmount_command) {
- set_has_unmount_command();
- _impl_.op_.unmount_command_ = unmount_command;
- }
- // @@protoc_insertion_point(field_unsafe_arena_set_allocated:imageloader.ImageCommand.unmount_command)
-}
-inline ::imageloader::UnmountCommand* ImageCommand::_internal_mutable_unmount_command() {
- if (!_internal_has_unmount_command()) {
- clear_op();
- set_has_unmount_command();
- _impl_.op_.unmount_command_ = CreateMaybeMessage< ::imageloader::UnmountCommand >(GetArenaForAllocation());
- }
- return _impl_.op_.unmount_command_;
-}
-inline ::imageloader::UnmountCommand* ImageCommand::mutable_unmount_command() {
- ::imageloader::UnmountCommand* _msg = _internal_mutable_unmount_command();
- // @@protoc_insertion_point(field_mutable:imageloader.ImageCommand.unmount_command)
- return _msg;
-}
-
-inline bool ImageCommand::has_op() const {
- return op_case() != OP_NOT_SET;
-}
-inline void ImageCommand::clear_has_op() {
- _impl_._oneof_case_[0] = OP_NOT_SET;
-}
-inline ImageCommand::OpCase ImageCommand::op_case() const {
- return ImageCommand::OpCase(_impl_._oneof_case_[0]);
-}
-// -------------------------------------------------------------------
-
-// MountCommand
-
-// required string mount_path = 2;
-inline bool MountCommand::_internal_has_mount_path() const {
- bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
- return value;
-}
-inline bool MountCommand::has_mount_path() const {
- return _internal_has_mount_path();
-}
-inline void MountCommand::clear_mount_path() {
- _impl_.mount_path_.ClearToEmpty();
- _impl_._has_bits_[0] &= ~0x00000001u;
-}
-inline const std::string& MountCommand::mount_path() const {
- // @@protoc_insertion_point(field_get:imageloader.MountCommand.mount_path)
- return _internal_mount_path();
-}
-template <typename ArgT0, typename... ArgT>
-inline PROTOBUF_ALWAYS_INLINE
-void MountCommand::set_mount_path(ArgT0&& arg0, ArgT... args) {
- _impl_._has_bits_[0] |= 0x00000001u;
- _impl_.mount_path_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:imageloader.MountCommand.mount_path)
-}
-inline std::string* MountCommand::mutable_mount_path() {
- std::string* _s = _internal_mutable_mount_path();
- // @@protoc_insertion_point(field_mutable:imageloader.MountCommand.mount_path)
- return _s;
-}
-inline const std::string& MountCommand::_internal_mount_path() const {
- return _impl_.mount_path_.Get();
-}
-inline void MountCommand::_internal_set_mount_path(const std::string& value) {
- _impl_._has_bits_[0] |= 0x00000001u;
- _impl_.mount_path_.Set(value, GetArenaForAllocation());
-}
-inline std::string* MountCommand::_internal_mutable_mount_path() {
- _impl_._has_bits_[0] |= 0x00000001u;
- return _impl_.mount_path_.Mutable(GetArenaForAllocation());
-}
-inline std::string* MountCommand::release_mount_path() {
- // @@protoc_insertion_point(field_release:imageloader.MountCommand.mount_path)
- if (!_internal_has_mount_path()) {
- return nullptr;
- }
- _impl_._has_bits_[0] &= ~0x00000001u;
- auto* p = _impl_.mount_path_.Release();
-#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (_impl_.mount_path_.IsDefault()) {
- _impl_.mount_path_.Set("", GetArenaForAllocation());
- }
-#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- return p;
-}
-inline void MountCommand::set_allocated_mount_path(std::string* mount_path) {
- if (mount_path != nullptr) {
- _impl_._has_bits_[0] |= 0x00000001u;
- } else {
- _impl_._has_bits_[0] &= ~0x00000001u;
- }
- _impl_.mount_path_.SetAllocated(mount_path, GetArenaForAllocation());
-#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (_impl_.mount_path_.IsDefault()) {
- _impl_.mount_path_.Set("", GetArenaForAllocation());
- }
-#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:imageloader.MountCommand.mount_path)
-}
-
-// required string table = 3;
-inline bool MountCommand::_internal_has_table() const {
- bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
- return value;
-}
-inline bool MountCommand::has_table() const {
- return _internal_has_table();
-}
-inline void MountCommand::clear_table() {
- _impl_.table_.ClearToEmpty();
- _impl_._has_bits_[0] &= ~0x00000002u;
-}
-inline const std::string& MountCommand::table() const {
- // @@protoc_insertion_point(field_get:imageloader.MountCommand.table)
- return _internal_table();
-}
-template <typename ArgT0, typename... ArgT>
-inline PROTOBUF_ALWAYS_INLINE
-void MountCommand::set_table(ArgT0&& arg0, ArgT... args) {
- _impl_._has_bits_[0] |= 0x00000002u;
- _impl_.table_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:imageloader.MountCommand.table)
-}
-inline std::string* MountCommand::mutable_table() {
- std::string* _s = _internal_mutable_table();
- // @@protoc_insertion_point(field_mutable:imageloader.MountCommand.table)
- return _s;
-}
-inline const std::string& MountCommand::_internal_table() const {
- return _impl_.table_.Get();
-}
-inline void MountCommand::_internal_set_table(const std::string& value) {
- _impl_._has_bits_[0] |= 0x00000002u;
- _impl_.table_.Set(value, GetArenaForAllocation());
-}
-inline std::string* MountCommand::_internal_mutable_table() {
- _impl_._has_bits_[0] |= 0x00000002u;
- return _impl_.table_.Mutable(GetArenaForAllocation());
-}
-inline std::string* MountCommand::release_table() {
- // @@protoc_insertion_point(field_release:imageloader.MountCommand.table)
- if (!_internal_has_table()) {
- return nullptr;
- }
- _impl_._has_bits_[0] &= ~0x00000002u;
- auto* p = _impl_.table_.Release();
-#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (_impl_.table_.IsDefault()) {
- _impl_.table_.Set("", GetArenaForAllocation());
- }
-#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- return p;
-}
-inline void MountCommand::set_allocated_table(std::string* table) {
- if (table != nullptr) {
- _impl_._has_bits_[0] |= 0x00000002u;
- } else {
- _impl_._has_bits_[0] &= ~0x00000002u;
- }
- _impl_.table_.SetAllocated(table, GetArenaForAllocation());
-#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (_impl_.table_.IsDefault()) {
- _impl_.table_.Set("", GetArenaForAllocation());
- }
-#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:imageloader.MountCommand.table)
-}
-
-// required .imageloader.MountCommand.FileSystem fs_type = 4 [default = SQUASH];
-inline bool MountCommand::_internal_has_fs_type() const {
- bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
- return value;
-}
-inline bool MountCommand::has_fs_type() const {
- return _internal_has_fs_type();
-}
-inline void MountCommand::clear_fs_type() {
- _impl_.fs_type_ = 1;
- _impl_._has_bits_[0] &= ~0x00000004u;
-}
-inline ::imageloader::MountCommand_FileSystem MountCommand::_internal_fs_type() const {
- return static_cast< ::imageloader::MountCommand_FileSystem >(_impl_.fs_type_);
-}
-inline ::imageloader::MountCommand_FileSystem MountCommand::fs_type() const {
- // @@protoc_insertion_point(field_get:imageloader.MountCommand.fs_type)
- return _internal_fs_type();
-}
-inline void MountCommand::_internal_set_fs_type(::imageloader::MountCommand_FileSystem value) {
- assert(::imageloader::MountCommand_FileSystem_IsValid(value));
- _impl_._has_bits_[0] |= 0x00000004u;
- _impl_.fs_type_ = value;
-}
-inline void MountCommand::set_fs_type(::imageloader::MountCommand_FileSystem value) {
- _internal_set_fs_type(value);
- // @@protoc_insertion_point(field_set:imageloader.MountCommand.fs_type)
-}
-
-// -------------------------------------------------------------------
-
-// UnmountAllCommand
-
-// required bool dry_run = 5 [default = true];
-inline bool UnmountAllCommand::_internal_has_dry_run() const {
- bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
- return value;
-}
-inline bool UnmountAllCommand::has_dry_run() const {
- return _internal_has_dry_run();
-}
-inline void UnmountAllCommand::clear_dry_run() {
- _impl_.dry_run_ = true;
- _impl_._has_bits_[0] &= ~0x00000002u;
-}
-inline bool UnmountAllCommand::_internal_dry_run() const {
- return _impl_.dry_run_;
-}
-inline bool UnmountAllCommand::dry_run() const {
- // @@protoc_insertion_point(field_get:imageloader.UnmountAllCommand.dry_run)
- return _internal_dry_run();
-}
-inline void UnmountAllCommand::_internal_set_dry_run(bool value) {
- _impl_._has_bits_[0] |= 0x00000002u;
- _impl_.dry_run_ = value;
-}
-inline void UnmountAllCommand::set_dry_run(bool value) {
- _internal_set_dry_run(value);
- // @@protoc_insertion_point(field_set:imageloader.UnmountAllCommand.dry_run)
-}
-
-// required string unmount_rootpath = 6;
-inline bool UnmountAllCommand::_internal_has_unmount_rootpath() const {
- bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
- return value;
-}
-inline bool UnmountAllCommand::has_unmount_rootpath() const {
- return _internal_has_unmount_rootpath();
-}
-inline void UnmountAllCommand::clear_unmount_rootpath() {
- _impl_.unmount_rootpath_.ClearToEmpty();
- _impl_._has_bits_[0] &= ~0x00000001u;
-}
-inline const std::string& UnmountAllCommand::unmount_rootpath() const {
- // @@protoc_insertion_point(field_get:imageloader.UnmountAllCommand.unmount_rootpath)
- return _internal_unmount_rootpath();
-}
-template <typename ArgT0, typename... ArgT>
-inline PROTOBUF_ALWAYS_INLINE
-void UnmountAllCommand::set_unmount_rootpath(ArgT0&& arg0, ArgT... args) {
- _impl_._has_bits_[0] |= 0x00000001u;
- _impl_.unmount_rootpath_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:imageloader.UnmountAllCommand.unmount_rootpath)
-}
-inline std::string* UnmountAllCommand::mutable_unmount_rootpath() {
- std::string* _s = _internal_mutable_unmount_rootpath();
- // @@protoc_insertion_point(field_mutable:imageloader.UnmountAllCommand.unmount_rootpath)
- return _s;
-}
-inline const std::string& UnmountAllCommand::_internal_unmount_rootpath() const {
- return _impl_.unmount_rootpath_.Get();
-}
-inline void UnmountAllCommand::_internal_set_unmount_rootpath(const std::string& value) {
- _impl_._has_bits_[0] |= 0x00000001u;
- _impl_.unmount_rootpath_.Set(value, GetArenaForAllocation());
-}
-inline std::string* UnmountAllCommand::_internal_mutable_unmount_rootpath() {
- _impl_._has_bits_[0] |= 0x00000001u;
- return _impl_.unmount_rootpath_.Mutable(GetArenaForAllocation());
-}
-inline std::string* UnmountAllCommand::release_unmount_rootpath() {
- // @@protoc_insertion_point(field_release:imageloader.UnmountAllCommand.unmount_rootpath)
- if (!_internal_has_unmount_rootpath()) {
- return nullptr;
- }
- _impl_._has_bits_[0] &= ~0x00000001u;
- auto* p = _impl_.unmount_rootpath_.Release();
-#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (_impl_.unmount_rootpath_.IsDefault()) {
- _impl_.unmount_rootpath_.Set("", GetArenaForAllocation());
- }
-#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- return p;
-}
-inline void UnmountAllCommand::set_allocated_unmount_rootpath(std::string* unmount_rootpath) {
- if (unmount_rootpath != nullptr) {
- _impl_._has_bits_[0] |= 0x00000001u;
- } else {
- _impl_._has_bits_[0] &= ~0x00000001u;
- }
- _impl_.unmount_rootpath_.SetAllocated(unmount_rootpath, GetArenaForAllocation());
-#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (_impl_.unmount_rootpath_.IsDefault()) {
- _impl_.unmount_rootpath_.Set("", GetArenaForAllocation());
- }
-#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:imageloader.UnmountAllCommand.unmount_rootpath)
-}
-
-// -------------------------------------------------------------------
-
-// UnmountCommand
-
-// required string unmount_path = 7;
-inline bool UnmountCommand::_internal_has_unmount_path() const {
- bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
- return value;
-}
-inline bool UnmountCommand::has_unmount_path() const {
- return _internal_has_unmount_path();
-}
-inline void UnmountCommand::clear_unmount_path() {
- _impl_.unmount_path_.ClearToEmpty();
- _impl_._has_bits_[0] &= ~0x00000001u;
-}
-inline const std::string& UnmountCommand::unmount_path() const {
- // @@protoc_insertion_point(field_get:imageloader.UnmountCommand.unmount_path)
- return _internal_unmount_path();
-}
-template <typename ArgT0, typename... ArgT>
-inline PROTOBUF_ALWAYS_INLINE
-void UnmountCommand::set_unmount_path(ArgT0&& arg0, ArgT... args) {
- _impl_._has_bits_[0] |= 0x00000001u;
- _impl_.unmount_path_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:imageloader.UnmountCommand.unmount_path)
-}
-inline std::string* UnmountCommand::mutable_unmount_path() {
- std::string* _s = _internal_mutable_unmount_path();
- // @@protoc_insertion_point(field_mutable:imageloader.UnmountCommand.unmount_path)
- return _s;
-}
-inline const std::string& UnmountCommand::_internal_unmount_path() const {
- return _impl_.unmount_path_.Get();
-}
-inline void UnmountCommand::_internal_set_unmount_path(const std::string& value) {
- _impl_._has_bits_[0] |= 0x00000001u;
- _impl_.unmount_path_.Set(value, GetArenaForAllocation());
-}
-inline std::string* UnmountCommand::_internal_mutable_unmount_path() {
- _impl_._has_bits_[0] |= 0x00000001u;
- return _impl_.unmount_path_.Mutable(GetArenaForAllocation());
-}
-inline std::string* UnmountCommand::release_unmount_path() {
- // @@protoc_insertion_point(field_release:imageloader.UnmountCommand.unmount_path)
- if (!_internal_has_unmount_path()) {
- return nullptr;
- }
- _impl_._has_bits_[0] &= ~0x00000001u;
- auto* p = _impl_.unmount_path_.Release();
-#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (_impl_.unmount_path_.IsDefault()) {
- _impl_.unmount_path_.Set("", GetArenaForAllocation());
- }
-#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- return p;
-}
-inline void UnmountCommand::set_allocated_unmount_path(std::string* unmount_path) {
- if (unmount_path != nullptr) {
- _impl_._has_bits_[0] |= 0x00000001u;
- } else {
- _impl_._has_bits_[0] &= ~0x00000001u;
- }
- _impl_.unmount_path_.SetAllocated(unmount_path, GetArenaForAllocation());
-#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (_impl_.unmount_path_.IsDefault()) {
- _impl_.unmount_path_.Set("", GetArenaForAllocation());
- }
-#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:imageloader.UnmountCommand.unmount_path)
-}
-
-// -------------------------------------------------------------------
-
-// CommandResponse
-
-// required bool success = 1 [default = false];
-inline bool CommandResponse::_internal_has_success() const {
- bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
- return value;
-}
-inline bool CommandResponse::has_success() const {
- return _internal_has_success();
-}
-inline void CommandResponse::clear_success() {
- _impl_.success_ = false;
- _impl_._has_bits_[0] &= ~0x00000001u;
-}
-inline bool CommandResponse::_internal_success() const {
- return _impl_.success_;
-}
-inline bool CommandResponse::success() const {
- // @@protoc_insertion_point(field_get:imageloader.CommandResponse.success)
- return _internal_success();
-}
-inline void CommandResponse::_internal_set_success(bool value) {
- _impl_._has_bits_[0] |= 0x00000001u;
- _impl_.success_ = value;
-}
-inline void CommandResponse::set_success(bool value) {
- _internal_set_success(value);
- // @@protoc_insertion_point(field_set:imageloader.CommandResponse.success)
-}
-
-// repeated string paths = 2;
-inline int CommandResponse::_internal_paths_size() const {
- return _impl_.paths_.size();
-}
-inline int CommandResponse::paths_size() const {
- return _internal_paths_size();
-}
-inline void CommandResponse::clear_paths() {
- _impl_.paths_.Clear();
-}
-inline std::string* CommandResponse::add_paths() {
- std::string* _s = _internal_add_paths();
- // @@protoc_insertion_point(field_add_mutable:imageloader.CommandResponse.paths)
- return _s;
-}
-inline const std::string& CommandResponse::_internal_paths(int index) const {
- return _impl_.paths_.Get(index);
-}
-inline const std::string& CommandResponse::paths(int index) const {
- // @@protoc_insertion_point(field_get:imageloader.CommandResponse.paths)
- return _internal_paths(index);
-}
-inline std::string* CommandResponse::mutable_paths(int index) {
- // @@protoc_insertion_point(field_mutable:imageloader.CommandResponse.paths)
- return _impl_.paths_.Mutable(index);
-}
-inline void CommandResponse::set_paths(int index, const std::string& value) {
- _impl_.paths_.Mutable(index)->assign(value);
- // @@protoc_insertion_point(field_set:imageloader.CommandResponse.paths)
-}
-inline void CommandResponse::set_paths(int index, std::string&& value) {
- _impl_.paths_.Mutable(index)->assign(std::move(value));
- // @@protoc_insertion_point(field_set:imageloader.CommandResponse.paths)
-}
-inline void CommandResponse::set_paths(int index, const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _impl_.paths_.Mutable(index)->assign(value);
- // @@protoc_insertion_point(field_set_char:imageloader.CommandResponse.paths)
-}
-inline void CommandResponse::set_paths(int index, const char* value, size_t size) {
- _impl_.paths_.Mutable(index)->assign(
- reinterpret_cast<const char*>(value), size);
- // @@protoc_insertion_point(field_set_pointer:imageloader.CommandResponse.paths)
-}
-inline std::string* CommandResponse::_internal_add_paths() {
- return _impl_.paths_.Add();
-}
-inline void CommandResponse::add_paths(const std::string& value) {
- _impl_.paths_.Add()->assign(value);
- // @@protoc_insertion_point(field_add:imageloader.CommandResponse.paths)
-}
-inline void CommandResponse::add_paths(std::string&& value) {
- _impl_.paths_.Add(std::move(value));
- // @@protoc_insertion_point(field_add:imageloader.CommandResponse.paths)
-}
-inline void CommandResponse::add_paths(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _impl_.paths_.Add()->assign(value);
- // @@protoc_insertion_point(field_add_char:imageloader.CommandResponse.paths)
-}
-inline void CommandResponse::add_paths(const char* value, size_t size) {
- _impl_.paths_.Add()->assign(reinterpret_cast<const char*>(value), size);
- // @@protoc_insertion_point(field_add_pointer:imageloader.CommandResponse.paths)
-}
-inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>&
-CommandResponse::paths() const {
- // @@protoc_insertion_point(field_list:imageloader.CommandResponse.paths)
- return _impl_.paths_;
-}
-inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>*
-CommandResponse::mutable_paths() {
- // @@protoc_insertion_point(field_mutable_list:imageloader.CommandResponse.paths)
- return &_impl_.paths_;
-}
-
-#ifdef __GNUC__
- #pragma GCC diagnostic pop
-#endif // __GNUC__
-// -------------------------------------------------------------------
-
-// -------------------------------------------------------------------
-
-// -------------------------------------------------------------------
-
-// -------------------------------------------------------------------
-
-
-// @@protoc_insertion_point(namespace_scope)
-
-} // namespace imageloader
-
-PROTOBUF_NAMESPACE_OPEN
-
-template <> struct is_proto_enum< ::imageloader::MountCommand_FileSystem> : ::std::true_type {};
-
-PROTOBUF_NAMESPACE_CLOSE
-
-// @@protoc_insertion_point(global_scope)
-
-#include <google/protobuf/port_undef.inc>
-#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_ipc_2eproto
diff --git a/chroot/var/cache/portage/chromeos-base/libbrillo/out/Default/gen/include/bindings/chrome_device_policy.pb.cc b/chroot/var/cache/portage/chromeos-base/libbrillo/out/Default/gen/include/bindings/chrome_device_policy.pb.cc
deleted file mode 100644
index 537f2f3..0000000
--- a/chroot/var/cache/portage/chromeos-base/libbrillo/out/Default/gen/include/bindings/chrome_device_policy.pb.cc
+++ /dev/null
@@ -1,43952 +0,0 @@
-// Generated by the protocol buffer compiler. DO NOT EDIT!
-// source: chrome_device_policy.proto
-
-#include "chrome_device_policy.pb.h"
-
-#include <algorithm>
-
-#include <google/protobuf/io/coded_stream.h>
-#include <google/protobuf/extension_set.h>
-#include <google/protobuf/wire_format_lite.h>
-#include <google/protobuf/io/zero_copy_stream_impl_lite.h>
-// @@protoc_insertion_point(includes)
-#include <google/protobuf/port_def.inc>
-
-PROTOBUF_PRAGMA_INIT_SEG
-
-namespace _pb = ::PROTOBUF_NAMESPACE_ID;
-namespace _pbi = _pb::internal;
-
-namespace enterprise_management {
-PROTOBUF_CONSTEXPR DevicePolicyRefreshRateProto::DevicePolicyRefreshRateProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.device_policy_refresh_rate_)*/int64_t{0}} {}
-struct DevicePolicyRefreshRateProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR DevicePolicyRefreshRateProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~DevicePolicyRefreshRateProtoDefaultTypeInternal() {}
- union {
- DevicePolicyRefreshRateProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DevicePolicyRefreshRateProtoDefaultTypeInternal _DevicePolicyRefreshRateProto_default_instance_;
-PROTOBUF_CONSTEXPR UserWhitelistProto::UserWhitelistProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_.user_whitelist_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}} {}
-struct UserWhitelistProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR UserWhitelistProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~UserWhitelistProtoDefaultTypeInternal() {}
- union {
- UserWhitelistProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 UserWhitelistProtoDefaultTypeInternal _UserWhitelistProto_default_instance_;
-PROTOBUF_CONSTEXPR UserAllowlistProto::UserAllowlistProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_.user_allowlist_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}} {}
-struct UserAllowlistProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR UserAllowlistProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~UserAllowlistProtoDefaultTypeInternal() {}
- union {
- UserAllowlistProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 UserAllowlistProtoDefaultTypeInternal _UserAllowlistProto_default_instance_;
-PROTOBUF_CONSTEXPR AllowNewUsersProto::AllowNewUsersProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.allow_new_users_)*/true} {}
-struct AllowNewUsersProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR AllowNewUsersProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~AllowNewUsersProtoDefaultTypeInternal() {}
- union {
- AllowNewUsersProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 AllowNewUsersProtoDefaultTypeInternal _AllowNewUsersProto_default_instance_;
-PROTOBUF_CONSTEXPR GuestModeEnabledProto::GuestModeEnabledProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.guest_mode_enabled_)*/true} {}
-struct GuestModeEnabledProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR GuestModeEnabledProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~GuestModeEnabledProtoDefaultTypeInternal() {}
- union {
- GuestModeEnabledProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GuestModeEnabledProtoDefaultTypeInternal _GuestModeEnabledProto_default_instance_;
-PROTOBUF_CONSTEXPR ShowUserNamesOnSigninProto::ShowUserNamesOnSigninProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.show_user_names_)*/true} {}
-struct ShowUserNamesOnSigninProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR ShowUserNamesOnSigninProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~ShowUserNamesOnSigninProtoDefaultTypeInternal() {}
- union {
- ShowUserNamesOnSigninProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ShowUserNamesOnSigninProtoDefaultTypeInternal _ShowUserNamesOnSigninProto_default_instance_;
-PROTOBUF_CONSTEXPR DataRoamingEnabledProto::DataRoamingEnabledProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.data_roaming_enabled_)*/false} {}
-struct DataRoamingEnabledProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR DataRoamingEnabledProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~DataRoamingEnabledProtoDefaultTypeInternal() {}
- union {
- DataRoamingEnabledProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DataRoamingEnabledProtoDefaultTypeInternal _DataRoamingEnabledProto_default_instance_;
-PROTOBUF_CONSTEXPR OBSOLETE_DeviceProxySettingsProto::OBSOLETE_DeviceProxySettingsProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.obsolete_proxy_mode_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
- , /*decltype(_impl_.obsolete_proxy_server_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
- , /*decltype(_impl_.obsolete_proxy_pac_url_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
- , /*decltype(_impl_.obsolete_proxy_bypass_list_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {}
-struct OBSOLETE_DeviceProxySettingsProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR OBSOLETE_DeviceProxySettingsProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~OBSOLETE_DeviceProxySettingsProtoDefaultTypeInternal() {}
- union {
- OBSOLETE_DeviceProxySettingsProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 OBSOLETE_DeviceProxySettingsProtoDefaultTypeInternal _OBSOLETE_DeviceProxySettingsProto_default_instance_;
-PROTOBUF_CONSTEXPR CameraEnabledProto::CameraEnabledProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.camera_enabled_)*/false} {}
-struct CameraEnabledProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR CameraEnabledProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~CameraEnabledProtoDefaultTypeInternal() {}
- union {
- CameraEnabledProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CameraEnabledProtoDefaultTypeInternal _CameraEnabledProto_default_instance_;
-PROTOBUF_CONSTEXPR MetricsEnabledProto::MetricsEnabledProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.metrics_enabled_)*/false} {}
-struct MetricsEnabledProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR MetricsEnabledProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~MetricsEnabledProtoDefaultTypeInternal() {}
- union {
- MetricsEnabledProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MetricsEnabledProtoDefaultTypeInternal _MetricsEnabledProto_default_instance_;
-PROTOBUF_CONSTEXPR ReleaseChannelProto::ReleaseChannelProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.release_channel_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
- , /*decltype(_impl_.release_lts_tag_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
- , /*decltype(_impl_.release_channel_delegated_)*/false} {}
-struct ReleaseChannelProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR ReleaseChannelProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~ReleaseChannelProtoDefaultTypeInternal() {}
- union {
- ReleaseChannelProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ReleaseChannelProtoDefaultTypeInternal _ReleaseChannelProto_default_instance_;
-PROTOBUF_CONSTEXPR DeviceOpenNetworkConfigurationProto::DeviceOpenNetworkConfigurationProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.open_network_configuration_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {}
-struct DeviceOpenNetworkConfigurationProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR DeviceOpenNetworkConfigurationProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~DeviceOpenNetworkConfigurationProtoDefaultTypeInternal() {}
- union {
- DeviceOpenNetworkConfigurationProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DeviceOpenNetworkConfigurationProtoDefaultTypeInternal _DeviceOpenNetworkConfigurationProto_default_instance_;
-PROTOBUF_CONSTEXPR NetworkHostnameProto::NetworkHostnameProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.device_hostname_template_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {}
-struct NetworkHostnameProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR NetworkHostnameProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~NetworkHostnameProtoDefaultTypeInternal() {}
- union {
- NetworkHostnameProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 NetworkHostnameProtoDefaultTypeInternal _NetworkHostnameProto_default_instance_;
-PROTOBUF_CONSTEXPR DeviceHindiInscriptLayoutEnabledProto::DeviceHindiInscriptLayoutEnabledProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.enabled_)*/false} {}
-struct DeviceHindiInscriptLayoutEnabledProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR DeviceHindiInscriptLayoutEnabledProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~DeviceHindiInscriptLayoutEnabledProtoDefaultTypeInternal() {}
- union {
- DeviceHindiInscriptLayoutEnabledProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DeviceHindiInscriptLayoutEnabledProtoDefaultTypeInternal _DeviceHindiInscriptLayoutEnabledProto_default_instance_;
-PROTOBUF_CONSTEXPR HostnameUserConfigurableProto::HostnameUserConfigurableProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.device_hostname_user_configurable_)*/false} {}
-struct HostnameUserConfigurableProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR HostnameUserConfigurableProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~HostnameUserConfigurableProtoDefaultTypeInternal() {}
- union {
- HostnameUserConfigurableProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 HostnameUserConfigurableProtoDefaultTypeInternal _HostnameUserConfigurableProto_default_instance_;
-PROTOBUF_CONSTEXPR DeviceReportingProto::DeviceReportingProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.report_signal_strength_event_driven_telemetry_)*/nullptr
- , /*decltype(_impl_.report_location_)*/false
- , /*decltype(_impl_.report_os_update_status_)*/false
- , /*decltype(_impl_.report_running_kiosk_app_)*/false
- , /*decltype(_impl_.report_power_status_)*/false
- , /*decltype(_impl_.report_storage_status_)*/false
- , /*decltype(_impl_.report_board_status_)*/false
- , /*decltype(_impl_.report_cpu_info_)*/false
- , /*decltype(_impl_.report_graphics_status_)*/false
- , /*decltype(_impl_.report_crash_report_info_)*/false
- , /*decltype(_impl_.report_timezone_info_)*/false
- , /*decltype(_impl_.report_memory_info_)*/false
- , /*decltype(_impl_.report_backlight_info_)*/false
- , /*decltype(_impl_.report_app_info_)*/false
- , /*decltype(_impl_.report_bluetooth_info_)*/false
- , /*decltype(_impl_.report_fan_info_)*/false
- , /*decltype(_impl_.report_vpd_info_)*/false
- , /*decltype(_impl_.report_system_info_)*/false
- , /*decltype(_impl_.report_print_jobs_)*/false
- , /*decltype(_impl_.report_login_logout_)*/false
- , /*decltype(_impl_.report_security_status_)*/false
- , /*decltype(_impl_.report_crd_sessions_)*/false
- , /*decltype(_impl_.report_peripherals_)*/false
- , /*decltype(_impl_.report_network_events_)*/false
- , /*decltype(_impl_.device_activity_heartbeat_enabled_)*/false
- , /*decltype(_impl_.report_network_configuration_)*/true
- , /*decltype(_impl_.report_network_status_)*/true
- , /*decltype(_impl_.enable_granular_reporting_)*/true
- , /*decltype(_impl_.report_version_info_)*/true
- , /*decltype(_impl_.report_activity_times_)*/true
- , /*decltype(_impl_.report_boot_mode_)*/true
- , /*decltype(_impl_.report_network_interfaces_)*/true
- , /*decltype(_impl_.report_users_)*/true
- , /*decltype(_impl_.report_hardware_status_)*/true
- , /*decltype(_impl_.report_session_status_)*/true
- , /*decltype(_impl_.report_audio_status_)*/true
- , /*decltype(_impl_.device_status_frequency_)*/int64_t{10800000}
- , /*decltype(_impl_.report_network_telemetry_collection_rate_ms_)*/int64_t{3600000}
- , /*decltype(_impl_.report_network_telemetry_event_checking_rate_ms_)*/int64_t{600000}
- , /*decltype(_impl_.report_device_audio_status_checking_rate_ms_)*/int64_t{600000}
- , /*decltype(_impl_.device_activity_heartbeat_collection_rate_ms_)*/int64_t{900000}} {}
-struct DeviceReportingProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR DeviceReportingProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~DeviceReportingProtoDefaultTypeInternal() {}
- union {
- DeviceReportingProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DeviceReportingProtoDefaultTypeInternal _DeviceReportingProto_default_instance_;
-PROTOBUF_CONSTEXPR EphemeralUsersEnabledProto::EphemeralUsersEnabledProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.ephemeral_users_enabled_)*/false} {}
-struct EphemeralUsersEnabledProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR EphemeralUsersEnabledProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~EphemeralUsersEnabledProtoDefaultTypeInternal() {}
- union {
- EphemeralUsersEnabledProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 EphemeralUsersEnabledProtoDefaultTypeInternal _EphemeralUsersEnabledProto_default_instance_;
-PROTOBUF_CONSTEXPR DeviceKeylockerForStorageEncryptionEnabledProto::DeviceKeylockerForStorageEncryptionEnabledProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.enabled_)*/false} {}
-struct DeviceKeylockerForStorageEncryptionEnabledProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR DeviceKeylockerForStorageEncryptionEnabledProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~DeviceKeylockerForStorageEncryptionEnabledProtoDefaultTypeInternal() {}
- union {
- DeviceKeylockerForStorageEncryptionEnabledProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DeviceKeylockerForStorageEncryptionEnabledProtoDefaultTypeInternal _DeviceKeylockerForStorageEncryptionEnabledProto_default_instance_;
-PROTOBUF_CONSTEXPR OBSOLETE_AppPackEntryProto::OBSOLETE_AppPackEntryProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.obsolete_extension_id_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
- , /*decltype(_impl_.obsolete_update_url_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
- , /*decltype(_impl_.obsolete_online_only_)*/false} {}
-struct OBSOLETE_AppPackEntryProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR OBSOLETE_AppPackEntryProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~OBSOLETE_AppPackEntryProtoDefaultTypeInternal() {}
- union {
- OBSOLETE_AppPackEntryProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 OBSOLETE_AppPackEntryProtoDefaultTypeInternal _OBSOLETE_AppPackEntryProto_default_instance_;
-PROTOBUF_CONSTEXPR OBSOLETE_AppPackProto::OBSOLETE_AppPackProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_.app_pack_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}} {}
-struct OBSOLETE_AppPackProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR OBSOLETE_AppPackProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~OBSOLETE_AppPackProtoDefaultTypeInternal() {}
- union {
- OBSOLETE_AppPackProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 OBSOLETE_AppPackProtoDefaultTypeInternal _OBSOLETE_AppPackProto_default_instance_;
-PROTOBUF_CONSTEXPR OBSOLETE_PinnedAppsProto::OBSOLETE_PinnedAppsProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_.obsolete_app_id_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}} {}
-struct OBSOLETE_PinnedAppsProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR OBSOLETE_PinnedAppsProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~OBSOLETE_PinnedAppsProtoDefaultTypeInternal() {}
- union {
- OBSOLETE_PinnedAppsProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 OBSOLETE_PinnedAppsProtoDefaultTypeInternal _OBSOLETE_PinnedAppsProto_default_instance_;
-PROTOBUF_CONSTEXPR OBSOLETE_ForcedLogoutTimeoutsProto::OBSOLETE_ForcedLogoutTimeoutsProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.obsolete_idle_logout_timeout_)*/int64_t{0}
- , /*decltype(_impl_.obsolete_idle_logout_warning_duration_)*/int64_t{0}} {}
-struct OBSOLETE_ForcedLogoutTimeoutsProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR OBSOLETE_ForcedLogoutTimeoutsProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~OBSOLETE_ForcedLogoutTimeoutsProtoDefaultTypeInternal() {}
- union {
- OBSOLETE_ForcedLogoutTimeoutsProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 OBSOLETE_ForcedLogoutTimeoutsProtoDefaultTypeInternal _OBSOLETE_ForcedLogoutTimeoutsProto_default_instance_;
-PROTOBUF_CONSTEXPR OBSOLETE_ScreenSaverProto::OBSOLETE_ScreenSaverProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.obsolete_screen_saver_extension_id_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
- , /*decltype(_impl_.obsolete_screen_saver_timeout_)*/int64_t{0}} {}
-struct OBSOLETE_ScreenSaverProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR OBSOLETE_ScreenSaverProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~OBSOLETE_ScreenSaverProtoDefaultTypeInternal() {}
- union {
- OBSOLETE_ScreenSaverProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 OBSOLETE_ScreenSaverProtoDefaultTypeInternal _OBSOLETE_ScreenSaverProto_default_instance_;
-PROTOBUF_CONSTEXPR AutoUpdateSettingsProto::AutoUpdateSettingsProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.allowed_connection_types_)*/{}
- , /*decltype(_impl_.target_version_prefix_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
- , /*decltype(_impl_.target_version_display_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
- , /*decltype(_impl_.disallowed_time_intervals_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
- , /*decltype(_impl_.staging_schedule_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
- , /*decltype(_impl_.device_quick_fix_build_token_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
- , /*decltype(_impl_.target_version_selector_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
- , /*decltype(_impl_.scatter_factor_in_seconds_)*/int64_t{0}
- , /*decltype(_impl_.update_disabled_)*/false
- , /*decltype(_impl_.obsolete_reboot_after_update_)*/false
- , /*decltype(_impl_.http_downloads_enabled_)*/false
- , /*decltype(_impl_.reboot_after_update_)*/false
- , /*decltype(_impl_.p2p_enabled_)*/false
- , /*decltype(_impl_.rollback_allowed_milestones_)*/0
- , /*decltype(_impl_.rollback_to_target_version_)*/1
- , /*decltype(_impl_.channel_downgrade_behavior_)*/1} {}
-struct AutoUpdateSettingsProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR AutoUpdateSettingsProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~AutoUpdateSettingsProtoDefaultTypeInternal() {}
- union {
- AutoUpdateSettingsProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 AutoUpdateSettingsProtoDefaultTypeInternal _AutoUpdateSettingsProto_default_instance_;
-PROTOBUF_CONSTEXPR OBSOLETE_StartUpUrlsProto::OBSOLETE_StartUpUrlsProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_.obsolete_start_up_urls_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}} {}
-struct OBSOLETE_StartUpUrlsProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR OBSOLETE_StartUpUrlsProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~OBSOLETE_StartUpUrlsProtoDefaultTypeInternal() {}
- union {
- OBSOLETE_StartUpUrlsProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 OBSOLETE_StartUpUrlsProtoDefaultTypeInternal _OBSOLETE_StartUpUrlsProto_default_instance_;
-PROTOBUF_CONSTEXPR DeviceLoginScreenGeolocationAccessLevelProto::DeviceLoginScreenGeolocationAccessLevelProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.geolocation_access_level_)*/1} {}
-struct DeviceLoginScreenGeolocationAccessLevelProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR DeviceLoginScreenGeolocationAccessLevelProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~DeviceLoginScreenGeolocationAccessLevelProtoDefaultTypeInternal() {}
- union {
- DeviceLoginScreenGeolocationAccessLevelProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DeviceLoginScreenGeolocationAccessLevelProtoDefaultTypeInternal _DeviceLoginScreenGeolocationAccessLevelProto_default_instance_;
-PROTOBUF_CONSTEXPR SystemTimezoneProto::SystemTimezoneProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.timezone_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
- , /*decltype(_impl_.timezone_detection_type_)*/0} {}
-struct SystemTimezoneProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR SystemTimezoneProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~SystemTimezoneProtoDefaultTypeInternal() {}
- union {
- SystemTimezoneProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SystemTimezoneProtoDefaultTypeInternal _SystemTimezoneProto_default_instance_;
-PROTOBUF_CONSTEXPR SystemUse24HourClockProto::SystemUse24HourClockProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.use_24hour_clock_)*/false} {}
-struct SystemUse24HourClockProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR SystemUse24HourClockProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~SystemUse24HourClockProtoDefaultTypeInternal() {}
- union {
- SystemUse24HourClockProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SystemUse24HourClockProtoDefaultTypeInternal _SystemUse24HourClockProto_default_instance_;
-PROTOBUF_CONSTEXPR KioskAppInfoProto::KioskAppInfoProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.app_id_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
- , /*decltype(_impl_.update_url_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {}
-struct KioskAppInfoProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR KioskAppInfoProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~KioskAppInfoProtoDefaultTypeInternal() {}
- union {
- KioskAppInfoProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 KioskAppInfoProtoDefaultTypeInternal _KioskAppInfoProto_default_instance_;
-PROTOBUF_CONSTEXPR AndroidKioskAppInfoProto::AndroidKioskAppInfoProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.package_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
- , /*decltype(_impl_.class_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
- , /*decltype(_impl_.action_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
- , /*decltype(_impl_.display_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {}
-struct AndroidKioskAppInfoProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR AndroidKioskAppInfoProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~AndroidKioskAppInfoProtoDefaultTypeInternal() {}
- union {
- AndroidKioskAppInfoProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 AndroidKioskAppInfoProtoDefaultTypeInternal _AndroidKioskAppInfoProto_default_instance_;
-PROTOBUF_CONSTEXPR WebKioskAppInfoProto::WebKioskAppInfoProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.url_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
- , /*decltype(_impl_.title_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
- , /*decltype(_impl_.icon_url_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {}
-struct WebKioskAppInfoProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR WebKioskAppInfoProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~WebKioskAppInfoProtoDefaultTypeInternal() {}
- union {
- WebKioskAppInfoProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 WebKioskAppInfoProtoDefaultTypeInternal _WebKioskAppInfoProto_default_instance_;
-PROTOBUF_CONSTEXPR DeviceLocalAccountInfoProto::DeviceLocalAccountInfoProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.deprecated_public_session_id_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
- , /*decltype(_impl_.account_id_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
- , /*decltype(_impl_.kiosk_app_)*/nullptr
- , /*decltype(_impl_.android_kiosk_app_)*/nullptr
- , /*decltype(_impl_.web_kiosk_app_)*/nullptr
- , /*decltype(_impl_.type_)*/0
- , /*decltype(_impl_.ephemeral_mode_)*/0} {}
-struct DeviceLocalAccountInfoProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR DeviceLocalAccountInfoProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~DeviceLocalAccountInfoProtoDefaultTypeInternal() {}
- union {
- DeviceLocalAccountInfoProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DeviceLocalAccountInfoProtoDefaultTypeInternal _DeviceLocalAccountInfoProto_default_instance_;
-PROTOBUF_CONSTEXPR DeviceLocalAccountsProto::DeviceLocalAccountsProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.account_)*/{}
- , /*decltype(_impl_.auto_login_id_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
- , /*decltype(_impl_.auto_login_delay_)*/int64_t{0}
- , /*decltype(_impl_.enable_auto_login_bailout_)*/true
- , /*decltype(_impl_.prompt_for_network_when_offline_)*/true} {}
-struct DeviceLocalAccountsProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR DeviceLocalAccountsProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~DeviceLocalAccountsProtoDefaultTypeInternal() {}
- union {
- DeviceLocalAccountsProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DeviceLocalAccountsProtoDefaultTypeInternal _DeviceLocalAccountsProto_default_instance_;
-PROTOBUF_CONSTEXPR ManagedGuestSessionPrivacyWarningsProto::ManagedGuestSessionPrivacyWarningsProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.enabled_)*/true} {}
-struct ManagedGuestSessionPrivacyWarningsProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR ManagedGuestSessionPrivacyWarningsProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~ManagedGuestSessionPrivacyWarningsProtoDefaultTypeInternal() {}
- union {
- ManagedGuestSessionPrivacyWarningsProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ManagedGuestSessionPrivacyWarningsProtoDefaultTypeInternal _ManagedGuestSessionPrivacyWarningsProto_default_instance_;
-PROTOBUF_CONSTEXPR AllowRedeemChromeOsRegistrationOffersProto::AllowRedeemChromeOsRegistrationOffersProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.allow_redeem_offers_)*/true} {}
-struct AllowRedeemChromeOsRegistrationOffersProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR AllowRedeemChromeOsRegistrationOffersProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~AllowRedeemChromeOsRegistrationOffersProtoDefaultTypeInternal() {}
- union {
- AllowRedeemChromeOsRegistrationOffersProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 AllowRedeemChromeOsRegistrationOffersProtoDefaultTypeInternal _AllowRedeemChromeOsRegistrationOffersProto_default_instance_;
-PROTOBUF_CONSTEXPR FeatureFlagsProto::FeatureFlagsProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_.switches_)*/{}
- , /*decltype(_impl_.feature_flags_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}} {}
-struct FeatureFlagsProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR FeatureFlagsProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~FeatureFlagsProtoDefaultTypeInternal() {}
- union {
- FeatureFlagsProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 FeatureFlagsProtoDefaultTypeInternal _FeatureFlagsProto_default_instance_;
-PROTOBUF_CONSTEXPR UptimeLimitProto::UptimeLimitProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.obsolete_uptime_limit_)*/int64_t{0}
- , /*decltype(_impl_.uptime_limit_)*/int64_t{0}} {}
-struct UptimeLimitProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR UptimeLimitProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~UptimeLimitProtoDefaultTypeInternal() {}
- union {
- UptimeLimitProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 UptimeLimitProtoDefaultTypeInternal _UptimeLimitProto_default_instance_;
-PROTOBUF_CONSTEXPR VariationsParameterProto::VariationsParameterProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.parameter_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {}
-struct VariationsParameterProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR VariationsParameterProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~VariationsParameterProtoDefaultTypeInternal() {}
- union {
- VariationsParameterProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VariationsParameterProtoDefaultTypeInternal _VariationsParameterProto_default_instance_;
-PROTOBUF_CONSTEXPR AttestationSettingsProto::AttestationSettingsProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.attestation_enabled_)*/false
- , /*decltype(_impl_.content_protection_enabled_)*/true} {}
-struct AttestationSettingsProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR AttestationSettingsProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~AttestationSettingsProtoDefaultTypeInternal() {}
- union {
- AttestationSettingsProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 AttestationSettingsProtoDefaultTypeInternal _AttestationSettingsProto_default_instance_;
-PROTOBUF_CONSTEXPR AccessibilitySettingsProto::AccessibilitySettingsProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.login_screen_large_cursor_enabled_options_)*/nullptr
- , /*decltype(_impl_.login_screen_spoken_feedback_enabled_options_)*/nullptr
- , /*decltype(_impl_.login_screen_high_contrast_enabled_options_)*/nullptr
- , /*decltype(_impl_.login_screen_virtual_keyboard_enabled_options_)*/nullptr
- , /*decltype(_impl_.login_screen_dictation_enabled_options_)*/nullptr
- , /*decltype(_impl_.login_screen_select_to_speak_enabled_options_)*/nullptr
- , /*decltype(_impl_.login_screen_cursor_highlight_enabled_options_)*/nullptr
- , /*decltype(_impl_.login_screen_caret_highlight_enabled_options_)*/nullptr
- , /*decltype(_impl_.login_screen_mono_audio_enabled_options_)*/nullptr
- , /*decltype(_impl_.login_screen_autoclick_enabled_options_)*/nullptr
- , /*decltype(_impl_.login_screen_sticky_keys_enabled_options_)*/nullptr
- , /*decltype(_impl_.login_screen_keyboard_focus_highlight_enabled_options_)*/nullptr
- , /*decltype(_impl_.login_screen_screen_magnifier_type_options_)*/nullptr
- , /*decltype(_impl_.login_screen_show_options_in_system_tray_menu_enabled_options_)*/nullptr
- , /*decltype(_impl_.login_screen_shortcuts_enabled_options_)*/nullptr
- , /*decltype(_impl_.login_screen_default_large_cursor_enabled_)*/false
- , /*decltype(_impl_.login_screen_default_spoken_feedback_enabled_)*/false
- , /*decltype(_impl_.login_screen_default_high_contrast_enabled_)*/false
- , /*decltype(_impl_.login_screen_default_virtual_keyboard_enabled_)*/false
- , /*decltype(_impl_.login_screen_default_screen_magnifier_type_)*/0
- , /*decltype(_impl_.login_screen_large_cursor_enabled_)*/false
- , /*decltype(_impl_.login_screen_spoken_feedback_enabled_)*/false
- , /*decltype(_impl_.login_screen_high_contrast_enabled_)*/false
- , /*decltype(_impl_.login_screen_virtual_keyboard_enabled_)*/false
- , /*decltype(_impl_.login_screen_dictation_enabled_)*/false
- , /*decltype(_impl_.login_screen_select_to_speak_enabled_)*/false
- , /*decltype(_impl_.login_screen_cursor_highlight_enabled_)*/false
- , /*decltype(_impl_.login_screen_caret_highlight_enabled_)*/false
- , /*decltype(_impl_.login_screen_mono_audio_enabled_)*/false
- , /*decltype(_impl_.login_screen_autoclick_enabled_)*/false
- , /*decltype(_impl_.login_screen_sticky_keys_enabled_)*/false
- , /*decltype(_impl_.login_screen_keyboard_focus_highlight_enabled_)*/false
- , /*decltype(_impl_.login_screen_show_options_in_system_tray_menu_enabled_)*/false
- , /*decltype(_impl_.login_screen_shortcuts_enabled_)*/false
- , /*decltype(_impl_.login_screen_screen_magnifier_type_)*/int64_t{0}} {}
-struct AccessibilitySettingsProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR AccessibilitySettingsProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~AccessibilitySettingsProtoDefaultTypeInternal() {}
- union {
- AccessibilitySettingsProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 AccessibilitySettingsProtoDefaultTypeInternal _AccessibilitySettingsProto_default_instance_;
-PROTOBUF_CONSTEXPR OBSOLETE_SupervisedUsersSettingsProto::OBSOLETE_SupervisedUsersSettingsProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.obsolete_supervised_users_enabled_)*/false} {}
-struct OBSOLETE_SupervisedUsersSettingsProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR OBSOLETE_SupervisedUsersSettingsProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~OBSOLETE_SupervisedUsersSettingsProtoDefaultTypeInternal() {}
- union {
- OBSOLETE_SupervisedUsersSettingsProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 OBSOLETE_SupervisedUsersSettingsProtoDefaultTypeInternal _OBSOLETE_SupervisedUsersSettingsProto_default_instance_;
-PROTOBUF_CONSTEXPR LoginScreenPowerManagementProto::LoginScreenPowerManagementProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.login_screen_power_management_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {}
-struct LoginScreenPowerManagementProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR LoginScreenPowerManagementProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~LoginScreenPowerManagementProtoDefaultTypeInternal() {}
- union {
- LoginScreenPowerManagementProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 LoginScreenPowerManagementProtoDefaultTypeInternal _LoginScreenPowerManagementProto_default_instance_;
-PROTOBUF_CONSTEXPR AutoCleanupSettigsProto::AutoCleanupSettigsProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.clean_up_strategy_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {}
-struct AutoCleanupSettigsProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR AutoCleanupSettigsProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~AutoCleanupSettigsProtoDefaultTypeInternal() {}
- union {
- AutoCleanupSettigsProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 AutoCleanupSettigsProtoDefaultTypeInternal _AutoCleanupSettigsProto_default_instance_;
-PROTOBUF_CONSTEXPR SystemSettingsProto::SystemSettingsProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.block_devmode_)*/false} {}
-struct SystemSettingsProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR SystemSettingsProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~SystemSettingsProtoDefaultTypeInternal() {}
- union {
- SystemSettingsProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SystemSettingsProtoDefaultTypeInternal _SystemSettingsProto_default_instance_;
-PROTOBUF_CONSTEXPR SAMLSettingsProto::SAMLSettingsProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.obsolete_url_parameter_to_autofill_saml_username_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
- , /*decltype(_impl_.transfer_saml_cookies_)*/false} {}
-struct SAMLSettingsProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR SAMLSettingsProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~SAMLSettingsProtoDefaultTypeInternal() {}
- union {
- SAMLSettingsProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SAMLSettingsProtoDefaultTypeInternal _SAMLSettingsProto_default_instance_;
-PROTOBUF_CONSTEXPR SAMLUsernameProto::SAMLUsernameProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.url_parameter_to_autofill_saml_username_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {}
-struct SAMLUsernameProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR SAMLUsernameProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~SAMLUsernameProtoDefaultTypeInternal() {}
- union {
- SAMLUsernameProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SAMLUsernameProtoDefaultTypeInternal _SAMLUsernameProto_default_instance_;
-PROTOBUF_CONSTEXPR RebootOnShutdownProto::RebootOnShutdownProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.reboot_on_shutdown_)*/false} {}
-struct RebootOnShutdownProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR RebootOnShutdownProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~RebootOnShutdownProtoDefaultTypeInternal() {}
- union {
- RebootOnShutdownProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RebootOnShutdownProtoDefaultTypeInternal _RebootOnShutdownProto_default_instance_;
-PROTOBUF_CONSTEXPR DeviceHeartbeatSettingsProto::DeviceHeartbeatSettingsProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.heartbeat_enabled_)*/false
- , /*decltype(_impl_.heartbeat_frequency_)*/int64_t{120000}} {}
-struct DeviceHeartbeatSettingsProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR DeviceHeartbeatSettingsProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~DeviceHeartbeatSettingsProtoDefaultTypeInternal() {}
- union {
- DeviceHeartbeatSettingsProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DeviceHeartbeatSettingsProtoDefaultTypeInternal _DeviceHeartbeatSettingsProto_default_instance_;
-PROTOBUF_CONSTEXPR ExtensionCacheSizeProto::ExtensionCacheSizeProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.extension_cache_size_)*/int64_t{0}} {}
-struct ExtensionCacheSizeProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR ExtensionCacheSizeProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~ExtensionCacheSizeProtoDefaultTypeInternal() {}
- union {
- ExtensionCacheSizeProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ExtensionCacheSizeProtoDefaultTypeInternal _ExtensionCacheSizeProto_default_instance_;
-PROTOBUF_CONSTEXPR LoginScreenDomainAutoCompleteProto::LoginScreenDomainAutoCompleteProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.login_screen_domain_auto_complete_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {}
-struct LoginScreenDomainAutoCompleteProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR LoginScreenDomainAutoCompleteProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~LoginScreenDomainAutoCompleteProtoDefaultTypeInternal() {}
- union {
- LoginScreenDomainAutoCompleteProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 LoginScreenDomainAutoCompleteProtoDefaultTypeInternal _LoginScreenDomainAutoCompleteProto_default_instance_;
-PROTOBUF_CONSTEXPR DeviceLogUploadSettingsProto::DeviceLogUploadSettingsProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.system_log_upload_enabled_)*/false} {}
-struct DeviceLogUploadSettingsProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR DeviceLogUploadSettingsProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~DeviceLogUploadSettingsProtoDefaultTypeInternal() {}
- union {
- DeviceLogUploadSettingsProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DeviceLogUploadSettingsProtoDefaultTypeInternal _DeviceLogUploadSettingsProto_default_instance_;
-PROTOBUF_CONSTEXPR DisplayRotationDefaultProto::DisplayRotationDefaultProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.display_rotation_default_)*/0} {}
-struct DisplayRotationDefaultProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR DisplayRotationDefaultProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~DisplayRotationDefaultProtoDefaultTypeInternal() {}
- union {
- DisplayRotationDefaultProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DisplayRotationDefaultProtoDefaultTypeInternal _DisplayRotationDefaultProto_default_instance_;
-PROTOBUF_CONSTEXPR DeviceLoginScreenPrivacyScreenEnabledProto::DeviceLoginScreenPrivacyScreenEnabledProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.enabled_)*/false} {}
-struct DeviceLoginScreenPrivacyScreenEnabledProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR DeviceLoginScreenPrivacyScreenEnabledProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~DeviceLoginScreenPrivacyScreenEnabledProtoDefaultTypeInternal() {}
- union {
- DeviceLoginScreenPrivacyScreenEnabledProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DeviceLoginScreenPrivacyScreenEnabledProtoDefaultTypeInternal _DeviceLoginScreenPrivacyScreenEnabledProto_default_instance_;
-PROTOBUF_CONSTEXPR DeviceDisplayResolutionProto::DeviceDisplayResolutionProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.device_display_resolution_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {}
-struct DeviceDisplayResolutionProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR DeviceDisplayResolutionProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~DeviceDisplayResolutionProtoDefaultTypeInternal() {}
- union {
- DeviceDisplayResolutionProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DeviceDisplayResolutionProtoDefaultTypeInternal _DeviceDisplayResolutionProto_default_instance_;
-PROTOBUF_CONSTEXPR AllowKioskAppControlChromeVersionProto::AllowKioskAppControlChromeVersionProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.allow_kiosk_app_control_chrome_version_)*/false} {}
-struct AllowKioskAppControlChromeVersionProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR AllowKioskAppControlChromeVersionProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~AllowKioskAppControlChromeVersionProtoDefaultTypeInternal() {}
- union {
- AllowKioskAppControlChromeVersionProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 AllowKioskAppControlChromeVersionProtoDefaultTypeInternal _AllowKioskAppControlChromeVersionProto_default_instance_;
-PROTOBUF_CONSTEXPR LoginAuthenticationBehaviorProto::LoginAuthenticationBehaviorProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.login_authentication_behavior_)*/0} {}
-struct LoginAuthenticationBehaviorProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR LoginAuthenticationBehaviorProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~LoginAuthenticationBehaviorProtoDefaultTypeInternal() {}
- union {
- LoginAuthenticationBehaviorProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 LoginAuthenticationBehaviorProtoDefaultTypeInternal _LoginAuthenticationBehaviorProto_default_instance_;
-PROTOBUF_CONSTEXPR UsbDeviceIdProto::UsbDeviceIdProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.vendor_id_)*/0
- , /*decltype(_impl_.product_id_)*/0} {}
-struct UsbDeviceIdProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR UsbDeviceIdProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~UsbDeviceIdProtoDefaultTypeInternal() {}
- union {
- UsbDeviceIdProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 UsbDeviceIdProtoDefaultTypeInternal _UsbDeviceIdProto_default_instance_;
-PROTOBUF_CONSTEXPR UsbDetachableWhitelistProto::UsbDetachableWhitelistProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_.id_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}} {}
-struct UsbDetachableWhitelistProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR UsbDetachableWhitelistProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~UsbDetachableWhitelistProtoDefaultTypeInternal() {}
- union {
- UsbDetachableWhitelistProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 UsbDetachableWhitelistProtoDefaultTypeInternal _UsbDetachableWhitelistProto_default_instance_;
-PROTOBUF_CONSTEXPR UsbDeviceIdInclusiveProto::UsbDeviceIdInclusiveProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.vendor_id_)*/0
- , /*decltype(_impl_.product_id_)*/0} {}
-struct UsbDeviceIdInclusiveProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR UsbDeviceIdInclusiveProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~UsbDeviceIdInclusiveProtoDefaultTypeInternal() {}
- union {
- UsbDeviceIdInclusiveProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 UsbDeviceIdInclusiveProtoDefaultTypeInternal _UsbDeviceIdInclusiveProto_default_instance_;
-PROTOBUF_CONSTEXPR UsbDetachableAllowlistProto::UsbDetachableAllowlistProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_.id_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}} {}
-struct UsbDetachableAllowlistProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR UsbDetachableAllowlistProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~UsbDetachableAllowlistProtoDefaultTypeInternal() {}
- union {
- UsbDetachableAllowlistProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 UsbDetachableAllowlistProtoDefaultTypeInternal _UsbDetachableAllowlistProto_default_instance_;
-PROTOBUF_CONSTEXPR AllowBluetoothProto::AllowBluetoothProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.allow_bluetooth_)*/true} {}
-struct AllowBluetoothProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR AllowBluetoothProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~AllowBluetoothProtoDefaultTypeInternal() {}
- union {
- AllowBluetoothProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 AllowBluetoothProtoDefaultTypeInternal _AllowBluetoothProto_default_instance_;
-PROTOBUF_CONSTEXPR DeviceWiFiAllowedProto::DeviceWiFiAllowedProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.device_wifi_allowed_)*/true} {}
-struct DeviceWiFiAllowedProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR DeviceWiFiAllowedProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~DeviceWiFiAllowedProtoDefaultTypeInternal() {}
- union {
- DeviceWiFiAllowedProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DeviceWiFiAllowedProtoDefaultTypeInternal _DeviceWiFiAllowedProto_default_instance_;
-PROTOBUF_CONSTEXPR DeviceQuirksDownloadEnabledProto::DeviceQuirksDownloadEnabledProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.quirks_download_enabled_)*/false} {}
-struct DeviceQuirksDownloadEnabledProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR DeviceQuirksDownloadEnabledProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~DeviceQuirksDownloadEnabledProtoDefaultTypeInternal() {}
- union {
- DeviceQuirksDownloadEnabledProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DeviceQuirksDownloadEnabledProtoDefaultTypeInternal _DeviceQuirksDownloadEnabledProto_default_instance_;
-PROTOBUF_CONSTEXPR LoginVideoCaptureAllowedUrlsProto::LoginVideoCaptureAllowedUrlsProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_.urls_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}} {}
-struct LoginVideoCaptureAllowedUrlsProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR LoginVideoCaptureAllowedUrlsProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~LoginVideoCaptureAllowedUrlsProtoDefaultTypeInternal() {}
- union {
- LoginVideoCaptureAllowedUrlsProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 LoginVideoCaptureAllowedUrlsProtoDefaultTypeInternal _LoginVideoCaptureAllowedUrlsProto_default_instance_;
-PROTOBUF_CONSTEXPR DeviceWiFiFastTransitionEnabledProto::DeviceWiFiFastTransitionEnabledProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.device_wifi_fast_transition_enabled_)*/false} {}
-struct DeviceWiFiFastTransitionEnabledProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR DeviceWiFiFastTransitionEnabledProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~DeviceWiFiFastTransitionEnabledProtoDefaultTypeInternal() {}
- union {
- DeviceWiFiFastTransitionEnabledProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DeviceWiFiFastTransitionEnabledProtoDefaultTypeInternal _DeviceWiFiFastTransitionEnabledProto_default_instance_;
-PROTOBUF_CONSTEXPR NetworkThrottlingEnabledProto::NetworkThrottlingEnabledProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.enabled_)*/false
- , /*decltype(_impl_.upload_rate_kbits_)*/0
- , /*decltype(_impl_.download_rate_kbits_)*/0} {}
-struct NetworkThrottlingEnabledProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR NetworkThrottlingEnabledProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~NetworkThrottlingEnabledProtoDefaultTypeInternal() {}
- union {
- NetworkThrottlingEnabledProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 NetworkThrottlingEnabledProtoDefaultTypeInternal _NetworkThrottlingEnabledProto_default_instance_;
-PROTOBUF_CONSTEXPR DeviceLoginScreenExtensionsProto::DeviceLoginScreenExtensionsProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_.device_login_screen_extensions_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}} {}
-struct DeviceLoginScreenExtensionsProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR DeviceLoginScreenExtensionsProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~DeviceLoginScreenExtensionsProtoDefaultTypeInternal() {}
- union {
- DeviceLoginScreenExtensionsProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DeviceLoginScreenExtensionsProtoDefaultTypeInternal _DeviceLoginScreenExtensionsProto_default_instance_;
-PROTOBUF_CONSTEXPR LoginScreenExtensionManifestV2AvailabilityProto::LoginScreenExtensionManifestV2AvailabilityProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.login_screen_extension_manifest_v2_availability_)*/0} {}
-struct LoginScreenExtensionManifestV2AvailabilityProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR LoginScreenExtensionManifestV2AvailabilityProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~LoginScreenExtensionManifestV2AvailabilityProtoDefaultTypeInternal() {}
- union {
- LoginScreenExtensionManifestV2AvailabilityProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 LoginScreenExtensionManifestV2AvailabilityProtoDefaultTypeInternal _LoginScreenExtensionManifestV2AvailabilityProto_default_instance_;
-PROTOBUF_CONSTEXPR LoginScreenLocalesProto::LoginScreenLocalesProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_.login_screen_locales_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}} {}
-struct LoginScreenLocalesProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR LoginScreenLocalesProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~LoginScreenLocalesProtoDefaultTypeInternal() {}
- union {
- LoginScreenLocalesProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 LoginScreenLocalesProtoDefaultTypeInternal _LoginScreenLocalesProto_default_instance_;
-PROTOBUF_CONSTEXPR LoginScreenInputMethodsProto::LoginScreenInputMethodsProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_.login_screen_input_methods_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}} {}
-struct LoginScreenInputMethodsProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR LoginScreenInputMethodsProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~LoginScreenInputMethodsProtoDefaultTypeInternal() {}
- union {
- LoginScreenInputMethodsProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 LoginScreenInputMethodsProtoDefaultTypeInternal _LoginScreenInputMethodsProto_default_instance_;
-PROTOBUF_CONSTEXPR DeviceWallpaperImageProto::DeviceWallpaperImageProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.device_wallpaper_image_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {}
-struct DeviceWallpaperImageProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR DeviceWallpaperImageProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~DeviceWallpaperImageProtoDefaultTypeInternal() {}
- union {
- DeviceWallpaperImageProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DeviceWallpaperImageProtoDefaultTypeInternal _DeviceWallpaperImageProto_default_instance_;
-PROTOBUF_CONSTEXPR DeviceScreensaverLoginScreenIdleTimeoutSecondsProto::DeviceScreensaverLoginScreenIdleTimeoutSecondsProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.device_screensaver_login_screen_idle_timeout_seconds_)*/int64_t{0}} {}
-struct DeviceScreensaverLoginScreenIdleTimeoutSecondsProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR DeviceScreensaverLoginScreenIdleTimeoutSecondsProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~DeviceScreensaverLoginScreenIdleTimeoutSecondsProtoDefaultTypeInternal() {}
- union {
- DeviceScreensaverLoginScreenIdleTimeoutSecondsProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DeviceScreensaverLoginScreenIdleTimeoutSecondsProtoDefaultTypeInternal _DeviceScreensaverLoginScreenIdleTimeoutSecondsProto_default_instance_;
-PROTOBUF_CONSTEXPR DeviceScreensaverLoginScreenImageDisplayIntervalSecondsProto::DeviceScreensaverLoginScreenImageDisplayIntervalSecondsProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.device_screensaver_login_screen_image_display_interval_seconds_)*/int64_t{0}} {}
-struct DeviceScreensaverLoginScreenImageDisplayIntervalSecondsProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR DeviceScreensaverLoginScreenImageDisplayIntervalSecondsProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~DeviceScreensaverLoginScreenImageDisplayIntervalSecondsProtoDefaultTypeInternal() {}
- union {
- DeviceScreensaverLoginScreenImageDisplayIntervalSecondsProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DeviceScreensaverLoginScreenImageDisplayIntervalSecondsProtoDefaultTypeInternal _DeviceScreensaverLoginScreenImageDisplayIntervalSecondsProto_default_instance_;
-PROTOBUF_CONSTEXPR DeviceScreensaverLoginScreenImagesProto::DeviceScreensaverLoginScreenImagesProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_.device_screensaver_login_screen_images_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}} {}
-struct DeviceScreensaverLoginScreenImagesProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR DeviceScreensaverLoginScreenImagesProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~DeviceScreensaverLoginScreenImagesProtoDefaultTypeInternal() {}
- union {
- DeviceScreensaverLoginScreenImagesProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DeviceScreensaverLoginScreenImagesProtoDefaultTypeInternal _DeviceScreensaverLoginScreenImagesProto_default_instance_;
-PROTOBUF_CONSTEXPR DeviceScreensaverLoginScreenEnabledProto::DeviceScreensaverLoginScreenEnabledProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.device_screensaver_login_screen_enabled_)*/false} {}
-struct DeviceScreensaverLoginScreenEnabledProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR DeviceScreensaverLoginScreenEnabledProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~DeviceScreensaverLoginScreenEnabledProtoDefaultTypeInternal() {}
- union {
- DeviceScreensaverLoginScreenEnabledProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DeviceScreensaverLoginScreenEnabledProtoDefaultTypeInternal _DeviceScreensaverLoginScreenEnabledProto_default_instance_;
-PROTOBUF_CONSTEXPR DeviceSystemAecEnabledProto::DeviceSystemAecEnabledProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.device_system_aec_enabled_)*/false} {}
-struct DeviceSystemAecEnabledProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR DeviceSystemAecEnabledProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~DeviceSystemAecEnabledProtoDefaultTypeInternal() {}
- union {
- DeviceSystemAecEnabledProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DeviceSystemAecEnabledProtoDefaultTypeInternal _DeviceSystemAecEnabledProto_default_instance_;
-PROTOBUF_CONSTEXPR DeviceEcryptfsMigrationStrategyProto::DeviceEcryptfsMigrationStrategyProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.migration_strategy_)*/0} {}
-struct DeviceEcryptfsMigrationStrategyProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR DeviceEcryptfsMigrationStrategyProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~DeviceEcryptfsMigrationStrategyProtoDefaultTypeInternal() {}
- union {
- DeviceEcryptfsMigrationStrategyProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DeviceEcryptfsMigrationStrategyProtoDefaultTypeInternal _DeviceEcryptfsMigrationStrategyProto_default_instance_;
-PROTOBUF_CONSTEXPR DeviceSecondFactorAuthenticationProto::DeviceSecondFactorAuthenticationProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.mode_)*/0} {}
-struct DeviceSecondFactorAuthenticationProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR DeviceSecondFactorAuthenticationProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~DeviceSecondFactorAuthenticationProtoDefaultTypeInternal() {}
- union {
- DeviceSecondFactorAuthenticationProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DeviceSecondFactorAuthenticationProtoDefaultTypeInternal _DeviceSecondFactorAuthenticationProto_default_instance_;
-PROTOBUF_CONSTEXPR CastReceiverNameProto::CastReceiverNameProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {}
-struct CastReceiverNameProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR CastReceiverNameProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~CastReceiverNameProtoDefaultTypeInternal() {}
- union {
- CastReceiverNameProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CastReceiverNameProtoDefaultTypeInternal _CastReceiverNameProto_default_instance_;
-PROTOBUF_CONSTEXPR WeeklyTimeProto::WeeklyTimeProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.day_of_week_)*/0
- , /*decltype(_impl_.time_)*/0} {}
-struct WeeklyTimeProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR WeeklyTimeProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~WeeklyTimeProtoDefaultTypeInternal() {}
- union {
- WeeklyTimeProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 WeeklyTimeProtoDefaultTypeInternal _WeeklyTimeProto_default_instance_;
-PROTOBUF_CONSTEXPR WeeklyTimeIntervalProto::WeeklyTimeIntervalProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.start_)*/nullptr
- , /*decltype(_impl_.end_)*/nullptr} {}
-struct WeeklyTimeIntervalProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR WeeklyTimeIntervalProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~WeeklyTimeIntervalProtoDefaultTypeInternal() {}
- union {
- WeeklyTimeIntervalProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 WeeklyTimeIntervalProtoDefaultTypeInternal _WeeklyTimeIntervalProto_default_instance_;
-PROTOBUF_CONSTEXPR DeviceOffHoursProto::DeviceOffHoursProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.intervals_)*/{}
- , /*decltype(_impl_.ignored_policy_proto_tags_)*/{}
- , /*decltype(_impl_.timezone_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {}
-struct DeviceOffHoursProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR DeviceOffHoursProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~DeviceOffHoursProtoDefaultTypeInternal() {}
- union {
- DeviceOffHoursProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DeviceOffHoursProtoDefaultTypeInternal _DeviceOffHoursProto_default_instance_;
-PROTOBUF_CONSTEXPR DeviceNativePrintersProto::DeviceNativePrintersProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.external_policy_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {}
-struct DeviceNativePrintersProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR DeviceNativePrintersProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~DeviceNativePrintersProtoDefaultTypeInternal() {}
- union {
- DeviceNativePrintersProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DeviceNativePrintersProtoDefaultTypeInternal _DeviceNativePrintersProto_default_instance_;
-PROTOBUF_CONSTEXPR DeviceNativePrintersAccessModeProto::DeviceNativePrintersAccessModeProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.access_mode_)*/0} {}
-struct DeviceNativePrintersAccessModeProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR DeviceNativePrintersAccessModeProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~DeviceNativePrintersAccessModeProtoDefaultTypeInternal() {}
- union {
- DeviceNativePrintersAccessModeProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DeviceNativePrintersAccessModeProtoDefaultTypeInternal _DeviceNativePrintersAccessModeProto_default_instance_;
-PROTOBUF_CONSTEXPR DeviceNativePrintersBlacklistProto::DeviceNativePrintersBlacklistProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_.blacklist_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}} {}
-struct DeviceNativePrintersBlacklistProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR DeviceNativePrintersBlacklistProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~DeviceNativePrintersBlacklistProtoDefaultTypeInternal() {}
- union {
- DeviceNativePrintersBlacklistProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DeviceNativePrintersBlacklistProtoDefaultTypeInternal _DeviceNativePrintersBlacklistProto_default_instance_;
-PROTOBUF_CONSTEXPR DeviceNativePrintersWhitelistProto::DeviceNativePrintersWhitelistProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_.whitelist_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}} {}
-struct DeviceNativePrintersWhitelistProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR DeviceNativePrintersWhitelistProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~DeviceNativePrintersWhitelistProtoDefaultTypeInternal() {}
- union {
- DeviceNativePrintersWhitelistProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DeviceNativePrintersWhitelistProtoDefaultTypeInternal _DeviceNativePrintersWhitelistProto_default_instance_;
-PROTOBUF_CONSTEXPR DevicePrintersProto::DevicePrintersProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.external_policy_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {}
-struct DevicePrintersProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR DevicePrintersProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~DevicePrintersProtoDefaultTypeInternal() {}
- union {
- DevicePrintersProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DevicePrintersProtoDefaultTypeInternal _DevicePrintersProto_default_instance_;
-PROTOBUF_CONSTEXPR DevicePrintersAccessModeProto::DevicePrintersAccessModeProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.access_mode_)*/0} {}
-struct DevicePrintersAccessModeProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR DevicePrintersAccessModeProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~DevicePrintersAccessModeProtoDefaultTypeInternal() {}
- union {
- DevicePrintersAccessModeProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DevicePrintersAccessModeProtoDefaultTypeInternal _DevicePrintersAccessModeProto_default_instance_;
-PROTOBUF_CONSTEXPR DevicePrintersBlocklistProto::DevicePrintersBlocklistProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_.blocklist_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}} {}
-struct DevicePrintersBlocklistProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR DevicePrintersBlocklistProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~DevicePrintersBlocklistProtoDefaultTypeInternal() {}
- union {
- DevicePrintersBlocklistProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DevicePrintersBlocklistProtoDefaultTypeInternal _DevicePrintersBlocklistProto_default_instance_;
-PROTOBUF_CONSTEXPR DevicePrintersAllowlistProto::DevicePrintersAllowlistProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_.allowlist_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}} {}
-struct DevicePrintersAllowlistProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR DevicePrintersAllowlistProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~DevicePrintersAllowlistProtoDefaultTypeInternal() {}
- union {
- DevicePrintersAllowlistProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DevicePrintersAllowlistProtoDefaultTypeInternal _DevicePrintersAllowlistProto_default_instance_;
-PROTOBUF_CONSTEXPR DeviceExternalPrintServersProto::DeviceExternalPrintServersProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.external_policy_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {}
-struct DeviceExternalPrintServersProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR DeviceExternalPrintServersProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~DeviceExternalPrintServersProtoDefaultTypeInternal() {}
- union {
- DeviceExternalPrintServersProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DeviceExternalPrintServersProtoDefaultTypeInternal _DeviceExternalPrintServersProto_default_instance_;
-PROTOBUF_CONSTEXPR DeviceExternalPrintServersAllowlistProto::DeviceExternalPrintServersAllowlistProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_.allowlist_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}} {}
-struct DeviceExternalPrintServersAllowlistProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR DeviceExternalPrintServersAllowlistProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~DeviceExternalPrintServersAllowlistProtoDefaultTypeInternal() {}
- union {
- DeviceExternalPrintServersAllowlistProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DeviceExternalPrintServersAllowlistProtoDefaultTypeInternal _DeviceExternalPrintServersAllowlistProto_default_instance_;
-PROTOBUF_CONSTEXPR TPMFirmwareUpdateSettingsProto::TPMFirmwareUpdateSettingsProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.allow_user_initiated_powerwash_)*/false
- , /*decltype(_impl_.allow_user_initiated_preserve_device_state_)*/false
- , /*decltype(_impl_.auto_update_mode_)*/1} {}
-struct TPMFirmwareUpdateSettingsProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR TPMFirmwareUpdateSettingsProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~TPMFirmwareUpdateSettingsProtoDefaultTypeInternal() {}
- union {
- TPMFirmwareUpdateSettingsProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TPMFirmwareUpdateSettingsProtoDefaultTypeInternal _TPMFirmwareUpdateSettingsProto_default_instance_;
-PROTOBUF_CONSTEXPR OBSOLETE_MinimumRequiredVersionProto::OBSOLETE_MinimumRequiredVersionProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.obsolete_chrome_version_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {}
-struct OBSOLETE_MinimumRequiredVersionProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR OBSOLETE_MinimumRequiredVersionProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~OBSOLETE_MinimumRequiredVersionProtoDefaultTypeInternal() {}
- union {
- OBSOLETE_MinimumRequiredVersionProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 OBSOLETE_MinimumRequiredVersionProtoDefaultTypeInternal _OBSOLETE_MinimumRequiredVersionProto_default_instance_;
-PROTOBUF_CONSTEXPR DeviceLoginScreenAutoSelectCertificateForUrls::DeviceLoginScreenAutoSelectCertificateForUrls(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_.login_screen_auto_select_certificate_rules_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}} {}
-struct DeviceLoginScreenAutoSelectCertificateForUrlsDefaultTypeInternal {
- PROTOBUF_CONSTEXPR DeviceLoginScreenAutoSelectCertificateForUrlsDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~DeviceLoginScreenAutoSelectCertificateForUrlsDefaultTypeInternal() {}
- union {
- DeviceLoginScreenAutoSelectCertificateForUrls _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DeviceLoginScreenAutoSelectCertificateForUrlsDefaultTypeInternal _DeviceLoginScreenAutoSelectCertificateForUrls_default_instance_;
-PROTOBUF_CONSTEXPR UnaffiliatedArcAllowedProto::UnaffiliatedArcAllowedProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.unaffiliated_arc_allowed_)*/false} {}
-struct UnaffiliatedArcAllowedProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR UnaffiliatedArcAllowedProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~UnaffiliatedArcAllowedProtoDefaultTypeInternal() {}
- union {
- UnaffiliatedArcAllowedProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 UnaffiliatedArcAllowedProtoDefaultTypeInternal _UnaffiliatedArcAllowedProto_default_instance_;
-PROTOBUF_CONSTEXPR DeviceKerberosEncryptionTypesProto::DeviceKerberosEncryptionTypesProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.types_)*/1} {}
-struct DeviceKerberosEncryptionTypesProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR DeviceKerberosEncryptionTypesProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~DeviceKerberosEncryptionTypesProtoDefaultTypeInternal() {}
- union {
- DeviceKerberosEncryptionTypesProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DeviceKerberosEncryptionTypesProtoDefaultTypeInternal _DeviceKerberosEncryptionTypesProto_default_instance_;
-PROTOBUF_CONSTEXPR KeyboardBacklightColorProto::KeyboardBacklightColorProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.color_)*/0} {}
-struct KeyboardBacklightColorProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR KeyboardBacklightColorProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~KeyboardBacklightColorProtoDefaultTypeInternal() {}
- union {
- KeyboardBacklightColorProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 KeyboardBacklightColorProtoDefaultTypeInternal _KeyboardBacklightColorProto_default_instance_;
-PROTOBUF_CONSTEXPR DeviceUserPolicyLoopbackProcessingModeProto::DeviceUserPolicyLoopbackProcessingModeProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.mode_)*/0} {}
-struct DeviceUserPolicyLoopbackProcessingModeProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR DeviceUserPolicyLoopbackProcessingModeProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~DeviceUserPolicyLoopbackProcessingModeProtoDefaultTypeInternal() {}
- union {
- DeviceUserPolicyLoopbackProcessingModeProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DeviceUserPolicyLoopbackProcessingModeProtoDefaultTypeInternal _DeviceUserPolicyLoopbackProcessingModeProto_default_instance_;
-PROTOBUF_CONSTEXPR OBSOLETE_DeviceLoginScreenIsolateOriginsProto::OBSOLETE_DeviceLoginScreenIsolateOriginsProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.obsolete_isolate_origins_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {}
-struct OBSOLETE_DeviceLoginScreenIsolateOriginsProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR OBSOLETE_DeviceLoginScreenIsolateOriginsProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~OBSOLETE_DeviceLoginScreenIsolateOriginsProtoDefaultTypeInternal() {}
- union {
- OBSOLETE_DeviceLoginScreenIsolateOriginsProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 OBSOLETE_DeviceLoginScreenIsolateOriginsProtoDefaultTypeInternal _OBSOLETE_DeviceLoginScreenIsolateOriginsProto_default_instance_;
-PROTOBUF_CONSTEXPR OBSOLETE_DeviceLoginScreenSitePerProcessProto::OBSOLETE_DeviceLoginScreenSitePerProcessProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.obsolete_site_per_process_)*/false} {}
-struct OBSOLETE_DeviceLoginScreenSitePerProcessProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR OBSOLETE_DeviceLoginScreenSitePerProcessProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~OBSOLETE_DeviceLoginScreenSitePerProcessProtoDefaultTypeInternal() {}
- union {
- OBSOLETE_DeviceLoginScreenSitePerProcessProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 OBSOLETE_DeviceLoginScreenSitePerProcessProtoDefaultTypeInternal _OBSOLETE_DeviceLoginScreenSitePerProcessProto_default_instance_;
-PROTOBUF_CONSTEXPR VirtualMachinesAllowedProto::VirtualMachinesAllowedProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.virtual_machines_allowed_)*/false} {}
-struct VirtualMachinesAllowedProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR VirtualMachinesAllowedProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~VirtualMachinesAllowedProtoDefaultTypeInternal() {}
- union {
- VirtualMachinesAllowedProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VirtualMachinesAllowedProtoDefaultTypeInternal _VirtualMachinesAllowedProto_default_instance_;
-PROTOBUF_CONSTEXPR DeviceMachinePasswordChangeRateProto::DeviceMachinePasswordChangeRateProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.rate_days_)*/0} {}
-struct DeviceMachinePasswordChangeRateProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR DeviceMachinePasswordChangeRateProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~DeviceMachinePasswordChangeRateProtoDefaultTypeInternal() {}
- union {
- DeviceMachinePasswordChangeRateProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DeviceMachinePasswordChangeRateProtoDefaultTypeInternal _DeviceMachinePasswordChangeRateProto_default_instance_;
-PROTOBUF_CONSTEXPR DeviceGpoCacheLifetimeProto::DeviceGpoCacheLifetimeProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.lifetime_hours_)*/0} {}
-struct DeviceGpoCacheLifetimeProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR DeviceGpoCacheLifetimeProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~DeviceGpoCacheLifetimeProtoDefaultTypeInternal() {}
- union {
- DeviceGpoCacheLifetimeProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DeviceGpoCacheLifetimeProtoDefaultTypeInternal _DeviceGpoCacheLifetimeProto_default_instance_;
-PROTOBUF_CONSTEXPR DeviceAuthDataCacheLifetimeProto::DeviceAuthDataCacheLifetimeProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.lifetime_hours_)*/0} {}
-struct DeviceAuthDataCacheLifetimeProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR DeviceAuthDataCacheLifetimeProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~DeviceAuthDataCacheLifetimeProtoDefaultTypeInternal() {}
- union {
- DeviceAuthDataCacheLifetimeProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DeviceAuthDataCacheLifetimeProtoDefaultTypeInternal _DeviceAuthDataCacheLifetimeProto_default_instance_;
-PROTOBUF_CONSTEXPR DeviceUnaffiliatedCrostiniAllowedProto::DeviceUnaffiliatedCrostiniAllowedProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.device_unaffiliated_crostini_allowed_)*/false} {}
-struct DeviceUnaffiliatedCrostiniAllowedProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR DeviceUnaffiliatedCrostiniAllowedProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~DeviceUnaffiliatedCrostiniAllowedProtoDefaultTypeInternal() {}
- union {
- DeviceUnaffiliatedCrostiniAllowedProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DeviceUnaffiliatedCrostiniAllowedProtoDefaultTypeInternal _DeviceUnaffiliatedCrostiniAllowedProto_default_instance_;
-PROTOBUF_CONSTEXPR PluginVmAllowedProto::PluginVmAllowedProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.plugin_vm_allowed_)*/false} {}
-struct PluginVmAllowedProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR PluginVmAllowedProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~PluginVmAllowedProtoDefaultTypeInternal() {}
- union {
- PluginVmAllowedProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PluginVmAllowedProtoDefaultTypeInternal _PluginVmAllowedProto_default_instance_;
-PROTOBUF_CONSTEXPR PluginVmLicenseKeyProto::PluginVmLicenseKeyProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.plugin_vm_license_key_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {}
-struct PluginVmLicenseKeyProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR PluginVmLicenseKeyProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~PluginVmLicenseKeyProtoDefaultTypeInternal() {}
- union {
- PluginVmLicenseKeyProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PluginVmLicenseKeyProtoDefaultTypeInternal _PluginVmLicenseKeyProto_default_instance_;
-PROTOBUF_CONSTEXPR DeviceRebootOnUserSignoutProto::DeviceRebootOnUserSignoutProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.reboot_on_signout_mode_)*/1} {}
-struct DeviceRebootOnUserSignoutProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR DeviceRebootOnUserSignoutProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~DeviceRebootOnUserSignoutProtoDefaultTypeInternal() {}
- union {
- DeviceRebootOnUserSignoutProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DeviceRebootOnUserSignoutProtoDefaultTypeInternal _DeviceRebootOnUserSignoutProto_default_instance_;
-PROTOBUF_CONSTEXPR DeviceWilcoDtcAllowedProto::DeviceWilcoDtcAllowedProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.device_wilco_dtc_allowed_)*/false} {}
-struct DeviceWilcoDtcAllowedProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR DeviceWilcoDtcAllowedProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~DeviceWilcoDtcAllowedProtoDefaultTypeInternal() {}
- union {
- DeviceWilcoDtcAllowedProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DeviceWilcoDtcAllowedProtoDefaultTypeInternal _DeviceWilcoDtcAllowedProto_default_instance_;
-PROTOBUF_CONSTEXPR DeviceWilcoDtcConfigurationProto::DeviceWilcoDtcConfigurationProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.device_wilco_dtc_configuration_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {}
-struct DeviceWilcoDtcConfigurationProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR DeviceWilcoDtcConfigurationProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~DeviceWilcoDtcConfigurationProtoDefaultTypeInternal() {}
- union {
- DeviceWilcoDtcConfigurationProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DeviceWilcoDtcConfigurationProtoDefaultTypeInternal _DeviceWilcoDtcConfigurationProto_default_instance_;
-PROTOBUF_CONSTEXPR DevicePowerPeakShiftProto::DevicePowerPeakShiftProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.day_configs_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
- , /*decltype(_impl_.enabled_)*/false
- , /*decltype(_impl_.battery_threshold_)*/0} {}
-struct DevicePowerPeakShiftProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR DevicePowerPeakShiftProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~DevicePowerPeakShiftProtoDefaultTypeInternal() {}
- union {
- DevicePowerPeakShiftProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DevicePowerPeakShiftProtoDefaultTypeInternal _DevicePowerPeakShiftProto_default_instance_;
-PROTOBUF_CONSTEXPR DeviceBootOnAcProto::DeviceBootOnAcProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.enabled_)*/false} {}
-struct DeviceBootOnAcProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR DeviceBootOnAcProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~DeviceBootOnAcProtoDefaultTypeInternal() {}
- union {
- DeviceBootOnAcProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DeviceBootOnAcProtoDefaultTypeInternal _DeviceBootOnAcProto_default_instance_;
-PROTOBUF_CONSTEXPR DeviceDockMacAddressSourceProto::DeviceDockMacAddressSourceProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.source_)*/0} {}
-struct DeviceDockMacAddressSourceProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR DeviceDockMacAddressSourceProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~DeviceDockMacAddressSourceProtoDefaultTypeInternal() {}
- union {
- DeviceDockMacAddressSourceProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DeviceDockMacAddressSourceProtoDefaultTypeInternal _DeviceDockMacAddressSourceProto_default_instance_;
-PROTOBUF_CONSTEXPR DeviceAdvancedBatteryChargeModeProto::DeviceAdvancedBatteryChargeModeProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.day_configs_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
- , /*decltype(_impl_.enabled_)*/false} {}
-struct DeviceAdvancedBatteryChargeModeProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR DeviceAdvancedBatteryChargeModeProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~DeviceAdvancedBatteryChargeModeProtoDefaultTypeInternal() {}
- union {
- DeviceAdvancedBatteryChargeModeProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DeviceAdvancedBatteryChargeModeProtoDefaultTypeInternal _DeviceAdvancedBatteryChargeModeProto_default_instance_;
-PROTOBUF_CONSTEXPR DeviceBatteryChargeModeProto::DeviceBatteryChargeModeProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.battery_charge_mode_)*/0
- , /*decltype(_impl_.custom_charge_start_)*/0
- , /*decltype(_impl_.custom_charge_stop_)*/0} {}
-struct DeviceBatteryChargeModeProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR DeviceBatteryChargeModeProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~DeviceBatteryChargeModeProtoDefaultTypeInternal() {}
- union {
- DeviceBatteryChargeModeProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DeviceBatteryChargeModeProtoDefaultTypeInternal _DeviceBatteryChargeModeProto_default_instance_;
-PROTOBUF_CONSTEXPR DeviceUsbPowerShareProto::DeviceUsbPowerShareProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.enabled_)*/false} {}
-struct DeviceUsbPowerShareProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR DeviceUsbPowerShareProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~DeviceUsbPowerShareProtoDefaultTypeInternal() {}
- union {
- DeviceUsbPowerShareProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DeviceUsbPowerShareProtoDefaultTypeInternal _DeviceUsbPowerShareProto_default_instance_;
-PROTOBUF_CONSTEXPR DeviceScheduledUpdateCheckProto::DeviceScheduledUpdateCheckProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.device_scheduled_update_check_settings_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {}
-struct DeviceScheduledUpdateCheckProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR DeviceScheduledUpdateCheckProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~DeviceScheduledUpdateCheckProtoDefaultTypeInternal() {}
- union {
- DeviceScheduledUpdateCheckProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DeviceScheduledUpdateCheckProtoDefaultTypeInternal _DeviceScheduledUpdateCheckProto_default_instance_;
-PROTOBUF_CONSTEXPR DevicePowerwashAllowedProto::DevicePowerwashAllowedProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.device_powerwash_allowed_)*/false} {}
-struct DevicePowerwashAllowedProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR DevicePowerwashAllowedProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~DevicePowerwashAllowedProtoDefaultTypeInternal() {}
- union {
- DevicePowerwashAllowedProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DevicePowerwashAllowedProtoDefaultTypeInternal _DevicePowerwashAllowedProto_default_instance_;
-PROTOBUF_CONSTEXPR DeviceLoginScreenWebUsbAllowDevicesForUrlsProto::DeviceLoginScreenWebUsbAllowDevicesForUrlsProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.device_login_screen_webusb_allow_devices_for_urls_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {}
-struct DeviceLoginScreenWebUsbAllowDevicesForUrlsProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR DeviceLoginScreenWebUsbAllowDevicesForUrlsProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~DeviceLoginScreenWebUsbAllowDevicesForUrlsProtoDefaultTypeInternal() {}
- union {
- DeviceLoginScreenWebUsbAllowDevicesForUrlsProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DeviceLoginScreenWebUsbAllowDevicesForUrlsProtoDefaultTypeInternal _DeviceLoginScreenWebUsbAllowDevicesForUrlsProto_default_instance_;
-PROTOBUF_CONSTEXPR SystemProxySettingsProto::SystemProxySettingsProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.system_proxy_settings_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {}
-struct SystemProxySettingsProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR SystemProxySettingsProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~SystemProxySettingsProtoDefaultTypeInternal() {}
- union {
- SystemProxySettingsProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SystemProxySettingsProtoDefaultTypeInternal _SystemProxySettingsProto_default_instance_;
-PROTOBUF_CONSTEXPR RequiredClientCertificateForDeviceProto::RequiredClientCertificateForDeviceProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.required_client_certificate_for_device_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {}
-struct RequiredClientCertificateForDeviceProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR RequiredClientCertificateForDeviceProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~RequiredClientCertificateForDeviceProtoDefaultTypeInternal() {}
- union {
- RequiredClientCertificateForDeviceProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RequiredClientCertificateForDeviceProtoDefaultTypeInternal _RequiredClientCertificateForDeviceProto_default_instance_;
-PROTOBUF_CONSTEXPR DeviceCrostiniArcAdbSideloadingAllowedProto::DeviceCrostiniArcAdbSideloadingAllowedProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.mode_)*/0} {}
-struct DeviceCrostiniArcAdbSideloadingAllowedProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR DeviceCrostiniArcAdbSideloadingAllowedProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~DeviceCrostiniArcAdbSideloadingAllowedProtoDefaultTypeInternal() {}
- union {
- DeviceCrostiniArcAdbSideloadingAllowedProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DeviceCrostiniArcAdbSideloadingAllowedProtoDefaultTypeInternal _DeviceCrostiniArcAdbSideloadingAllowedProto_default_instance_;
-PROTOBUF_CONSTEXPR DeviceShowLowDiskSpaceNotificationProto::DeviceShowLowDiskSpaceNotificationProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.device_show_low_disk_space_notification_)*/false} {}
-struct DeviceShowLowDiskSpaceNotificationProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR DeviceShowLowDiskSpaceNotificationProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~DeviceShowLowDiskSpaceNotificationProtoDefaultTypeInternal() {}
- union {
- DeviceShowLowDiskSpaceNotificationProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DeviceShowLowDiskSpaceNotificationProtoDefaultTypeInternal _DeviceShowLowDiskSpaceNotificationProto_default_instance_;
-PROTOBUF_CONSTEXPR DeviceFamilyLinkAccountsAllowedProto::DeviceFamilyLinkAccountsAllowedProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.family_link_accounts_allowed_)*/false} {}
-struct DeviceFamilyLinkAccountsAllowedProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR DeviceFamilyLinkAccountsAllowedProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~DeviceFamilyLinkAccountsAllowedProtoDefaultTypeInternal() {}
- union {
- DeviceFamilyLinkAccountsAllowedProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DeviceFamilyLinkAccountsAllowedProtoDefaultTypeInternal _DeviceFamilyLinkAccountsAllowedProto_default_instance_;
-PROTOBUF_CONSTEXPR OBSOLETE_DeviceArcDataSnapshotHoursProto::OBSOLETE_DeviceArcDataSnapshotHoursProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.obsolete_arc_data_snapshot_hours_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {}
-struct OBSOLETE_DeviceArcDataSnapshotHoursProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR OBSOLETE_DeviceArcDataSnapshotHoursProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~OBSOLETE_DeviceArcDataSnapshotHoursProtoDefaultTypeInternal() {}
- union {
- OBSOLETE_DeviceArcDataSnapshotHoursProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 OBSOLETE_DeviceArcDataSnapshotHoursProtoDefaultTypeInternal _OBSOLETE_DeviceArcDataSnapshotHoursProto_default_instance_;
-PROTOBUF_CONSTEXPR DeviceSystemWideTracingEnabledProto::DeviceSystemWideTracingEnabledProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.enabled_)*/false} {}
-struct DeviceSystemWideTracingEnabledProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR DeviceSystemWideTracingEnabledProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~DeviceSystemWideTracingEnabledProtoDefaultTypeInternal() {}
- union {
- DeviceSystemWideTracingEnabledProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DeviceSystemWideTracingEnabledProtoDefaultTypeInternal _DeviceSystemWideTracingEnabledProto_default_instance_;
-PROTOBUF_CONSTEXPR DevicePciPeripheralDataAccessEnabledProto::DevicePciPeripheralDataAccessEnabledProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.enabled_)*/false} {}
-struct DevicePciPeripheralDataAccessEnabledProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR DevicePciPeripheralDataAccessEnabledProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~DevicePciPeripheralDataAccessEnabledProtoDefaultTypeInternal() {}
- union {
- DevicePciPeripheralDataAccessEnabledProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DevicePciPeripheralDataAccessEnabledProtoDefaultTypeInternal _DevicePciPeripheralDataAccessEnabledProto_default_instance_;
-PROTOBUF_CONSTEXPR DevicePciPeripheralDataAccessEnabledProtoV2::DevicePciPeripheralDataAccessEnabledProtoV2(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.enabled_)*/false} {}
-struct DevicePciPeripheralDataAccessEnabledProtoV2DefaultTypeInternal {
- PROTOBUF_CONSTEXPR DevicePciPeripheralDataAccessEnabledProtoV2DefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~DevicePciPeripheralDataAccessEnabledProtoV2DefaultTypeInternal() {}
- union {
- DevicePciPeripheralDataAccessEnabledProtoV2 _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DevicePciPeripheralDataAccessEnabledProtoV2DefaultTypeInternal _DevicePciPeripheralDataAccessEnabledProtoV2_default_instance_;
-PROTOBUF_CONSTEXPR OBSOLETE_DeviceBorealisAllowedProto::OBSOLETE_DeviceBorealisAllowedProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.allowed_)*/true} {}
-struct OBSOLETE_DeviceBorealisAllowedProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR OBSOLETE_DeviceBorealisAllowedProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~OBSOLETE_DeviceBorealisAllowedProtoDefaultTypeInternal() {}
- union {
- OBSOLETE_DeviceBorealisAllowedProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 OBSOLETE_DeviceBorealisAllowedProtoDefaultTypeInternal _OBSOLETE_DeviceBorealisAllowedProto_default_instance_;
-PROTOBUF_CONSTEXPR DeviceAllowedBluetoothServicesProto::DeviceAllowedBluetoothServicesProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_.allowlist_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}} {}
-struct DeviceAllowedBluetoothServicesProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR DeviceAllowedBluetoothServicesProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~DeviceAllowedBluetoothServicesProtoDefaultTypeInternal() {}
- union {
- DeviceAllowedBluetoothServicesProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DeviceAllowedBluetoothServicesProtoDefaultTypeInternal _DeviceAllowedBluetoothServicesProto_default_instance_;
-PROTOBUF_CONSTEXPR DeviceDebugPacketCaptureAllowedProto::DeviceDebugPacketCaptureAllowedProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.allowed_)*/false} {}
-struct DeviceDebugPacketCaptureAllowedProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR DeviceDebugPacketCaptureAllowedProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~DeviceDebugPacketCaptureAllowedProtoDefaultTypeInternal() {}
- union {
- DeviceDebugPacketCaptureAllowedProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DeviceDebugPacketCaptureAllowedProtoDefaultTypeInternal _DeviceDebugPacketCaptureAllowedProto_default_instance_;
-PROTOBUF_CONSTEXPR DeviceScheduledRebootProto::DeviceScheduledRebootProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.device_scheduled_reboot_settings_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {}
-struct DeviceScheduledRebootProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR DeviceScheduledRebootProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~DeviceScheduledRebootProtoDefaultTypeInternal() {}
- union {
- DeviceScheduledRebootProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DeviceScheduledRebootProtoDefaultTypeInternal _DeviceScheduledRebootProto_default_instance_;
-PROTOBUF_CONSTEXPR DeviceRestrictedManagedGuestSessionEnabledProto::DeviceRestrictedManagedGuestSessionEnabledProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.enabled_)*/false} {}
-struct DeviceRestrictedManagedGuestSessionEnabledProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR DeviceRestrictedManagedGuestSessionEnabledProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~DeviceRestrictedManagedGuestSessionEnabledProtoDefaultTypeInternal() {}
- union {
- DeviceRestrictedManagedGuestSessionEnabledProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DeviceRestrictedManagedGuestSessionEnabledProtoDefaultTypeInternal _DeviceRestrictedManagedGuestSessionEnabledProto_default_instance_;
-PROTOBUF_CONSTEXPR DeviceI18nShortcutsEnabledProto::DeviceI18nShortcutsEnabledProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.enabled_)*/true} {}
-struct DeviceI18nShortcutsEnabledProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR DeviceI18nShortcutsEnabledProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~DeviceI18nShortcutsEnabledProtoDefaultTypeInternal() {}
- union {
- DeviceI18nShortcutsEnabledProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DeviceI18nShortcutsEnabledProtoDefaultTypeInternal _DeviceI18nShortcutsEnabledProto_default_instance_;
-PROTOBUF_CONSTEXPR RevenDeviceHWDataUsageEnabledProto::RevenDeviceHWDataUsageEnabledProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.hardware_data_usage_enabled_)*/false} {}
-struct RevenDeviceHWDataUsageEnabledProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR RevenDeviceHWDataUsageEnabledProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~RevenDeviceHWDataUsageEnabledProtoDefaultTypeInternal() {}
- union {
- RevenDeviceHWDataUsageEnabledProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RevenDeviceHWDataUsageEnabledProtoDefaultTypeInternal _RevenDeviceHWDataUsageEnabledProto_default_instance_;
-PROTOBUF_CONSTEXPR DeviceLoginScreenWebUILazyLoadingProto::DeviceLoginScreenWebUILazyLoadingProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.enabled_)*/false} {}
-struct DeviceLoginScreenWebUILazyLoadingProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR DeviceLoginScreenWebUILazyLoadingProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~DeviceLoginScreenWebUILazyLoadingProtoDefaultTypeInternal() {}
- union {
- DeviceLoginScreenWebUILazyLoadingProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DeviceLoginScreenWebUILazyLoadingProtoDefaultTypeInternal _DeviceLoginScreenWebUILazyLoadingProto_default_instance_;
-PROTOBUF_CONSTEXPR EncryptedReportingPipelineConfigurationProto::EncryptedReportingPipelineConfigurationProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.enabled_)*/true} {}
-struct EncryptedReportingPipelineConfigurationProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR EncryptedReportingPipelineConfigurationProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~EncryptedReportingPipelineConfigurationProtoDefaultTypeInternal() {}
- union {
- EncryptedReportingPipelineConfigurationProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 EncryptedReportingPipelineConfigurationProtoDefaultTypeInternal _EncryptedReportingPipelineConfigurationProto_default_instance_;
-PROTOBUF_CONSTEXPR DeviceReportXDREventsProto::DeviceReportXDREventsProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.enabled_)*/false} {}
-struct DeviceReportXDREventsProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR DeviceReportXDREventsProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~DeviceReportXDREventsProtoDefaultTypeInternal() {}
- union {
- DeviceReportXDREventsProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DeviceReportXDREventsProtoDefaultTypeInternal _DeviceReportXDREventsProto_default_instance_;
-PROTOBUF_CONSTEXPR ChromeDeviceSettingsProto::ChromeDeviceSettingsProto(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.device_policy_refresh_rate_)*/nullptr
- , /*decltype(_impl_.user_whitelist_)*/nullptr
- , /*decltype(_impl_.guest_mode_enabled_)*/nullptr
- , /*decltype(_impl_.device_proxy_settings_)*/nullptr
- , /*decltype(_impl_.camera_enabled_)*/nullptr
- , /*decltype(_impl_.show_user_names_)*/nullptr
- , /*decltype(_impl_.data_roaming_enabled_)*/nullptr
- , /*decltype(_impl_.allow_new_users_)*/nullptr
- , /*decltype(_impl_.metrics_enabled_)*/nullptr
- , /*decltype(_impl_.release_channel_)*/nullptr
- , /*decltype(_impl_.open_network_configuration_)*/nullptr
- , /*decltype(_impl_.device_reporting_)*/nullptr
- , /*decltype(_impl_.ephemeral_users_enabled_)*/nullptr
- , /*decltype(_impl_.app_pack_)*/nullptr
- , /*decltype(_impl_.forced_logout_timeouts_)*/nullptr
- , /*decltype(_impl_.login_screen_saver_)*/nullptr
- , /*decltype(_impl_.auto_update_settings_)*/nullptr
- , /*decltype(_impl_.start_up_urls_)*/nullptr
- , /*decltype(_impl_.pinned_apps_)*/nullptr
- , /*decltype(_impl_.system_timezone_)*/nullptr
- , /*decltype(_impl_.device_local_accounts_)*/nullptr
- , /*decltype(_impl_.allow_redeem_offers_)*/nullptr
- , /*decltype(_impl_.feature_flags_)*/nullptr
- , /*decltype(_impl_.uptime_limit_)*/nullptr
- , /*decltype(_impl_.variations_parameter_)*/nullptr
- , /*decltype(_impl_.attestation_settings_)*/nullptr
- , /*decltype(_impl_.accessibility_settings_)*/nullptr
- , /*decltype(_impl_.supervised_users_settings_)*/nullptr
- , /*decltype(_impl_.login_screen_power_management_)*/nullptr
- , /*decltype(_impl_.use_24hour_clock_)*/nullptr
- , /*decltype(_impl_.auto_clean_up_settings_)*/nullptr
- , /*decltype(_impl_.system_settings_)*/nullptr
- , /*decltype(_impl_.saml_settings_)*/nullptr
- , /*decltype(_impl_.reboot_on_shutdown_)*/nullptr
- , /*decltype(_impl_.device_heartbeat_settings_)*/nullptr
- , /*decltype(_impl_.extension_cache_size_)*/nullptr
- , /*decltype(_impl_.login_screen_domain_auto_complete_)*/nullptr
- , /*decltype(_impl_.device_log_upload_settings_)*/nullptr
- , /*decltype(_impl_.display_rotation_default_)*/nullptr
- , /*decltype(_impl_.allow_kiosk_app_control_chrome_version_)*/nullptr
- , /*decltype(_impl_.login_authentication_behavior_)*/nullptr
- , /*decltype(_impl_.usb_detachable_whitelist_)*/nullptr
- , /*decltype(_impl_.allow_bluetooth_)*/nullptr
- , /*decltype(_impl_.quirks_download_enabled_)*/nullptr
- , /*decltype(_impl_.login_video_capture_allowed_urls_)*/nullptr
- , /*decltype(_impl_.device_login_screen_extensions_)*/nullptr
- , /*decltype(_impl_.network_throttling_)*/nullptr
- , /*decltype(_impl_.device_wallpaper_image_)*/nullptr
- , /*decltype(_impl_.login_screen_locales_)*/nullptr
- , /*decltype(_impl_.login_screen_input_methods_)*/nullptr
- , /*decltype(_impl_.device_ecryptfs_migration_strategy_)*/nullptr
- , /*decltype(_impl_.device_second_factor_authentication_)*/nullptr
- , /*decltype(_impl_.cast_receiver_name_)*/nullptr
- , /*decltype(_impl_.device_off_hours_)*/nullptr
- , /*decltype(_impl_.native_device_printers_)*/nullptr
- , /*decltype(_impl_.native_device_printers_access_mode_)*/nullptr
- , /*decltype(_impl_.native_device_printers_blacklist_)*/nullptr
- , /*decltype(_impl_.native_device_printers_whitelist_)*/nullptr
- , /*decltype(_impl_.tpm_firmware_update_settings_)*/nullptr
- , /*decltype(_impl_.minimum_required_version_)*/nullptr
- , /*decltype(_impl_.device_login_screen_auto_select_certificate_for_urls_)*/nullptr
- , /*decltype(_impl_.unaffiliated_arc_allowed_)*/nullptr
- , /*decltype(_impl_.network_hostname_)*/nullptr
- , /*decltype(_impl_.device_kerberos_encryption_types_)*/nullptr
- , /*decltype(_impl_.device_user_policy_loopback_processing_mode_)*/nullptr
- , /*decltype(_impl_.device_login_screen_isolate_origins_)*/nullptr
- , /*decltype(_impl_.device_login_screen_site_per_process_)*/nullptr
- , /*decltype(_impl_.virtual_machines_allowed_)*/nullptr
- , /*decltype(_impl_.device_machine_password_change_rate_)*/nullptr
- , /*decltype(_impl_.device_unaffiliated_crostini_allowed_)*/nullptr
- , /*decltype(_impl_.device_wifi_fast_transition_enabled_)*/nullptr
- , /*decltype(_impl_.device_display_resolution_)*/nullptr
- , /*decltype(_impl_.plugin_vm_allowed_)*/nullptr
- , /*decltype(_impl_.device_gpo_cache_lifetime_)*/nullptr
- , /*decltype(_impl_.device_auth_data_cache_lifetime_)*/nullptr
- , /*decltype(_impl_.plugin_vm_license_key_)*/nullptr
- , /*decltype(_impl_.device_reboot_on_user_signout_)*/nullptr
- , /*decltype(_impl_.device_wilco_dtc_allowed_)*/nullptr
- , /*decltype(_impl_.device_wilco_dtc_configuration_)*/nullptr
- , /*decltype(_impl_.device_wifi_allowed_)*/nullptr
- , /*decltype(_impl_.device_power_peak_shift_)*/nullptr
- , /*decltype(_impl_.device_boot_on_ac_)*/nullptr
- , /*decltype(_impl_.device_dock_mac_address_source_)*/nullptr
- , /*decltype(_impl_.device_advanced_battery_charge_mode_)*/nullptr
- , /*decltype(_impl_.device_battery_charge_mode_)*/nullptr
- , /*decltype(_impl_.device_usb_power_share_)*/nullptr
- , /*decltype(_impl_.device_scheduled_update_check_)*/nullptr
- , /*decltype(_impl_.device_powerwash_allowed_)*/nullptr
- , /*decltype(_impl_.device_login_screen_webusb_allow_devices_for_urls_)*/nullptr
- , /*decltype(_impl_.device_login_screen_system_info_enforced_)*/nullptr
- , /*decltype(_impl_.device_web_based_attestation_allowed_urls_)*/nullptr
- , /*decltype(_impl_.device_show_numeric_keyboard_for_password_)*/nullptr
- , /*decltype(_impl_.login_screen_primary_mouse_button_switch_)*/nullptr
- , /*decltype(_impl_.device_minimum_version_)*/nullptr
- , /*decltype(_impl_.system_proxy_settings_)*/nullptr
- , /*decltype(_impl_.device_chrome_variations_type_)*/nullptr
- , /*decltype(_impl_.device_login_screen_privacy_screen_enabled_)*/nullptr
- , /*decltype(_impl_.required_client_certificate_for_device_)*/nullptr
- , /*decltype(_impl_.device_crostini_arc_adb_sideloading_allowed_)*/nullptr
- , /*decltype(_impl_.device_minimum_version_aue_message_)*/nullptr
- , /*decltype(_impl_.managed_guest_session_privacy_warnings_)*/nullptr
- , /*decltype(_impl_.external_print_servers_)*/nullptr
- , /*decltype(_impl_.external_print_servers_allowlist_)*/nullptr
- , /*decltype(_impl_.device_printers_access_mode_)*/nullptr
- , /*decltype(_impl_.device_printers_blocklist_)*/nullptr
- , /*decltype(_impl_.device_printers_allowlist_)*/nullptr
- , /*decltype(_impl_.device_printers_)*/nullptr
- , /*decltype(_impl_.device_show_low_disk_space_notification_)*/nullptr
- , /*decltype(_impl_.user_allowlist_)*/nullptr
- , /*decltype(_impl_.usb_detachable_allowlist_)*/nullptr
- , /*decltype(_impl_.family_link_accounts_allowed_)*/nullptr
- , /*decltype(_impl_.arc_data_snapshot_hours_)*/nullptr
- , /*decltype(_impl_.device_allow_mgs_to_store_display_properties_)*/nullptr
- , /*decltype(_impl_.device_system_wide_tracing_enabled_)*/nullptr
- , /*decltype(_impl_.device_pci_peripheral_data_access_enabled_)*/nullptr
- , /*decltype(_impl_.device_borealis_allowed_)*/nullptr
- , /*decltype(_impl_.device_allowed_bluetooth_services_)*/nullptr
- , /*decltype(_impl_.device_debug_packet_capture_allowed_)*/nullptr
- , /*decltype(_impl_.device_scheduled_reboot_)*/nullptr
- , /*decltype(_impl_.device_pci_peripheral_data_access_enabled_v2_)*/nullptr
- , /*decltype(_impl_.device_restricted_managed_guest_session_enabled_)*/nullptr
- , /*decltype(_impl_.hostname_user_configurable_)*/nullptr
- , /*decltype(_impl_.login_screen_prompt_on_multiple_matching_certificates_)*/nullptr
- , /*decltype(_impl_.kiosk_crx_manifest_update_url_ignored_)*/nullptr
- , /*decltype(_impl_.device_i18n_shortcuts_enabled_)*/nullptr
- , /*decltype(_impl_.chromad_to_cloud_migration_enabled_)*/nullptr
- , /*decltype(_impl_.hardware_data_usage_enabled_)*/nullptr
- , /*decltype(_impl_.login_web_ui_lazy_loading_)*/nullptr
- , /*decltype(_impl_.keylocker_for_storage_encryption_enabled_)*/nullptr
- , /*decltype(_impl_.device_run_automatic_cleanup_on_login_)*/nullptr
- , /*decltype(_impl_.device_encrypted_reporting_pipeline_enabled_)*/nullptr
- , /*decltype(_impl_.saml_username_)*/nullptr
- , /*decltype(_impl_.device_login_screen_context_aware_access_signals_allowlist_)*/nullptr
- , /*decltype(_impl_.device_printing_client_name_template_)*/nullptr
- , /*decltype(_impl_.device_report_xdr_events_)*/nullptr
- , /*decltype(_impl_.keyboard_backlight_color_)*/nullptr
- , /*decltype(_impl_.device_hindi_inscript_layout_enabled_)*/nullptr
- , /*decltype(_impl_.login_screen_extension_manifest_v2_availability_)*/nullptr
- , /*decltype(_impl_.device_screensaver_login_screen_enabled_)*/nullptr
- , /*decltype(_impl_.device_screensaver_login_screen_idle_timeout_seconds_)*/nullptr
- , /*decltype(_impl_.device_screensaver_login_screen_image_display_interval_seconds_)*/nullptr
- , /*decltype(_impl_.device_screensaver_login_screen_images_)*/nullptr
- , /*decltype(_impl_.device_system_aec_enabled_)*/nullptr
- , /*decltype(_impl_.device_login_screen_geolocation_access_level_)*/nullptr} {}
-struct ChromeDeviceSettingsProtoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR ChromeDeviceSettingsProtoDefaultTypeInternal()
- : _instance(::_pbi::ConstantInitialized{}) {}
- ~ChromeDeviceSettingsProtoDefaultTypeInternal() {}
- union {
- ChromeDeviceSettingsProto _instance;
- };
-};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ChromeDeviceSettingsProtoDefaultTypeInternal _ChromeDeviceSettingsProto_default_instance_;
-} // namespace enterprise_management
-namespace enterprise_management {
-bool AutoUpdateSettingsProto_ConnectionType_IsValid(int value) {
- switch (value) {
- case 0:
- case 1:
- case 2:
- case 3:
- case 4:
- return true;
- default:
- return false;
- }
-}
-
-static ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<std::string> AutoUpdateSettingsProto_ConnectionType_strings[5] = {};
-
-static const char AutoUpdateSettingsProto_ConnectionType_names[] =
- "CONNECTION_TYPE_BLUETOOTH"
- "CONNECTION_TYPE_CELLULAR"
- "CONNECTION_TYPE_ETHERNET"
- "CONNECTION_TYPE_WIFI"
- "CONNECTION_TYPE_WIMAX";
-
-static const ::PROTOBUF_NAMESPACE_ID::internal::EnumEntry AutoUpdateSettingsProto_ConnectionType_entries[] = {
- { {AutoUpdateSettingsProto_ConnectionType_names + 0, 25}, 3 },
- { {AutoUpdateSettingsProto_ConnectionType_names + 25, 24}, 4 },
- { {AutoUpdateSettingsProto_ConnectionType_names + 49, 24}, 0 },
- { {AutoUpdateSettingsProto_ConnectionType_names + 73, 20}, 1 },
- { {AutoUpdateSettingsProto_ConnectionType_names + 93, 21}, 2 },
-};
-
-static const int AutoUpdateSettingsProto_ConnectionType_entries_by_number[] = {
- 2, // 0 -> CONNECTION_TYPE_ETHERNET
- 3, // 1 -> CONNECTION_TYPE_WIFI
- 4, // 2 -> CONNECTION_TYPE_WIMAX
- 0, // 3 -> CONNECTION_TYPE_BLUETOOTH
- 1, // 4 -> CONNECTION_TYPE_CELLULAR
-};
-
-const std::string& AutoUpdateSettingsProto_ConnectionType_Name(
- AutoUpdateSettingsProto_ConnectionType value) {
- static const bool dummy =
- ::PROTOBUF_NAMESPACE_ID::internal::InitializeEnumStrings(
- AutoUpdateSettingsProto_ConnectionType_entries,
- AutoUpdateSettingsProto_ConnectionType_entries_by_number,
- 5, AutoUpdateSettingsProto_ConnectionType_strings);
- (void) dummy;
- int idx = ::PROTOBUF_NAMESPACE_ID::internal::LookUpEnumName(
- AutoUpdateSettingsProto_ConnectionType_entries,
- AutoUpdateSettingsProto_ConnectionType_entries_by_number,
- 5, value);
- return idx == -1 ? ::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString() :
- AutoUpdateSettingsProto_ConnectionType_strings[idx].get();
-}
-bool AutoUpdateSettingsProto_ConnectionType_Parse(
- ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, AutoUpdateSettingsProto_ConnectionType* value) {
- int int_value;
- bool success = ::PROTOBUF_NAMESPACE_ID::internal::LookUpEnumValue(
- AutoUpdateSettingsProto_ConnectionType_entries, 5, name, &int_value);
- if (success) {
- *value = static_cast<AutoUpdateSettingsProto_ConnectionType>(int_value);
- }
- return success;
-}
-#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
-constexpr AutoUpdateSettingsProto_ConnectionType AutoUpdateSettingsProto::CONNECTION_TYPE_ETHERNET;
-constexpr AutoUpdateSettingsProto_ConnectionType AutoUpdateSettingsProto::CONNECTION_TYPE_WIFI;
-constexpr AutoUpdateSettingsProto_ConnectionType AutoUpdateSettingsProto::CONNECTION_TYPE_WIMAX;
-constexpr AutoUpdateSettingsProto_ConnectionType AutoUpdateSettingsProto::CONNECTION_TYPE_BLUETOOTH;
-constexpr AutoUpdateSettingsProto_ConnectionType AutoUpdateSettingsProto::CONNECTION_TYPE_CELLULAR;
-constexpr AutoUpdateSettingsProto_ConnectionType AutoUpdateSettingsProto::ConnectionType_MIN;
-constexpr AutoUpdateSettingsProto_ConnectionType AutoUpdateSettingsProto::ConnectionType_MAX;
-constexpr int AutoUpdateSettingsProto::ConnectionType_ARRAYSIZE;
-#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
-bool AutoUpdateSettingsProto_RollbackToTargetVersion_IsValid(int value) {
- switch (value) {
- case 0:
- case 1:
- case 2:
- case 3:
- return true;
- default:
- return false;
- }
-}
-
-static ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<std::string> AutoUpdateSettingsProto_RollbackToTargetVersion_strings[4] = {};
-
-static const char AutoUpdateSettingsProto_RollbackToTargetVersion_names[] =
- "ROLLBACK_AND_POWERWASH"
- "ROLLBACK_AND_RESTORE_IF_POSSIBLE"
- "ROLLBACK_DISABLED"
- "ROLLBACK_UNSPECIFIED";
-
-static const ::PROTOBUF_NAMESPACE_ID::internal::EnumEntry AutoUpdateSettingsProto_RollbackToTargetVersion_entries[] = {
- { {AutoUpdateSettingsProto_RollbackToTargetVersion_names + 0, 22}, 2 },
- { {AutoUpdateSettingsProto_RollbackToTargetVersion_names + 22, 32}, 3 },
- { {AutoUpdateSettingsProto_RollbackToTargetVersion_names + 54, 17}, 1 },
- { {AutoUpdateSettingsProto_RollbackToTargetVersion_names + 71, 20}, 0 },
-};
-
-static const int AutoUpdateSettingsProto_RollbackToTargetVersion_entries_by_number[] = {
- 3, // 0 -> ROLLBACK_UNSPECIFIED
- 2, // 1 -> ROLLBACK_DISABLED
- 0, // 2 -> ROLLBACK_AND_POWERWASH
- 1, // 3 -> ROLLBACK_AND_RESTORE_IF_POSSIBLE
-};
-
-const std::string& AutoUpdateSettingsProto_RollbackToTargetVersion_Name(
- AutoUpdateSettingsProto_RollbackToTargetVersion value) {
- static const bool dummy =
- ::PROTOBUF_NAMESPACE_ID::internal::InitializeEnumStrings(
- AutoUpdateSettingsProto_RollbackToTargetVersion_entries,
- AutoUpdateSettingsProto_RollbackToTargetVersion_entries_by_number,
- 4, AutoUpdateSettingsProto_RollbackToTargetVersion_strings);
- (void) dummy;
- int idx = ::PROTOBUF_NAMESPACE_ID::internal::LookUpEnumName(
- AutoUpdateSettingsProto_RollbackToTargetVersion_entries,
- AutoUpdateSettingsProto_RollbackToTargetVersion_entries_by_number,
- 4, value);
- return idx == -1 ? ::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString() :
- AutoUpdateSettingsProto_RollbackToTargetVersion_strings[idx].get();
-}
-bool AutoUpdateSettingsProto_RollbackToTargetVersion_Parse(
- ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, AutoUpdateSettingsProto_RollbackToTargetVersion* value) {
- int int_value;
- bool success = ::PROTOBUF_NAMESPACE_ID::internal::LookUpEnumValue(
- AutoUpdateSettingsProto_RollbackToTargetVersion_entries, 4, name, &int_value);
- if (success) {
- *value = static_cast<AutoUpdateSettingsProto_RollbackToTargetVersion>(int_value);
- }
- return success;
-}
-#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
-constexpr AutoUpdateSettingsProto_RollbackToTargetVersion AutoUpdateSettingsProto::ROLLBACK_UNSPECIFIED;
-constexpr AutoUpdateSettingsProto_RollbackToTargetVersion AutoUpdateSettingsProto::ROLLBACK_DISABLED;
-constexpr AutoUpdateSettingsProto_RollbackToTargetVersion AutoUpdateSettingsProto::ROLLBACK_AND_POWERWASH;
-constexpr AutoUpdateSettingsProto_RollbackToTargetVersion AutoUpdateSettingsProto::ROLLBACK_AND_RESTORE_IF_POSSIBLE;
-constexpr AutoUpdateSettingsProto_RollbackToTargetVersion AutoUpdateSettingsProto::RollbackToTargetVersion_MIN;
-constexpr AutoUpdateSettingsProto_RollbackToTargetVersion AutoUpdateSettingsProto::RollbackToTargetVersion_MAX;
-constexpr int AutoUpdateSettingsProto::RollbackToTargetVersion_ARRAYSIZE;
-#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
-bool AutoUpdateSettingsProto_ChannelDowngradeBehavior_IsValid(int value) {
- switch (value) {
- case 0:
- case 1:
- case 2:
- case 3:
- return true;
- default:
- return false;
- }
-}
-
-static ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<std::string> AutoUpdateSettingsProto_ChannelDowngradeBehavior_strings[4] = {};
-
-static const char AutoUpdateSettingsProto_ChannelDowngradeBehavior_names[] =
- "ALLOW_USER_TO_CONFIGURE"
- "CHANNEL_DOWNGRADE_BEHAVIOR_UNSPECIFIED"
- "ROLLBACK"
- "WAIT_FOR_VERSION_CATCH_UP";
-
-static const ::PROTOBUF_NAMESPACE_ID::internal::EnumEntry AutoUpdateSettingsProto_ChannelDowngradeBehavior_entries[] = {
- { {AutoUpdateSettingsProto_ChannelDowngradeBehavior_names + 0, 23}, 3 },
- { {AutoUpdateSettingsProto_ChannelDowngradeBehavior_names + 23, 38}, 0 },
- { {AutoUpdateSettingsProto_ChannelDowngradeBehavior_names + 61, 8}, 2 },
- { {AutoUpdateSettingsProto_ChannelDowngradeBehavior_names + 69, 25}, 1 },
-};
-
-static const int AutoUpdateSettingsProto_ChannelDowngradeBehavior_entries_by_number[] = {
- 1, // 0 -> CHANNEL_DOWNGRADE_BEHAVIOR_UNSPECIFIED
- 3, // 1 -> WAIT_FOR_VERSION_CATCH_UP
- 2, // 2 -> ROLLBACK
- 0, // 3 -> ALLOW_USER_TO_CONFIGURE
-};
-
-const std::string& AutoUpdateSettingsProto_ChannelDowngradeBehavior_Name(
- AutoUpdateSettingsProto_ChannelDowngradeBehavior value) {
- static const bool dummy =
- ::PROTOBUF_NAMESPACE_ID::internal::InitializeEnumStrings(
- AutoUpdateSettingsProto_ChannelDowngradeBehavior_entries,
- AutoUpdateSettingsProto_ChannelDowngradeBehavior_entries_by_number,
- 4, AutoUpdateSettingsProto_ChannelDowngradeBehavior_strings);
- (void) dummy;
- int idx = ::PROTOBUF_NAMESPACE_ID::internal::LookUpEnumName(
- AutoUpdateSettingsProto_ChannelDowngradeBehavior_entries,
- AutoUpdateSettingsProto_ChannelDowngradeBehavior_entries_by_number,
- 4, value);
- return idx == -1 ? ::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString() :
- AutoUpdateSettingsProto_ChannelDowngradeBehavior_strings[idx].get();
-}
-bool AutoUpdateSettingsProto_ChannelDowngradeBehavior_Parse(
- ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, AutoUpdateSettingsProto_ChannelDowngradeBehavior* value) {
- int int_value;
- bool success = ::PROTOBUF_NAMESPACE_ID::internal::LookUpEnumValue(
- AutoUpdateSettingsProto_ChannelDowngradeBehavior_entries, 4, name, &int_value);
- if (success) {
- *value = static_cast<AutoUpdateSettingsProto_ChannelDowngradeBehavior>(int_value);
- }
- return success;
-}
-#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
-constexpr AutoUpdateSettingsProto_ChannelDowngradeBehavior AutoUpdateSettingsProto::CHANNEL_DOWNGRADE_BEHAVIOR_UNSPECIFIED;
-constexpr AutoUpdateSettingsProto_ChannelDowngradeBehavior AutoUpdateSettingsProto::WAIT_FOR_VERSION_CATCH_UP;
-constexpr AutoUpdateSettingsProto_ChannelDowngradeBehavior AutoUpdateSettingsProto::ROLLBACK;
-constexpr AutoUpdateSettingsProto_ChannelDowngradeBehavior AutoUpdateSettingsProto::ALLOW_USER_TO_CONFIGURE;
-constexpr AutoUpdateSettingsProto_ChannelDowngradeBehavior AutoUpdateSettingsProto::ChannelDowngradeBehavior_MIN;
-constexpr AutoUpdateSettingsProto_ChannelDowngradeBehavior AutoUpdateSettingsProto::ChannelDowngradeBehavior_MAX;
-constexpr int AutoUpdateSettingsProto::ChannelDowngradeBehavior_ARRAYSIZE;
-#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
-bool DeviceLoginScreenGeolocationAccessLevelProto_GeolocationAccessLevel_IsValid(int value) {
- switch (value) {
- case 0:
- case 1:
- return true;
- default:
- return false;
- }
-}
-
-static ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<std::string> DeviceLoginScreenGeolocationAccessLevelProto_GeolocationAccessLevel_strings[2] = {};
-
-static const char DeviceLoginScreenGeolocationAccessLevelProto_GeolocationAccessLevel_names[] =
- "ALLOWED"
- "DISALLOWED";
-
-static const ::PROTOBUF_NAMESPACE_ID::internal::EnumEntry DeviceLoginScreenGeolocationAccessLevelProto_GeolocationAccessLevel_entries[] = {
- { {DeviceLoginScreenGeolocationAccessLevelProto_GeolocationAccessLevel_names + 0, 7}, 1 },
- { {DeviceLoginScreenGeolocationAccessLevelProto_GeolocationAccessLevel_names + 7, 10}, 0 },
-};
-
-static const int DeviceLoginScreenGeolocationAccessLevelProto_GeolocationAccessLevel_entries_by_number[] = {
- 1, // 0 -> DISALLOWED
- 0, // 1 -> ALLOWED
-};
-
-const std::string& DeviceLoginScreenGeolocationAccessLevelProto_GeolocationAccessLevel_Name(
- DeviceLoginScreenGeolocationAccessLevelProto_GeolocationAccessLevel value) {
- static const bool dummy =
- ::PROTOBUF_NAMESPACE_ID::internal::InitializeEnumStrings(
- DeviceLoginScreenGeolocationAccessLevelProto_GeolocationAccessLevel_entries,
- DeviceLoginScreenGeolocationAccessLevelProto_GeolocationAccessLevel_entries_by_number,
- 2, DeviceLoginScreenGeolocationAccessLevelProto_GeolocationAccessLevel_strings);
- (void) dummy;
- int idx = ::PROTOBUF_NAMESPACE_ID::internal::LookUpEnumName(
- DeviceLoginScreenGeolocationAccessLevelProto_GeolocationAccessLevel_entries,
- DeviceLoginScreenGeolocationAccessLevelProto_GeolocationAccessLevel_entries_by_number,
- 2, value);
- return idx == -1 ? ::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString() :
- DeviceLoginScreenGeolocationAccessLevelProto_GeolocationAccessLevel_strings[idx].get();
-}
-bool DeviceLoginScreenGeolocationAccessLevelProto_GeolocationAccessLevel_Parse(
- ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, DeviceLoginScreenGeolocationAccessLevelProto_GeolocationAccessLevel* value) {
- int int_value;
- bool success = ::PROTOBUF_NAMESPACE_ID::internal::LookUpEnumValue(
- DeviceLoginScreenGeolocationAccessLevelProto_GeolocationAccessLevel_entries, 2, name, &int_value);
- if (success) {
- *value = static_cast<DeviceLoginScreenGeolocationAccessLevelProto_GeolocationAccessLevel>(int_value);
- }
- return success;
-}
-#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
-constexpr DeviceLoginScreenGeolocationAccessLevelProto_GeolocationAccessLevel DeviceLoginScreenGeolocationAccessLevelProto::DISALLOWED;
-constexpr DeviceLoginScreenGeolocationAccessLevelProto_GeolocationAccessLevel DeviceLoginScreenGeolocationAccessLevelProto::ALLOWED;
-constexpr DeviceLoginScreenGeolocationAccessLevelProto_GeolocationAccessLevel DeviceLoginScreenGeolocationAccessLevelProto::GeolocationAccessLevel_MIN;
-constexpr DeviceLoginScreenGeolocationAccessLevelProto_GeolocationAccessLevel DeviceLoginScreenGeolocationAccessLevelProto::GeolocationAccessLevel_MAX;
-constexpr int DeviceLoginScreenGeolocationAccessLevelProto::GeolocationAccessLevel_ARRAYSIZE;
-#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
-bool SystemTimezoneProto_AutomaticTimezoneDetectionType_IsValid(int value) {
- switch (value) {
- case 0:
- case 1:
- case 2:
- case 3:
- case 4:
- return true;
- default:
- return false;
- }
-}
-
-static ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<std::string> SystemTimezoneProto_AutomaticTimezoneDetectionType_strings[5] = {};
-
-static const char SystemTimezoneProto_AutomaticTimezoneDetectionType_names[] =
- "DISABLED"
- "IP_ONLY"
- "SEND_ALL_LOCATION_INFO"
- "SEND_WIFI_ACCESS_POINTS"
- "USERS_DECIDE";
-
-static const ::PROTOBUF_NAMESPACE_ID::internal::EnumEntry SystemTimezoneProto_AutomaticTimezoneDetectionType_entries[] = {
- { {SystemTimezoneProto_AutomaticTimezoneDetectionType_names + 0, 8}, 1 },
- { {SystemTimezoneProto_AutomaticTimezoneDetectionType_names + 8, 7}, 2 },
- { {SystemTimezoneProto_AutomaticTimezoneDetectionType_names + 15, 22}, 4 },
- { {SystemTimezoneProto_AutomaticTimezoneDetectionType_names + 37, 23}, 3 },
- { {SystemTimezoneProto_AutomaticTimezoneDetectionType_names + 60, 12}, 0 },
-};
-
-static const int SystemTimezoneProto_AutomaticTimezoneDetectionType_entries_by_number[] = {
- 4, // 0 -> USERS_DECIDE
- 0, // 1 -> DISABLED
- 1, // 2 -> IP_ONLY
- 3, // 3 -> SEND_WIFI_ACCESS_POINTS
- 2, // 4 -> SEND_ALL_LOCATION_INFO
-};
-
-const std::string& SystemTimezoneProto_AutomaticTimezoneDetectionType_Name(
- SystemTimezoneProto_AutomaticTimezoneDetectionType value) {
- static const bool dummy =
- ::PROTOBUF_NAMESPACE_ID::internal::InitializeEnumStrings(
- SystemTimezoneProto_AutomaticTimezoneDetectionType_entries,
- SystemTimezoneProto_AutomaticTimezoneDetectionType_entries_by_number,
- 5, SystemTimezoneProto_AutomaticTimezoneDetectionType_strings);
- (void) dummy;
- int idx = ::PROTOBUF_NAMESPACE_ID::internal::LookUpEnumName(
- SystemTimezoneProto_AutomaticTimezoneDetectionType_entries,
- SystemTimezoneProto_AutomaticTimezoneDetectionType_entries_by_number,
- 5, value);
- return idx == -1 ? ::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString() :
- SystemTimezoneProto_AutomaticTimezoneDetectionType_strings[idx].get();
-}
-bool SystemTimezoneProto_AutomaticTimezoneDetectionType_Parse(
- ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SystemTimezoneProto_AutomaticTimezoneDetectionType* value) {
- int int_value;
- bool success = ::PROTOBUF_NAMESPACE_ID::internal::LookUpEnumValue(
- SystemTimezoneProto_AutomaticTimezoneDetectionType_entries, 5, name, &int_value);
- if (success) {
- *value = static_cast<SystemTimezoneProto_AutomaticTimezoneDetectionType>(int_value);
- }
- return success;
-}
-#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
-constexpr SystemTimezoneProto_AutomaticTimezoneDetectionType SystemTimezoneProto::USERS_DECIDE;
-constexpr SystemTimezoneProto_AutomaticTimezoneDetectionType SystemTimezoneProto::DISABLED;
-constexpr SystemTimezoneProto_AutomaticTimezoneDetectionType SystemTimezoneProto::IP_ONLY;
-constexpr SystemTimezoneProto_AutomaticTimezoneDetectionType SystemTimezoneProto::SEND_WIFI_ACCESS_POINTS;
-constexpr SystemTimezoneProto_AutomaticTimezoneDetectionType SystemTimezoneProto::SEND_ALL_LOCATION_INFO;
-constexpr SystemTimezoneProto_AutomaticTimezoneDetectionType SystemTimezoneProto::AutomaticTimezoneDetectionType_MIN;
-constexpr SystemTimezoneProto_AutomaticTimezoneDetectionType SystemTimezoneProto::AutomaticTimezoneDetectionType_MAX;
-constexpr int SystemTimezoneProto::AutomaticTimezoneDetectionType_ARRAYSIZE;
-#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
-bool DeviceLocalAccountInfoProto_AccountType_IsValid(int value) {
- switch (value) {
- case 0:
- case 1:
- case 2:
- case 3:
- case 4:
- return true;
- default:
- return false;
- }
-}
-
-static ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<std::string> DeviceLocalAccountInfoProto_AccountType_strings[5] = {};
-
-static const char DeviceLocalAccountInfoProto_AccountType_names[] =
- "ACCOUNT_TYPE_KIOSK_ANDROID_APP"
- "ACCOUNT_TYPE_KIOSK_APP"
- "ACCOUNT_TYPE_PUBLIC_SESSION"
- "ACCOUNT_TYPE_SAML_PUBLIC_SESSION"
- "ACCOUNT_TYPE_WEB_KIOSK_APP";
-
-static const ::PROTOBUF_NAMESPACE_ID::internal::EnumEntry DeviceLocalAccountInfoProto_AccountType_entries[] = {
- { {DeviceLocalAccountInfoProto_AccountType_names + 0, 30}, 2 },
- { {DeviceLocalAccountInfoProto_AccountType_names + 30, 22}, 1 },
- { {DeviceLocalAccountInfoProto_AccountType_names + 52, 27}, 0 },
- { {DeviceLocalAccountInfoProto_AccountType_names + 79, 32}, 3 },
- { {DeviceLocalAccountInfoProto_AccountType_names + 111, 26}, 4 },
-};
-
-static const int DeviceLocalAccountInfoProto_AccountType_entries_by_number[] = {
- 2, // 0 -> ACCOUNT_TYPE_PUBLIC_SESSION
- 1, // 1 -> ACCOUNT_TYPE_KIOSK_APP
- 0, // 2 -> ACCOUNT_TYPE_KIOSK_ANDROID_APP
- 3, // 3 -> ACCOUNT_TYPE_SAML_PUBLIC_SESSION
- 4, // 4 -> ACCOUNT_TYPE_WEB_KIOSK_APP
-};
-
-const std::string& DeviceLocalAccountInfoProto_AccountType_Name(
- DeviceLocalAccountInfoProto_AccountType value) {
- static const bool dummy =
- ::PROTOBUF_NAMESPACE_ID::internal::InitializeEnumStrings(
- DeviceLocalAccountInfoProto_AccountType_entries,
- DeviceLocalAccountInfoProto_AccountType_entries_by_number,
- 5, DeviceLocalAccountInfoProto_AccountType_strings);
- (void) dummy;
- int idx = ::PROTOBUF_NAMESPACE_ID::internal::LookUpEnumName(
- DeviceLocalAccountInfoProto_AccountType_entries,
- DeviceLocalAccountInfoProto_AccountType_entries_by_number,
- 5, value);
- return idx == -1 ? ::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString() :
- DeviceLocalAccountInfoProto_AccountType_strings[idx].get();
-}
-bool DeviceLocalAccountInfoProto_AccountType_Parse(
- ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, DeviceLocalAccountInfoProto_AccountType* value) {
- int int_value;
- bool success = ::PROTOBUF_NAMESPACE_ID::internal::LookUpEnumValue(
- DeviceLocalAccountInfoProto_AccountType_entries, 5, name, &int_value);
- if (success) {
- *value = static_cast<DeviceLocalAccountInfoProto_AccountType>(int_value);
- }
- return success;
-}
-#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
-constexpr DeviceLocalAccountInfoProto_AccountType DeviceLocalAccountInfoProto::ACCOUNT_TYPE_PUBLIC_SESSION;
-constexpr DeviceLocalAccountInfoProto_AccountType DeviceLocalAccountInfoProto::ACCOUNT_TYPE_KIOSK_APP;
-constexpr DeviceLocalAccountInfoProto_AccountType DeviceLocalAccountInfoProto::ACCOUNT_TYPE_KIOSK_ANDROID_APP;
-constexpr DeviceLocalAccountInfoProto_AccountType DeviceLocalAccountInfoProto::ACCOUNT_TYPE_SAML_PUBLIC_SESSION;
-constexpr DeviceLocalAccountInfoProto_AccountType DeviceLocalAccountInfoProto::ACCOUNT_TYPE_WEB_KIOSK_APP;
-constexpr DeviceLocalAccountInfoProto_AccountType DeviceLocalAccountInfoProto::AccountType_MIN;
-constexpr DeviceLocalAccountInfoProto_AccountType DeviceLocalAccountInfoProto::AccountType_MAX;
-constexpr int DeviceLocalAccountInfoProto::AccountType_ARRAYSIZE;
-#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
-bool DeviceLocalAccountInfoProto_EphemeralMode_IsValid(int value) {
- switch (value) {
- case 0:
- case 1:
- case 2:
- case 3:
- return true;
- default:
- return false;
- }
-}
-
-static ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<std::string> DeviceLocalAccountInfoProto_EphemeralMode_strings[4] = {};
-
-static const char DeviceLocalAccountInfoProto_EphemeralMode_names[] =
- "EPHEMERAL_MODE_DISABLE"
- "EPHEMERAL_MODE_ENABLE"
- "EPHEMERAL_MODE_FOLLOW_DEVICE_WIDE_POLICY"
- "EPHEMERAL_MODE_UNSET";
-
-static const ::PROTOBUF_NAMESPACE_ID::internal::EnumEntry DeviceLocalAccountInfoProto_EphemeralMode_entries[] = {
- { {DeviceLocalAccountInfoProto_EphemeralMode_names + 0, 22}, 2 },
- { {DeviceLocalAccountInfoProto_EphemeralMode_names + 22, 21}, 3 },
- { {DeviceLocalAccountInfoProto_EphemeralMode_names + 43, 40}, 1 },
- { {DeviceLocalAccountInfoProto_EphemeralMode_names + 83, 20}, 0 },
-};
-
-static const int DeviceLocalAccountInfoProto_EphemeralMode_entries_by_number[] = {
- 3, // 0 -> EPHEMERAL_MODE_UNSET
- 2, // 1 -> EPHEMERAL_MODE_FOLLOW_DEVICE_WIDE_POLICY
- 0, // 2 -> EPHEMERAL_MODE_DISABLE
- 1, // 3 -> EPHEMERAL_MODE_ENABLE
-};
-
-const std::string& DeviceLocalAccountInfoProto_EphemeralMode_Name(
- DeviceLocalAccountInfoProto_EphemeralMode value) {
- static const bool dummy =
- ::PROTOBUF_NAMESPACE_ID::internal::InitializeEnumStrings(
- DeviceLocalAccountInfoProto_EphemeralMode_entries,
- DeviceLocalAccountInfoProto_EphemeralMode_entries_by_number,
- 4, DeviceLocalAccountInfoProto_EphemeralMode_strings);
- (void) dummy;
- int idx = ::PROTOBUF_NAMESPACE_ID::internal::LookUpEnumName(
- DeviceLocalAccountInfoProto_EphemeralMode_entries,
- DeviceLocalAccountInfoProto_EphemeralMode_entries_by_number,
- 4, value);
- return idx == -1 ? ::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString() :
- DeviceLocalAccountInfoProto_EphemeralMode_strings[idx].get();
-}
-bool DeviceLocalAccountInfoProto_EphemeralMode_Parse(
- ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, DeviceLocalAccountInfoProto_EphemeralMode* value) {
- int int_value;
- bool success = ::PROTOBUF_NAMESPACE_ID::internal::LookUpEnumValue(
- DeviceLocalAccountInfoProto_EphemeralMode_entries, 4, name, &int_value);
- if (success) {
- *value = static_cast<DeviceLocalAccountInfoProto_EphemeralMode>(int_value);
- }
- return success;
-}
-#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
-constexpr DeviceLocalAccountInfoProto_EphemeralMode DeviceLocalAccountInfoProto::EPHEMERAL_MODE_UNSET;
-constexpr DeviceLocalAccountInfoProto_EphemeralMode DeviceLocalAccountInfoProto::EPHEMERAL_MODE_FOLLOW_DEVICE_WIDE_POLICY;
-constexpr DeviceLocalAccountInfoProto_EphemeralMode DeviceLocalAccountInfoProto::EPHEMERAL_MODE_DISABLE;
-constexpr DeviceLocalAccountInfoProto_EphemeralMode DeviceLocalAccountInfoProto::EPHEMERAL_MODE_ENABLE;
-constexpr DeviceLocalAccountInfoProto_EphemeralMode DeviceLocalAccountInfoProto::EphemeralMode_MIN;
-constexpr DeviceLocalAccountInfoProto_EphemeralMode DeviceLocalAccountInfoProto::EphemeralMode_MAX;
-constexpr int DeviceLocalAccountInfoProto::EphemeralMode_ARRAYSIZE;
-#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
-bool AccessibilitySettingsProto_ScreenMagnifierType_IsValid(int value) {
- switch (value) {
- case 0:
- case 1:
- return true;
- default:
- return false;
- }
-}
-
-static ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<std::string> AccessibilitySettingsProto_ScreenMagnifierType_strings[2] = {};
-
-static const char AccessibilitySettingsProto_ScreenMagnifierType_names[] =
- "SCREEN_MAGNIFIER_TYPE_FULL"
- "SCREEN_MAGNIFIER_TYPE_NONE";
-
-static const ::PROTOBUF_NAMESPACE_ID::internal::EnumEntry AccessibilitySettingsProto_ScreenMagnifierType_entries[] = {
- { {AccessibilitySettingsProto_ScreenMagnifierType_names + 0, 26}, 1 },
- { {AccessibilitySettingsProto_ScreenMagnifierType_names + 26, 26}, 0 },
-};
-
-static const int AccessibilitySettingsProto_ScreenMagnifierType_entries_by_number[] = {
- 1, // 0 -> SCREEN_MAGNIFIER_TYPE_NONE
- 0, // 1 -> SCREEN_MAGNIFIER_TYPE_FULL
-};
-
-const std::string& AccessibilitySettingsProto_ScreenMagnifierType_Name(
- AccessibilitySettingsProto_ScreenMagnifierType value) {
- static const bool dummy =
- ::PROTOBUF_NAMESPACE_ID::internal::InitializeEnumStrings(
- AccessibilitySettingsProto_ScreenMagnifierType_entries,
- AccessibilitySettingsProto_ScreenMagnifierType_entries_by_number,
- 2, AccessibilitySettingsProto_ScreenMagnifierType_strings);
- (void) dummy;
- int idx = ::PROTOBUF_NAMESPACE_ID::internal::LookUpEnumName(
- AccessibilitySettingsProto_ScreenMagnifierType_entries,
- AccessibilitySettingsProto_ScreenMagnifierType_entries_by_number,
- 2, value);
- return idx == -1 ? ::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString() :
- AccessibilitySettingsProto_ScreenMagnifierType_strings[idx].get();
-}
-bool AccessibilitySettingsProto_ScreenMagnifierType_Parse(
- ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, AccessibilitySettingsProto_ScreenMagnifierType* value) {
- int int_value;
- bool success = ::PROTOBUF_NAMESPACE_ID::internal::LookUpEnumValue(
- AccessibilitySettingsProto_ScreenMagnifierType_entries, 2, name, &int_value);
- if (success) {
- *value = static_cast<AccessibilitySettingsProto_ScreenMagnifierType>(int_value);
- }
- return success;
-}
-#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
-constexpr AccessibilitySettingsProto_ScreenMagnifierType AccessibilitySettingsProto::SCREEN_MAGNIFIER_TYPE_NONE;
-constexpr AccessibilitySettingsProto_ScreenMagnifierType AccessibilitySettingsProto::SCREEN_MAGNIFIER_TYPE_FULL;
-constexpr AccessibilitySettingsProto_ScreenMagnifierType AccessibilitySettingsProto::ScreenMagnifierType_MIN;
-constexpr AccessibilitySettingsProto_ScreenMagnifierType AccessibilitySettingsProto::ScreenMagnifierType_MAX;
-constexpr int AccessibilitySettingsProto::ScreenMagnifierType_ARRAYSIZE;
-#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
-bool DisplayRotationDefaultProto_Rotation_IsValid(int value) {
- switch (value) {
- case 0:
- case 1:
- case 2:
- case 3:
- return true;
- default:
- return false;
- }
-}
-
-static ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<std::string> DisplayRotationDefaultProto_Rotation_strings[4] = {};
-
-static const char DisplayRotationDefaultProto_Rotation_names[] =
- "ROTATE_0"
- "ROTATE_180"
- "ROTATE_270"
- "ROTATE_90";
-
-static const ::PROTOBUF_NAMESPACE_ID::internal::EnumEntry DisplayRotationDefaultProto_Rotation_entries[] = {
- { {DisplayRotationDefaultProto_Rotation_names + 0, 8}, 0 },
- { {DisplayRotationDefaultProto_Rotation_names + 8, 10}, 2 },
- { {DisplayRotationDefaultProto_Rotation_names + 18, 10}, 3 },
- { {DisplayRotationDefaultProto_Rotation_names + 28, 9}, 1 },
-};
-
-static const int DisplayRotationDefaultProto_Rotation_entries_by_number[] = {
- 0, // 0 -> ROTATE_0
- 3, // 1 -> ROTATE_90
- 1, // 2 -> ROTATE_180
- 2, // 3 -> ROTATE_270
-};
-
-const std::string& DisplayRotationDefaultProto_Rotation_Name(
- DisplayRotationDefaultProto_Rotation value) {
- static const bool dummy =
- ::PROTOBUF_NAMESPACE_ID::internal::InitializeEnumStrings(
- DisplayRotationDefaultProto_Rotation_entries,
- DisplayRotationDefaultProto_Rotation_entries_by_number,
- 4, DisplayRotationDefaultProto_Rotation_strings);
- (void) dummy;
- int idx = ::PROTOBUF_NAMESPACE_ID::internal::LookUpEnumName(
- DisplayRotationDefaultProto_Rotation_entries,
- DisplayRotationDefaultProto_Rotation_entries_by_number,
- 4, value);
- return idx == -1 ? ::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString() :
- DisplayRotationDefaultProto_Rotation_strings[idx].get();
-}
-bool DisplayRotationDefaultProto_Rotation_Parse(
- ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, DisplayRotationDefaultProto_Rotation* value) {
- int int_value;
- bool success = ::PROTOBUF_NAMESPACE_ID::internal::LookUpEnumValue(
- DisplayRotationDefaultProto_Rotation_entries, 4, name, &int_value);
- if (success) {
- *value = static_cast<DisplayRotationDefaultProto_Rotation>(int_value);
- }
- return success;
-}
-#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
-constexpr DisplayRotationDefaultProto_Rotation DisplayRotationDefaultProto::ROTATE_0;
-constexpr DisplayRotationDefaultProto_Rotation DisplayRotationDefaultProto::ROTATE_90;
-constexpr DisplayRotationDefaultProto_Rotation DisplayRotationDefaultProto::ROTATE_180;
-constexpr DisplayRotationDefaultProto_Rotation DisplayRotationDefaultProto::ROTATE_270;
-constexpr DisplayRotationDefaultProto_Rotation DisplayRotationDefaultProto::Rotation_MIN;
-constexpr DisplayRotationDefaultProto_Rotation DisplayRotationDefaultProto::Rotation_MAX;
-constexpr int DisplayRotationDefaultProto::Rotation_ARRAYSIZE;
-#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
-bool LoginAuthenticationBehaviorProto_LoginBehavior_IsValid(int value) {
- switch (value) {
- case 0:
- case 1:
- return true;
- default:
- return false;
- }
-}
-
-static ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<std::string> LoginAuthenticationBehaviorProto_LoginBehavior_strings[2] = {};
-
-static const char LoginAuthenticationBehaviorProto_LoginBehavior_names[] =
- "GAIA"
- "SAML_INTERSTITIAL";
-
-static const ::PROTOBUF_NAMESPACE_ID::internal::EnumEntry LoginAuthenticationBehaviorProto_LoginBehavior_entries[] = {
- { {LoginAuthenticationBehaviorProto_LoginBehavior_names + 0, 4}, 0 },
- { {LoginAuthenticationBehaviorProto_LoginBehavior_names + 4, 17}, 1 },
-};
-
-static const int LoginAuthenticationBehaviorProto_LoginBehavior_entries_by_number[] = {
- 0, // 0 -> GAIA
- 1, // 1 -> SAML_INTERSTITIAL
-};
-
-const std::string& LoginAuthenticationBehaviorProto_LoginBehavior_Name(
- LoginAuthenticationBehaviorProto_LoginBehavior value) {
- static const bool dummy =
- ::PROTOBUF_NAMESPACE_ID::internal::InitializeEnumStrings(
- LoginAuthenticationBehaviorProto_LoginBehavior_entries,
- LoginAuthenticationBehaviorProto_LoginBehavior_entries_by_number,
- 2, LoginAuthenticationBehaviorProto_LoginBehavior_strings);
- (void) dummy;
- int idx = ::PROTOBUF_NAMESPACE_ID::internal::LookUpEnumName(
- LoginAuthenticationBehaviorProto_LoginBehavior_entries,
- LoginAuthenticationBehaviorProto_LoginBehavior_entries_by_number,
- 2, value);
- return idx == -1 ? ::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString() :
- LoginAuthenticationBehaviorProto_LoginBehavior_strings[idx].get();
-}
-bool LoginAuthenticationBehaviorProto_LoginBehavior_Parse(
- ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, LoginAuthenticationBehaviorProto_LoginBehavior* value) {
- int int_value;
- bool success = ::PROTOBUF_NAMESPACE_ID::internal::LookUpEnumValue(
- LoginAuthenticationBehaviorProto_LoginBehavior_entries, 2, name, &int_value);
- if (success) {
- *value = static_cast<LoginAuthenticationBehaviorProto_LoginBehavior>(int_value);
- }
- return success;
-}
-#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
-constexpr LoginAuthenticationBehaviorProto_LoginBehavior LoginAuthenticationBehaviorProto::GAIA;
-constexpr LoginAuthenticationBehaviorProto_LoginBehavior LoginAuthenticationBehaviorProto::SAML_INTERSTITIAL;
-constexpr LoginAuthenticationBehaviorProto_LoginBehavior LoginAuthenticationBehaviorProto::LoginBehavior_MIN;
-constexpr LoginAuthenticationBehaviorProto_LoginBehavior LoginAuthenticationBehaviorProto::LoginBehavior_MAX;
-constexpr int LoginAuthenticationBehaviorProto::LoginBehavior_ARRAYSIZE;
-#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
-bool LoginScreenExtensionManifestV2AvailabilityProto_Availability_IsValid(int value) {
- switch (value) {
- case 0:
- case 1:
- case 2:
- case 3:
- return true;
- default:
- return false;
- }
-}
-
-static ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<std::string> LoginScreenExtensionManifestV2AvailabilityProto_Availability_strings[4] = {};
-
-static const char LoginScreenExtensionManifestV2AvailabilityProto_Availability_names[] =
- "DEFAULT"
- "DISABLE"
- "ENABLE"
- "ENABLE_FOR_FORCED_EXTENSIONS";
-
-static const ::PROTOBUF_NAMESPACE_ID::internal::EnumEntry LoginScreenExtensionManifestV2AvailabilityProto_Availability_entries[] = {
- { {LoginScreenExtensionManifestV2AvailabilityProto_Availability_names + 0, 7}, 0 },
- { {LoginScreenExtensionManifestV2AvailabilityProto_Availability_names + 7, 7}, 1 },
- { {LoginScreenExtensionManifestV2AvailabilityProto_Availability_names + 14, 6}, 2 },
- { {LoginScreenExtensionManifestV2AvailabilityProto_Availability_names + 20, 28}, 3 },
-};
-
-static const int LoginScreenExtensionManifestV2AvailabilityProto_Availability_entries_by_number[] = {
- 0, // 0 -> DEFAULT
- 1, // 1 -> DISABLE
- 2, // 2 -> ENABLE
- 3, // 3 -> ENABLE_FOR_FORCED_EXTENSIONS
-};
-
-const std::string& LoginScreenExtensionManifestV2AvailabilityProto_Availability_Name(
- LoginScreenExtensionManifestV2AvailabilityProto_Availability value) {
- static const bool dummy =
- ::PROTOBUF_NAMESPACE_ID::internal::InitializeEnumStrings(
- LoginScreenExtensionManifestV2AvailabilityProto_Availability_entries,
- LoginScreenExtensionManifestV2AvailabilityProto_Availability_entries_by_number,
- 4, LoginScreenExtensionManifestV2AvailabilityProto_Availability_strings);
- (void) dummy;
- int idx = ::PROTOBUF_NAMESPACE_ID::internal::LookUpEnumName(
- LoginScreenExtensionManifestV2AvailabilityProto_Availability_entries,
- LoginScreenExtensionManifestV2AvailabilityProto_Availability_entries_by_number,
- 4, value);
- return idx == -1 ? ::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString() :
- LoginScreenExtensionManifestV2AvailabilityProto_Availability_strings[idx].get();
-}
-bool LoginScreenExtensionManifestV2AvailabilityProto_Availability_Parse(
- ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, LoginScreenExtensionManifestV2AvailabilityProto_Availability* value) {
- int int_value;
- bool success = ::PROTOBUF_NAMESPACE_ID::internal::LookUpEnumValue(
- LoginScreenExtensionManifestV2AvailabilityProto_Availability_entries, 4, name, &int_value);
- if (success) {
- *value = static_cast<LoginScreenExtensionManifestV2AvailabilityProto_Availability>(int_value);
- }
- return success;
-}
-#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
-constexpr LoginScreenExtensionManifestV2AvailabilityProto_Availability LoginScreenExtensionManifestV2AvailabilityProto::DEFAULT;
-constexpr LoginScreenExtensionManifestV2AvailabilityProto_Availability LoginScreenExtensionManifestV2AvailabilityProto::DISABLE;
-constexpr LoginScreenExtensionManifestV2AvailabilityProto_Availability LoginScreenExtensionManifestV2AvailabilityProto::ENABLE;
-constexpr LoginScreenExtensionManifestV2AvailabilityProto_Availability LoginScreenExtensionManifestV2AvailabilityProto::ENABLE_FOR_FORCED_EXTENSIONS;
-constexpr LoginScreenExtensionManifestV2AvailabilityProto_Availability LoginScreenExtensionManifestV2AvailabilityProto::Availability_MIN;
-constexpr LoginScreenExtensionManifestV2AvailabilityProto_Availability LoginScreenExtensionManifestV2AvailabilityProto::Availability_MAX;
-constexpr int LoginScreenExtensionManifestV2AvailabilityProto::Availability_ARRAYSIZE;
-#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
-bool DeviceEcryptfsMigrationStrategyProto_MigrationStrategy_IsValid(int value) {
- switch (value) {
- case 0:
- case 1:
- case 2:
- return true;
- default:
- return false;
- }
-}
-
-static ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<std::string> DeviceEcryptfsMigrationStrategyProto_MigrationStrategy_strings[3] = {};
-
-static const char DeviceEcryptfsMigrationStrategyProto_MigrationStrategy_names[] =
- "ALLOW_MIGRATION"
- "DISALLOW_ARC"
- "UNSET";
-
-static const ::PROTOBUF_NAMESPACE_ID::internal::EnumEntry DeviceEcryptfsMigrationStrategyProto_MigrationStrategy_entries[] = {
- { {DeviceEcryptfsMigrationStrategyProto_MigrationStrategy_names + 0, 15}, 2 },
- { {DeviceEcryptfsMigrationStrategyProto_MigrationStrategy_names + 15, 12}, 1 },
- { {DeviceEcryptfsMigrationStrategyProto_MigrationStrategy_names + 27, 5}, 0 },
-};
-
-static const int DeviceEcryptfsMigrationStrategyProto_MigrationStrategy_entries_by_number[] = {
- 2, // 0 -> UNSET
- 1, // 1 -> DISALLOW_ARC
- 0, // 2 -> ALLOW_MIGRATION
-};
-
-const std::string& DeviceEcryptfsMigrationStrategyProto_MigrationStrategy_Name(
- DeviceEcryptfsMigrationStrategyProto_MigrationStrategy value) {
- static const bool dummy =
- ::PROTOBUF_NAMESPACE_ID::internal::InitializeEnumStrings(
- DeviceEcryptfsMigrationStrategyProto_MigrationStrategy_entries,
- DeviceEcryptfsMigrationStrategyProto_MigrationStrategy_entries_by_number,
- 3, DeviceEcryptfsMigrationStrategyProto_MigrationStrategy_strings);
- (void) dummy;
- int idx = ::PROTOBUF_NAMESPACE_ID::internal::LookUpEnumName(
- DeviceEcryptfsMigrationStrategyProto_MigrationStrategy_entries,
- DeviceEcryptfsMigrationStrategyProto_MigrationStrategy_entries_by_number,
- 3, value);
- return idx == -1 ? ::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString() :
- DeviceEcryptfsMigrationStrategyProto_MigrationStrategy_strings[idx].get();
-}
-bool DeviceEcryptfsMigrationStrategyProto_MigrationStrategy_Parse(
- ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, DeviceEcryptfsMigrationStrategyProto_MigrationStrategy* value) {
- int int_value;
- bool success = ::PROTOBUF_NAMESPACE_ID::internal::LookUpEnumValue(
- DeviceEcryptfsMigrationStrategyProto_MigrationStrategy_entries, 3, name, &int_value);
- if (success) {
- *value = static_cast<DeviceEcryptfsMigrationStrategyProto_MigrationStrategy>(int_value);
- }
- return success;
-}
-#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
-constexpr DeviceEcryptfsMigrationStrategyProto_MigrationStrategy DeviceEcryptfsMigrationStrategyProto::UNSET;
-constexpr DeviceEcryptfsMigrationStrategyProto_MigrationStrategy DeviceEcryptfsMigrationStrategyProto::DISALLOW_ARC;
-constexpr DeviceEcryptfsMigrationStrategyProto_MigrationStrategy DeviceEcryptfsMigrationStrategyProto::ALLOW_MIGRATION;
-constexpr DeviceEcryptfsMigrationStrategyProto_MigrationStrategy DeviceEcryptfsMigrationStrategyProto::MigrationStrategy_MIN;
-constexpr DeviceEcryptfsMigrationStrategyProto_MigrationStrategy DeviceEcryptfsMigrationStrategyProto::MigrationStrategy_MAX;
-constexpr int DeviceEcryptfsMigrationStrategyProto::MigrationStrategy_ARRAYSIZE;
-#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
-bool DeviceSecondFactorAuthenticationProto_U2fMode_IsValid(int value) {
- switch (value) {
- case 0:
- case 1:
- case 2:
- case 3:
- return true;
- default:
- return false;
- }
-}
-
-static ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<std::string> DeviceSecondFactorAuthenticationProto_U2fMode_strings[4] = {};
-
-static const char DeviceSecondFactorAuthenticationProto_U2fMode_names[] =
- "DISABLED"
- "U2F"
- "U2F_EXTENDED"
- "UNSET";
-
-static const ::PROTOBUF_NAMESPACE_ID::internal::EnumEntry DeviceSecondFactorAuthenticationProto_U2fMode_entries[] = {
- { {DeviceSecondFactorAuthenticationProto_U2fMode_names + 0, 8}, 1 },
- { {DeviceSecondFactorAuthenticationProto_U2fMode_names + 8, 3}, 2 },
- { {DeviceSecondFactorAuthenticationProto_U2fMode_names + 11, 12}, 3 },
- { {DeviceSecondFactorAuthenticationProto_U2fMode_names + 23, 5}, 0 },
-};
-
-static const int DeviceSecondFactorAuthenticationProto_U2fMode_entries_by_number[] = {
- 3, // 0 -> UNSET
- 0, // 1 -> DISABLED
- 1, // 2 -> U2F
- 2, // 3 -> U2F_EXTENDED
-};
-
-const std::string& DeviceSecondFactorAuthenticationProto_U2fMode_Name(
- DeviceSecondFactorAuthenticationProto_U2fMode value) {
- static const bool dummy =
- ::PROTOBUF_NAMESPACE_ID::internal::InitializeEnumStrings(
- DeviceSecondFactorAuthenticationProto_U2fMode_entries,
- DeviceSecondFactorAuthenticationProto_U2fMode_entries_by_number,
- 4, DeviceSecondFactorAuthenticationProto_U2fMode_strings);
- (void) dummy;
- int idx = ::PROTOBUF_NAMESPACE_ID::internal::LookUpEnumName(
- DeviceSecondFactorAuthenticationProto_U2fMode_entries,
- DeviceSecondFactorAuthenticationProto_U2fMode_entries_by_number,
- 4, value);
- return idx == -1 ? ::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString() :
- DeviceSecondFactorAuthenticationProto_U2fMode_strings[idx].get();
-}
-bool DeviceSecondFactorAuthenticationProto_U2fMode_Parse(
- ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, DeviceSecondFactorAuthenticationProto_U2fMode* value) {
- int int_value;
- bool success = ::PROTOBUF_NAMESPACE_ID::internal::LookUpEnumValue(
- DeviceSecondFactorAuthenticationProto_U2fMode_entries, 4, name, &int_value);
- if (success) {
- *value = static_cast<DeviceSecondFactorAuthenticationProto_U2fMode>(int_value);
- }
- return success;
-}
-#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
-constexpr DeviceSecondFactorAuthenticationProto_U2fMode DeviceSecondFactorAuthenticationProto::UNSET;
-constexpr DeviceSecondFactorAuthenticationProto_U2fMode DeviceSecondFactorAuthenticationProto::DISABLED;
-constexpr DeviceSecondFactorAuthenticationProto_U2fMode DeviceSecondFactorAuthenticationProto::U2F;
-constexpr DeviceSecondFactorAuthenticationProto_U2fMode DeviceSecondFactorAuthenticationProto::U2F_EXTENDED;
-constexpr DeviceSecondFactorAuthenticationProto_U2fMode DeviceSecondFactorAuthenticationProto::U2fMode_MIN;
-constexpr DeviceSecondFactorAuthenticationProto_U2fMode DeviceSecondFactorAuthenticationProto::U2fMode_MAX;
-constexpr int DeviceSecondFactorAuthenticationProto::U2fMode_ARRAYSIZE;
-#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
-bool WeeklyTimeProto_DayOfWeek_IsValid(int value) {
- switch (value) {
- case 0:
- case 1:
- case 2:
- case 3:
- case 4:
- case 5:
- case 6:
- case 7:
- return true;
- default:
- return false;
- }
-}
-
-static ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<std::string> W