aboutsummaryrefslogtreecommitdiff
path: root/host-common/include/host-common/hw-config-defs.h
blob: c402b1722da6bdf70205f59937e44a2dc1155ee0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
// Copyright 2023 The Android Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

/* this file is automatically generated from 'hardware-properties.ini'
 * DO NOT EDIT IT. To re-generate it, use android/scripts/gen-hw-config.py'
 * Note: if you update the hardware-properties.ini, make sure
 * to update the hardware/google/aemu/host-common/include/host-common/
 * hw-config-defs.h to avoid compiler errors
 */
#ifndef HWCFG_INT
#error  HWCFG_INT not defined
#endif
#ifndef HWCFG_STRING
#error  HWCFG_STRING not defined
#endif
#ifndef HWCFG_BOOL
#error  HWCFG_BOOL not defined
#endif
#ifndef HWCFG_DISKSIZE
#error  HWCFG_DISKSIZE not defined
#endif
#ifndef HWCFG_DOUBLE
#error  HWCFG_DOUBLE not defined
#endif

HWCFG_STRING(
  hw_cpu_arch,
  "hw.cpu.arch",
  "arm",
  "CPU Architecture",
  "The CPU Architecture to emulator")

HWCFG_STRING(
  hw_cpu_model,
  "hw.cpu.model",
  "",
  "CPU model",
  "The CPU model (QEMU-specific string)")

HWCFG_INT(
  hw_cpu_ncore,
  "hw.cpu.ncore",
  2,
  "SMP CPU core count",
  "Number of cores in a simulated SMP CPU.")

HWCFG_INT(
  hw_ramSize,
  "hw.ramSize",
  0,
  "Device ram size",
  "The amount of physical RAM on the device, in megabytes.")

HWCFG_STRING(
  hw_screen,
  "hw.screen",
  "multi-touch",
  "Touch screen type",
  "Defines type of the screen.")

HWCFG_BOOL(
  hw_mainKeys,
  "hw.mainKeys",
  "yes",
  "Hardware Back/Home keys",
  "Whether there are hardware back/home keys on the device.")

HWCFG_BOOL(
  hw_trackBall,
  "hw.trackBall",
  "yes",
  "Track-ball support",
  "Whether there is a trackball on the device.")

HWCFG_BOOL(
  hw_keyboard,
  "hw.keyboard",
  "no",
  "Keyboard support",
  "Whether the device has a QWERTY keyboard.")

HWCFG_BOOL(
  hw_keyboard_lid,
  "hw.keyboard.lid",
  "yes",
  "Keyboard lid support",
  "Whether the QWERTY keyboard can be opened/closed.")

HWCFG_STRING(
  hw_keyboard_charmap,
  "hw.keyboard.charmap",
  "qwerty2",
  "Keyboard charmap name",
  "Name of the system keyboard charmap file.")

HWCFG_BOOL(
  hw_dPad,
  "hw.dPad",
  "yes",
  "DPad support",
  "Whether the device has DPad keys")

HWCFG_BOOL(
  hw_rotaryInput,
  "hw.rotaryInput",
  "no",
  "Rotary input support",
  "Whether the device has rotary input")

HWCFG_BOOL(
  hw_gsmModem,
  "hw.gsmModem",
  "yes",
  "GSM modem support",
  "Whether there is a GSM modem in the device.")

HWCFG_BOOL(
  hw_gps,
  "hw.gps",
  "yes",
  "GPS support",
  "Whether there is a GPS in the device.")

HWCFG_BOOL(
  hw_battery,
  "hw.battery",
  "yes",
  "Battery support",
  "Whether the device can run on a battery.")

HWCFG_BOOL(
  hw_accelerometer,
  "hw.accelerometer",
  "yes",
  "Accelerometer",
  "Whether there is an accelerometer in the device.")

HWCFG_BOOL(
  hw_accelerometer_uncalibrated,
  "hw.accelerometer_uncalibrated",
  "yes",
  "AccelerometerUncalibrated",
  "Whether there is an uncalibrated accelerometer in the device.")

HWCFG_BOOL(
  hw_gyroscope,
  "hw.gyroscope",
  "yes",
  "Gyroscope",
  "Whether there is a gyroscope in the device.")

