aboutsummaryrefslogtreecommitdiffstats
path: root/android/avd/hardware-properties.ini
Commit message (Collapse)AuthorAgeFilesLines
* Fix typosTor Norbye2012-07-231-2/+2
| | | | | | Change-Id: Ib40b9c88cf8a9a7e37e3f40249b78fa01cd41ab4 http://code.google.com/p/android/issues/detail?id=35283 http://code.google.com/p/android/issues/detail?id=35284
* Use enum where appropriate in hw.iniVladimir Chtchetkine2012-03-211-3/+8
| | | | Change-Id: I8a85de939a89d373724cfb977141ca01e7d1ff34
* Refactor HW config to use hw.camera_back, and hw.camera_front properties.Vladimir Chtchetkine2012-03-191-115/+10
| | | | | | | | | | This is a continuation of an effort to simplify HW config, and make the UI for it clearer. This CL gets rid of multiple camera emulation properties, combining everything into just two properties: - hw.camera_back that controls emulation of a camera facing back, and - hw.camera_front that controls emulation of a camera facing front. Change-Id: Ia114ae4caf2053685cbff00f39088e5b5be2952c
* Cleanup harware properties.Vladimir Chtchetkine2012-03-191-23/+6
| | | | | | | 1. Remove unused hw.camera.maxHorizontalPixels, and hw.camera.maxVerticalPixels parameters. 2. Combine hw.touchScreen, and hw.multiTouch under one property: hw.screen Change-Id: I3cdf64f7d7e46486110cbc0769f9d98a61f0bea5
* Merge "Multi-touch emulation support"Vladimir Chtchetkine2012-03-051-0/+7
|\
| * Multi-touch emulation supportVladimir Chtchetkine2012-03-051-0/+7
| | | | | | | | Change-Id: I311dc55fe10f41637775baa330a7c732ff317f51
* | Set value of hw.keyboard "no".SeongJae Park2012-03-021-1/+1
|/ | | | | | | | | | | | | | | | | | Commit for discuss at https://groups.google.com/forum/?fromgroups#!topic/android-contrib/H_oodJPngHo Because default value of hw.keyboard is "yes", emulator doesn't display soft keyboard although text input widget has focus. Developers can change value easily; But users who doesn't know about property setting such as non-developer can be confused a lot. And, most devices has no H/W keyboard(Galaxy Nexus too). So, set default value of hw.keyboard to "no". Change-Id: Id3a6af23fe0525e4b8f6ccd8bbde2d6dd26e5d7d Signed-off-by: SeongJae Park <sj38.park@gmail.com>
* Respect 'camera' flag in AVDVladimir Chtchetkine2012-01-061-1/+1
| | | | | | | | Turns of webcam emulation on condition that 'camera' AVD property is set to 'false'. Note that command line options (-webcam) will enable webcam emulation even if 'camera' AVD property is set to 'false' Change-Id: I493446f1d12b732ed49f9a5a9967b87b31b180f6
* Implements sensors emulation using a connected Android deviceVladimir Chtchetkine2011-11-091-0/+21
| | | | | | | | | | | | | | There are three major things in this CL: 1. Abstract a connection with an Android device that is connected to the host via USB, and there is a TCP port forwarding to this device via 'adb forward' command. This abstraction is implemented in android/android-device.* 2. A client for android device API that talks to an app on the connected device that provides values for sensors available on the device. This is implemented in android/sensors-port.* 3. Changes to the sensor emulation code in android/hw-sensors.c to use sensors port (when available) for sensors emulation. Change-Id: I12901e8db6b6a6262fc1703ed96a9f714335d666
* New AVD property to control presence of hw main keys.Xavier Ducrohet2011-10-041-4/+9
| | | | | | | | This allows injecting a new runtime property into the system running on the emulator to control whether to display the new software back/home keys. Change-Id: I2bf7cc5c291752090187463332219638e883d052
* Check that first two cameras are facing in opposite direction.Vladimir Chtchetkine2011-09-231-1/+3
| | | | | | | Currently camera app will crash on an attempt to switch cameras if camera 0 and 1 are facing in the same direction. So, user should be warned about that on emulator start. Change-Id: Ic85da614d30295b04d2a318fb1c2015cc52f1140
* Add -webcam commandline option to control webcam emulationVladimir Chtchetkine2011-09-201-0/+104
| | | | | | -webcam name=<name>[,dir=<direction>] options controls web cameras to use for emulation. Change-Id: I961fd399c7e041541adda040dd24f194cc383cb9
* Add cmdline param to control fake camera emulationVladimir Chtchetkine2011-09-131-0/+8
| | | | | | | - Enable / Disable fake camera - Set fake camera facing direction: back, or front Change-Id: Iab741a694daf2bf752e91e23df566a83ac7a97e7
* Add hw.gpu.enabled hardware propertyDavid 'Digit' Turner2011-08-291-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds a new hardware property to enable GPU emulation (named hw.gpu.enabled). It is currently disabled by default. It also modifies the UI code to display the GL output properly inside the UI window. And sets the kernel parameter qemu.gles to either 0 or 1 to indicate to the guest system's GLES libraries whether to use GPU emulation or fallback to the software renderer. A future patch will also add auto-detection of desktop GL capabilities. For example, if the emulator is started on a headless server without an X11/GL display, hw.gpu.enabled will be forced to 'no', forcing the guest to use the software renderer. Another patch will allow to change the property from the command-line for debugging purpose. NOTE: If you want to test GPU emulation, change the default value of the property in android/avd/hardware-properties.ini from 'no' to 'yes'. You will need to run a ToT master AOSP tree with the following pending patches applied: https://review.source.android.com/25797 https://review.source.android.com/25154 https://review.source.android.com/25759 Change-Id: I1fa3512be24395244fd5068f2bf59ad54db5c7d5
* Revert "Revert "Merge c80340 from master to r13: Move charmap to hardware ↵Xavier Ducrohet2011-08-221-0/+12
| | | | | | | | | | | | | properties"..." This reverts commit cccd28ca5064a7bd14282cd774ee5bb7126d5845. c80340 add a CL to tools_r13 that broken the build. It was therefore reverted with cccd28. This revert was merged into tools_r13 but shouldn't have been. This reverts the revert to put back the CL in master. Change-Id: I95fcefedb77596cfdf76269f248b2ae80c85c830
* Revert "Merge c80340 from master to r13: Move charmap to hardware ↵Xavier Ducrohet2011-08-111-12/+0
| | | | | | | | properties". do not merge. This reverts commit f490aee025b3bab5bcdb065e5fc1b1abecf16b97. Change-Id: I59a0b2aebc8ab2b788a820a206c6eb4fc6e6e6d2
* Merge c80340 from master to r13: Move charmap to hardware propertiesDavid 'Digit' Turner2011-08-051-0/+12
| | | | | | | | | | | | | | | | | | | The name of the emulated charmap must be passed to the guest kernel because it is used by the guest input handling code to load the proper charmap files from the system partition. This mandates that the name becomes a hardware property for the sake of supporting proper snapshotting and ui/core separation. From now on, the charmap name found in a skin will be ignored completely. This shouldn't be a problem in practice because all skins used the default name (qwerty2) anyway. The only reason to change the default value would be if emulating a guest system image that depends on a different charmap during emulation. Change-Id: If571684000b159ae9e9849661c9ff18e19b4cc75
* Update desc on hw.lcd.density to include 213/320Xavier Ducrohet2011-06-101-1/+1
| | | | Change-Id: Ib5f7644242c9f02f3a8eed51aa1d24d1e98ff2aa
* Add 'emulator' launcher program.David 'Digit' Turner2011-05-021-0/+16
| | | | | | | | | | | | | | | | | | | | | | | This patch renames the current ARM-specific emulator binary to 'emulator-arm' and introduces a new tiny (less than 20KB) 'emulator' launcher program. The role of 'emulator' is to launch either 'emulator-arm' or 'emulator-x86' based on the target AVD or platform build being used. This program will be replaced in the future by what is currently known as 'emulator-ui', but is a good placeholder until this work is completed. + Move some utility functions from android/avd/info.[hc] to android/avd/util.[hc] so that 'emulator' can use them directly. IMPORTANT: For platform builds, the target architecture is detected automatically by parsing the build.prop file. For SDK AVDs however, there is no easy way to determine the target architecture, so the patch adds a new hw.cpu.arch property which can have value 'arm' or 'x86' Change-Id: I0084c196695a75c8b9230ba716b3cd2e12610ded
* Add support for hw.lcd.backlightTim Wan2011-04-151-0/+9
| | | | Change-Id: I02dc12caa76c86de5d294b6fc857ae37b74f0130
* Set hw.keyboard.lid default value to false for API level >= 12David 'Digit' Turner2011-03-221-0/+4
| | | | | | | | | | | | | | | | | | | | | This patch modifies the emulator to extract the target API level for the AVD or the current platform release, and use it to set the default value of hw.keyboard.lid. This will *not* affect any existing AVD/platform that sets the value explicitely in its config.ini (for AVDs) or hardware.ini (for platform builds). The change is beneficial for platform builds targetting API level >= 12, because the input framework changed its the window orientation behaviour depending on the availability of a hardware lid. In short, this allows platform builds to be correctly oriented, even if they don't provide a custom hardware.ini. Fix for bug 4128604 Change-Id: I195135aae6f3c4cc11d2f01e1293f3cd6cad2f58
* Move AVD name initialization to the core.David 'Digit' Turner2011-03-011-0/+8
| | | | | | | Use a hardware property to send the AVD name to the core. The -android-avdname core option is still supported though. Change-Id: I4daac5c9fb65ed5261b5c04c1e1a18daed057a3f
* Move system image initialization to core.David 'Digit' Turner2011-03-011-8/+15
| | | | Change-Id: Ic8da3ccaed9bab7dbb44c0bb341b0dba20b90980
* Move snapshot storage initialization to the core.David 'Digit' Turner2011-03-011-5/+4
| | | | Change-Id: I2c2b782fe4711cc8c323433e7976222b878cf679
* Move the SD Card initialization to the core.David 'Digit' Turner2011-03-011-7/+5
| | | | Change-Id: I2c8fa2a7df3d79ed4222296a93b787994a8ee11d
* Move kernel/ramdisk initialization to the core.David 'Digit' Turner2011-03-011-3/+12
| | | | | | | The QEMU -kernel, -initrd and -append options are still supported for overriding the hardware configuration. Change-Id: I034d9e25d0a23341086aa052f449db5de50b2c8d
* Stuff hardware configuration with paths to image / partition filesVladimir Chtchetkine2011-02-221-0/+76
| | | | Change-Id: Id26cd578fc3faf1fee1a55f4999c3613e47c0e96
* Add hw.keyboard.lidDavid 'Digit' Turner2011-02-101-0/+10
| | | | | | | | | | | This is used to control the lid switch virtual device. + Add support for a "version <number>" field to the skin format. This will later be used for skin format #3. + Fix a bug where string hw properties didn't work/compile Change-Id: I678a0988d2cd24169dd0c2ece96e7ab0b2822104
* Correct auto-detection of default VM heap size.David 'Digit' Turner2011-02-101-1/+4
| | | | | | | | | | | | This patch removes the need for the -m <memory> core option. Instead, the RAM size is taken by default from qemu-hardware.ini. Also, the default value of vm.heapSize is no longer 16MB, it is now adjusted based on the RAM size (16/32/48 values) + Get rid of core -lcd-density option (use .ini file instead) Change-Id: I93919926b61a132c7943a1bb2c41f7a3ab7f2d2f
* Get rid of -android-gui core option.David 'Digit' Turner2011-02-101-0/+17
| | | | | | | | | Instead, pass all LCD configuration in qemu-hardware.ini. + Make the latter file mandatory to launch a core. You can easily generate one by launching "emulator <options>" though. Change-Id: I81a1938217562517e4c2bbb828aef934033c29a5
* Compute default memory size from screen size.David 'Digit' Turner2011-01-191-1/+1
| | | | | | | | This change is used when using a magic skin (e.g. -skin 800x600) or when using the full Android build system, in order to determine a good default for the RAM size. Change-Id: I900e28146592cdd3f0df9b3f1828b119309eea85
* Adding proximity sensor simulationOla Albertsson2010-12-171-0/+7
| | | | | | | Proximity sensor is added in emulator and avd ini file is modified to be able add a proximity seensor to a avd. Change-Id: I4d2645c0c4861511451b606e18d2fd9b9a2d27ed
* Remove the disk partition size hardware properties.David 'Digit' Turner2009-10-291-12/+0
| | | | | Also remove the error/abort message in case an AVD's image files are larger than the default.
* Add a new hardware property: vm.heapSizeDavid 'Digit' Turner2009-10-071-0/+8
| | | | | Allows to control the maximum heap size of Dalvik applications when running under emulation.
* Increase Emulator system image to 72MBXavier Ducrohet2009-09-301-1/+1
| | | | | | | This is required to run the SDK system image with the new assets in multiple densities. Change-Id: I4ab21a9c5ef554d1d8d63a32c3e88719e6d49253
* Added two new hardware properties to control AVD partition sizes.David 'Digit' Turner2009-08-281-0/+12
| | | | | | | | | | | | | | | | | | | | | | | disk.systemPartition.size (default 66MB) disk.dataPartition.size (default 66MB) If the emulator detects that an image file is larger than the corresponding setting, it will do the following: - for AVDs running from the SDK, an error message will be printed and the emulator aborts. Note that this can only happen if there are some serious mis-configuration of AVDs anyway. - when launching the emulator from the Android build system, a warning will be printed, and the partition size will be automatically adjusted at launch. Previously, trying to launch an over-sized system image would result in the emulated system booting, but then failing to find certain files, depending on how the yaffs2 disk images are built. This caused hard-to-debug issues. Note that the option -partition-size <size> can be used to override the AVD's setting at runtime.
* Add a new hw.lcd.density hardware property to AVD configuration files.David 'Digit' Turner2009-06-191-0/+7
| | | | | | | | | | | This value can be overriden with the already existing -dpi-device <value> option. The value is mapped to one of 120,160 and 240, then set to the boot-time property named qemu.sf.lcd_density used by the framework to properly select assets and/or resize them at runtime. This means that "emulator -dpi-device 130" will select 120 lcd_density, or "emulator -dpi-device 220" will select a 240 one.
* auto import from //branches/cupcake_rel/...@140373The Android Open Source Project2009-03-181-0/+7
|
* auto import from //branches/cupcake_rel/...@138607The Android Open Source Project2009-03-131-1/+1
|
* auto import from //branches/cupcake/...@137873The Android Open Source Project2009-03-111-28/+0
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-0/+158
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-158/+0
|
* auto import from //branches/cupcake/...@130745The Android Open Source Project2009-02-101-0/+158