Commit Graph

2974 Commits

Author SHA1 Message Date
Android (Google) Code Review e1156972e1 am c73d9e4: Merge changes 1341,1342 into donut
Merge commit 'c73d9e43a0c98a87222ef0c8749d6abba06c7778'

* commit 'c73d9e43a0c98a87222ef0c8749d6abba06c7778':
  libsysutils: Add multiple client support and fix some bugs
  nexus: Implement wifi scanner and fix a lot of bugs
2009-05-11 09:03:29 -07:00
Android (Google) Code Review c73d9e43a0 Merge changes 1341,1342 into donut
* changes:
  libsysutils: Add multiple client support and fix some bugs
  nexus: Implement wifi scanner and fix a lot of bugs
2009-05-11 09:01:15 -07:00
Jack Palevich 77ae76eea9 converted to C++
Base address of constant table changed, so had to update the "-orig" files.
2009-05-10 19:59:24 -07:00
Jack Palevich f6b5a531d8 Remove all gcc warnings. 2009-05-10 19:16:42 -07:00
Jack Palevich e27bf3eb29 Replace acc.c with the contents of otccn.c, update tests.
We are no longer checking if the constant data is the same, just the
generated code.
2009-05-10 14:09:03 -07:00
Fabrice Bellard 16134598fb Original version of otccn.c from http://bellard.org/otcc/otccn.c 2009-05-10 14:01:59 -07:00
Dima Zavin 16b5d6e75c am 3fd82b8: adb: osx: Match devices based on interface subclass and prot
Merge commit '3fd82b8861aa410fab7785074941b459d92220c1'

* commit '3fd82b8861aa410fab7785074941b459d92220c1':
  adb: osx: Match devices based on interface subclass and protocol
2009-05-10 12:56:40 -07:00
San Mehat fa644ffe94 libsysutils: Add multiple client support and fix some bugs 2009-05-10 09:26:42 -07:00
Dima Zavin 3fd82b8861 adb: osx: Match devices based on interface subclass and protocol
Enumerating all vendor+product id combinations is not practical.
This modifies the matching algorithm to use the adb interface
subclass/protocol instead (0x42/0x1).

Signed-off-by: Dima Zavin <dima@android.com>
2009-05-09 12:49:54 -07:00
San Mehat 1441e769b2 nexus: Implement wifi scanner and fix a lot of bugs
Signed-off-by: San Mehat <san@google.com>
2009-05-09 10:33:18 -07:00
Jack Palevich 431055cc9b More deobfuscation. 2009-05-08 20:30:47 -07:00
Jack Palevich 7448a2ebb7 Converted code constants from decimal to hexidecimal. 2009-05-08 20:30:47 -07:00
Jack Palevich f0cbc92fc0 More unobfuscation. 2009-05-08 20:30:47 -07:00
Jack Palevich 50791f5466 Make our global variables static. 2009-05-08 20:30:47 -07:00
Jack Palevich d160530a58 Got rid of all warnings. (Yeah, right.) 2009-05-08 20:30:47 -07:00
Jack Palevich f54db02e5d Add a simple regression test framework. 2009-05-08 20:30:47 -07:00
Jack Palevich ae54f1fba8 Continue deobfuscation.
Add a license.

Indent the code.
Add includes for external functions.
Improve function prototypes.
Start adding the correct type to things that are pointers.
Start fixing compiler warnings.

Instead of directly executing the compiled code (which only works on x86 Linux),
write the internal compiler state to stdout. This makes it easier to test whether
or not our refactoring is breaking anything.

Return a zero status on success.

Add error checking for a missing input file.
2009-05-08 20:30:47 -07:00
Jack Palevich 883114867a Start de-obfuscation process. 2009-05-08 20:30:47 -07:00
Fabrice Bellard 38aa39a200 Original freeware Obfuscated Tiny C Compiler.
From http://bellard.org/otcc/otcc.c