HWCFG_BOOL(
  hw_audioInput,
  "hw.audioInput",
  "yes",
  "Audio recording support",
  "Whether the device can record audio")

HWCFG_BOOL(
  hw_audioOutput,
  "hw.audioOutput",
  "yes",
  "Audio playback support",
  "Whether the device can play audio")

HWCFG_BOOL(
  hw_sdCard,
  "hw.sdCard",
  "yes",
  "SD Card support",
  "Whether the device supports insertion/removal of virtual SD Cards.")

HWCFG_STRING(
  hw_sdCard_path,
  "hw.sdCard.path",
  "",
  "SD Card image path",
  "")

HWCFG_STRING(
  hw_logcatOutput_path,
  "hw.logcatOutput.path",
  "",
  "Logcat Output File Path",
  "")

HWCFG_BOOL(
  disk_cachePartition,
  "disk.cachePartition",
  "yes",
  "Cache partition support",
  "Whether we use a /cache partition on the device.")

HWCFG_STRING(
  disk_cachePartition_path,
  "disk.cachePartition.path",
  "",
  "Cache partition",
  "Cache partition to use on the device. Ignored if disk.cachePartition is not 'yes'.")

HWCFG_DISKSIZE(
  disk_cachePartition_size,
  "disk.cachePartition.size",
  "66MB",
  "Cache partition size",
  "")

HWCFG_INT(
  test_quitAfterBootTimeOut,
  "test.quitAfterBootTimeOut",
  -1,
  "Quit emulator after guest boots completely, or after time out. Default: end of universe.",
  "")

HWCFG_INT(
  test_delayAdbTillBootComplete,
  "test.delayAdbTillBootComplete",
  0,
  "Delay sending data to guest adb until guest completed booting",
  "")

HWCFG_INT(
  test_monitorAdb,
  "test.monitorAdb",
  0,
  "Monitor Adb messages between guest and host. Default: Disabled.",
  "")

HWCFG_INT(
  hw_lcd_width,
  "hw.lcd.width",
  320,
  "LCD pixel width",
  "")

HWCFG_INT(
  hw_lcd_height,
  "hw.lcd.height",
  640,
  "LCD pixel height",
  "")

HWCFG_INT(
  hw_lcd_depth,
  "hw.lcd.depth",
  16,
  "LCD color depth",
  "Color bit depth of emulated framebuffer.")

HWCFG_BOOL(
  hw_lcd_circular,
  "hw.lcd.circular",
  "false",
  "Display is circular",
  "Specifies if the main display is circular (round). Default: false.")

HWCFG_INT(
  hw_lcd_density,
  "hw.lcd.density",
  160,
  "Abstracted LCD density",
  "A value used to roughly describe the density of the LCD screen for automatic resource/asset selection.")

HWCFG_BOOL(
  hw_lcd_backlight,
  "hw.lcd.backlight",
  "yes",
  "LCD backlight",
  "Enable/Disable LCD backlight simulation,yes-enabled,no-disabled.")

HWCFG_INT(
  hw_lcd_vsync,
  "hw.lcd.vsync",
  60,
  "LCD VSYNC rate",
  "")

HWCFG_STRING(
  hw_gltransport,
  "hw.gltransport",
  "pipe",
  "Transport used to run graphics",
  "")

HWCFG_INT(
  hw_gltransport_asg_writeBufferSize,
  "hw.gltransport.asg.writeBufferSize",
  1048576,
  "For address space graphics, the total size of the write buffer the guest can write into",
  "")

HWCFG_INT(
  hw_gltransport_asg_writeStepSize,
  "hw.gltransport.asg.writeStepSize",
  4096,
  "For address space graphics, the max size of each guest-to-host transaction.",
  "")

HWCFG_INT(
  hw_gltransport_asg_dataRingSize,
  "hw.gltransport.asg.dataRingSize",
  32768,
  "For address space graphics, the size of the ring used to transfer larger buffers.",
  "")

HWCFG_INT(
  hw_gltransport_drawFlushInterval,
  "hw.gltransport.drawFlushInterval",
  800,
  "Interval over which to flush draw calls (balance host gpu starve vs pipe notif overhead)",
  "")

HWCFG_INT(
  hw_displayRegion_0_1_xOffset,
  "hw.displayRegion.0.1.xOffset",
  -1,
  "Horizontal offset of the sub-region",
  "")

HWCFG_INT(
  hw_displayRegion_0_1_yOffset,
  "hw.displayRegion.0.1.yOffset",
  -1,
  "Vertical offset of the sub-region",
  "")

HWCFG_INT(
  hw_displayRegion_0_1_width,
  "hw.displayRegion.0.1.width",
  0,
  "Horizontal size of the sub-region",
  "")

HWCFG_INT(
  hw_displayRegion_0_1_height,
  "hw.displayRegion.0.1.height",
  0,
  "Vertical size of the sub-region",
  "")

HWCFG_INT(
  hw_displayRegion_0_2_xOffset,
  "hw.displayRegion.0.2.xOffset",
  -1,
  "Horizontal offset of the sub-region",
  "")

HWCFG_INT(
  hw_displayRegion_0_2_yOffset,
  "hw.displayRegion.0.2.yOffset",
  -1,
  "Vertical offset of the sub-region",
  "")

HWCFG_INT(
  hw_displayRegion_0_2_width,
  "hw.displayRegion.0.2.width",
  0,
  "Horizontal size of the sub-region",
  "")

HWCFG_INT(
  hw_displayRegion_0_2_height,
  "hw.displayRegion.0.2.height",
  0,
  "Vertical size of the sub-region",
  "")

HWCFG_INT(
  hw_displayRegion_0_3_xOffset,
  "hw.displayRegion.0.3.xOffset",
  -1,
  "Horizontal offset of the sub-region",
  "")

HWCFG_INT(
  hw_displayRegion_0_3_yOffset,
  "hw.displayRegion.0.3.yOffset",
  -1,
  "Vertical offset of the sub-region",
  "")

HWCFG_INT(
  hw_displayRegion_0_3_width,
  "hw.displayRegion.0.3.width",
  0,
  "Horizontal size of the sub-region",
  "")

HWCFG_INT(
  hw_displayRegion_0_3_height,
  "hw.displayRegion.0.3.height",
  0,
  "Vertical size of the sub-region",
  "")

HWCFG_INT(
  hw_display1_width,
  "hw.display1.width",
  0,
  "Pixel width of the second display",
  "")

HWCFG_INT(
  hw_display1_height,
  "hw.display1.height",
  0,
  "Pixel height of the second display",
  "")

HWCFG_INT(
  hw_display1_density,
  "hw.display1.density",
  0,
  "Screen density of the second display",
  "")

HWCFG_INT(
  hw_display1_xOffset,
  "hw.display1.xOffset",
  -1,
  "the horizontal offset of the second display with respect to the host QT window.",
  "")

HWCFG_INT(
  hw_display1_yOffset,
  "hw.display1.yOffset",
  -1,
  "the veritcal offset of the second display with respect to the host QT window.",
  "")

HWCFG_INT(
  hw_display1_flag,
  "hw.display1.flag",
  0,
  "the flag to use when the second display is initialized in the Android system.",
  "")

HWCFG_INT(
  hw_display2_width,
  "hw.display2.width",
  0,
  "Pixel width of the third display",
  "")

HWCFG_INT(
  hw_display2_height,
  "hw.display2.height",
  0,
  "Pixel height of the third display",
  "")

HWCFG_INT(
  hw_display2_density,
  "hw.display2.density",
  0,
  "Screen density of the third display",
  "")

HWCFG_INT(
  hw_display2_xOffset,
  "hw.display2.xOffset",
  -1,
  "the horizontal offset of the third display with respect to the host QT window.",
  "")

HWCFG_INT(
  hw_display2_yOffset,
  "hw.display2.yOffset",
  -1,
  "the veritcal offset of the third display with respect to the host QT window.",
  "")

HWCFG_INT(
  hw_display2_flag,
  "hw.display2.flag",
  0,
  "the flag to use when the third display is initialized in the Android system.",
  "")

HWCFG_INT(
  hw_display3_width,
  "hw.display3.width",
  0,
  "Pixel width of the fourth display",
  "")

HWCFG_INT(
  hw_display3_height,
  "hw.display3.height",
  0,
  "Pixel height of the fourth display",
  "")

HWCFG_INT(
  hw_display3_density,
  "hw.display3.density",
  0,
  "Screen density of the fourth display",
  "")

