Commit 5e071800 authored by Alex Oldemeier's avatar Alex Oldemeier Committed by Commit Bot

Add kernel version and installed apps to Crostini dmserver status

This adds fields for the Termina kernel version and a list of
installed apps to the existing device management backend proto.

Test: compile
Bug: 844468
Change-Id: Iee48c736a67cf466beff91086374250f1cb22cbe
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1628617
Commit-Queue: Alex Oldemeier <aoldemeier@chromium.org>
Reviewed-by: default avatarSergey Poromov <poromov@chromium.org>
Cr-Commit-Position: refs/heads/master@{#665472}
parent dd9801d2
......@@ -1488,12 +1488,45 @@ message AndroidStatus {
optional string droid_guard_info = 2;
}
enum CrostiniAppType {
// The default terminal App.
CROSTINI_APP_TYPE_TERMINAL = 0;
// A registered interactive Crostini App which is
// not the default terminal app.
CROSTINI_APP_TYPE_INTERACTIVE = 1;
// Detected non-registered container applications.
CROSTINI_APP_TYPE_OTHER = 2;
}
message CrostiniApp {
// The default display name of the App.
optional string app_name = 1;
// The type of the App.
optional CrostiniAppType app_type = 2;
// Time stamp of last launch of the App with a three day granularity.
// The timestamp is milliseconds since Epoch in UTC timezone (Java time).
optional int64 last_launch_time_window_start_timestamp = 3;
// If available, the name of the Debian package belonging to this App.
optional string package_name = 4;
// If available, the version of the Debian package belonging to this App.
optional string package_version = 5;
}
message CrostiniStatus {
// Time stamp of last launch of a Crostini app with three day granularity,
// The timestamp is milliseconds since Epoch in UTC timezone (Java time).
optional int64 last_launch_time_window_start_timestamp = 1;
// The VM image version at the time of the last launch.
optional string last_launch_vm_image_version = 2;
// The VM kernel version at the time of the last launch.
optional string last_launch_vm_kernel_version = 3;
// Contains information about each installed app at the time of the
// report.
repeated CrostiniApp installed_apps = 4;
}
// Report current active session (a user on one device) level status.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment