Commit Graph

21 Commits

Author SHA1 Message Date
Marco Nelissen
bbabb3ae5b Fix the simulator. libhardware now needs a property named "default" to be set to the value "default", otherwise it won't fall back to the default implementation for a module. 2009-09-23 09:52:22 -07:00
Marco Nelissen
500248f5cc Fix the way the simulator reports the capabilities of the input device.
This makes it no longer pretend it has as a multitouch display, trackball, etc.
2009-08-13 09:00:38 -07:00
Marco Nelissen
d46290031a Pretend to be root by intercepting getuid() in the simulator, so we don't have
to litter the framework with if(Process.supportsProcesses()).
2009-07-17 08:38:56 -07:00
Marco Nelissen
542e4f1f64 Add support for dup()ing fake file descriptors to the simulator. 2009-07-08 12:58:04 -07:00
Andy McFadden
d7bc5f3a9a Remove "ifneq ($(TARGET_ARCH),arm)".
The following line is "ifeq ($(TARGET_SIMULATOR),true)", which should
never succeed for an ARM build.

This change is inspired by external change 10447, which adds
"ifneq ($(TARGET_ARCH),sh)".  Shouldn't be needed either.
2009-06-23 16:01:56 -07:00
Andy McFadden
3c5497ca99 Add missing system properties to sim.
The framework cannot start if certain properties are missing.  This adds
a couple of properties used by the backup system.

Also fixed a trio of printf/size_t warnings.
2009-06-08 10:08:18 -07:00
Mathias Agopian
95f36e4462 rename string_array.h to StringArray.h 2009-06-05 01:55:02 -07:00
Mathias Agopian
dee76df03a move utils/Pipe.h to the simulator 2009-06-01 14:06:13 -07:00
Mathias Agopian
87aad6484d should fix sim build 2009-05-31 23:58:43 -07:00
Mathias Agopian
f940dc6639 get rid of ported.h, move implementation in here (only place it's possibly used -- I'm being conservative). 2009-05-31 23:38:37 -07:00
Mathias Agopian
7380ec37df get rid of utils.h in libutils 2009-05-31 22:40:23 -07:00
Mathias Agopian
3e1391d1a4 get rid of utils/executablepath.h, which now lives in the simulator 2009-05-31 18:49:59 -07:00
Andy McFadden
5cd6406e7a Sim-only files move, part 1/2.
Move Pipe and executablepath from libutils to the simulator, since nothing
else uses them.
2009-05-27 16:01:13 -07:00
Marco Nelissen
47acf13773 Make the simulator handle paths like '//data/data/...' the same way the device does. 2009-05-05 14:54:14 -07:00
Marco Nelissen
1b2bd1d786 Move some simulator fixes from master to donut.
In git master they were part of change 700ccfcc01,
which was an auto import from //branches/master/...@140412
The original change was 134529 in perforce.
2009-04-30 14:15:59 -07:00
The Android Open Source Project
692ab02175 auto import from //branches/cupcake/...@137197 2009-03-09 11:52:11 -07:00
The Android Open Source Project
52d4c30ca5 auto import from //depot/cupcake/@135843 2009-03-03 19:29:09 -08:00
The Android Open Source Project
d4aee0c0ca auto import from //depot/cupcake/@135843 2009-03-03 18:28:16 -08:00
The Android Open Source Project
e3c5766074 auto import from //branches/cupcake/...@130745 2009-02-10 15:43:58 -08:00
The Android Open Source Project
e943f2fd8e Code drop from //branches/cupcake/...@124589 2008-12-17 18:04:04 -08:00
The Android Open Source Project
5c11852110 Initial Contribution 2008-10-21 07:00:00 -07:00