HWCFG_INT(
  hw_display3_xOffset,
  "hw.display3.xOffset",
  -1,
  "the horizontal offset of the fourth display with respect to the host QT window.",
  "")

HWCFG_INT(
  hw_display3_yOffset,
  "hw.display3.yOffset",
  -1,
  "the veritcal offset of the fourth display with respect to the host QT window.",
  "")

HWCFG_INT(
  hw_display3_flag,
  "hw.display3.flag",
  0,
  "the flag touse when the fourth display is initialized in the Android system.",
  "")

HWCFG_BOOL(
  hw_multi_display_window,
  "hw.multi_display_window",
  "no",
  "Create a window for each display",
  "When multidisplay enabled, enabling this flag will create a window for each display.")

HWCFG_STRING(
  display_settings_xml,
  "display.settings.xml",
  "",
  "Configure setting xml file for Android Window Manager",
  "")

HWCFG_BOOL(
  hw_hotplug_multi_display,
  "hw.hotplug_multi_display",
  "no",
  "If yes, create multidisplay using HAL hotplug display, otherwise, using Android window manager",
  "")

HWCFG_BOOL(
  hw_gpu_enabled,
  "hw.gpu.enabled",
  "no",
  "GPU emulation",
  "Enable/Disable emulated OpenGLES GPU")

HWCFG_STRING(
  hw_gpu_mode,
  "hw.gpu.mode",
  "auto",
  "GPU emulation mode",
  "This value determines how GPU emulation is implemented.")

HWCFG_STRING(
  hw_initialOrientation,
  "hw.initialOrientation",
  "portrait",
  "Initial screen orientation",
  "Setup initial screen orientation, can be rotated later on.")

HWCFG_STRING(
  hw_camera_back,
  "hw.camera.back",
  "emulated",
  "Configures camera facing back",
  "Must be 'emulated' for a fake camera, 'webcam<N>' for a web camera, or 'none' if back camera is disabled.")

HWCFG_STRING(
  hw_camera_front,
  "hw.camera.front",
  "none",
  "Configures camera facing front",
  "Must be 'emulated' for a fake camera, 'webcam<N>' for a web camera, or 'none' if front camera is disabled.")

HWCFG_INT(
  vm_heapSize,
  "vm.heapSize",
  0,
  "Max VM application heap size",
  "The maximum heap size a Dalvik application might allocate before being killed by the system. Value is in megabytes.")

HWCFG_BOOL(
  hw_sensors_light,
  "hw.sensors.light",
  "yes",
  "Light support",
  "Whether there is a light sensor in the device")

HWCFG_BOOL(
  hw_sensors_pressure,
  "hw.sensors.pressure",
  "yes",
  "Pressure support",
  "Whether there is a pressure sensor in the device")

HWCFG_BOOL(
  hw_sensors_humidity,
  "hw.sensors.humidity",
  "yes",
  "Humidity support",
  "Whether there is a relative humidity sensor in the device")

HWCFG_BOOL(
  hw_sensors_proximity,
  "hw.sensors.proximity",
  "yes",
  "Proximity support",
  "Whether there is an proximity in the device.")

HWCFG_BOOL(
  hw_sensors_magnetic_field,
  "hw.sensors.magnetic_field",
  "yes",
  "Magnetic field support",
  "Provides magnetic field sensor values.")

HWCFG_BOOL(
  hw_sensors_magnetic_field_uncalibrated,
  "hw.sensors.magnetic_field_uncalibrated",
  "yes",
  "Uncalibrated magnetic field suport",
  "Provides uncalibrated magnetic field sensor values.")

HWCFG_BOOL(
  hw_sensors_gyroscope_uncalibrated,
  "hw.sensors.gyroscope_uncalibrated",
  "yes",
  "Uncalibrated gyroscope support",
  "Provides uncalibrated gyroscope sensor values.")

HWCFG_BOOL(
  hw_sensors_orientation,
  "hw.sensors.orientation",
  "yes",
  "Orientation support",
  "Provides orientation sensor values.")

HWCFG_BOOL(
  hw_sensors_temperature,
  "hw.sensors.temperature",
  "yes",
  "Temperature support",
  "Provides temperature sensor values.")

