Commit Graph

518 Commits

Author SHA1 Message Date
Jaikumar Ganesh 630f5f049b Add Bluetooth PBAP service. 2009-07-26 23:18:29 -07:00
Jean-Baptiste Queru 9c3744bb73 reconcile korg/master into goog/master 2009-07-26 11:43:56 -07:00
Jean-Baptiste Queru 96d58f4f52 Merge korg/donut into korg/master 2009-07-25 18:07:41 -07:00
Xavier Ducrohet 1fde31c8fb am de6f62a6: Add support for Samsung and Motorola devices.
Merge commit 'de6f62a609120c3d9e4e53689c3b309842ec874b'

* commit 'de6f62a609120c3d9e4e53689c3b309842ec874b':
  Add support for Samsung and Motorola devices.
2009-07-24 16:09:22 -07:00
Xavier Ducrohet de6f62a609 Add support for Samsung and Motorola devices.
Also update the linux code. Some devices have more complex USB descriptors
which can't be parsed with the simple assumption of just skipping the
endpoint descriptors.
2009-07-24 14:42:27 -07:00
Doug Zongker d39e972831 am d52f54c4: install recovery image using patch mechanism
Merge commit 'd52f54c4552d2f35b3c2c2ac60350ac83760222f'

* commit 'd52f54c4552d2f35b3c2c2ac60350ac83760222f':
  install recovery image using patch mechanism
2009-07-23 23:59:16 -07:00
Doug Zongker d52f54c455 install recovery image using patch mechanism
With the corresponding change in build/tools, the recovery image is
installed via a shell script that is emitted by the OTA builder.
2009-07-23 15:18:34 -07:00
Jack Palevich 2ff5c22e96 Keep track of the current arena.
This means we don't have to pass it around as an argument.

This change was made because I'm about to start creating pointer types
during expression evaluation, and I didn't want to add an arena
argument to all the expression functions.
2009-07-23 15:11:22 -07:00
Jack Palevich 89baa2083f Fix the ARM postdecrement operator.
Add a test for ++ and -- so this bug won't happen again.
2009-07-23 11:45:15 -07:00
Android (Google) Code Review c1e49f96f9 Merge change 7792
* changes:
  Code generator cleanup
2009-07-17 16:39:00 -07:00
Android (Google) Code Review 0761a49cd4 Merge change 7791
* changes:
  Remove unused logging code.
2009-07-17 16:38:41 -07:00
Android (Google) Code Review 10b90870a6 Merge change 7790
* changes:
  Track lvalues vs. rvalues.
2009-07-17 16:38:25 -07:00
Jack Palevich 58c30eef99 Code generator cleanup
Factor ARM integer binary operation setup code into a function.

Don't pass redundant pType information into loadR0FromR0, storeR0ToTOS,
gcmp, gUnaryCmp, li

Separate inc/dec from variable loading. Generates worse code, but now
we handle pointer inc/dec and char inc/dec.
2009-07-17 16:35:23 -07:00
Jack Palevich b40367bde1 Remove unused logging code. 2009-07-17 13:51:51 -07:00
Jack Palevich ba929a4ffa Track lvalues vs. rvalues. 2009-07-17 10:20:32 -07:00
San Mehat 6b001d8667 am 1f278215: vold: If we\'re bootstrapping, don\'t automatically mount the SD card. Also fixes some error display bugs (our printf doesnt support %m)
Merge commit '1f27821568065715d3235c0e690c42d0d7a413bc'

* commit '1f27821568065715d3235c0e690c42d0d7a413bc':
  vold: If we're bootstrapping, don't automatically mount the SD card. Also fixes some
2009-07-17 02:09:08 -07:00
San Mehat c0334b18c5 am d8221d98: vold: vfat: Run up to 3 passes of the disk checker when the checker indicates the FS has been modified. Also create LOST.DIR if it doesn\'t exist on mount.
Merge commit 'd8221d9869f9fe1031219e8f6cbcef0771d767fa'

* commit 'd8221d9869f9fe1031219e8f6cbcef0771d767fa':
  vold: vfat: Run up to 3 passes of the disk checker when the checker
2009-07-17 02:08:59 -07:00
San Mehat a27bd2c768 am b6e70d87: vold: Allow a damaged volume to be re-evaluated for mounting
Merge commit 'b6e70d877886bf363c5789456dcc00bb3f271c95'

* commit 'b6e70d877886bf363c5789456dcc00bb3f271c95':
  vold: Allow a damaged volume to be re-evaluated for mounting
