summaryrefslogtreecommitdiffstats
path: root/lib/generated
diff options
context:
space:
mode:
authorScott Murray <scott.murray@konsulko.com>2022-11-21 02:30:35 -0500
committerScott Murray <scott.murray@konsulko.com>2022-11-21 02:44:25 -0500
commite21709c9601209e26d09dea0a45e37f0636bb605 (patch)
tree6f7e9d1bda9126cc0dfe6ba401b40739715867e2 /lib/generated
parent1f5b482843291c17e3cbb265f59101f8d1874182 (diff)
Rework for use in Flutter demo platform image
Changes: - Converted to portrait orientation. - Application enumeration and launching+activation enabled via use of applaunchd gRPC API and agl-shell protocol platform channel plugin in the embedder. - Previous dashboard, hvac, media, etc. pages disabled. Some of the code has been kept for potential reuse. - Clock widget tweaked to fit in portrait mode navigation bar, and take text color argument. - Bluetooth, wifi, and phone signal icons mocked up in navigation bar. Known issues: - The bottom panel area is static at present, support for popping up a volume control slider like the Qt demo is planned as an addition. - The path to implementing connection and signal strength indications is currently a bit hazy, it is possible that flutter-dbus might be the simplest stopgap. - State management has been kept basic, as there are a couple of places where using provider or riverpod seems like perhaps an overcomplication. This will be reviewed when KUKSA.val support is integrated for the volume slider. - Some of the layout sizing is a bit ad hoc, and it is not clear if the previous layout helper class is actually worth keeping or not. This should be reviewed when time permits. Bug-AGL: SPEC-4611 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Ib486b1fd92047f6c1ff1cd9569f49e3ccaf3269d
Diffstat (limited to 'lib/generated')
-rw-r--r--lib/generated/applauncher.pb.dart463
-rw-r--r--lib/generated/applauncher.pbenum.dart7
-rw-r--r--lib/generated/applauncher.pbgrpc.dart106
-rw-r--r--lib/generated/applauncher.pbjson.dart99
4 files changed, 675 insertions, 0 deletions
diff --git a/lib/generated/applauncher.pb.dart b/lib/generated/applauncher.pb.dart
new file mode 100644
index 0000000..34b1533
--- /dev/null
+++ b/lib/generated/applauncher.pb.dart
@@ -0,0 +1,463 @@
+///
+// Generated code. Do not modify.
+// source: applauncher.proto
+//
+// @dart = 2.12
+// ignore_for_file: annotate_overrides,camel_case_types,constant_identifier_names,directives_ordering,library_prefixes,non_constant_identifier_names,prefer_final_fields,return_of_invalid_type,unnecessary_const,unnecessary_import,unnecessary_this,unused_import,unused_shown_name
+
+import 'dart:core' as $core;
+
+import 'package:protobuf/protobuf.dart' as $pb;
+
+class StartRequest extends $pb.GeneratedMessage {
+ static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'StartRequest', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'automotivegradelinux'), createEmptyInstance: create)
+ ..aOS(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'id')
+ ..hasRequiredFields = false
+ ;
+
+ StartRequest._() : super();
+ factory StartRequest({
+ $core.String? id,
+ }) {
+ final _result = create();
+ if (id != null) {
+ _result.id = id;
+ }
+ return _result;
+ }
+ factory StartRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
+ factory StartRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
+ @$core.Deprecated(
+ 'Using this can add significant overhead to your binary. '
+ 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
+ 'Will be removed in next major version')
+ StartRequest clone() => StartRequest()..mergeFromMessage(this);
+ @$core.Deprecated(
+ 'Using this can add significant overhead to your binary. '
+ 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
+ 'Will be removed in next major version')
+ StartRequest copyWith(void Function(StartRequest) updates) => super.copyWith((message) => updates(message as StartRequest)) as StartRequest; // ignore: deprecated_member_use
+ $pb.BuilderInfo get info_ => _i;
+ @$core.pragma('dart2js:noInline')
+ static StartRequest create() => StartRequest._();
+ StartRequest createEmptyInstance() => create();
+ static $pb.PbList<StartRequest> createRepeated() => $pb.PbList<StartRequest>();
+ @$core.pragma('dart2js:noInline')
+ static StartRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<StartRequest>(create);
+ static StartRequest? _defaultInstance;
+
+ @$pb.TagNumber(1)
+ $core.String get id => $_getSZ(0);
+ @$pb.TagNumber(1)
+ set id($core.String v) { $_setString(0, v); }
+ @$pb.TagNumber(1)
+ $core.bool hasId() => $_has(0);
+ @$pb.TagNumber(1)
+ void clearId() => clearField(1);
+}
+
+class StartResponse extends $pb.GeneratedMessage {
+ static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'StartResponse', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'automotivegradelinux'), createEmptyInstance: create)
+ ..aOB(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'status')
+ ..aOS(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'message')
+ ..hasRequiredFields = false
+ ;
+
+ StartResponse._() : super();
+ factory StartResponse({
+ $core.bool? status,
+ $core.String? message,
+ }) {
+ final _result = create();
+ if (status != null) {
+ _result.status = status;
+ }
+ if (message != null) {
+ _result.message = message;
+ }
+ return _result;
+ }
+ factory StartResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
+ factory StartResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
+ @$core.Deprecated(
+ 'Using this can add significant overhead to your binary. '
+ 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
+ 'Will be removed in next major version')
+ StartResponse clone() => StartResponse()..mergeFromMessage(this);
+ @$core.Deprecated(
+ 'Using this can add significant overhead to your binary. '
+ 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
+ 'Will be removed in next major version')
+ StartResponse copyWith(void Function(StartResponse) updates) => super.copyWith((message) => updates(message as StartResponse)) as StartResponse; // ignore: deprecated_member_use
+ $pb.BuilderInfo get info_ => _i;
+ @$core.pragma('dart2js:noInline')
+ static StartResponse create() => StartResponse._();
+ StartResponse createEmptyInstance() => create();
+ static $pb.PbList<StartResponse> createRepeated() => $pb.PbList<StartResponse>();
+ @$core.pragma('dart2js:noInline')
+ static StartResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<StartResponse>(create);
+ static StartResponse? _defaultInstance;
+
+ @$pb.TagNumber(1)
+ $core.bool get status => $_getBF(0);
+ @$pb.TagNumber(1)
+ set status($core.bool v) { $_setBool(0, v); }
+ @$pb.TagNumber(1)
+ $core.bool hasStatus() => $_has(0);
+ @$pb.TagNumber(1)
+ void clearStatus() => clearField(1);
+
+ @$pb.TagNumber(2)
+ $core.String get message => $_getSZ(1);
+ @$pb.TagNumber(2)
+ set message($core.String v) { $_setString(1, v); }
+ @$pb.TagNumber(2)
+ $core.bool hasMessage() => $_has(1);
+ @$pb.TagNumber(2)
+ void clearMessage() => clearField(2);
+}
+
+class ListRequest extends $pb.GeneratedMessage {
+ static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'ListRequest', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'automotivegradelinux'), createEmptyInstance: create)
+ ..hasRequiredFields = false
+ ;
+
+ ListRequest._() : super();
+ factory ListRequest() => create();
+ factory ListRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
+ factory ListRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
+ @$core.Deprecated(
+ 'Using this can add significant overhead to your binary. '
+ 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
+ 'Will be removed in next major version')
+ ListRequest clone() => ListRequest()..mergeFromMessage(this);
+ @$core.Deprecated(
+ 'Using this can add significant overhead to your binary. '
+ 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
+ 'Will be removed in next major version')
+ ListRequest copyWith(void Function(ListRequest) updates) => super.copyWith((message) => updates(message as ListRequest)) as ListRequest; // ignore: deprecated_member_use
+ $pb.BuilderInfo get info_ => _i;
+ @$core.pragma('dart2js:noInline')
+ static ListRequest create() => ListRequest._();
+ ListRequest createEmptyInstance() => create();
+ static $pb.PbList<ListRequest> createRepeated() => $pb.PbList<ListRequest>();
+ @$core.pragma('dart2js:noInline')
+ static ListRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<ListRequest>(create);
+ static ListRequest? _defaultInstance;
+}
+
+class ListResponse extends $pb.GeneratedMessage {
+ static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'ListResponse', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'automotivegradelinux'), createEmptyInstance: create)
+ ..pc<AppInfo>(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'apps', $pb.PbFieldType.PM, subBuilder: AppInfo.create)
+ ..hasRequiredFields = false
+ ;
+
+ ListResponse._() : super();
+ factory ListResponse({
+ $core.Iterable<AppInfo>? apps,
+ }) {
+ final _result = create();
+ if (apps != null) {
+ _result.apps.addAll(apps);
+ }
+ return _result;
+ }
+ factory ListResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
+ factory ListResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
+ @$core.Deprecated(
+ 'Using this can add significant overhead to your binary. '
+ 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
+ 'Will be removed in next major version')
+ ListResponse clone() => ListResponse()..mergeFromMessage(this);
+ @$core.Deprecated(
+ 'Using this can add significant overhead to your binary. '
+ 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
+ 'Will be removed in next major version')
+ ListResponse copyWith(void Function(ListResponse) updates) => super.copyWith((message) => updates(message as ListResponse)) as ListResponse; // ignore: deprecated_member_use
+ $pb.BuilderInfo get info_ => _i;
+ @$core.pragma('dart2js:noInline')
+ static ListResponse create() => ListResponse._();
+ ListResponse createEmptyInstance() => create();
+ static $pb.PbList<ListResponse> createRepeated() => $pb.PbList<ListResponse>();
+ @$core.pragma('dart2js:noInline')
+ static ListResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<ListResponse>(create);
+ static ListResponse? _defaultInstance;
+
+ @$pb.TagNumber(1)
+ $core.List<AppInfo> get apps => $_getList(0);
+}
+
+class AppInfo extends $pb.GeneratedMessage {
+ static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'AppInfo', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'automotivegradelinux'), createEmptyInstance: create)
+ ..aOS(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'id')
+ ..aOS(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'name')
+ ..aOS(3, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'iconPath')
+ ..hasRequiredFields = false
+ ;
+
+ AppInfo._() : super();
+ factory AppInfo({
+ $core.String? id,
+ $core.String? name,
+ $core.String? iconPath,
+ }) {
+ final _result = create();
+ if (id != null) {
+ _result.id = id;
+ }
+ if (name != null) {
+ _result.name = name;
+ }
+ if (iconPath != null) {
+ _result.iconPath = iconPath;
+ }
+ return _result;
+ }
+ factory AppInfo.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
+ factory AppInfo.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
+ @$core.Deprecated(
+ 'Using this can add significant overhead to your binary. '
+ 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
+ 'Will be removed in next major version')
+ AppInfo clone() => AppInfo()..mergeFromMessage(this);
+ @$core.Deprecated(
+ 'Using this can add significant overhead to your binary. '
+ 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
+ 'Will be removed in next major version')
+ AppInfo copyWith(void Function(AppInfo) updates) => super.copyWith((message) => updates(message as AppInfo)) as AppInfo; // ignore: deprecated_member_use
+ $pb.BuilderInfo get info_ => _i;
+ @$core.pragma('dart2js:noInline')
+ static AppInfo create() => AppInfo._();
+ AppInfo createEmptyInstance() => create();
+ static $pb.PbList<AppInfo> createRepeated() => $pb.PbList<AppInfo>();
+ @$core.pragma('dart2js:noInline')
+ static AppInfo getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<AppInfo>(create);
+ static AppInfo? _defaultInstance;
+
+ @$pb.TagNumber(1)
+ $core.String get id => $_getSZ(0);
+ @$pb.TagNumber(1)
+ set id($core.String v) { $_setString(0, v); }
+ @$pb.TagNumber(1)
+ $core.bool hasId() => $_has(0);
+ @$pb.TagNumber(1)
+ void clearId() => clearField(1);
+
+ @$pb.TagNumber(2)
+ $core.String get name => $_getSZ(1);
+ @$pb.TagNumber(2)
+ set name($core.String v) { $_setString(1, v); }
+ @$pb.TagNumber(2)
+ $core.bool hasName() => $_has(1);
+ @$pb.TagNumber(2)
+ void clearName() => clearField(2);
+
+ @$pb.TagNumber(3)
+ $core.String get iconPath => $_getSZ(2);
+ @$pb.TagNumber(3)
+ set iconPath($core.String v) { $_setString(2, v); }
+ @$pb.TagNumber(3)
+ $core.bool hasIconPath() => $_has(2);
+ @$pb.TagNumber(3)
+ void clearIconPath() => clearField(3);
+}
+
+class StatusRequest extends $pb.GeneratedMessage {
+ static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'StatusRequest', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'automotivegradelinux'), createEmptyInstance: create)
+ ..hasRequiredFields = false
+ ;
+
+ StatusRequest._() : super();
+ factory StatusRequest() => create();
+ factory StatusRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
+ factory StatusRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
+ @$core.Deprecated(
+ 'Using this can add significant overhead to your binary. '
+ 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
+ 'Will be removed in next major version')
+ StatusRequest clone() => StatusRequest()..mergeFromMessage(this);
+ @$core.Deprecated(
+ 'Using this can add significant overhead to your binary. '
+ 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
+ 'Will be removed in next major version')
+ StatusRequest copyWith(void Function(StatusRequest) updates) => super.copyWith((message) => updates(message as StatusRequest)) as StatusRequest; // ignore: deprecated_member_use
+ $pb.BuilderInfo get info_ => _i;
+ @$core.pragma('dart2js:noInline')
+ static StatusRequest create() => StatusRequest._();
+ StatusRequest createEmptyInstance() => create();
+ static $pb.PbList<StatusRequest> createRepeated() => $pb.PbList<StatusRequest>();
+ @$core.pragma('dart2js:noInline')
+ static StatusRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<StatusRequest>(create);
+ static StatusRequest? _defaultInstance;
+}
+
+class AppStatus extends $pb.GeneratedMessage {
+ static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'AppStatus', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'automotivegradelinux'), createEmptyInstance: create)
+ ..aOS(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'id')
+ ..aOS(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'status')
+ ..hasRequiredFields = false
+ ;
+
+ AppStatus._() : super();
+ factory AppStatus({
+ $core.String? id,
+ $core.String? status,
+ }) {
+ final _result = create();
+ if (id != null) {
+ _result.id = id;
+ }
+ if (status != null) {
+ _result.status = status;
+ }
+ return _result;
+ }
+ factory AppStatus.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
+ factory AppStatus.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
+ @$core.Deprecated(
+ 'Using this can add significant overhead to your binary. '
+ 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
+ 'Will be removed in next major version')
+ AppStatus clone() => AppStatus()..mergeFromMessage(this);
+ @$core.Deprecated(
+ 'Using this can add significant overhead to your binary. '
+ 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
+ 'Will be removed in next major version')
+ AppStatus copyWith(void Function(AppStatus) updates) => super.copyWith((message) => updates(message as AppStatus)) as AppStatus; // ignore: deprecated_member_use
+ $pb.BuilderInfo get info_ => _i;
+ @$core.pragma('dart2js:noInline')
+ static AppStatus create() => AppStatus._();
+ AppStatus createEmptyInstance() => create();
+ static $pb.PbList<AppStatus> createRepeated() => $pb.PbList<AppStatus>();
+ @$core.pragma('dart2js:noInline')
+ static AppStatus getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<AppStatus>(create);
+ static AppStatus? _defaultInstance;
+
+ @$pb.TagNumber(1)
+ $core.String get id => $_getSZ(0);
+ @$pb.TagNumber(1)
+ set id($core.String v) { $_setString(0, v); }
+ @$pb.TagNumber(1)
+ $core.bool hasId() => $_has(0);
+ @$pb.TagNumber(1)
+ void clearId() => clearField(1);
+
+ @$pb.TagNumber(2)
+ $core.String get status => $_getSZ(1);
+ @$pb.TagNumber(2)
+ set status($core.String v) { $_setString(1, v); }
+ @$pb.TagNumber(2)
+ $core.bool hasStatus() => $_has(1);
+ @$pb.TagNumber(2)
+ void clearStatus() => clearField(2);
+}
+
+class LauncherStatus extends $pb.GeneratedMessage {
+ static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'LauncherStatus', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'automotivegradelinux'), createEmptyInstance: create)
+ ..hasRequiredFields = false
+ ;
+
+ LauncherStatus._() : super();
+ factory LauncherStatus() => create();
+ factory LauncherStatus.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
+ factory LauncherStatus.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
+ @$core.Deprecated(
+ 'Using this can add significant overhead to your binary. '
+ 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
+ 'Will be removed in next major version')
+ LauncherStatus clone() => LauncherStatus()..mergeFromMessage(this);
+ @$core.Deprecated(
+ 'Using this can add significant overhead to your binary. '
+ 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
+ 'Will be removed in next major version')
+ LauncherStatus copyWith(void Function(LauncherStatus) updates) => super.copyWith((message) => updates(message as LauncherStatus)) as LauncherStatus; // ignore: deprecated_member_use
+ $pb.BuilderInfo get info_ => _i;
+ @$core.pragma('dart2js:noInline')
+ static LauncherStatus create() => LauncherStatus._();
+ LauncherStatus createEmptyInstance() => create();
+ static $pb.PbList<LauncherStatus> createRepeated() => $pb.PbList<LauncherStatus>();
+ @$core.pragma('dart2js:noInline')
+ static LauncherStatus getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<LauncherStatus>(create);
+ static LauncherStatus? _defaultInstance;
+}
+
+enum StatusResponse_Status {
+ app,
+ launcher,
+ notSet
+}
+
+class StatusResponse extends $pb.GeneratedMessage {
+ static const $core.Map<$core.int, StatusResponse_Status> _StatusResponse_StatusByTag = {
+ 1 : StatusResponse_Status.app,
+ 2 : StatusResponse_Status.launcher,
+ 0 : StatusResponse_Status.notSet
+ };
+ static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'StatusResponse', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'automotivegradelinux'), createEmptyInstance: create)
+ ..oo(0, [1, 2])
+ ..aOM<AppStatus>(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'app', subBuilder: AppStatus.create)
+ ..aOM<LauncherStatus>(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'launcher', subBuilder: LauncherStatus.create)
+ ..hasRequiredFields = false
+ ;
+
+ StatusResponse._() : super();
+ factory StatusResponse({
+ AppStatus? app,
+ LauncherStatus? launcher,
+ }) {
+ final _result = create();
+ if (app != null) {
+ _result.app = app;
+ }
+ if (launcher != null) {
+ _result.launcher = launcher;
+ }
+ return _result;
+ }
+ factory StatusResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
+ factory StatusResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
+ @$core.Deprecated(
+ 'Using this can add significant overhead to your binary. '
+ 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
+ 'Will be removed in next major version')
+ StatusResponse clone() => StatusResponse()..mergeFromMessage(this);
+ @$core.Deprecated(
+ 'Using this can add significant overhead to your binary. '
+ 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
+ 'Will be removed in next major version')
+ StatusResponse copyWith(void Function(StatusResponse) updates) => super.copyWith((message) => updates(message as StatusResponse)) as StatusResponse; // ignore: deprecated_member_use
+ $pb.BuilderInfo get info_ => _i;
+ @$core.pragma('dart2js:noInline')
+ static StatusResponse create() => StatusResponse._();
+ StatusResponse createEmptyInstance() => create();
+ static $pb.PbList<StatusResponse> createRepeated() => $pb.PbList<StatusResponse>();
+ @$core.pragma('dart2js:noInline')
+ static StatusResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<StatusResponse>(create);
+ static StatusResponse? _defaultInstance;
+
+ StatusResponse_Status whichStatus() => _StatusResponse_StatusByTag[$_whichOneof(0)]!;
+ void clearStatus() => clearField($_whichOneof(0));
+
+ @$pb.TagNumber(1)
+ AppStatus get app => $_getN(0);
+ @$pb.TagNumber(1)
+ set app(AppStatus v) { setField(1, v); }
+ @$pb.TagNumber(1)
+ $core.bool hasApp() => $_has(0);
+ @$pb.TagNumber(1)
+ void clearApp() => clearField(1);
+ @$pb.TagNumber(1)
+ AppStatus ensureApp() => $_ensure(0);
+
+ @$pb.TagNumber(2)
+ LauncherStatus get launcher => $_getN(1);
+ @$pb.TagNumber(2)
+ set launcher(LauncherStatus v) { setField(2, v); }
+ @$pb.TagNumber(2)
+ $core.bool hasLauncher() => $_has(1);
+ @$pb.TagNumber(2)
+ void clearLauncher() => clearField(2);
+ @$pb.TagNumber(2)
+ LauncherStatus ensureLauncher() => $_ensure(1);
+}
+
diff --git a/lib/generated/applauncher.pbenum.dart b/lib/generated/applauncher.pbenum.dart
new file mode 100644
index 0000000..255c0ab
--- /dev/null
+++ b/lib/generated/applauncher.pbenum.dart
@@ -0,0 +1,7 @@
+///
+// Generated code. Do not modify.
+// source: applauncher.proto
+//
+// @dart = 2.12
+// ignore_for_file: annotate_overrides,camel_case_types,constant_identifier_names,directives_ordering,library_prefixes,non_constant_identifier_names,prefer_final_fields,return_of_invalid_type,unnecessary_const,unnecessary_import,unnecessary_this,unused_import,unused_shown_name
+
diff --git a/lib/generated/applauncher.pbgrpc.dart b/lib/generated/applauncher.pbgrpc.dart
new file mode 100644
index 0000000..d054e8f
--- /dev/null
+++ b/lib/generated/applauncher.pbgrpc.dart
@@ -0,0 +1,106 @@
+///
+// Generated code. Do not modify.
+// source: applauncher.proto
+//
+// @dart = 2.12
+// ignore_for_file: annotate_overrides,camel_case_types,constant_identifier_names,directives_ordering,library_prefixes,non_constant_identifier_names,prefer_final_fields,return_of_invalid_type,unnecessary_const,unnecessary_import,unnecessary_this,unused_import,unused_shown_name
+
+import 'dart:async' as $async;
+
+import 'dart:core' as $core;
+
+import 'package:grpc/service_api.dart' as $grpc;
+import 'applauncher.pb.dart' as $0;
+export 'applauncher.pb.dart';
+
+class AppLauncherClient extends $grpc.Client {
+ static final _$startApplication =
+ $grpc.ClientMethod<$0.StartRequest, $0.StartResponse>(
+ '/automotivegradelinux.AppLauncher/StartApplication',
+ ($0.StartRequest value) => value.writeToBuffer(),
+ ($core.List<$core.int> value) => $0.StartResponse.fromBuffer(value));
+ static final _$listApplications =
+ $grpc.ClientMethod<$0.ListRequest, $0.ListResponse>(
+ '/automotivegradelinux.AppLauncher/ListApplications',
+ ($0.ListRequest value) => value.writeToBuffer(),
+ ($core.List<$core.int> value) => $0.ListResponse.fromBuffer(value));
+ static final _$getStatusEvents =
+ $grpc.ClientMethod<$0.StatusRequest, $0.StatusResponse>(
+ '/automotivegradelinux.AppLauncher/GetStatusEvents',
+ ($0.StatusRequest value) => value.writeToBuffer(),
+ ($core.List<$core.int> value) => $0.StatusResponse.fromBuffer(value));
+
+ AppLauncherClient($grpc.ClientChannel channel,
+ {$grpc.CallOptions? options,
+ $core.Iterable<$grpc.ClientInterceptor>? interceptors})
+ : super(channel, options: options, interceptors: interceptors);
+
+ $grpc.ResponseFuture<$0.StartResponse> startApplication(
+ $0.StartRequest request,
+ {$grpc.CallOptions? options}) {
+ return $createUnaryCall(_$startApplication, request, options: options);
+ }
+
+ $grpc.ResponseFuture<$0.ListResponse> listApplications($0.ListRequest request,
+ {$grpc.CallOptions? options}) {
+ return $createUnaryCall(_$listApplications, request, options: options);
+ }
+
+ $grpc.ResponseStream<$0.StatusResponse> getStatusEvents(
+ $0.StatusRequest request,
+ {$grpc.CallOptions? options}) {
+ return $createStreamingCall(
+ _$getStatusEvents, $async.Stream.fromIterable([request]),
+ options: options);
+ }
+}
+
+abstract class AppLauncherServiceBase extends $grpc.Service {
+ $core.String get $name => 'automotivegradelinux.AppLauncher';
+
+ AppLauncherServiceBase() {
+ $addMethod($grpc.ServiceMethod<$0.StartRequest, $0.StartResponse>(
+ 'StartApplication',
+ startApplication_Pre,
+ false,
+ false,
+ ($core.List<$core.int> value) => $0.StartRequest.fromBuffer(value),
+ ($0.StartResponse value) => value.writeToBuffer()));
+ $addMethod($grpc.ServiceMethod<$0.ListRequest, $0.ListResponse>(
+ 'ListApplications',
+ listApplications_Pre,
+ false,
+ false,
+ ($core.List<$core.int> value) => $0.ListRequest.fromBuffer(value),
+ ($0.ListResponse value) => value.writeToBuffer()));
+ $addMethod($grpc.ServiceMethod<$0.StatusRequest, $0.StatusResponse>(
+ 'GetStatusEvents',
+ getStatusEvents_Pre,
+ false,
+ true,
+ ($core.List<$core.int> value) => $0.StatusRequest.fromBuffer(value),
+ ($0.StatusResponse value) => value.writeToBuffer()));
+ }
+
+ $async.Future<$0.StartResponse> startApplication_Pre(
+ $grpc.ServiceCall call, $async.Future<$0.StartRequest> request) async {
+ return startApplication(call, await request);
+ }
+
+ $async.Future<$0.ListResponse> listApplications_Pre(
+ $grpc.ServiceCall call, $async.Future<$0.ListRequest> request) async {
+ return listApplications(call, await request);
+ }
+
+ $async.Stream<$0.StatusResponse> getStatusEvents_Pre(
+ $grpc.ServiceCall call, $async.Future<$0.StatusRequest> request) async* {
+ yield* getStatusEvents(call, await request);
+ }
+
+ $async.Future<$0.StartResponse> startApplication(
+ $grpc.ServiceCall call, $0.StartRequest request);
+ $async.Future<$0.ListResponse> listApplications(
+ $grpc.ServiceCall call, $0.ListRequest request);
+ $async.Stream<$0.StatusResponse> getStatusEvents(
+ $grpc.ServiceCall call, $0.StatusRequest request);
+}
diff --git a/lib/generated/applauncher.pbjson.dart b/lib/generated/applauncher.pbjson.dart
new file mode 100644
index 0000000..4d89f09
--- /dev/null
+++ b/lib/generated/applauncher.pbjson.dart
@@ -0,0 +1,99 @@
+///
+// Generated code. Do not modify.
+// source: applauncher.proto
+//
+// @dart = 2.12
+// ignore_for_file: annotate_overrides,camel_case_types,constant_identifier_names,deprecated_member_use_from_same_package,directives_ordering,library_prefixes,non_constant_identifier_names,prefer_final_fields,return_of_invalid_type,unnecessary_const,unnecessary_import,unnecessary_this,unused_import,unused_shown_name
+
+import 'dart:core' as $core;
+import 'dart:convert' as $convert;
+import 'dart:typed_data' as $typed_data;
+@$core.Deprecated('Use startRequestDescriptor instead')
+const StartRequest$json = const {
+ '1': 'StartRequest',
+ '2': const [
+ const {'1': 'id', '3': 1, '4': 1, '5': 9, '10': 'id'},
+ ],
+};
+
+/// Descriptor for `StartRequest`. Decode as a `google.protobuf.DescriptorProto`.
+final $typed_data.Uint8List startRequestDescriptor = $convert.base64Decode('CgxTdGFydFJlcXVlc3QSDgoCaWQYASABKAlSAmlk');
+@$core.Deprecated('Use startResponseDescriptor instead')
+const StartResponse$json = const {
+ '1': 'StartResponse',
+ '2': const [
+ const {'1': 'status', '3': 1, '4': 1, '5': 8, '10': 'status'},
+ const {'1': 'message', '3': 2, '4': 1, '5': 9, '10': 'message'},
+ ],
+};
+
+/// Descriptor for `StartResponse`. Decode as a `google.protobuf.DescriptorProto`.
+final $typed_data.Uint8List startResponseDescriptor = $convert.base64Decode('Cg1TdGFydFJlc3BvbnNlEhYKBnN0YXR1cxgBIAEoCFIGc3RhdHVzEhgKB21lc3NhZ2UYAiABKAlSB21lc3NhZ2U=');
+@$core.Deprecated('Use listRequestDescriptor instead')
+const ListRequest$json = const {
+ '1': 'ListRequest',
+};
+
+/// Descriptor for `ListRequest`. Decode as a `google.protobuf.DescriptorProto`.
+final $typed_data.Uint8List listRequestDescriptor = $convert.base64Decode('CgtMaXN0UmVxdWVzdA==');
+@$core.Deprecated('Use listResponseDescriptor instead')
+const ListResponse$json = const {
+ '1': 'ListResponse',
+ '2': const [
+ const {'1': 'apps', '3': 1, '4': 3, '5': 11, '6': '.automotivegradelinux.AppInfo', '10': 'apps'},
+ ],
+};
+
+/// Descriptor for `ListResponse`. Decode as a `google.protobuf.DescriptorProto`.
+final $typed_data.Uint8List listResponseDescriptor = $convert.base64Decode('CgxMaXN0UmVzcG9uc2USMQoEYXBwcxgBIAMoCzIdLmF1dG9tb3RpdmVncmFkZWxpbnV4LkFwcEluZm9SBGFwcHM=');
+@$core.Deprecated('Use appInfoDescriptor instead')
+const AppInfo$json = const {
+ '1': 'AppInfo',
+ '2': const [
+ const {'1': 'id', '3': 1, '4': 1, '5': 9, '10': 'id'},
+ const {'1': 'name', '3': 2, '4': 1, '5': 9, '10': 'name'},
+ const {'1': 'icon_path', '3': 3, '4': 1, '5': 9, '10': 'iconPath'},
+ ],
+};
+
+/// Descriptor for `AppInfo`. Decode as a `google.protobuf.DescriptorProto`.
+final $typed_data.Uint8List appInfoDescriptor = $convert.base64Decode('CgdBcHBJbmZvEg4KAmlkGAEgASgJUgJpZBISCgRuYW1lGAIgASgJUgRuYW1lEhsKCWljb25fcGF0aBgDIAEoCVIIaWNvblBhdGg=');
+@$core.Deprecated('Use statusRequestDescriptor instead')
+const StatusRequest$json = const {
+ '1': 'StatusRequest',
+};
+
+/// Descriptor for `StatusRequest`. Decode as a `google.protobuf.DescriptorProto`.
+final $typed_data.Uint8List statusRequestDescriptor = $convert.base64Decode('Cg1TdGF0dXNSZXF1ZXN0');
+@$core.Deprecated('Use appStatusDescriptor instead')
+const AppStatus$json = const {
+ '1': 'AppStatus',
+ '2': const [
+ const {'1': 'id', '3': 1, '4': 1, '5': 9, '10': 'id'},
+ const {'1': 'status', '3': 2, '4': 1, '5': 9, '10': 'status'},
+ ],
+};
+
+/// Descriptor for `AppStatus`. Decode as a `google.protobuf.DescriptorProto`.
+final $typed_data.Uint8List appStatusDescriptor = $convert.base64Decode('CglBcHBTdGF0dXMSDgoCaWQYASABKAlSAmlkEhYKBnN0YXR1cxgCIAEoCVIGc3RhdHVz');
+@$core.Deprecated('Use launcherStatusDescriptor instead')
+const LauncherStatus$json = const {
+ '1': 'LauncherStatus',
+};
+
+/// Descriptor for `LauncherStatus`. Decode as a `google.protobuf.DescriptorProto`.
+final $typed_data.Uint8List launcherStatusDescriptor = $convert.base64Decode('Cg5MYXVuY2hlclN0YXR1cw==');
+@$core.Deprecated('Use statusResponseDescriptor instead')
+const StatusResponse$json = const {
+ '1': 'StatusResponse',
+ '2': const [
+ const {'1': 'app', '3': 1, '4': 1, '5': 11, '6': '.automotivegradelinux.AppStatus', '9': 0, '10': 'app'},
+ const {'1': 'launcher', '3': 2, '4': 1, '5': 11, '6': '.automotivegradelinux.LauncherStatus', '9': 0, '10': 'launcher'},
+ ],
+ '8': const [
+ const {'1': 'status'},
+ ],
+};
+
+/// Descriptor for `StatusResponse`. Decode as a `google.protobuf.DescriptorProto`.
+final $typed_data.Uint8List statusResponseDescriptor = $convert.base64Decode('Cg5TdGF0dXNSZXNwb25zZRIzCgNhcHAYASABKAsyHy5hdXRvbW90aXZlZ3JhZGVsaW51eC5BcHBTdGF0dXNIAFIDYXBwEkIKCGxhdW5jaGVyGAIgASgLMiQuYXV0b21vdGl2ZWdyYWRlbGludXguTGF1bmNoZXJTdGF0dXNIAFIIbGF1bmNoZXJCCAoGc3RhdHVz');