HWCFG_BOOL(
  hw_sensors_rgbclight,
  "hw.sensors.rgbclight",
  "no",
  "RGBC light sensor support",
  "Provides RGBC light sensor values.")

HWCFG_BOOL(
  hw_sensor_hinge,
  "hw.sensor.hinge",
  "no",
  "Enalbe hinge angle sensor.",
  "")

HWCFG_INT(
  hw_sensor_hinge_count,
  "hw.sensor.hinge.count",
  0,
  "Provides hinge angle sensor count.",
  "")

HWCFG_INT(
  hw_sensor_hinge_type,
  "hw.sensor.hinge.type",
  0,
  "Provides hinge angle sensor type. 0 (horizontal) and 1 (vertical)",
  "")

HWCFG_INT(
  hw_sensor_hinge_sub_type,
  "hw.sensor.hinge.sub_type",
  0,
  "Provides hinge angle sensor sub type. 0 (invisible hinge, fold on screen) and 1 (hinge)",
  "")

HWCFG_INT(
  hw_sensor_hinge_resizable_config,
  "hw.sensor.hinge.resizable.config",
  0,
  "For resizable only: this indicates the hinge config applies to which avd",
  "")

HWCFG_STRING(
  hw_sensor_hinge_ranges,
  "hw.sensor.hinge.ranges",
  "",
  "angel ranges for each hinge sensor, e.g., 0-360, 0-180 for two sensors.",
  "")

HWCFG_STRING(
  hw_sensor_hinge_defaults,
  "hw.sensor.hinge.defaults",
  "",
  "default angel for each hinge sensor, e.g., 180, 90 for two sensors.",
  "")

HWCFG_STRING(
  hw_sensor_hinge_areas,
  "hw.sensor.hinge.areas",
  "",
  "hinge areas on the display, format is percentage_of_screen-width, e.g., 33.3-0, 66.6-10 for two sensors. Or x-y-width-height, e.g., 600-0-0-1200, 1200-0-10-1200 for two sensors.",
  "")

HWCFG_STRING(
  hw_sensor_posture_list,
  "hw.sensor.posture_list",
  "",
  "list of supported postures by index. 0: unknown, 1: closed, 2: half-open, 3: open, 4: flipped, 5: tent",
  "")

HWCFG_STRING(
  hw_sensor_hinge_angles_posture_definitions,
  "hw.sensor.hinge_angles_posture_definitions",
  "",
  "angles ranges for each posture in posture_list.",
  "start-end angle pairs which define each posture. optionally, default angle may be specified for each posture, by providing a third value. default posture angle is used e.g. in quick-jump-to-posture buttons in UI.")

HWCFG_INT(
  hw_sensor_hinge_fold_to_displayRegion_0_1_at_posture,
  "hw.sensor.hinge.fold_to_displayRegion.0.1_at_posture",
  1,
  "set folded status at a certain posture, e.g, fold-out device, posture flipped",
  "")

HWCFG_BOOL(
  hw_sensor_roll,
  "hw.sensor.roll",
  "no",
  "Enalbe rollable sensor.",
  "")

HWCFG_INT(
  hw_sensor_roll_count,
  "hw.sensor.roll.count",
  0,
  "rollable sensor count.",
  "")

HWCFG_STRING(
  hw_sensor_roll_radius,
  "hw.sensor.roll.radius",
  "",
  "roll radious of display width or height.",
  "")

HWCFG_STRING(
  hw_sensor_roll_ranges,
  "hw.sensor.roll.ranges",
  "",
  "the pecentage of display width or height which is rollable.",
  "")

HWCFG_STRING(
  hw_sensor_roll_direction,
  "hw.sensor.roll.direction",
  "",
  "rolling direction starting from open posture. 0: left-to-right or top-to-buttom, 1: right-to-left or bottom-to-top",
  "")

HWCFG_STRING(
  hw_sensor_roll_defaults,
  "hw.sensor.roll.defaults",
  "",
  "defaults percentage of display width or height which is rolled.",
  "")

HWCFG_STRING(
  hw_sensor_roll_percentages_posture_definitions,
  "hw.sensor.roll_percentages_posture_definitions",
  "",
  "angles ranges for each posture in posture_list.",
  "")