License from http://bellard.org/otcc:

The obfuscated OTCC and OTCCELF are freeware.
2009-05-08 20:30:47 -07:00
Erik Gilling e910ea5962 CDMA: add cdma tsmux device permissions
Signed-off-by: Erik Gilling <konkers@android.com>
2009-05-08 15:41:49 -07:00
Mathias Agopian d6b819166c Merge commit 'goog/master' into merge_master 2009-05-08 13:13:14 -07:00
Mike Lockwood 6e1683f5a7 am b377955: init: Fix some broken code that did not cause problems until
Merge commit 'b3779558dcfbe99f0b9c1ef796e3728edad25672'

* commit 'b3779558dcfbe99f0b9c1ef796e3728edad25672':
  init: Fix some broken code that did not cause problems until switching to gcc 4.4
2009-05-08 11:36:11 -07:00
Mike Lockwood b3779558dc init: Fix some broken code that did not cause problems until switching to gcc 4.4
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-05-08 14:27:42 -04:00
Android (Google) Code Review 46f208e40d Merge change 1171
* changes:
  Allow adb to use ANDORID_SERIAL env variable to specify the device to talk to.
2009-05-08 09:07:09 -07:00
Chih-Wei Huang 1ecad9a95c Fix uninitialized variable loop
The following command will usually just fail

 # /system/bin/mount -t proc proc /proc
 ioctl LOOP_SET_FD failed: Bad file number

The simple patch fixes the issue.
2009-05-08 10:44:30 +08:00
Mathias Agopian ab15ac0881 Merge commit 'goog/master' into merge_master 2009-05-07 17:46:47 -07:00
Nick Pelly db44926403 Allow adb to use ANDORID_SERIAL env variable to specify the device to talk to.
Overridden by -s.
2009-05-07 12:48:03 -07:00
San Mehat fec961705b am 3d40729: libsysutils: Add string.h to includes
Merge commit '3d40729054803fae1c4d4bb5ac7554665a132b26'

* commit '3d40729054803fae1c4d4bb5ac7554665a132b26':
  libsysutils: Add string.h to includes
2009-05-07 08:52:16 -07:00
San Mehat 3d40729054 libsysutils: Add string.h to includes
Signed-off-by: San Mehat <san@google.com>
2009-05-07 08:49:30 -07:00
Android (Google) Code Review e17cad55c2 am 9029056: Merge changes 1093,1094 into donut
Merge commit '902905682da7247aac3a73a71057e87f9758f0b1'

* commit '902905682da7247aac3a73a71057e87f9758f0b1':
  init.rc: Add Nexus to services (disabled for now)
  nexus: Initial checkin of Nexus - android native network management daemon.
2009-05-07 07:21:17 -07:00
Android (Google) Code Review 902905682d Merge changes 1093,1094 into donut
* changes:
  init.rc: Add Nexus to services (disabled for now)
  nexus: Initial checkin of Nexus - android native network management daemon.
2009-05-07 07:21:15 -07:00
Android (Google) Code Review 9399844278 am 747baad: Merge change 1092 into donut
Merge commit '747baadddb37737b0ecf83f6147a5e3252a34b12'

* commit '747baadddb37737b0ecf83f6147a5e3252a34b12':
  libsysutils: New C++ system convenience library
2009-05-07 07:06:55 -07:00
Android (Google) Code Review 747baadddb Merge change 1092 into donut
* changes:
  libsysutils: New C++ system convenience library
2009-05-07 07:03:23 -07:00
Android (Google) Code Review 493726bc81 am 2780827: Merge change 1005 into donut
Merge commit '27808271934622e6473d7d664303fa3efb4cd662'

* commit '27808271934622e6473d7d664303fa3efb4cd662':
  Make the /dev/qemu_trace device readable and writable by all.
