Commit graph

283 commits

Author SHA1 Message Date
Jack Palevich
2d11dfba27 Move macros into their own table.
Catch attempts to define macros with parens (not supported.)
2009-06-08 14:34:26 -07:00
Mathias Agopian
ce51b3b55f break dependency on utils/Endian.h 2009-06-07 02:13:02 -07:00
Christopher Tate
65adbbb3d8 am 17df71e0: Add an OOM adjustment category for apps undergoing backup
Merge commit '17df71e0b277372de1d915c168c07c8877e82395'

* commit '17df71e0b277372de1d915c168c07c8877e82395':
  Add an OOM adjustment category for apps undergoing backup
2009-06-05 21:17:51 -07:00
Christopher Tate
17df71e0b2 Add an OOM adjustment category for apps undergoing backup
In this initial commit, apps undergoing backup are treated equivalently
to apps hosting services:  more important than anything other than the
foreground app.
2009-06-05 18:20:08 -07:00
Jack Palevich
b7c81e9952 Switch to ANSI C style C function declarations.
main(argc, argv) --> int main(int argc, char** argv)

Although we accept int, void, and char types, and pointers to same,
we actually still treat everything as an int.
2009-06-04 19:56:13 -07:00
Jack Palevich
eedf9d2083 Add support for #pragma foo(bar)
Report unsupported/unknown preprocessor directives.
Report line number of error rather than character offset.
2009-06-04 16:38:35 -07:00
Android (Google) Code Review
f4c94943a9 am 87657782: Merge change 3008 into donut
Merge commit '876577823d7679fa18f175405ce77e5257161e3a'

* commit '876577823d7679fa18f175405ce77e5257161e3a':
  adb: Workaround for adb disconnect problem.
2009-06-02 22:48:18 -07:00
Android (Google) Code Review
876577823d Merge change 3008 into donut
* changes:
  adb: Workaround for adb disconnect problem.
2009-06-02 22:10:40 -07:00
Mike Lockwood
e38a31e305 adb: Workaround for adb disconnect problem.
For non-interactive adb shell commands, batch USB writes into 4K chunks
instead of sending small packets of data as they come in.
Add a timeout so we do not block for more than 200ms when our 4K buffer is partially full.

Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-06-02 22:09:03 -07:00
The Android Open Source Project
49ef8664e4 am 47e234fa: Merge commit \'66e4691ad097cfc37bdb7d3b1705ee9132f3234e\' into donut
Merge commit '47e234fa73116937855eaaaed4bc0ee27f87c971'

* commit '47e234fa73116937855eaaaed4bc0ee27f87c971':
  AI 149490: Add support for 3rd party USB Vendor.
2009-06-02 17:03:26 -07:00
The Android Open Source Project
47e234fa73 Merge commit '66e4691ad097cfc37bdb7d3b1705ee9132f3234e' into donut 2009-06-02 16:39:12 -07:00
Xavier Ducrohet
66e4691ad0 AI 149490: Add support for 3rd party USB Vendor.
BUG=1890147

Automated import of CL 149490
2009-06-02 12:03:55 -07:00
San Mehat
efc0c13b52 am f754f740: Revert "Mount SD card synchronous. This is an experimental change intended to"
Merge commit 'f754f740a3e06212836f7465001edb0fe5157ba8'

* commit 'f754f740a3e06212836f7465001edb0fe5157ba8':
  Revert "Mount SD card synchronous. This is an experimental change intended to"
2009-06-02 10:33:28 -07:00
San Mehat
c4c8d0ec3f am 21e90f0e: nexus: Validate that priority and KeyManagement are set before enabling a network
Merge commit '21e90f0e10b5a75e583b10799c0084ddab3433d6'

* commit '21e90f0e10b5a75e583b10799c0084ddab3433d6':
  nexus: Validate that priority and KeyManagement are set before enabling a network
2009-06-02 10:33:27 -07:00
San Mehat
e085355735 am 78828ff4: nexus: Use interface for handling Supplicant events
Merge commit '78828ff4f5f959fcf8066ecb6a6b689d2a3c5985'

* commit '78828ff4f5f959fcf8066ecb6a6b689d2a3c5985':
  nexus: Use interface for handling Supplicant events
  nexus: Remove dependancy on libutil
2009-06-02 10:32:12 -07:00
San Mehat
f754f740a3 Revert "Mount SD card synchronous. This is an experimental change intended to"
This reverts commit 23eaecf02d.
2009-06-02 10:27:52 -07:00
San Mehat
21e90f0e10 nexus: Validate that priority and KeyManagement are set before enabling a network
Signed-off-by: San Mehat <san@google.com>
2009-06-02 10:26:58 -07:00
San Mehat
78828ff4f5 nexus: Use interface for handling Supplicant events
Signed-off-by: San Mehat <san@google.com>
2009-06-02 10:26:58 -07:00
San Mehat
37629255e9 nexus: Remove dependancy on libutil
Signed-off-by: San Mehat <san@google.com>
2009-06-02 10:26:58 -07:00
Android (Google) Code Review
baf83e0250 am 3f627205: Merge change 2875 into donut
Merge commit '3f6272056275a00c30c07394d63bbe81cc9c5eba'

* commit '3f6272056275a00c30c07394d63bbe81cc9c5eba':
  Added ashmem_get_size_region() function.
2009-06-02 05:30:08 -07:00
Android (Google) Code Review
3f62720562 Merge change 2875 into donut
* changes:
  Added ashmem_get_size_region() function.
2009-06-02 05:28:47 -07:00
Android (Google) Code Review
f6243df747 am 8b48cf61: Merge change 2897 into donut
Merge commit '8b48cf61704bbd1cd6e672fe73d8491f8984b484'

* commit '8b48cf61704bbd1cd6e672fe73d8491f8984b484':
  fix 1650170 pixelflinger depends on KeyedVector.h, etc
2009-06-02 00:36:23 -07:00
Android (Google) Code Review
8b48cf6170 Merge change 2897 into donut
* changes:
  fix 1650170 pixelflinger depends on KeyedVector.h, etc
2009-06-01 19:00:49 -07:00
Bjorn Bringert
7be52b1a0e Added ashmem_get_size_region() function.
This is needed by the MemoryFile changes in
https://android-git.corp.google.com/g/2714
where it is used to find out whether a file descriptor
refers to an ashmem region.
2009-06-02 00:55:30 +01:00
Mathias Agopian
006ba85e98 fix 1650170 pixelflinger depends on KeyedVector.h, etc 2009-06-01 15:27:46 -07:00
San Mehat
cbc92d014b am 3c5a6f0b: nexus: Refactor some of the create/remove network path and add code for retrieving network lists from supplicant nexus: Rework properties nexus: Implement wifi network enable/disable and add some error checking nexus: Add some TODOs nexus: Whitespace cleanup nexus: Add bindings between controllers and network interfaces nexus: Add properties for InterfaceConfig nexus: Fix a few conversion bugs in InterfaceConfig
Merge commit '3c5a6f0bc8aefc4dacab8e95ba9017a7ac7d91f5'

* commit '3c5a6f0bc8aefc4dacab8e95ba9017a7ac7d91f5':
  nexus: Refactor some of the create/remove network path and add code for
2009-06-01 10:09:06 -07:00
San Mehat
9b8c28ab44 am 192331d9: nexus: Add ListCmd to CommandListener
Merge commit '192331d9060763b92f7989124bedbd136689d735'

* commit '192331d9060763b92f7989124bedbd136689d735':
  nexus: Add ListCmd to CommandListener
2009-06-01 10:09:05 -07:00
San Mehat
ae41f613b8 am 03f0d27f: libsysutils: Fix command argument passing bug + whitespace cleanup
Merge commit '03f0d27f6c49530a91402ed42f8ca4b2fda04b9f'

* commit '03f0d27f6c49530a91402ed42f8ca4b2fda04b9f':
  libsysutils: Fix command argument passing bug + whitespace cleanup
2009-06-01 09:35:15 -07:00
Mathias Agopian
89ac364c54 get rid of utils/executablepath.h, which now lives in the simulator 2009-05-31 18:50:09 -07:00
Jack Palevich
f1f39cca30 Make sure we don't overflow various internal compiler buffers.
We may replace some of these tables with dynamically growing data
structures, but in the meantime we will not trash memory.
2009-05-29 18:03:15 -07:00
San Mehat
3c5a6f0bc8 nexus: Refactor some of the create/remove network path and add code for
retrieving network lists from supplicant
nexus: Rework properties
nexus: Implement wifi network enable/disable and add some error checking
nexus: Add some TODOs
nexus: Whitespace cleanup
nexus: Add bindings between controllers and network interfaces
nexus: Add properties for InterfaceConfig
nexus: Fix a few conversion bugs in InterfaceConfig

Signed-off-by: San Mehat <san@google.com>
2009-05-29 15:26:21 -07:00
San Mehat
192331d906 nexus: Add ListCmd to CommandListener
Signed-off-by: San Mehat <san@google.com>

nexus: Add InterfaceConfig and flesh out some more flow

Signed-off-by: San Mehat <san@google.com>
2009-05-29 15:26:00 -07:00
San Mehat
03f0d27f6c libsysutils: Fix command argument passing bug + whitespace cleanup
Signed-off-by: San Mehat <san@google.com>
2009-05-29 15:25:45 -07:00
Jack Palevich
ac0e95eb60 Improve ACC error reporting.
Now return an error code and an error message, rather than just
printing to stderr or calling exit().

Check to see we don't exceed our code size.
2009-05-29 13:53:44 -07:00
Jack Palevich
653f42da92 Pointer-ize the acc front end.
The ACC compiler used to be able to compile itself. This was a neat
feature, but because ACC only supports ints, pointers are stored as
ints, and cast to pointers when used.