HWCFG_INT(
  hw_sensor_roll_resize_to_displayRegion_0_1_at_posture,
  "hw.sensor.roll.resize_to_displayRegion.0.1_at_posture",
  6,
  "resize default display to display region 0.1 when rolling to a posture state",
  "")

HWCFG_INT(
  hw_sensor_roll_resize_to_displayRegion_0_2_at_posture,
  "hw.sensor.roll.resize_to_displayRegion.0.2_at_posture",
  6,
  "resize default display to display region 0.2 when rolling to a posture state",
  "")

HWCFG_INT(
  hw_sensor_roll_resize_to_displayRegion_0_3_at_posture,
  "hw.sensor.roll.resize_to_displayRegion.0.3_at_posture",
  6,
  "resize default display to display region 0.3 when rolling to a posture state",
  "")

HWCFG_BOOL(
  hw_sensors_heart_rate,
  "hw.sensors.heart_rate",
  "no",
  "Heart rate support",
  "Whether there is a heart rate sensor in the device")

HWCFG_BOOL(
  hw_sensors_wrist_tilt,
  "hw.sensors.wrist_tilt",
  "no",
  "Wrist tilt gesture",
  "Whether there is a wrist tilt gesture sensor in the device")

HWCFG_BOOL(
  hw_useext4,
  "hw.useext4",
  "yes",
  "Deprecated option. Ignored.",
  "Used to specify the Ext4 partition image type. This is now autodetected.")

HWCFG_BOOL(
  hw_arc,
  "hw.arc",
  "no",
  "Chrome OS device (App Runtime for Chrome)",
  "The emulated device is a Chrome OS machine.")

HWCFG_BOOL(
  hw_arc_autologin,
  "hw.arc.autologin",
  "no",
  "Auto login for Chrome OS devices",
  "Used to enable auto login into Chrome OS devices")

HWCFG_STRING(
  hw_featureflags,
  "hw.featureflags",
  "",
  "Feature flags",
  "A comma-separated list of feature flags to enable or disable, such as 'Enabled,-Disabled'.")

HWCFG_STRING(
  hw_device_name,
  "hw.device.name",
  "",
  "Name of the device, e.g., pixel, resizable...# Kernel image.",
  "")

HWCFG_STRING(
  hw_resizable_configs,
  "hw.resizable.configs",
  "",
  "",
  "A comma-separated list of resizable resolutions. Each entry is organized as name-id-width-height-dpi, where the id number matches enum in android/android-emu/android/resizable_display_config.h")

HWCFG_STRING(
  kernel_path,
  "kernel.path",
  "",
  "Path to the kernel image",
  "Path to the kernel image.")

HWCFG_STRING(
  kernel_parameters,
  "kernel.parameters",
  "",
  "kernel boot parameters string.",
  "")

HWCFG_STRING(
  kernel_newDeviceNaming,
  "kernel.newDeviceNaming",
  "autodetect",
  "Does the kernel require a new device naming scheme?",
  "Used to specify whether the kernel requires a new device naming scheme. Typically for Linux 3.10 and above.")

HWCFG_STRING(
  kernel_supportsYaffs2,
  "kernel.supportsYaffs2",
  "autodetect",
  "Does the kernel supports YAFFS2 partitions?",
  "Used to specify whether the kernel supports YAFFS2 partition images. Typically before 3.10 only.")

HWCFG_STRING(
  disk_ramdisk_path,
  "disk.ramdisk.path",
  "",
  "Path to the ramdisk image",
  "Path to the ramdisk image.")

HWCFG_STRING(
  disk_systemPartition_path,
  "disk.systemPartition.path",
  "",
  "Path to runtime system partition image",
  "")

HWCFG_STRING(
  disk_systemPartition_initPath,
  "disk.systemPartition.initPath",
  "",
  "Initial system partition image",
  "")

HWCFG_DISKSIZE(
  disk_systemPartition_size,
  "disk.systemPartition.size",
  "0",
  "Ideal size of system partition",
  "")

HWCFG_STRING(
  disk_vendorPartition_path,
  "disk.vendorPartition.path",
  "",
  "Path to runtime vendor partition image",
  "")

HWCFG_STRING(
  disk_vendorPartition_initPath,
  "disk.vendorPartition.initPath",
  "",
  "Initial vendor partition image",
  "")

