OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 library activity_mojom; | 5 library activity_mojom; |
6 import 'dart:async'; | 6 import 'dart:async'; |
7 import 'package:mojo/bindings.dart' as bindings; | 7 import 'package:mojo/bindings.dart' as bindings; |
8 import 'package:mojo/core.dart' as core; | 8 import 'package:mojo/core.dart' as core; |
9 import 'package:mojo/mojo/bindings/types/service_describer.mojom.dart' as servic
e_describer; | 9 import 'package:mojo/mojo/bindings/types/service_describer.mojom.dart' as servic
e_describer; |
10 | 10 |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 case immersive: | 60 case immersive: |
61 return 'SystemUiVisibility.immersive'; | 61 return 'SystemUiVisibility.immersive'; |
62 default: | 62 default: |
63 return null; | 63 return null; |
64 } | 64 } |
65 } | 65 } |
66 | 66 |
67 int toJson() => mojoEnumValue; | 67 int toJson() => mojoEnumValue; |
68 } | 68 } |
69 | 69 |
70 | |
71 | |
72 class ScreenOrientation extends bindings.MojoEnum { | 70 class ScreenOrientation extends bindings.MojoEnum { |
73 static const ScreenOrientation unspecified = const ScreenOrientation._(0); | 71 static const ScreenOrientation unspecified = const ScreenOrientation._(0); |
74 static const ScreenOrientation landscape = const ScreenOrientation._(1); | 72 static const ScreenOrientation landscape = const ScreenOrientation._(1); |
75 static const ScreenOrientation portrait = const ScreenOrientation._(2); | 73 static const ScreenOrientation portrait = const ScreenOrientation._(2); |
76 static const ScreenOrientation nosensor = const ScreenOrientation._(3); | 74 static const ScreenOrientation nosensor = const ScreenOrientation._(3); |
77 | 75 |
78 const ScreenOrientation._(int v) : super(v); | 76 const ScreenOrientation._(int v) : super(v); |
79 | 77 |
80 static const Map<String, ScreenOrientation> valuesMap = const { | 78 static const Map<String, ScreenOrientation> valuesMap = const { |
81 "unspecified": unspecified, | 79 "unspecified": unspecified, |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
128 case nosensor: | 126 case nosensor: |
129 return 'ScreenOrientation.nosensor'; | 127 return 'ScreenOrientation.nosensor'; |
130 default: | 128 default: |
131 return null; | 129 return null; |
132 } | 130 } |
133 } | 131 } |
134 | 132 |
135 int toJson() => mojoEnumValue; | 133 int toJson() => mojoEnumValue; |
136 } | 134 } |
137 | 135 |
138 | |
139 | |
140 class HapticFeedbackType extends bindings.MojoEnum { | 136 class HapticFeedbackType extends bindings.MojoEnum { |
141 static const HapticFeedbackType longPress = const HapticFeedbackType._(0); | 137 static const HapticFeedbackType longPress = const HapticFeedbackType._(0); |
142 static const HapticFeedbackType virtualKey = const HapticFeedbackType._(1); | 138 static const HapticFeedbackType virtualKey = const HapticFeedbackType._(1); |
143 static const HapticFeedbackType keyboardTap = const HapticFeedbackType._(2); | 139 static const HapticFeedbackType keyboardTap = const HapticFeedbackType._(2); |
144 static const HapticFeedbackType clockTick = const HapticFeedbackType._(3); | 140 static const HapticFeedbackType clockTick = const HapticFeedbackType._(3); |
145 | 141 |
146 const HapticFeedbackType._(int v) : super(v); | 142 const HapticFeedbackType._(int v) : super(v); |
147 | 143 |
148 static const Map<String, HapticFeedbackType> valuesMap = const { | 144 static const Map<String, HapticFeedbackType> valuesMap = const { |
149 "longPress": longPress, | 145 "longPress": longPress, |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
196 case clockTick: | 192 case clockTick: |
197 return 'HapticFeedbackType.clockTick'; | 193 return 'HapticFeedbackType.clockTick'; |
198 default: | 194 default: |
199 return null; | 195 return null; |
200 } | 196 } |
201 } | 197 } |
202 | 198 |
203 int toJson() => mojoEnumValue; | 199 int toJson() => mojoEnumValue; |
204 } | 200 } |
205 | 201 |
206 | |
207 | |
208 class AuralFeedbackType extends bindings.MojoEnum { | 202 class AuralFeedbackType extends bindings.MojoEnum { |
209 static const AuralFeedbackType click = const AuralFeedbackType._(0); | 203 static const AuralFeedbackType click = const AuralFeedbackType._(0); |
210 static const AuralFeedbackType navigationLeft = const AuralFeedbackType._(1); | 204 static const AuralFeedbackType navigationLeft = const AuralFeedbackType._(1); |
211 static const AuralFeedbackType navigationUp = const AuralFeedbackType._(2); | 205 static const AuralFeedbackType navigationUp = const AuralFeedbackType._(2); |
212 static const AuralFeedbackType navigationRight = const AuralFeedbackType._(3); | 206 static const AuralFeedbackType navigationRight = const AuralFeedbackType._(3); |
213 static const AuralFeedbackType navigationDown = const AuralFeedbackType._(4); | 207 static const AuralFeedbackType navigationDown = const AuralFeedbackType._(4); |
214 | 208 |
215 const AuralFeedbackType._(int v) : super(v); | 209 const AuralFeedbackType._(int v) : super(v); |
216 | 210 |
217 static const Map<String, AuralFeedbackType> valuesMap = const { | 211 static const Map<String, AuralFeedbackType> valuesMap = const { |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
273 default: | 267 default: |
274 return null; | 268 return null; |
275 } | 269 } |
276 } | 270 } |
277 | 271 |
278 int toJson() => mojoEnumValue; | 272 int toJson() => mojoEnumValue; |
279 } | 273 } |
280 | 274 |
281 | 275 |
282 | 276 |
283 | |
284 | |
285 class StringExtra extends bindings.Struct { | 277 class StringExtra extends bindings.Struct { |
286 static const List<bindings.StructDataHeader> kVersions = const [ | 278 static const List<bindings.StructDataHeader> kVersions = const [ |
287 const bindings.StructDataHeader(24, 0) | 279 const bindings.StructDataHeader(24, 0) |
288 ]; | 280 ]; |
289 String name = null; | 281 String name = null; |
290 String value = null; | 282 String value = null; |
291 | 283 |
292 StringExtra() : super(kVersions.last.size); | 284 StringExtra() : super(kVersions.last.size); |
293 | 285 |
294 static StringExtra deserialize(bindings.Message message) { | 286 static StringExtra deserialize(bindings.Message message) { |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
361 | 353 |
362 Map toJson() { | 354 Map toJson() { |
363 Map map = new Map(); | 355 Map map = new Map(); |
364 map["name"] = name; | 356 map["name"] = name; |
365 map["value"] = value; | 357 map["value"] = value; |
366 return map; | 358 return map; |
367 } | 359 } |
368 } | 360 } |
369 | 361 |
370 | 362 |
371 | |
372 | |
373 class ComponentName extends bindings.Struct { | 363 class ComponentName extends bindings.Struct { |
374 static const List<bindings.StructDataHeader> kVersions = const [ | 364 static const List<bindings.StructDataHeader> kVersions = const [ |
375 const bindings.StructDataHeader(24, 0) | 365 const bindings.StructDataHeader(24, 0) |
376 ]; | 366 ]; |
377 String packageName = null; | 367 String packageName = null; |
378 String className = null; | 368 String className = null; |
379 | 369 |
380 ComponentName() : super(kVersions.last.size); | 370 ComponentName() : super(kVersions.last.size); |
381 | 371 |
382 static ComponentName deserialize(bindings.Message message) { | 372 static ComponentName deserialize(bindings.Message message) { |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
449 | 439 |
450 Map toJson() { | 440 Map toJson() { |
451 Map map = new Map(); | 441 Map map = new Map(); |
452 map["packageName"] = packageName; | 442 map["packageName"] = packageName; |
453 map["className"] = className; | 443 map["className"] = className; |
454 return map; | 444 return map; |
455 } | 445 } |
456 } | 446 } |
457 | 447 |
458 | 448 |
459 | |
460 | |
461 class Intent extends bindings.Struct { | 449 class Intent extends bindings.Struct { |
462 static const List<bindings.StructDataHeader> kVersions = const [ | 450 static const List<bindings.StructDataHeader> kVersions = const [ |
463 const bindings.StructDataHeader(56, 0) | 451 const bindings.StructDataHeader(56, 0) |
464 ]; | 452 ]; |
465 String action = null; | 453 String action = null; |
466 String url = null; | 454 String url = null; |
467 int flags = 0; | 455 int flags = 0; |
468 ComponentName component = null; | 456 ComponentName component = null; |
469 List<StringExtra> stringExtras = null; | 457 List<StringExtra> stringExtras = null; |
470 String type = null; | 458 String type = null; |
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
612 map["url"] = url; | 600 map["url"] = url; |
613 map["flags"] = flags; | 601 map["flags"] = flags; |
614 map["component"] = component; | 602 map["component"] = component; |
615 map["stringExtras"] = stringExtras; | 603 map["stringExtras"] = stringExtras; |
616 map["type"] = type; | 604 map["type"] = type; |
617 return map; | 605 return map; |
618 } | 606 } |
619 } | 607 } |
620 | 608 |
621 | 609 |
622 | |
623 | |
624 class TaskDescription extends bindings.Struct { | 610 class TaskDescription extends bindings.Struct { |
625 static const List<bindings.StructDataHeader> kVersions = const [ | 611 static const List<bindings.StructDataHeader> kVersions = const [ |
626 const bindings.StructDataHeader(24, 0) | 612 const bindings.StructDataHeader(24, 0) |
627 ]; | 613 ]; |
628 String label = null; | 614 String label = null; |
629 int primaryColor = 0; | 615 int primaryColor = 0; |
630 | 616 |
631 TaskDescription() : super(kVersions.last.size); | 617 TaskDescription() : super(kVersions.last.size); |
632 | 618 |
633 static TaskDescription deserialize(bindings.Message message) { | 619 static TaskDescription deserialize(bindings.Message message) { |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
700 | 686 |
701 Map toJson() { | 687 Map toJson() { |
702 Map map = new Map(); | 688 Map map = new Map(); |
703 map["label"] = label; | 689 map["label"] = label; |
704 map["primaryColor"] = primaryColor; | 690 map["primaryColor"] = primaryColor; |
705 return map; | 691 return map; |
706 } | 692 } |
707 } | 693 } |
708 | 694 |
709 | 695 |
710 | |
711 | |
712 class _ActivityGetUserFeedbackParams extends bindings.Struct { | 696 class _ActivityGetUserFeedbackParams extends bindings.Struct { |
713 static const List<bindings.StructDataHeader> kVersions = const [ | 697 static const List<bindings.StructDataHeader> kVersions = const [ |
714 const bindings.StructDataHeader(16, 0) | 698 const bindings.StructDataHeader(16, 0) |
715 ]; | 699 ]; |
716 Object userFeedback = null; | 700 Object userFeedback = null; |
717 | 701 |
718 _ActivityGetUserFeedbackParams() : super(kVersions.last.size); | 702 _ActivityGetUserFeedbackParams() : super(kVersions.last.size); |
719 | 703 |
720 static _ActivityGetUserFeedbackParams deserialize(bindings.Message message) { | 704 static _ActivityGetUserFeedbackParams deserialize(bindings.Message message) { |
721 var decoder = new bindings.Decoder(message); | 705 var decoder = new bindings.Decoder(message); |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
773 "userFeedback: $userFeedback" ")"; | 757 "userFeedback: $userFeedback" ")"; |
774 } | 758 } |
775 | 759 |
776 Map toJson() { | 760 Map toJson() { |
777 throw new bindings.MojoCodecError( | 761 throw new bindings.MojoCodecError( |
778 'Object containing handles cannot be encoded to JSON.'); | 762 'Object containing handles cannot be encoded to JSON.'); |
779 } | 763 } |
780 } | 764 } |
781 | 765 |
782 | 766 |
783 | |
784 | |
785 class _ActivityStartActivityParams extends bindings.Struct { | 767 class _ActivityStartActivityParams extends bindings.Struct { |
786 static const List<bindings.StructDataHeader> kVersions = const [ | 768 static const List<bindings.StructDataHeader> kVersions = const [ |
787 const bindings.StructDataHeader(16, 0) | 769 const bindings.StructDataHeader(16, 0) |
788 ]; | 770 ]; |
789 Intent intent = null; | 771 Intent intent = null; |
790 | 772 |
791 _ActivityStartActivityParams() : super(kVersions.last.size); | 773 _ActivityStartActivityParams() : super(kVersions.last.size); |
792 | 774 |
793 static _ActivityStartActivityParams deserialize(bindings.Message message) { | 775 static _ActivityStartActivityParams deserialize(bindings.Message message) { |
794 var decoder = new bindings.Decoder(message); | 776 var decoder = new bindings.Decoder(message); |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
848 } | 830 } |
849 | 831 |
850 Map toJson() { | 832 Map toJson() { |
851 Map map = new Map(); | 833 Map map = new Map(); |
852 map["intent"] = intent; | 834 map["intent"] = intent; |
853 return map; | 835 return map; |
854 } | 836 } |
855 } | 837 } |
856 | 838 |
857 | 839 |
858 | |
859 | |
860 class _ActivityFinishCurrentActivityParams extends bindings.Struct { | 840 class _ActivityFinishCurrentActivityParams extends bindings.Struct { |
861 static const List<bindings.StructDataHeader> kVersions = const [ | 841 static const List<bindings.StructDataHeader> kVersions = const [ |
862 const bindings.StructDataHeader(8, 0) | 842 const bindings.StructDataHeader(8, 0) |
863 ]; | 843 ]; |
864 | 844 |
865 _ActivityFinishCurrentActivityParams() : super(kVersions.last.size); | 845 _ActivityFinishCurrentActivityParams() : super(kVersions.last.size); |
866 | 846 |
867 static _ActivityFinishCurrentActivityParams deserialize(bindings.Message messa
ge) { | 847 static _ActivityFinishCurrentActivityParams deserialize(bindings.Message messa
ge) { |
868 var decoder = new bindings.Decoder(message); | 848 var decoder = new bindings.Decoder(message); |
869 var result = decode(decoder); | 849 var result = decode(decoder); |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
908 return "_ActivityFinishCurrentActivityParams("")"; | 888 return "_ActivityFinishCurrentActivityParams("")"; |
909 } | 889 } |
910 | 890 |
911 Map toJson() { | 891 Map toJson() { |
912 Map map = new Map(); | 892 Map map = new Map(); |
913 return map; | 893 return map; |
914 } | 894 } |
915 } | 895 } |
916 | 896 |
917 | 897 |
918 | |
919 | |
920 class _ActivitySetTaskDescriptionParams extends bindings.Struct { | 898 class _ActivitySetTaskDescriptionParams extends bindings.Struct { |
921 static const List<bindings.StructDataHeader> kVersions = const [ | 899 static const List<bindings.StructDataHeader> kVersions = const [ |
922 const bindings.StructDataHeader(16, 0) | 900 const bindings.StructDataHeader(16, 0) |
923 ]; | 901 ]; |
924 TaskDescription description = null; | 902 TaskDescription description = null; |
925 | 903 |
926 _ActivitySetTaskDescriptionParams() : super(kVersions.last.size); | 904 _ActivitySetTaskDescriptionParams() : super(kVersions.last.size); |
927 | 905 |
928 static _ActivitySetTaskDescriptionParams deserialize(bindings.Message message)
{ | 906 static _ActivitySetTaskDescriptionParams deserialize(bindings.Message message)
{ |
929 var decoder = new bindings.Decoder(message); | 907 var decoder = new bindings.Decoder(message); |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
983 } | 961 } |
984 | 962 |
985 Map toJson() { | 963 Map toJson() { |
986 Map map = new Map(); | 964 Map map = new Map(); |
987 map["description"] = description; | 965 map["description"] = description; |
988 return map; | 966 return map; |
989 } | 967 } |
990 } | 968 } |
991 | 969 |
992 | 970 |
993 | |
994 | |
995 class _ActivitySetSystemUiVisibilityParams extends bindings.Struct { | 971 class _ActivitySetSystemUiVisibilityParams extends bindings.Struct { |
996 static const List<bindings.StructDataHeader> kVersions = const [ | 972 static const List<bindings.StructDataHeader> kVersions = const [ |
997 const bindings.StructDataHeader(16, 0) | 973 const bindings.StructDataHeader(16, 0) |
998 ]; | 974 ]; |
999 SystemUiVisibility visibility = null; | 975 SystemUiVisibility visibility = null; |
1000 | 976 |
1001 _ActivitySetSystemUiVisibilityParams() : super(kVersions.last.size); | 977 _ActivitySetSystemUiVisibilityParams() : super(kVersions.last.size); |
1002 | 978 |
1003 static _ActivitySetSystemUiVisibilityParams deserialize(bindings.Message messa
ge) { | 979 static _ActivitySetSystemUiVisibilityParams deserialize(bindings.Message messa
ge) { |
1004 var decoder = new bindings.Decoder(message); | 980 var decoder = new bindings.Decoder(message); |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1061 } | 1037 } |
1062 | 1038 |
1063 Map toJson() { | 1039 Map toJson() { |
1064 Map map = new Map(); | 1040 Map map = new Map(); |
1065 map["visibility"] = visibility; | 1041 map["visibility"] = visibility; |
1066 return map; | 1042 return map; |
1067 } | 1043 } |
1068 } | 1044 } |
1069 | 1045 |
1070 | 1046 |
1071 | |
1072 | |
1073 class _ActivitySetRequestedOrientationParams extends bindings.Struct { | 1047 class _ActivitySetRequestedOrientationParams extends bindings.Struct { |
1074 static const List<bindings.StructDataHeader> kVersions = const [ | 1048 static const List<bindings.StructDataHeader> kVersions = const [ |
1075 const bindings.StructDataHeader(16, 0) | 1049 const bindings.StructDataHeader(16, 0) |
1076 ]; | 1050 ]; |
1077 ScreenOrientation orientation = null; | 1051 ScreenOrientation orientation = null; |
1078 | 1052 |
1079 _ActivitySetRequestedOrientationParams() : super(kVersions.last.size); | 1053 _ActivitySetRequestedOrientationParams() : super(kVersions.last.size); |
1080 | 1054 |
1081 static _ActivitySetRequestedOrientationParams deserialize(bindings.Message mes
sage) { | 1055 static _ActivitySetRequestedOrientationParams deserialize(bindings.Message mes
sage) { |
1082 var decoder = new bindings.Decoder(message); | 1056 var decoder = new bindings.Decoder(message); |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1139 } | 1113 } |
1140 | 1114 |
1141 Map toJson() { | 1115 Map toJson() { |
1142 Map map = new Map(); | 1116 Map map = new Map(); |
1143 map["orientation"] = orientation; | 1117 map["orientation"] = orientation; |
1144 return map; | 1118 return map; |
1145 } | 1119 } |
1146 } | 1120 } |
1147 | 1121 |
1148 | 1122 |
1149 | |
1150 | |
1151 class _PathServiceGetAppDataDirParams extends bindings.Struct { | 1123 class _PathServiceGetAppDataDirParams extends bindings.Struct { |
1152 static const List<bindings.StructDataHeader> kVersions = const [ | 1124 static const List<bindings.StructDataHeader> kVersions = const [ |
1153 const bindings.StructDataHeader(8, 0) | 1125 const bindings.StructDataHeader(8, 0) |
1154 ]; | 1126 ]; |
1155 | 1127 |
1156 _PathServiceGetAppDataDirParams() : super(kVersions.last.size); | 1128 _PathServiceGetAppDataDirParams() : super(kVersions.last.size); |
1157 | 1129 |
1158 static _PathServiceGetAppDataDirParams deserialize(bindings.Message message) { | 1130 static _PathServiceGetAppDataDirParams deserialize(bindings.Message message) { |
1159 var decoder = new bindings.Decoder(message); | 1131 var decoder = new bindings.Decoder(message); |
1160 var result = decode(decoder); | 1132 var result = decode(decoder); |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1199 return "_PathServiceGetAppDataDirParams("")"; | 1171 return "_PathServiceGetAppDataDirParams("")"; |
1200 } | 1172 } |
1201 | 1173 |
1202 Map toJson() { | 1174 Map toJson() { |
1203 Map map = new Map(); | 1175 Map map = new Map(); |
1204 return map; | 1176 return map; |
1205 } | 1177 } |
1206 } | 1178 } |
1207 | 1179 |
1208 | 1180 |
1209 | |
1210 | |
1211 class PathServiceGetAppDataDirResponseParams extends bindings.Struct { | 1181 class PathServiceGetAppDataDirResponseParams extends bindings.Struct { |
1212 static const List<bindings.StructDataHeader> kVersions = const [ | 1182 static const List<bindings.StructDataHeader> kVersions = const [ |
1213 const bindings.StructDataHeader(16, 0) | 1183 const bindings.StructDataHeader(16, 0) |
1214 ]; | 1184 ]; |
1215 String path = null; | 1185 String path = null; |
1216 | 1186 |
1217 PathServiceGetAppDataDirResponseParams() : super(kVersions.last.size); | 1187 PathServiceGetAppDataDirResponseParams() : super(kVersions.last.size); |
1218 | 1188 |
1219 static PathServiceGetAppDataDirResponseParams deserialize(bindings.Message mes
sage) { | 1189 static PathServiceGetAppDataDirResponseParams deserialize(bindings.Message mes
sage) { |
1220 var decoder = new bindings.Decoder(message); | 1190 var decoder = new bindings.Decoder(message); |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1273 } | 1243 } |
1274 | 1244 |
1275 Map toJson() { | 1245 Map toJson() { |
1276 Map map = new Map(); | 1246 Map map = new Map(); |
1277 map["path"] = path; | 1247 map["path"] = path; |
1278 return map; | 1248 return map; |
1279 } | 1249 } |
1280 } | 1250 } |
1281 | 1251 |
1282 | 1252 |
1283 | |
1284 | |
1285 class _PathServiceGetFilesDirParams extends bindings.Struct { | 1253 class _PathServiceGetFilesDirParams extends bindings.Struct { |
1286 static const List<bindings.StructDataHeader> kVersions = const [ | 1254 static const List<bindings.StructDataHeader> kVersions = const [ |
1287 const bindings.StructDataHeader(8, 0) | 1255 const bindings.StructDataHeader(8, 0) |
1288 ]; | 1256 ]; |
1289 | 1257 |
1290 _PathServiceGetFilesDirParams() : super(kVersions.last.size); | 1258 _PathServiceGetFilesDirParams() : super(kVersions.last.size); |
1291 | 1259 |
1292 static _PathServiceGetFilesDirParams deserialize(bindings.Message message) { | 1260 static _PathServiceGetFilesDirParams deserialize(bindings.Message message) { |
1293 var decoder = new bindings.Decoder(message); | 1261 var decoder = new bindings.Decoder(message); |
1294 var result = decode(decoder); | 1262 var result = decode(decoder); |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1333 return "_PathServiceGetFilesDirParams("")"; | 1301 return "_PathServiceGetFilesDirParams("")"; |
1334 } | 1302 } |
1335 | 1303 |
1336 Map toJson() { | 1304 Map toJson() { |
1337 Map map = new Map(); | 1305 Map map = new Map(); |
1338 return map; | 1306 return map; |
1339 } | 1307 } |
1340 } | 1308 } |
1341 | 1309 |
1342 | 1310 |
1343 | |
1344 | |
1345 class PathServiceGetFilesDirResponseParams extends bindings.Struct { | 1311 class PathServiceGetFilesDirResponseParams extends bindings.Struct { |
1346 static const List<bindings.StructDataHeader> kVersions = const [ | 1312 static const List<bindings.StructDataHeader> kVersions = const [ |
1347 const bindings.StructDataHeader(16, 0) | 1313 const bindings.StructDataHeader(16, 0) |
1348 ]; | 1314 ]; |
1349 String path = null; | 1315 String path = null; |
1350 | 1316 |
1351 PathServiceGetFilesDirResponseParams() : super(kVersions.last.size); | 1317 PathServiceGetFilesDirResponseParams() : super(kVersions.last.size); |
1352 | 1318 |
1353 static PathServiceGetFilesDirResponseParams deserialize(bindings.Message messa
ge) { | 1319 static PathServiceGetFilesDirResponseParams deserialize(bindings.Message messa
ge) { |
1354 var decoder = new bindings.Decoder(message); | 1320 var decoder = new bindings.Decoder(message); |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1407 } | 1373 } |
1408 | 1374 |
1409 Map toJson() { | 1375 Map toJson() { |
1410 Map map = new Map(); | 1376 Map map = new Map(); |
1411 map["path"] = path; | 1377 map["path"] = path; |
1412 return map; | 1378 return map; |
1413 } | 1379 } |
1414 } | 1380 } |
1415 | 1381 |
1416 | 1382 |
1417 | |
1418 | |
1419 class _PathServiceGetCacheDirParams extends bindings.Struct { | 1383 class _PathServiceGetCacheDirParams extends bindings.Struct { |
1420 static const List<bindings.StructDataHeader> kVersions = const [ | 1384 static const List<bindings.StructDataHeader> kVersions = const [ |
1421 const bindings.StructDataHeader(8, 0) | 1385 const bindings.StructDataHeader(8, 0) |
1422 ]; | 1386 ]; |
1423 | 1387 |
1424 _PathServiceGetCacheDirParams() : super(kVersions.last.size); | 1388 _PathServiceGetCacheDirParams() : super(kVersions.last.size); |
1425 | 1389 |
1426 static _PathServiceGetCacheDirParams deserialize(bindings.Message message) { | 1390 static _PathServiceGetCacheDirParams deserialize(bindings.Message message) { |
1427 var decoder = new bindings.Decoder(message); | 1391 var decoder = new bindings.Decoder(message); |
1428 var result = decode(decoder); | 1392 var result = decode(decoder); |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1467 return "_PathServiceGetCacheDirParams("")"; | 1431 return "_PathServiceGetCacheDirParams("")"; |
1468 } | 1432 } |
1469 | 1433 |
1470 Map toJson() { | 1434 Map toJson() { |
1471 Map map = new Map(); | 1435 Map map = new Map(); |
1472 return map; | 1436 return map; |
1473 } | 1437 } |
1474 } | 1438 } |
1475 | 1439 |
1476 | 1440 |
1477 | |
1478 | |
1479 class PathServiceGetCacheDirResponseParams extends bindings.Struct { | 1441 class PathServiceGetCacheDirResponseParams extends bindings.Struct { |
1480 static const List<bindings.StructDataHeader> kVersions = const [ | 1442 static const List<bindings.StructDataHeader> kVersions = const [ |
1481 const bindings.StructDataHeader(16, 0) | 1443 const bindings.StructDataHeader(16, 0) |
1482 ]; | 1444 ]; |
1483 String path = null; | 1445 String path = null; |
1484 | 1446 |
1485 PathServiceGetCacheDirResponseParams() : super(kVersions.last.size); | 1447 PathServiceGetCacheDirResponseParams() : super(kVersions.last.size); |
1486 | 1448 |
1487 static PathServiceGetCacheDirResponseParams deserialize(bindings.Message messa
ge) { | 1449 static PathServiceGetCacheDirResponseParams deserialize(bindings.Message messa
ge) { |
1488 var decoder = new bindings.Decoder(message); | 1450 var decoder = new bindings.Decoder(message); |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1541 } | 1503 } |
1542 | 1504 |
1543 Map toJson() { | 1505 Map toJson() { |
1544 Map map = new Map(); | 1506 Map map = new Map(); |
1545 map["path"] = path; | 1507 map["path"] = path; |
1546 return map; | 1508 return map; |
1547 } | 1509 } |
1548 } | 1510 } |
1549 | 1511 |
1550 | 1512 |
1551 | |
1552 | |
1553 class _UserFeedbackPerformHapticFeedbackParams extends bindings.Struct { | 1513 class _UserFeedbackPerformHapticFeedbackParams extends bindings.Struct { |
1554 static const List<bindings.StructDataHeader> kVersions = const [ | 1514 static const List<bindings.StructDataHeader> kVersions = const [ |
1555 const bindings.StructDataHeader(16, 0) | 1515 const bindings.StructDataHeader(16, 0) |
1556 ]; | 1516 ]; |
1557 HapticFeedbackType type = null; | 1517 HapticFeedbackType type = null; |
1558 | 1518 |
1559 _UserFeedbackPerformHapticFeedbackParams() : super(kVersions.last.size); | 1519 _UserFeedbackPerformHapticFeedbackParams() : super(kVersions.last.size); |
1560 | 1520 |
1561 static _UserFeedbackPerformHapticFeedbackParams deserialize(bindings.Message m
essage) { | 1521 static _UserFeedbackPerformHapticFeedbackParams deserialize(bindings.Message m
essage) { |
1562 var decoder = new bindings.Decoder(message); | 1522 var decoder = new bindings.Decoder(message); |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1619 } | 1579 } |
1620 | 1580 |
1621 Map toJson() { | 1581 Map toJson() { |
1622 Map map = new Map(); | 1582 Map map = new Map(); |
1623 map["type"] = type; | 1583 map["type"] = type; |
1624 return map; | 1584 return map; |
1625 } | 1585 } |
1626 } | 1586 } |
1627 | 1587 |
1628 | 1588 |
1629 | |
1630 | |
1631 class _UserFeedbackPerformAuralFeedbackParams extends bindings.Struct { | 1589 class _UserFeedbackPerformAuralFeedbackParams extends bindings.Struct { |
1632 static const List<bindings.StructDataHeader> kVersions = const [ | 1590 static const List<bindings.StructDataHeader> kVersions = const [ |
1633 const bindings.StructDataHeader(16, 0) | 1591 const bindings.StructDataHeader(16, 0) |
1634 ]; | 1592 ]; |
1635 AuralFeedbackType type = null; | 1593 AuralFeedbackType type = null; |
1636 | 1594 |
1637 _UserFeedbackPerformAuralFeedbackParams() : super(kVersions.last.size); | 1595 _UserFeedbackPerformAuralFeedbackParams() : super(kVersions.last.size); |
1638 | 1596 |
1639 static _UserFeedbackPerformAuralFeedbackParams deserialize(bindings.Message me
ssage) { | 1597 static _UserFeedbackPerformAuralFeedbackParams deserialize(bindings.Message me
ssage) { |
1640 var decoder = new bindings.Decoder(message); | 1598 var decoder = new bindings.Decoder(message); |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1696 "type: $type" ")"; | 1654 "type: $type" ")"; |
1697 } | 1655 } |
1698 | 1656 |
1699 Map toJson() { | 1657 Map toJson() { |
1700 Map map = new Map(); | 1658 Map map = new Map(); |
1701 map["type"] = type; | 1659 map["type"] = type; |
1702 return map; | 1660 return map; |
1703 } | 1661 } |
1704 } | 1662 } |
1705 | 1663 |
1706 | |
1707 | |
1708 | |
1709 const int _Activity_getUserFeedbackName = 0; | 1664 const int _Activity_getUserFeedbackName = 0; |
1710 const int _Activity_startActivityName = 1; | 1665 const int _Activity_startActivityName = 1; |
1711 const int _Activity_finishCurrentActivityName = 2; | 1666 const int _Activity_finishCurrentActivityName = 2; |
1712 const int _Activity_setTaskDescriptionName = 3; | 1667 const int _Activity_setTaskDescriptionName = 3; |
1713 const int _Activity_setSystemUiVisibilityName = 4; | 1668 const int _Activity_setSystemUiVisibilityName = 4; |
1714 const int _Activity_setRequestedOrientationName = 5; | 1669 const int _Activity_setRequestedOrientationName = 5; |
1715 | 1670 |
1716 | |
1717 | |
1718 class _ActivityServiceDescription implements service_describer.ServiceDescriptio
n { | 1671 class _ActivityServiceDescription implements service_describer.ServiceDescriptio
n { |
1719 dynamic getTopLevelInterface([Function responseFactory]) => | 1672 dynamic getTopLevelInterface([Function responseFactory]) => |
1720 responseFactory(null); | 1673 responseFactory(null); |
1721 | 1674 |
1722 dynamic getTypeDefinition(String typeKey, [Function responseFactory]) => | 1675 dynamic getTypeDefinition(String typeKey, [Function responseFactory]) => |
1723 responseFactory(null); | 1676 responseFactory(null); |
1724 | 1677 |
1725 dynamic getAllTypeDefinitions([Function responseFactory]) => | 1678 dynamic getAllTypeDefinitions([Function responseFactory]) => |
1726 responseFactory(null); | 1679 responseFactory(null); |
1727 } | 1680 } |
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1972 _cachedServiceDescription = new _ActivityServiceDescription(); | 1925 _cachedServiceDescription = new _ActivityServiceDescription(); |
1973 } | 1926 } |
1974 return _cachedServiceDescription; | 1927 return _cachedServiceDescription; |
1975 } | 1928 } |
1976 } | 1929 } |
1977 | 1930 |
1978 const int _PathService_getAppDataDirName = 0; | 1931 const int _PathService_getAppDataDirName = 0; |
1979 const int _PathService_getFilesDirName = 1; | 1932 const int _PathService_getFilesDirName = 1; |
1980 const int _PathService_getCacheDirName = 2; | 1933 const int _PathService_getCacheDirName = 2; |
1981 | 1934 |
1982 | |
1983 | |
1984 class _PathServiceServiceDescription implements service_describer.ServiceDescrip
tion { | 1935 class _PathServiceServiceDescription implements service_describer.ServiceDescrip
tion { |
1985 dynamic getTopLevelInterface([Function responseFactory]) => | 1936 dynamic getTopLevelInterface([Function responseFactory]) => |
1986 responseFactory(null); | 1937 responseFactory(null); |
1987 | 1938 |
1988 dynamic getTypeDefinition(String typeKey, [Function responseFactory]) => | 1939 dynamic getTypeDefinition(String typeKey, [Function responseFactory]) => |
1989 responseFactory(null); | 1940 responseFactory(null); |
1990 | 1941 |
1991 dynamic getAllTypeDefinitions([Function responseFactory]) => | 1942 dynamic getAllTypeDefinitions([Function responseFactory]) => |
1992 responseFactory(null); | 1943 responseFactory(null); |
1993 } | 1944 } |
(...skipping 318 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2312 if (_cachedServiceDescription == null) { | 2263 if (_cachedServiceDescription == null) { |
2313 _cachedServiceDescription = new _PathServiceServiceDescription(); | 2264 _cachedServiceDescription = new _PathServiceServiceDescription(); |
2314 } | 2265 } |
2315 return _cachedServiceDescription; | 2266 return _cachedServiceDescription; |
2316 } | 2267 } |
2317 } | 2268 } |
2318 | 2269 |
2319 const int _UserFeedback_performHapticFeedbackName = 0; | 2270 const int _UserFeedback_performHapticFeedbackName = 0; |
2320 const int _UserFeedback_performAuralFeedbackName = 1; | 2271 const int _UserFeedback_performAuralFeedbackName = 1; |
2321 | 2272 |
2322 | |
2323 | |
2324 class _UserFeedbackServiceDescription implements service_describer.ServiceDescri
ption { | 2273 class _UserFeedbackServiceDescription implements service_describer.ServiceDescri
ption { |
2325 dynamic getTopLevelInterface([Function responseFactory]) => | 2274 dynamic getTopLevelInterface([Function responseFactory]) => |
2326 responseFactory(null); | 2275 responseFactory(null); |
2327 | 2276 |
2328 dynamic getTypeDefinition(String typeKey, [Function responseFactory]) => | 2277 dynamic getTypeDefinition(String typeKey, [Function responseFactory]) => |
2329 responseFactory(null); | 2278 responseFactory(null); |
2330 | 2279 |
2331 dynamic getAllTypeDefinitions([Function responseFactory]) => | 2280 dynamic getAllTypeDefinitions([Function responseFactory]) => |
2332 responseFactory(null); | 2281 responseFactory(null); |
2333 } | 2282 } |
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2519 static service_describer.ServiceDescription get serviceDescription { | 2468 static service_describer.ServiceDescription get serviceDescription { |
2520 if (_cachedServiceDescription == null) { | 2469 if (_cachedServiceDescription == null) { |
2521 _cachedServiceDescription = new _UserFeedbackServiceDescription(); | 2470 _cachedServiceDescription = new _UserFeedbackServiceDescription(); |
2522 } | 2471 } |
2523 return _cachedServiceDescription; | 2472 return _cachedServiceDescription; |
2524 } | 2473 } |
2525 } | 2474 } |
2526 | 2475 |
2527 | 2476 |
2528 | 2477 |
OLD | NEW |