This checkin turns many ints that are really pointers back into
pointers, so that the code is clearer.

 int ch;
 char* glo;
 char* sym_stack;
 char* dstk;
 char* dptr;
 int dch;
 char* last_id;
2009-05-29 09:32:14 -07:00
David 'Digit' Turner
730c8d7c03 am ebefc48e: Expose the stable/frozen log-related definitions of <cutils/logd.h> into a new header: <android/log.h>
Merge commit 'ebefc48e61a7d5cf2a3228e6c8729feeeb42d1b4'

* commit 'ebefc48e61a7d5cf2a3228e6c8729feeeb42d1b4':
  Expose the stable/frozen log-related definitions of <cutils/logd.h> into a new header: <android/log.h>
2009-05-29 06:03:27 -07:00
David 'Digit' Turner
ebefc48e61 Expose the stable/frozen log-related definitions of <cutils/logd.h> into a new header: <android/log.h>
This is in order to expose the correponding functions in the 1.5 Native Development Kit, to allow
applicative native code to send messages to the log.
2009-05-29 14:45:04 +02:00
Jack Palevich
09555c7a18 Fix symbol lookup logic, squelch LOG output. 2009-05-27 12:25:55 -07:00
Iliyan Malchev
0675ba5bd4 am fc0182eb: add support and proper permissions for /dev/msm_camera/
Merge commit 'fc0182eb1db0620eb71fb6ca219b15a17dcd912f'

* commit 'fc0182eb1db0620eb71fb6ca219b15a17dcd912f':
  add support and proper permissions for /dev/msm_camera/
2009-05-26 17:53:37 -07:00
Iliyan Malchev
fc0182eb1d add support and proper permissions for /dev/msm_camera/
Signed-off-by: Iliyan Malchev <malchev@google.com>
2009-05-26 16:45:51 -07:00
Raphael
f3cdf37276 Don't compile abort_socket.c for host targets. It is only intended to run on Linux targets. 2009-05-26 13:23:23 -07:00
Android (Google) Code Review
cd95bf3ea3 am a4aace71: Merge change 2437 into donut
Merge commit 'a4aace716e76e8e2c2e6e1a807b402256d9924dc'

* commit 'a4aace716e76e8e2c2e6e1a807b402256d9924dc':
  Modify init.goldfish.sh to launch the 'qemu-props' program when the emulator boots up.
2009-05-26 10:11:22 -07:00
Android (Google) Code Review
a4aace716e Merge change 2437 into donut
* changes:
  Modify init.goldfish.sh to launch the 'qemu-props' program when the emulator boots up. Its purpose is to receive a list of system property (name,value) pairs and set them on launch.
2009-05-26 08:29:35 -07:00
David 'Digit' Turner
653164b6a0 Modify init.goldfish.sh to launch the 'qemu-props' program when the emulator boots up.
Its purpose is to receive a list of system property (name,value) pairs and set them on launch.
2009-05-26 13:16:59 +02:00
Mike Lockwood
5b043d6182 am 1f546e6d: adb: Allow enabling of device side adbd logging with a persistent system property.
Merge commit '1f546e6d1f6ccd1964336ddf0d8e8b3b11b1e945'

* commit '1f546e6d1f6ccd1964336ddf0d8e8b3b11b1e945':
  adb: Allow enabling of device side adbd logging with a persistent system property.
2009-05-25 15:32:19 -07:00
Mike Lockwood
1f546e6d1f adb: Allow enabling of device side adbd logging with a persistent system property.
To enable logging, set the property persist.adb.trace_mask to a hex value
containing the bitmask for adb_trace_mask (see the TRACE_* enum values in adb.h).
This will result in adb writing log output to a file in /data/adb/
No logging will occur if persist.adb.trace_mask is not set or has a value
that cannot be parsed as a hex integer.
The property is read once only at startup, so you must reboot or restart adbd
for changes in the property to take effect.

Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-05-25 18:17:55 -04:00
Mike Lockwood
64c6397b56 am 6a3075c7: adb: Add adbd to the AID_SDCARD_RW group to allow writing to the SD card.
Merge commit '6a3075c78287ea5a7ee7a3c85cde58e894350822'

* commit '6a3075c78287ea5a7ee7a3c85cde58e894350822':
  adb: Add adbd to the AID_SDCARD_RW group to allow writing to the SD card.
2009-05-25 11:32:08 -07:00
Mike Lockwood
6a3075c782 adb: Add adbd to the AID_SDCARD_RW group to allow writing to the SD card.
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-05-25 14:22:58 -04:00
Android (Google) Code Review
fc8e241871 am 0469d2c3: Merge change 2282 into donut
Merge commit '0469d2c37adddcb30cb0d88772bef33ac26c6500'

* commit '0469d2c37adddcb30cb0d88772bef33ac26c6500':
  Support for 3rd party USB Vendor IDs in adb.
2009-05-22 15:30:14 -07:00
Android (Google) Code Review
0469d2c37a Merge change 2282 into donut
* changes:
  Support for 3rd party USB Vendor IDs in adb.
2009-05-22 15:28:51 -07:00