8/27/2011 2:55:44 PM
2011-08-27 15:23
295 查看
8/27/2011 2:55:44 PM
unsigned defaultPartitionSize = convertMBToBytes(66);
默认分区大小 66M
#define VERBOSE_TAG_LIST \
_VERBOSE_TAG(init, "emulator initialization") \
_VERBOSE_TAG(console, "control console") \
_VERBOSE_TAG(modem, "emulated GSM modem") \
_VERBOSE_TAG(radio, "emulated GSM AT Command channel") \
_VERBOSE_TAG(keys, "key bindings & presses") \
_VERBOSE_TAG(slirp, "internal router/firewall") \
_VERBOSE_TAG(timezone, "host timezone detection" ) \
_VERBOSE_TAG(socket, "network sockets") \
_VERBOSE_TAG(proxy, "network proxy support") \
_VERBOSE_TAG(audio, "audio sub-system") \
_VERBOSE_TAG(audioin, "audio input backend") \
_VERBOSE_TAG(audioout, "audio output backend") \
_VERBOSE_TAG(surface, "video surface support") \
_VERBOSE_TAG(qemud, "qemud multiplexer daemon") \
_VERBOSE_TAG(gps, "emulated GPS") \
_VERBOSE_TAG(nand_limits, "nand/flash read/write thresholding") \
_VERBOSE_TAG(hw_control, "emulated power/flashlight/led/vibrator") \
_VERBOSE_TAG(avd_config, "android virtual device configuration") \
_VERBOSE_TAG(sensors, "emulated sensors") \
_VERBOSE_TAG(memcheck, "memory checker") \
定义了这么多的调试级别
parse_debug_tags
根据输入参数来决定
parse_debug_tags
if (opts->timezone) {
if ( timezone_set(opts->timezone) < 0 ) {
fprintf(stderr, "emulator: it seems the timezone '%s' is not in zoneinfo format\n", opts->timezone);
}
}
如何指定了时区 还需要调整时区
if (opts->nojni)
opts->no_jni = opts->nojni;
if (opts->nocache)
opts->no_cache = opts->nocache;
if (opts->noaudio)
opts->no_audio = opts->noaudio;
if (opts->noskin)
opts->no_skin = opts->noskin;
if (opts->initdata) {
opts->init_data = opts->initdata;
opts->initdata = NULL;
}
_forceAvdImagePath(AVD_IMAGE_KERNEL, opts->kernel, "kernel", 1);
_forceAvdImagePath(AVD_IMAGE_INITSYSTEM, opts->system, "system", 1);
_forceAvdImagePath(AVD_IMAGE_RAMDISK, opts->ramdisk,"ramdisk", 1);
_forceAvdImagePath(AVD_IMAGE_USERDATA, opts->data, "user data", 0);
_forceAvdImagePath(AVD_IMAGE_CACHE, opts->cache, "cache", 0);
_forceAvdImagePath(AVD_IMAGE_SDCARD, opts->sdcard, "SD Card", 0);
有3个是必须得
unsigned defaultPartitionSize = convertMBToBytes(66);
默认分区大小 66M
#define VERBOSE_TAG_LIST \
_VERBOSE_TAG(init, "emulator initialization") \
_VERBOSE_TAG(console, "control console") \
_VERBOSE_TAG(modem, "emulated GSM modem") \
_VERBOSE_TAG(radio, "emulated GSM AT Command channel") \
_VERBOSE_TAG(keys, "key bindings & presses") \
_VERBOSE_TAG(slirp, "internal router/firewall") \
_VERBOSE_TAG(timezone, "host timezone detection" ) \
_VERBOSE_TAG(socket, "network sockets") \
_VERBOSE_TAG(proxy, "network proxy support") \
_VERBOSE_TAG(audio, "audio sub-system") \
_VERBOSE_TAG(audioin, "audio input backend") \
_VERBOSE_TAG(audioout, "audio output backend") \
_VERBOSE_TAG(surface, "video surface support") \
_VERBOSE_TAG(qemud, "qemud multiplexer daemon") \
_VERBOSE_TAG(gps, "emulated GPS") \
_VERBOSE_TAG(nand_limits, "nand/flash read/write thresholding") \
_VERBOSE_TAG(hw_control, "emulated power/flashlight/led/vibrator") \
_VERBOSE_TAG(avd_config, "android virtual device configuration") \
_VERBOSE_TAG(sensors, "emulated sensors") \
_VERBOSE_TAG(memcheck, "memory checker") \
定义了这么多的调试级别
parse_debug_tags
根据输入参数来决定
parse_debug_tags
if (opts->timezone) {
if ( timezone_set(opts->timezone) < 0 ) {
fprintf(stderr, "emulator: it seems the timezone '%s' is not in zoneinfo format\n", opts->timezone);
}
}
如何指定了时区 还需要调整时区
if (opts->nojni)
opts->no_jni = opts->nojni;
if (opts->nocache)
opts->no_cache = opts->nocache;
if (opts->noaudio)
opts->no_audio = opts->noaudio;
if (opts->noskin)
opts->no_skin = opts->noskin;
if (opts->initdata) {
opts->init_data = opts->initdata;
opts->initdata = NULL;
}
_forceAvdImagePath(AVD_IMAGE_KERNEL, opts->kernel, "kernel", 1);
_forceAvdImagePath(AVD_IMAGE_INITSYSTEM, opts->system, "system", 1);
_forceAvdImagePath(AVD_IMAGE_RAMDISK, opts->ramdisk,"ramdisk", 1);
_forceAvdImagePath(AVD_IMAGE_USERDATA, opts->data, "user data", 0);
_forceAvdImagePath(AVD_IMAGE_CACHE, opts->cache, "cache", 0);
_forceAvdImagePath(AVD_IMAGE_SDCARD, opts->sdcard, "SD Card", 0);
有3个是必须得
相关文章推荐
- 6/27/2011 2:55:30 PM
- 6/27/2011 4:55:57 PM
- Jan 27, 2011, 4
- 8/27/2011 3:44:57 AM
- 8/30/2011 4:09:14 PM
- 2011 4-27 KMP 算法
- 6/26/2011 7:27:13 PM
- 8/27/2011 3:49:00 AM
- findbugs ant 使用报错 java.text.ParseExceptio n: Unparseable date: "12/20/2011 09:17 PM EST"
- 2011_11_27_mp3项目
- 程序猿的爱情--2011-01-(27-28)
- 6/24/2011 12:55:54 PM
- 6/26/2011 8:04:07 PM
- 8/27/2011 4:00:02 AM
- 6/24/2011 5:15:13 PM
- 6/26/2011 8:52:56 PM
- 2011 10 27 ARM C+汇编
- 8/16/2011 1:27:17 PM
- 第一次写微博2011-07-27
- Dynamics CRM 2011 编程系列(27):使用触发器