• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* Copyright (C) 2012 The Android Open Source Project
2 **
3 ** This software is licensed under the terms of the GNU General Public
4 ** License version 2, as published by the Free Software Foundation, and
5 ** may be copied, distributed, and modified under those terms.
6 **
7 ** This program is distributed in the hope that it will be useful,
8 ** but WITHOUT ANY WARRANTY; without even the implied warranty of
9 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
10 ** GNU General Public License for more details.
11 */
12 #ifndef _ANDROID_AVD_KEYS_H
13 #define _ANDROID_AVD_KEYS_H
14 
15 /* Keys of the properties found in avd/name.ini and config.ini files.
16  *
17  * These keys must match their counterpart defined in
18  * sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/internal/avd/AvdManager.java
19  */
20 
21 
22 /* -- Keys used in avd/name.ini -- */
23 
24 /* Absolute path of the AVD content directory.
25  */
26 #define  ROOT_ABS_PATH_KEY    "path"
27 
28 /* Relative path of the AVD content directory.
29  * Path is relative to the bufprint_config_path().
30  */
31 #define  ROOT_REL_PATH_KEY    "path.rel"
32 
33 
34 /* -- Keys used in config.ini -- */
35 
36 /* the prefix of config.ini keys that will be used for search directories
37  * of system images.
38  */
39 #define  SEARCH_PREFIX   "image.sysdir."
40 
41 /* the maximum number of search path keys we're going to read from the
42  * config.ini file
43  */
44 #define  MAX_SEARCH_PATHS  2
45 
46 /* the config.ini key that will be used to indicate the full relative
47  * path to the skin directory (including the skin name).
48  */
49 #define  SKIN_PATH       "skin.path"
50 
51 /* the config.ini key that will be used to indicate the default skin's name.
52  * this is ignored if there is a valid SKIN_PATH entry in the file.
53  */
54 #define  SKIN_NAME       "skin.name"
55 
56 /* the config.ini key that specifies if this AVD should use a dynamic skin */
57 #define  SKIN_DYNAMIC    "skin.dynamic"
58 
59 /* default skin name */
60 #define  SKIN_DEFAULT    "HVGA"
61 
62 /* the config.ini key that is used to indicate the absolute path
63  * to the SD Card image file, if you don't want to place it in
64  * the content directory.
65  */
66 #define  SDCARD_PATH     "sdcard.path"
67 
68 
69 
70 #endif /* _ANDROID_AVD_KEYS_H */
71