2009-05-06 15:22:11 -07:00
Android (Google) Code Review 2780827193 Merge change 1005 into donut
* changes:
  Make the /dev/qemu_trace device readable and writable by all.
2009-05-06 15:20:29 -07:00
San Mehat 269946c09f init.rc: Add Nexus to services (disabled for now)
Signed-off-by: San Mehat <san@google.com>
2009-05-06 15:20:22 -07:00
San Mehat dc266073e7 nexus: Initial checkin of Nexus - android native network management daemon.
Initial skelaton

Signed-off-by: San Mehat <san@google.com>
2009-05-06 15:20:16 -07:00
San Mehat 168415b822 libsysutils: New C++ system convenience library
This library contains re-usable classes for common
    system level daemons. Initial consumers of this library
    are 'nexus' and 'vold2'

Signed-off-by: San Mehat <san@google.com>
2009-05-06 15:12:02 -07:00
Dima Zavin 06c6589b10 am 770354d: init: Fix segfault when log_write() was missing an arg to fo
Merge commit '770354d7e6cd471daed426fcf04bf7246e7cb18b'

* commit '770354d7e6cd471daed426fcf04bf7246e7cb18b':
  init: Fix segfault when log_write() was missing an arg to format.
2009-05-05 20:36:35 -07:00
Dima Zavin 770354d7e6 init: Fix segfault when log_write() was missing an arg to format.
Also, flag log_write() as a printf-like beast to gcc.

Signed-off-by: Dima Zavin <dima@android.com>
2009-05-05 18:35:00 -07:00
Jack Veenstra 4a762357d0 Make the /dev/qemu_trace device readable and writable by all.
This is needed so that the Dalvik interpreter can add information
about Java method entry/exit to the traces when running in the qemu
emulator.
2009-05-05 11:48:17 -07:00
Android (Google) Code Review 9b3174477d Merge change 916
* changes:
  Fix a potential integer overflow bug that could result in memory overwrites. Also add a check to the result of malloc()
2009-05-04 01:26:38 -07:00
David 'Digit' Turner a26c4e049a Fix a potential integer overflow bug that could result in memory overwrites.
Also add a check to the result of malloc()
2009-05-02 19:43:30 +02:00
Mathias Agopian 8cd81ab3f2 get rid of native_handle_{dup|copy} since they were not used any longer 2009-05-02 00:06:41 -07:00
Android (Google) Code Review 318897a5c2 am feb3d6d: Merge change 877 into donut
Merge commit 'feb3d6d8db30f51c560e792ef3d9eca01d9cae9d'

* commit 'feb3d6d8db30f51c560e792ef3d9eca01d9cae9d':
  adb seems to build in 64 bit mode these days, so it's safe to build for the simulator too.
2009-05-01 08:52:14 -07:00
Android (Google) Code Review feb3d6d8db Merge change 877 into donut
* changes:
  adb seems to build in 64 bit mode these days, so it's safe to build for the simulator too. While adb is not needed for the simulator, it's handy to have around when you're working with the simulator but need to look at a device.
2009-05-01 08:51:05 -07:00
Marco Nelissen b9e966f56b adb seems to build in 64 bit mode these days, so it's safe to build for the simulator too.
While adb is not needed for the simulator, it's handy to have around when you're working with the simulator but need to look at a device.
2009-05-01 08:15:55 -07:00
Dima Zavin b55cf93e25 am 95ec983: fastboot: Update the help message with -b argument
Merge commit '95ec983887867a117f4ef87073495111aff4a506'

* commit '95ec983887867a117f4ef87073495111aff4a506':
  fastboot: Update the help message with -b argument
2009-04-30 17:04:06 -07:00
Dima Zavin 95ec983887 fastboot: Update the help message with -b argument
Signed-off-by: Dima Zavin <dima@android.com>
2009-04-30 15:03:05 -07:00
Mathias Agopian f313711450 Merge commit 'goog/master' into merge_master 2009-04-30 14:08:52 -07:00