2009-07-17 02:08:57 -07:00
Jack Palevich 3377bfd845 Report error (rather than crashing) when a declaration name is missing.
Repo case:

void main()
{
   int );
}
2009-07-16 19:05:07 -07:00
Jack Palevich 8148c5be54 Coerce R0 to destination type before storing it into a variable. 2009-07-16 18:24:47 -07:00
Jack Palevich dc45646238 Implement a "#line" directive. 2009-07-16 16:50:56 -07:00
Jack Palevich b1544cad42 Detect assignments to undeclared variables.
Previously we only detected reading from undefined variables.
2009-07-16 15:09:20 -07:00
Jack Palevich ce105a9082 If the compile failed, return NULL from symbol lookups. 2009-07-16 14:30:33 -07:00
San Mehat 1f27821568 vold: If we're bootstrapping, don't automatically mount the SD card. Also fixes some
error display bugs (our printf doesnt support %m)

Signed-off-by: San Mehat <san@google.com>
2009-07-16 11:41:33 -07:00
San Mehat d8221d9869 vold: vfat: Run up to 3 passes of the disk checker when the checker
indicates the FS has been modified. Also create LOST.DIR if it doesn't
exist on mount.

Signed-off-by: San Mehat <san@google.com>
2009-07-16 09:34:53 -07:00
San Mehat b6e70d8778 vold: Allow a damaged volume to be re-evaluated for mounting
Signed-off-by: San Mehat <san@google.com>
2009-07-16 07:29:35 -07:00
Android (Google) Code Review 588d2bdefe Merge change 7495
* changes:
  Improve error handling
2009-07-15 19:04:49 -07:00
Jack Palevich d1f57e689b Improve error handling
Don't segfault if the right-hand operand of a binary operator is missing.
Don't segfault if a semicolon is missing at the end of a forward
declaration.
2009-07-15 18:23:22 -07:00
Android (Google) Code Review 6b840e9b61 Merge change 7456
* changes:
  init: Change owner of /dev/uinput to system
2009-07-15 16:54:57 -07:00
Android (Google) Code Review 0f0776e27c Merge change 7464
* changes:
  Improve numerical constant parsing.
2009-07-15 16:18:07 -07:00
Jack Palevich 2aaf21f1be Improve numerical constant parsing. 2009-07-15 16:16:37 -07:00
Ken Schultz be65da47e6 init: Change owner of /dev/uinput to system
This will allow the the uinput driver to be used by the system process
as well as bluetooth, which is needed for sensors.

Signed-off-by: Ken Schultz <kschultz@motorola.com>
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-07-15 19:00:00 -04:00
Nick Pelly b44aeb7b6a Add OPUSH to register obex server. 2009-07-14 21:29:15 -07:00
Jack Palevich 8c246a9dc2 Add accRegisterSymbolCallback API to control external symbol linkage.
Until now dlsym was used to lookup external symbols. Now you can
register your own function to be called when an undefined symbol is
used.
2009-07-14 21:14:10 -07:00
Jack Palevich fd3db48e2e Add test for passing floats and doubles as ints, floats, and doubles. 2009-07-14 19:39:36 -07:00
Jack Palevich 37c54bd22e Make forward declarations of external symbols really work.
Until now we had always been treating external variables as "int",
and external functions as int (...);
2009-07-14 18:35:36 -07:00
Jack Palevich 7ecc5556ae Remove unused variable. 2009-07-14 16:24:55 -07:00
Android (Google) Code Review 5e525099af Merge change 7050
* changes:
  Implement pointer arithmetic.
2009-07-13 18:49:19 -07:00
Android (Google) Code Review dc61060547 Merge change 7049
* changes:
  Implement support for "char" local and global variables.
2009-07-13 18:49:02 -07:00
Android (Google) Code Review 13ac7f6cee Merge change 7048
* changes:
  Implement general casts and pointer dereferencing.
2009-07-13 18:48:48 -07:00
Android (Google) Code Review c80b0a9798 Merge change 7047
* changes:
  Run tests on both ARM and x86
2009-07-13 18:48:30 -07:00
Jack Palevich a8f427f606 Implement pointer arithmetic. 2009-07-13 18:40:08 -07:00
Jack Palevich 25c0ccaed4 Implement support for "char" local and global variables. 2009-07-13 16:56:28 -07:00
Jack Palevich 45431bc252 Implement general casts and pointer dereferencing.
Prior to this casts and pointer dereferencing were special-cased.
2009-07-13 15:57:26 -07:00
Jack Palevich 59178c0a3d Run tests on both ARM and x86 2009-07-13 14:15:18 -07:00
Android (Google) Code Review eced01b171 am 160d4b05: Merge change 6738 into donut
Merge commit '160d4b0509e4566930ef9af4f2b9d63b33aebee5'