HWCFG_DISKSIZE(
  disk_vendorPartition_size,
  "disk.vendorPartition.size",
  "0",
  "Ideal size of vendor partition",
  "")

HWCFG_STRING(
  disk_dataPartition_path,
  "disk.dataPartition.path",
  "<temp>",
  "Path to data partition file",
  "Path to data partition file. Cannot be empty. Special value <temp> means using a temporary file. If disk.dataPartition.initPath is not empty, its content will be copied to the disk.dataPartition.path file at boot-time.")

HWCFG_STRING(
  disk_dataPartition_initPath,
  "disk.dataPartition.initPath",
  "",
  "Initial data partition",
  "If not empty, its content will be copied to the disk.dataPartition.path file at boot-time.")

HWCFG_DISKSIZE(
  disk_dataPartition_size,
  "disk.dataPartition.size",
  "0",
  "Ideal size of data partition",
  "")

HWCFG_STRING(
  disk_encryptionKeyPartition_path,
  "disk.encryptionKeyPartition.path",
  "",
  "Path to encryption key partition file",
  "Path to encryption key partition file. Should be at least 16K bytes empty disk without any filesystem on it.")

HWCFG_STRING(
  disk_snapStorage_path,
  "disk.snapStorage.path",
  "",
  "Path to snapshot storage",
  "Path to a 'snapshot storage' file, where all snapshots are stored.")

HWCFG_BOOL(
  PlayStore_enabled,
  "PlayStore.enabled",
  "no",
  "PlayStore",
  "Does the device supports Google Play?")

HWCFG_STRING(
  avd_name,
  "avd.name",
  "<build>",
  "Name of the AVD being run",
  "")

HWCFG_STRING(
  avd_id,
  "avd.id",
  "<build>",
  "ID of the AVD being run",
  "")

HWCFG_BOOL(
  fastboot_forceColdBoot,
  "fastboot.forceColdBoot",
  "no",
  "Always use cold boot",
  "If set, AVD will always use the full cold boot instead of snapshot-based quick boot process")

HWCFG_BOOL(
  userdata_useQcow2,
  "userdata.useQcow2",
  "no",
  "use QCOW2 format for userdata-qemu.img",
  "If set, AVD will use qcow2 for userdata-qemu.img instead of the ext4")

HWCFG_STRING(
  firstboot_downloaded_path,
  "firstboot.downloaded.path",
  "",
  "Path to downloaded snapshot dir",
  "")

HWCFG_STRING(
  firstboot_local_path,
  "firstboot.local.path",
  "",
  "Path to local snapshot dir",
  "")

HWCFG_BOOL(
  firstboot_bootFromDownloadableSnapshot,
  "firstboot.bootFromDownloadableSnapshot",
  "yes",
  "Always use downloaded snapshot to speed up first boot",
  "If set, AVD will always use the snapshots/downloaded/avd to speed up first boot")

HWCFG_BOOL(
  firstboot_bootFromLocalSnapshot,
  "firstboot.bootFromLocalSnapshot",
  "yes",
  "Always use local snapshot to speed up first boot",
  "If set, AVD will always use the snapshots/local/avd to speed up first boot")

HWCFG_BOOL(
  firstboot_saveToLocalSnapshot,
  "firstboot.saveToLocalSnapshot",
  "yes",
  "Always save a local snapshot to speed up first boot",
  "If set, AVD will save a snapshot to snapshots/local/avd, if it does not exist")

HWCFG_STRING(
  android_sdk_root,
  "android.sdk.root",
  "",
  "sdk root that was used during the construction of this hardware.ini",
  "This can be used by post processing tools to migrate snapshots")

HWCFG_STRING(
  android_avd_home,
  "android.avd.home",
  "",
  "avd home that was used during the construction of this hardware.ini",
  "This can be used by post processing tools to migrate snapshots")

HWCFG_STRING(
  requires_emulator_version,
  "requires.emulator.version",
  "",
  "avd requires the version of emulator to boot properly from snapshot",
  "This is often set by avd manager in studio when creating avd")

#undef HWCFG_INT
#undef HWCFG_STRING
#undef HWCFG_BOOL
#undef HWCFG_DISKSIZE
#undef HWCFG_DOUBLE
/* end of auto-generated file */