* commit '160d4b0509e4566930ef9af4f2b9d63b33aebee5':
  rootdir: Remove ip-up-vpn script, which is replaced by an executable.
2009-07-12 21:56:42 -07:00
Android (Google) Code Review 160d4b0509 Merge change 6738 into donut
* changes:
  rootdir: Remove ip-up-vpn script, which is replaced by an executable.
2009-07-12 21:22:36 -07:00
Android (Google) Code Review 4c8dee81eb Merge change 6822
* changes:
  nexus: Rollup update for nexus
2009-07-10 17:53:17 -07:00
Mike Lockwood feb63e9e6f libnetutils: Add ifc_enable(), for enabling a network interface.
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-07-10 17:29:47 -04:00
San Mehat c4a895b709 nexus: Rollup update for nexus
nexus: Change field separator from : to ' '

Signed-off-by: San Mehat <san@google.com>

nexus: Add some prototypes for stuff to come

Signed-off-by: San Mehat <san@google.com>

nexus: Add some TODOs

Signed-off-by: San Mehat <san@google.com>

libsysutils: Put a proper token parser into the FrameworkListener which
supports minimal \ escapes and quotes

Signed-off-by: San Mehat <san@google.com>

nexus: Fix a lot of bugs

Signed-off-by: San Mehat <san@google.com>

libsysutils: Remove some debugging
Signed-off-by: San Mehat <san@google.com>

nexus: Send broadcasts for supplicant state changes

Signed-off-by: San Mehat <san@google.com>

nexus: Plumb DHCP listener state changes to NetworkManager

Signed-off-by: San Mehat <san@google.com>

nexus: Make the SupplicantState strings more parsable

Signed-off-by: San Mehat <san@google.com>

nexus: Broadcast a message when dhcp state changes.

Signed-off-by: San Mehat <san@google.com>

nexus: Add a few new response codes

Signed-off-by: San Mehat <san@google.com>

nexus: Rename ErrorCode -> ResponseCode

Signed-off-by: San Mehat <san@google.com>

nexus: Add DHCP event broadcasting. Also adds the framework for
tracking supplicant 'searching-for-AP' state

Signed-off-by: San Mehat <san@google.com>

nexus: REmove WifiScanner

Signed-off-by: San Mehat <san@google.com>

nexus: Change the way scanning works. scanmode can now be selected
independantly of triggering a scan. Also adds rxfilter support

Signed-off-by: San Mehat <san@google.com>

nexus: Add support for configuring bluetooth coexistence scanning and modes

Signed-off-by: San Mehat <san@google.com>

nexus: use case insensitive match for property names

Signed-off-by: San Mehat <san@google.com>

nexus: Rollup of a bunch of stuff:
    - 'list' command now takes an argument to match against
    - InterfaceConfig has been moved into the Controller base (for now)
    - DhcpClient now has some rudimentry locking
    - process 'ADDRINFO' messages from dhcpcd
    - Drop tertiary dns

Signed-off-by: San Mehat <san@google.com>

nexus: Clean up some of the supplicant variable parsing and add 'wifi.current'

Signed-off-by: San Mehat <san@google.com>

nexus: Add driver-stop/start, initial suspend support

Signed-off-by: San Mehat <san@google.com>

nexus: Add Controller suspend/resume callbacks, as well as locking

Signed-off-by: San Mehat <san@google.com>

nexus: Make ARP probing configurable for DhcpClient

Signed-off-by: San Mehat <san@google.com>

nexus: Add linkspeed / rssi retrieval

Signed-off-by: San Mehat <san@google.com>

nexus: Add WifiStatusPoller to track RSSI/linkspeed when associated

Signed-off-by: San Mehat <san@google.com>

nexus: Disable some debugging and add 'wifi.netcount' property

Signed-off-by: San Mehat <san@google.com>

nexus: Replace the hackish property system with something more flexible with namespaces

Signed-off-by: San Mehat <san@google.com>

libsysutils: Fix a few bugs in SocketListener

Signed-off-by: San Mehat <san@google.com>

nexus: PropertyManager: Add array support

Signed-off-by: San Mehat <san@google.com>

nexus: Clean up properties
Signed-off-by: San Mehat <san@google.com>

nexus: WifiController: Change name of 'CurrentNetwork' property

Signed-off-by: San Mehat <san@google.com>
2009-07-10 14:23:51 -07:00