OSDN Git Service

android-x86/frameworks-base.git
13 years agoam 30824495: am 1e24ccbd: Merge "Add generation of dependency file for .ap_ package"
Xavier Ducrohet [Wed, 20 Jul 2011 22:27:39 +0000 (15:27 -0700)]
am 30824495: am 1e24ccbd: Merge "Add generation of dependency file for .ap_ package"

* commit '3082449508a8c574d0476fdb988f98d9554637ae':
  Add generation of dependency file for .ap_ package

13 years agoam 1e24ccbd: Merge "Add generation of dependency file for .ap_ package"
Xavier Ducrohet [Wed, 20 Jul 2011 22:23:55 +0000 (15:23 -0700)]
am 1e24ccbd: Merge "Add generation of dependency file for .ap_ package"

* commit '1e24ccbdd56a45c8bb5f2eba94af5aecd2d02554':
  Add generation of dependency file for .ap_ package

13 years agoMerge "Add generation of dependency file for .ap_ package"
Xavier Ducrohet [Wed, 20 Jul 2011 22:08:23 +0000 (15:08 -0700)]
Merge "Add generation of dependency file for .ap_ package"

13 years agoam 82943ecf: am d40c93f6: Merge "Add dependency generation to Aapt for R.java"
Xavier Ducrohet [Tue, 19 Jul 2011 17:15:11 +0000 (10:15 -0700)]
am 82943ecf: am d40c93f6: Merge "Add dependency generation to Aapt for R.java"

* commit '82943ecfe2c4266cf3db50326240825fefcaa38f':
  Add dependency generation to Aapt for R.java

13 years agoam 2e659ae5: am 42755155: Merge "Copy once-created R.java into library projects"
Xavier Ducrohet [Tue, 19 Jul 2011 17:15:09 +0000 (10:15 -0700)]
am 2e659ae5: am 42755155: Merge "Copy once-created R.java into library projects"

* commit '2e659ae59c17a0c0584d35b8c400a294c9d49e12':
  Copy once-created R.java into library projects

13 years agoam d40c93f6: Merge "Add dependency generation to Aapt for R.java"
Xavier Ducrohet [Tue, 19 Jul 2011 17:10:17 +0000 (10:10 -0700)]
am d40c93f6: Merge "Add dependency generation to Aapt for R.java"

* commit 'd40c93f61ca5b3f2351b8db716f67b58f1625e85':
  Add dependency generation to Aapt for R.java

13 years agoam 42755155: Merge "Copy once-created R.java into library projects"
Xavier Ducrohet [Tue, 19 Jul 2011 17:10:15 +0000 (10:10 -0700)]
am 42755155: Merge "Copy once-created R.java into library projects"

* commit '42755155d6e8ddc3201b08def2bf262a64fa25f2':
  Copy once-created R.java into library projects

13 years agoMerge "Add dependency generation to Aapt for R.java"
Xavier Ducrohet [Tue, 19 Jul 2011 17:03:16 +0000 (10:03 -0700)]
Merge "Add dependency generation to Aapt for R.java"

13 years agoMerge "Copy once-created R.java into library projects"
Xavier Ducrohet [Tue, 19 Jul 2011 17:03:05 +0000 (10:03 -0700)]
Merge "Copy once-created R.java into library projects"

13 years agoam a74774fd: am 4d8f6a38: Merge "stagefright aacenc: Mark codeWord as UWord16"
Conley Owens [Mon, 18 Jul 2011 23:53:41 +0000 (16:53 -0700)]
am a74774fd: am 4d8f6a38: Merge "stagefright aacenc: Mark codeWord as UWord16"

* commit 'a74774fd9146aa22801487d3652dc18e9e328b8e':
  stagefright aacenc: Mark codeWord as UWord16

13 years agoam 4d8f6a38: Merge "stagefright aacenc: Mark codeWord as UWord16"
Conley Owens [Mon, 18 Jul 2011 23:52:26 +0000 (16:52 -0700)]
am 4d8f6a38: Merge "stagefright aacenc: Mark codeWord as UWord16"

* commit '4d8f6a38e7268e29e189cb4173f42c7aa5b320a3':
  stagefright aacenc: Mark codeWord as UWord16

13 years agoMerge "stagefright aacenc: Mark codeWord as UWord16"
Conley Owens [Mon, 18 Jul 2011 23:49:43 +0000 (16:49 -0700)]
Merge "stagefright aacenc: Mark codeWord as UWord16"

13 years agoAdd generation of dependency file for .ap_ package
Josiah Gaskin [Mon, 27 Jun 2011 23:26:02 +0000 (16:26 -0700)]
Add generation of dependency file for .ap_ package

Make Aapt generate a dependency file in the same directory as the
output ap_ file if the --generate-dependencies flag is set.
This dependency file can then be read by the ant exec loop task
to see whether to repackage resources.

Change-Id: I763679414daf76369700aa599c26dcf78d4de099

13 years agoam 89bac182: am 88409911: Merge "stagefright: Include stdlib.h for malloc/free"
Deckard Autoverifier [Mon, 18 Jul 2011 22:41:31 +0000 (15:41 -0700)]
am 89bac182: am 88409911: Merge "stagefright: Include stdlib.h for malloc/free"

* commit '89bac1820f3788d655ae293ec9a65c18226e09ee':
  stagefright: Include stdlib.h for malloc/free

13 years agoam 16db83c2: am eb07c531: Merge "stagefright amrwbenc: Remove a duplicate, unused...
Deckard Autoverifier [Mon, 18 Jul 2011 22:41:29 +0000 (15:41 -0700)]
am 16db83c2: am eb07c531: Merge "stagefright amrwbenc: Remove a duplicate, unused file"

* commit '16db83c26442f5e25b6aad77a37b612fa0be9862':
  stagefright amrwbenc: Remove a duplicate, unused file

13 years agoam 80ef1745: am c06c3603: Merge "stagefright aacenc: Make the mem_malloc function...
Deckard Autoverifier [Mon, 18 Jul 2011 22:41:26 +0000 (15:41 -0700)]
am 80ef1745: am c06c3603: Merge "stagefright aacenc: Make the mem_malloc function 64-bit safe"

* commit '80ef1745d00c235b117e389e56e58210cf88e5c8':
  stagefright aacenc: Make the mem_malloc function 64-bit safe

13 years agoam 68e37dac: am 55f115a3: Merge "stagefright: Only use __int64 on MSVC, not on all...
Deckard Autoverifier [Mon, 18 Jul 2011 22:41:24 +0000 (15:41 -0700)]
am 68e37dac: am 55f115a3: Merge "stagefright: Only use __int64 on MSVC, not on all win32 compilers"

* commit '68e37dacc065eebb971d443722b7a8413ff403d6':
  stagefright: Only use __int64 on MSVC, not on all win32 compilers

13 years agoam 88409911: Merge "stagefright: Include stdlib.h for malloc/free"
Deckard Autoverifier [Mon, 18 Jul 2011 22:38:30 +0000 (15:38 -0700)]
am 88409911: Merge "stagefright: Include stdlib.h for malloc/free"

* commit '88409911aebed6c3663e51d51fca67f527c0c2fb':
  stagefright: Include stdlib.h for malloc/free

13 years agoam eb07c531: Merge "stagefright amrwbenc: Remove a duplicate, unused file"
Deckard Autoverifier [Mon, 18 Jul 2011 22:38:27 +0000 (15:38 -0700)]
am eb07c531: Merge "stagefright amrwbenc: Remove a duplicate, unused file"

* commit 'eb07c531498f4dc881ad2b4d1a32cacab25950ff':
  stagefright amrwbenc: Remove a duplicate, unused file

13 years agoam c06c3603: Merge "stagefright aacenc: Make the mem_malloc function 64-bit safe"
Deckard Autoverifier [Mon, 18 Jul 2011 22:38:25 +0000 (15:38 -0700)]
am c06c3603: Merge "stagefright aacenc: Make the mem_malloc function 64-bit safe"

* commit 'c06c3603e09a85136eb97d1d8ba1a49fcebae93b':
  stagefright aacenc: Make the mem_malloc function 64-bit safe

13 years agoam 55f115a3: Merge "stagefright: Only use __int64 on MSVC, not on all win32 compilers"
Deckard Autoverifier [Mon, 18 Jul 2011 22:38:22 +0000 (15:38 -0700)]
am 55f115a3: Merge "stagefright: Only use __int64 on MSVC, not on all win32 compilers"

* commit '55f115a3214343c826acf27fcbc4bf2927049083':
  stagefright: Only use __int64 on MSVC, not on all win32 compilers

13 years agoMerge "stagefright: Include stdlib.h for malloc/free"
Deckard Autoverifier [Mon, 18 Jul 2011 22:23:41 +0000 (15:23 -0700)]
Merge "stagefright: Include stdlib.h for malloc/free"

13 years agoMerge "stagefright amrwbenc: Remove a duplicate, unused file"
Deckard Autoverifier [Mon, 18 Jul 2011 22:23:31 +0000 (15:23 -0700)]
Merge "stagefright amrwbenc: Remove a duplicate, unused file"

13 years agoMerge "stagefright aacenc: Make the mem_malloc function 64-bit safe"
Deckard Autoverifier [Mon, 18 Jul 2011 22:23:20 +0000 (15:23 -0700)]
Merge "stagefright aacenc: Make the mem_malloc function 64-bit safe"

13 years agoMerge "stagefright: Only use __int64 on MSVC, not on all win32 compilers"
Deckard Autoverifier [Mon, 18 Jul 2011 22:23:09 +0000 (15:23 -0700)]
Merge "stagefright: Only use __int64 on MSVC, not on all win32 compilers"

13 years agoam 3edba93f: am 98fcc404: Merge "stagefright aacenc/amrwbenc: Remove trailing whitespace"
Conley Owens [Mon, 18 Jul 2011 19:44:57 +0000 (12:44 -0700)]
am 3edba93f: am 98fcc404: Merge "stagefright aacenc/amrwbenc: Remove trailing whitespace"

* commit '3edba93fd9bff8e2b22486271e6e816e3b233ae9':
  stagefright aacenc/amrwbenc: Remove trailing whitespace

13 years agoam 98fcc404: Merge "stagefright aacenc/amrwbenc: Remove trailing whitespace"
Conley Owens [Mon, 18 Jul 2011 19:42:42 +0000 (12:42 -0700)]
am 98fcc404: Merge "stagefright aacenc/amrwbenc: Remove trailing whitespace"

* commit '98fcc4041d35831c7a65a6e2f0e61021e0fb37e2':
  stagefright aacenc/amrwbenc: Remove trailing whitespace

13 years agoMerge "stagefright aacenc/amrwbenc: Remove trailing whitespace"
Conley Owens [Mon, 18 Jul 2011 19:37:16 +0000 (12:37 -0700)]
Merge "stagefright aacenc/amrwbenc: Remove trailing whitespace"

13 years agoam 01588aca: Merge "Preserve invariant that sService is not null (although NfcAdapter...
Nick Pelly [Thu, 14 Jul 2011 05:38:44 +0000 (22:38 -0700)]
am 01588aca: Merge "Preserve invariant that sService is not null (although NfcAdapter.get() can return null)" into gingerbread

* commit '01588acaf87cfe9916239b7b26cc6810e0097138':
  Preserve invariant that sService is not null (although NfcAdapter.get() can return null)

13 years agoam 9ff89495: am 53cf7858: Merge "Bluetooth: correcting return value from cancelDiscovery"
Jaikumar Ganesh [Wed, 13 Jul 2011 17:25:27 +0000 (10:25 -0700)]
am 9ff89495: am 53cf7858: Merge "Bluetooth: correcting return value from cancelDiscovery"

* commit '9ff89495a4890191a0bc5dfddf28f23f79f23698':
  Bluetooth: correcting return value from cancelDiscovery

13 years agoam 53cf7858: Merge "Bluetooth: correcting return value from cancelDiscovery"
Jaikumar Ganesh [Wed, 13 Jul 2011 17:22:40 +0000 (10:22 -0700)]
am 53cf7858: Merge "Bluetooth: correcting return value from cancelDiscovery"

* commit '53cf7858c3fd36082302efdc4d848925bcc0001e':
  Bluetooth: correcting return value from cancelDiscovery

13 years agoMerge "Bluetooth: correcting return value from cancelDiscovery"
Jaikumar Ganesh [Wed, 13 Jul 2011 17:04:19 +0000 (10:04 -0700)]
Merge "Bluetooth: correcting return value from cancelDiscovery"

13 years agoresolved conflicts for merge of 7816eded to gingerbread-plus-aosp
David 'Digit' Turner [Mon, 11 Jul 2011 22:57:09 +0000 (00:57 +0200)]
resolved conflicts for merge of 7816eded to gingerbread-plus-aosp

Change-Id: I1f7d1f488f6a86774962d427aca472a8a444e0aa

13 years agoMerge "Preserve invariant that sService is not null (although NfcAdapter.get() can...
Nick Pelly [Mon, 11 Jul 2011 18:07:22 +0000 (11:07 -0700)]
Merge "Preserve invariant that sService is not null (although NfcAdapter.get() can return null)" into gingerbread

13 years agoPreserve invariant that sService is not null (although NfcAdapter.get() can return...
Robert Tsai [Sun, 10 Jul 2011 06:57:22 +0000 (23:57 -0700)]
Preserve invariant that sService is not null (although NfcAdapter.get() can return null)

Change-Id: I85fcbc5e79549835dac255ce614bd5d65d39fc25

13 years agomerge intel x86 patches into gingerbread branch
David 'Digit' Turner [Fri, 8 Jul 2011 16:19:01 +0000 (18:19 +0200)]
merge intel x86 patches into gingerbread branch

13 years agoNativeDaemonConnector: Fix SDCard mounting bug in the emulator.
David 'Digit' Turner [Thu, 16 Jun 2011 15:40:23 +0000 (17:40 +0200)]
NativeDaemonConnector: Fix SDCard mounting bug in the emulator.

This patch fixes a really annoying bug that prevented the emulator
from properly mounting the SD Card.

The issue was that mOutputStream was not initialized when the onDaemonConnected
callbacks are called, just after the daemon's socket connection is established.

In one specific case (MountService a.k.a. VoldConnector), the corresponding
callback function immediately tried to perform a doCommandList() call on the
connector object. The request failed because mOutputStream was still defined
as null when it happened.

By moving the initialization of the variable just before the callback is
invoked, we ensure that things work properly.

Change-Id: I46726a50ef69eaafe70081ff4eda1244b744beba

13 years agoFix missing NL
Bruce Beare [Fri, 25 Jun 2010 16:08:12 +0000 (09:08 -0700)]
Fix missing NL

Orig-Change-Id: I323f0c01d2e9ad4c9f07cad24bf6b63edc28ad62
Signed-off-by: Bruce Beare <brucex.j.beare@intel.com>
13 years agoam 2b62c4fb: am 38bb0123: Merge "Added methods to support dns cache per interface"
Robert Greenwalt [Wed, 6 Jul 2011 14:42:19 +0000 (07:42 -0700)]
am 2b62c4fb: am 38bb0123: Merge "Added methods to support dns cache per interface"

* commit '2b62c4fbfeb7df0988bf216c50cd4a24f05add9f':
  Added methods to support dns cache per interface

13 years agoam 38bb0123: Merge "Added methods to support dns cache per interface"
Robert Greenwalt [Wed, 6 Jul 2011 14:35:02 +0000 (07:35 -0700)]
am 38bb0123: Merge "Added methods to support dns cache per interface"

* commit '38bb0123b8b9857c3119fd359739daf872f619d6':
  Added methods to support dns cache per interface

13 years agoMerge "Added methods to support dns cache per interface"
Robert Greenwalt [Fri, 1 Jul 2011 16:26:50 +0000 (09:26 -0700)]
Merge "Added methods to support dns cache per interface"

13 years agoam 9f2cbf14: am e06749e1: Merge "Add FLAG_AUTO_CANCEL flag for multiple supl notifica...
Conley Owens [Thu, 30 Jun 2011 15:22:10 +0000 (08:22 -0700)]
am 9f2cbf14: am e06749e1: Merge "Add FLAG_AUTO_CANCEL flag for multiple supl notifications."

* commit '9f2cbf14f8d79e6ed48ff9d76f6aaede45185418':
  Add FLAG_AUTO_CANCEL flag for multiple supl notifications.

13 years agoam e06749e1: Merge "Add FLAG_AUTO_CANCEL flag for multiple supl notifications."
Conley Owens [Thu, 30 Jun 2011 15:19:00 +0000 (08:19 -0700)]
am e06749e1: Merge "Add FLAG_AUTO_CANCEL flag for multiple supl notifications."

* commit 'e06749e14c1fb2d78540cba9548ee3b4b7b3b1d9':
  Add FLAG_AUTO_CANCEL flag for multiple supl notifications.

13 years agoMerge "Add FLAG_AUTO_CANCEL flag for multiple supl notifications."
Conley Owens [Thu, 30 Jun 2011 15:11:25 +0000 (08:11 -0700)]
Merge "Add FLAG_AUTO_CANCEL flag for multiple supl notifications."

13 years agoam 4d825e1f: Merge "Bring in more layout lib changes from hc-mr1." into gingerbread
Xavier Ducrohet [Wed, 29 Jun 2011 01:55:46 +0000 (18:55 -0700)]
am 4d825e1f: Merge "Bring in more layout lib changes from hc-mr1." into gingerbread

* commit '4d825e1f3bb6b52ecbea6f0c4aa2081b7f1edc89':
  Bring in more layout lib changes from hc-mr1.

13 years agoam 4753498d: Merge "CherryPick 06942bc4 from hc-mr1. do not merge." into gingerbread
Xavier Ducrohet [Wed, 29 Jun 2011 01:55:42 +0000 (18:55 -0700)]
am 4753498d: Merge "CherryPick 06942bc4 from hc-mr1. do not merge." into gingerbread

* commit '4753498d5c1ac3cf93b0730e77946a95b6913a82':
  CherryPick 06942bc4 from hc-mr1. do not merge.

13 years agoam 9918ffb0: Merge "CherryPick 988eeeb5 from hc-mr1. do not merge." into gingerbread
Xavier Ducrohet [Wed, 29 Jun 2011 01:53:54 +0000 (18:53 -0700)]
am 9918ffb0: Merge "CherryPick 988eeeb5 from hc-mr1. do not merge." into gingerbread

* commit '9918ffb07f47430e22f6e53576d59b599f5a3534':
  CherryPick 988eeeb5 from hc-mr1. do not merge.

13 years agoam 54146a63: Merge "DO NOT MERGE. may fix build on some version of gcc" into gingerbread
Xavier Ducrohet [Wed, 29 Jun 2011 01:53:51 +0000 (18:53 -0700)]
am 54146a63: Merge "DO NOT MERGE. may fix build on some version of gcc" into gingerbread

* commit '54146a634e0e66a5e4732ba1a80079a1e93bdd8a':
  DO NOT MERGE. may fix build on some version of gcc

13 years agoMerge "Bring in more layout lib changes from hc-mr1." into gingerbread
Xavier Ducrohet [Wed, 29 Jun 2011 01:53:15 +0000 (18:53 -0700)]
Merge "Bring in more layout lib changes from hc-mr1." into gingerbread

13 years agoMerge "CherryPick 06942bc4 from hc-mr1. do not merge." into gingerbread
Xavier Ducrohet [Wed, 29 Jun 2011 01:53:06 +0000 (18:53 -0700)]
Merge "CherryPick 06942bc4 from hc-mr1. do not merge." into gingerbread

13 years agoMerge "CherryPick 988eeeb5 from hc-mr1. do not merge." into gingerbread
Xavier Ducrohet [Wed, 29 Jun 2011 01:52:59 +0000 (18:52 -0700)]
Merge "CherryPick 988eeeb5 from hc-mr1. do not merge." into gingerbread

13 years agoMerge "DO NOT MERGE. may fix build on some version of gcc" into gingerbread
Xavier Ducrohet [Wed, 29 Jun 2011 01:52:43 +0000 (18:52 -0700)]
Merge "DO NOT MERGE. may fix build on some version of gcc" into gingerbread

13 years agoam 2f9ad8b4: Add intent actions for new firmware events.
mike wakerly [Wed, 29 Jun 2011 00:19:05 +0000 (17:19 -0700)]
am 2f9ad8b4: Add intent actions for new firmware events.

* commit '2f9ad8b499cb150d5cdfe84a9795992c5dd42cff':
  Add intent actions for new firmware events.

13 years agoAdd intent actions for new firmware events.
mike wakerly [Tue, 28 Jun 2011 00:29:30 +0000 (17:29 -0700)]
Add intent actions for new firmware events.

Change-Id: I8129b7812c0d551111f0c85eacc9535a441e5453

13 years agoAdd dependency generation to Aapt for R.java
Josiah Gaskin [Tue, 14 Jun 2011 20:57:09 +0000 (13:57 -0700)]
Add dependency generation to Aapt for R.java

Make Aapt generate a dependency file in the location specified
by RClassDir for R.java if the --generate-dependencies flag is set.
This dependency file is then read by the ant exec loop task
to see whether to recreate R.java.

Change-Id: I7152dac86b6ea0e448ef65e3a95694afe233c789

13 years agoCopy once-created R.java into library projects
Josiah Gaskin [Thu, 9 Jun 2011 02:31:40 +0000 (19:31 -0700)]
Copy once-created R.java into library projects

This change adds functionality in Aapt to allow specification of
library projects to copy the generated R.java file into rather
than regenerating the file for each library project.

Change-Id: I05939d1dc875bd875be9298ca47cb639235070c6

13 years agoam 4fea5373: Merge "Add WEBP to the list of Image formats that support Compression."
Jean-Baptiste Queru [Fri, 24 Jun 2011 18:33:46 +0000 (11:33 -0700)]
am 4fea5373: Merge "Add WEBP to the list of Image formats that support Compression."

* commit '4fea5373d350f5d855408ffaa41206b8fa743c55':
  Add WEBP to the list of Image formats that support Compression.

13 years agoam f458d5fd: Merge "Tweak for forward-compatibility"
Jean-Baptiste Queru [Fri, 24 Jun 2011 18:28:30 +0000 (11:28 -0700)]
am f458d5fd: Merge "Tweak for forward-compatibility"

* commit 'f458d5fdb8a48747d6fdd5fd0d0a44a6a8ed89e9':
  Tweak for forward-compatibility

13 years agoMerge "Add WEBP to the list of Image formats that support Compression."
Jean-Baptiste Queru [Fri, 24 Jun 2011 18:13:42 +0000 (11:13 -0700)]
Merge "Add WEBP to the list of Image formats that support Compression."

13 years agoMerge "Tweak for forward-compatibility"
Jean-Baptiste Queru [Fri, 24 Jun 2011 18:08:36 +0000 (11:08 -0700)]
Merge "Tweak for forward-compatibility"

13 years agoTweak for forward-compatibility
Jean-Baptiste Queru [Fri, 24 Jun 2011 17:49:18 +0000 (10:49 -0700)]
Tweak for forward-compatibility

Change-Id: Ic5e4d949c1c80a2ebdc2ec802c35b5d3d7f9661d

13 years agostagefright amrwbenc: Remove a duplicate, unused file
Martin Storsjo [Thu, 23 Jun 2011 07:04:21 +0000 (10:04 +0300)]
stagefright amrwbenc: Remove a duplicate, unused file

This file is identical to common/cmnMemory.c, and that's the
file that is used by all the makefiles, not this one.

Change-Id: I6a601c24a983285e55e5356bd5569853a1e2d7fe

13 years agoAdd WEBP to the list of Image formats that support Compression.
Vikas Arora [Thu, 23 Jun 2011 07:41:13 +0000 (13:11 +0530)]
Add WEBP to the list of Image formats that support Compression.

Note: The integrator of this change to Android internal code-repo will
have to run one extra step 'make update-api' to update 'api/current.txt'
file corresponding to approved API. The AOSP branch didn't have this
file, hence I could not add the same to this change. The updated file
'api/current.txt' has to be submitted along with this change.

Change-Id: I29909e907a2e82d801e16654322190a808c5bda9

13 years agoam e2b41b0d: Merge "Laoutlib_creator: keep original of delegate methods."
Raphael Moll [Thu, 23 Jun 2011 00:44:29 +0000 (17:44 -0700)]
am e2b41b0d: Merge "Laoutlib_creator: keep original of delegate methods."

* commit 'e2b41b0d5c8db85a60cd190c7094052db61114b2':
  Laoutlib_creator: keep original of delegate methods.

13 years agoMerge "Laoutlib_creator: keep original of delegate methods."
Raphael Moll [Thu, 23 Jun 2011 00:11:27 +0000 (17:11 -0700)]
Merge "Laoutlib_creator: keep original of delegate methods."

13 years agostagefright: Only use __int64 on MSVC, not on all win32 compilers
Martin Storsjo [Fri, 22 Apr 2011 19:48:25 +0000 (22:48 +0300)]
stagefright: Only use __int64 on MSVC, not on all win32 compilers

Change-Id: I9eef7e1cb762753b792ab602333dc5a2fd8a173c

13 years agostagefright aacenc: Make the mem_malloc function 64-bit safe
Martin Storsjo [Wed, 22 Dec 2010 21:16:35 +0000 (22:16 +0100)]
stagefright aacenc: Make the mem_malloc function 64-bit safe

Change-Id: I720109133bf5e13388b26a3bdbd66ff1f5320b70

13 years agostagefright: Include stdlib.h for malloc/free
Martin Storsjo [Wed, 22 Dec 2010 21:01:11 +0000 (22:01 +0100)]
stagefright: Include stdlib.h for malloc/free

According to ANSI C, malloc/free are provided by stdlib.h.

Also, string.h is always available according to ANSI C, and provides
the memset function, so there's no need to include it conditionally
for linux only.

This makes the code buildable on OS X, too.

Change-Id: Ie5d1da02158797e7e45dea257cbe3e4996dde4db

13 years agoam b38fa2a0: Merge "DO NOT MERGE Incoming Bluetooth Connection requests - dialog...
Jaikumar Ganesh [Tue, 21 Jun 2011 20:24:46 +0000 (13:24 -0700)]
am b38fa2a0: Merge "DO NOT MERGE Incoming Bluetooth Connection requests - dialog." into gingerbread

* commit 'b38fa2a0ac2bde56504929de6a3dd61ac723958e':
  DO NOT MERGE Incoming Bluetooth Connection requests - dialog.

13 years agoMerge "DO NOT MERGE Incoming Bluetooth Connection requests - dialog." into gingerbread
Jaikumar Ganesh [Tue, 21 Jun 2011 18:23:51 +0000 (11:23 -0700)]
Merge "DO NOT MERGE Incoming Bluetooth Connection requests - dialog." into gingerbread

13 years agoDO NOT MERGE Incoming Bluetooth Connection requests - dialog.
Jaikumar Ganesh [Fri, 17 Jun 2011 04:43:29 +0000 (21:43 -0700)]
DO NOT MERGE Incoming Bluetooth Connection requests - dialog.

This sends the intents to the Settings app to show
the dialogs for the incoming connection requests.

Change-Id: Ibe267f7cda28ce2a46c25800df2e8ac685b0b9e6

13 years agoam 17523abb: NFC Adapter Extras API update.
Nick Pelly [Mon, 20 Jun 2011 22:54:07 +0000 (15:54 -0700)]
am 17523abb: NFC Adapter Extras API update.

* commit '17523abb45b7f77f35af53e895d74be13f2314e0':
  NFC Adapter Extras API update.

13 years agoam bf5adfa5: Merge "Check if we are in daylight time when calculating timezone"
Conley Owens [Mon, 20 Jun 2011 20:04:45 +0000 (13:04 -0700)]
am bf5adfa5: Merge "Check if we are in daylight time when calculating timezone"

* commit 'bf5adfa5e558827fbb4771720433887bb3cbaefd':
  Check if we are in daylight time when calculating timezone

13 years agoMerge "Check if we are in daylight time when calculating timezone"
Conley Owens [Mon, 20 Jun 2011 18:01:41 +0000 (11:01 -0700)]
Merge "Check if we are in daylight time when calculating timezone"

13 years agoam e3b05d09: Merge "Tweaks for forward-compatibility"
Jean-Baptiste Queru [Mon, 20 Jun 2011 16:05:07 +0000 (09:05 -0700)]
am e3b05d09: Merge "Tweaks for forward-compatibility"

* commit 'e3b05d09163257b888c86f2a560e10c48f4cf029':
  Tweaks for forward-compatibility

13 years agoMerge "Tweaks for forward-compatibility"
Jean-Baptiste Queru [Sat, 18 Jun 2011 16:45:53 +0000 (09:45 -0700)]
Merge "Tweaks for forward-compatibility"

13 years agoTweaks for forward-compatibility
Jean-Baptiste Queru [Sat, 18 Jun 2011 16:42:04 +0000 (09:42 -0700)]
Tweaks for forward-compatibility

Change-Id: Iec525edc186e78d5d865f82dd5b1f56263c22e86

13 years agoLaoutlib_creator: keep original of delegate methods.
Raphael Moll [Sat, 18 Jun 2011 00:12:52 +0000 (17:12 -0700)]
Laoutlib_creator: keep original of delegate methods.

For specific methods, Layoublib_create can rewrite the implementation
of a method to invoke a delegate instead of the original code. This
allows layoutlib to implement native code or override existing behavior.

This patch also 'saves' the original implementation of a rewritten
method so that the delegate can access the original implementation
as needed. Obviously this is only done for non-native methods.

Given a non-native SomeClass.MethodName, we generate 2 methods:
- A copy of the original method named "SomeClass.MethodName_original".
  The content is the original method as-is from the reader.
- A brand new implementation of SomeClass.MethodName which calls to a
  non-existing method named "SomeClass_delegate.MethodName".
  The implementation of this 'delegate' method is done in layoutlib_brigde.

Change-Id: I5ca2cd3ac55991a8e8a51c417e75ee447bf9e9e6

13 years agoNFC Adapter Extras API update.
Nick Pelly [Fri, 17 Jun 2011 17:56:39 +0000 (10:56 -0700)]
NFC Adapter Extras API update.

Remove
o registerTearDownApdus()
o deregisterTearDownApdus()
They were already NO-OPS, and don't work in the general case.

Add
o authenticate(byte[] token)
This future proofs us for a more flexible access control scheme.

Change-Id: I4cb67ceeb63d61cbc333c9b244a96d8687402168

13 years agoBring in more layout lib changes from hc-mr1.
Xavier Ducrohet [Fri, 10 Jun 2011 02:14:06 +0000 (19:14 -0700)]
Bring in more layout lib changes from hc-mr1.

fe051bb2 : Change the way the layoutlib instantiate its XmlPullParser.

A lot of the init code was duplicated so I made a ParserFactory class.

Also created an extension of the KXmlPullParser to override toString().
This allows easier debugging when dealing with multiple parsers (which
is always the case).

Also added some (disabled) debugging printf to deal with parser stack
as it can be tricky figuring out which parsers are in the stack at
which point.

8969147c : Fix case where the int[] attrs doesn't directly match a styleable.

In the case of the FastScroller the int[] is a custom mix of attr
instead of a int[] that exists as R.styleable.foo.

This makes our reflection based mechanism used to find the styleable
fail, so instead we search for each attribute separately (like
we probably should have done from the beginning).

0c264b35: Fix various cases of getDimension to report error if unit is missing.

if getDimention###() is called for a string that has no unit,
then an error is output through LayoutLog, but the rendering keeps
going by using dp as a default.

0beb7eea: Make (Bridge)TypedArray.getInteger() call out to getInt()

Only getInt() resolved attribute flags/enum and I'm not sure why
there's two to begin with.

Change-Id: I015111263d2a2bee76834978ae71eef79defdae3

13 years agoCherryPick 06942bc4 from hc-mr1. do not merge.
Xavier Ducrohet [Wed, 8 Jun 2011 00:48:35 +0000 (17:48 -0700)]
CherryPick 06942bc4 from hc-mr1. do not merge.

Layoutlib - use the new getParser callback when possible.

Change-Id: I72b867aa573fcc07d610f139da3c90b1b654633c

13 years agoCherryPick 988eeeb5 from hc-mr1. do not merge.
Xavier Ducrohet [Wed, 8 Jun 2011 00:03:10 +0000 (17:03 -0700)]
CherryPick 988eeeb5 from hc-mr1. do not merge.

Support for custom declare-styleable attr with enum/flag in layoutlib.

Change-Id: I8a5b7cc629d61996ffade9aabd9d4d10961eb411

13 years agoDO NOT MERGE. may fix build on some version of gcc
Mathias Agopian [Tue, 14 Jun 2011 18:50:22 +0000 (11:50 -0700)]
DO NOT MERGE. may fix build on some version of gcc

Change-Id: Id99d390862731fd3fbc009dbffdf1d2a59dbe348

13 years agoam d76baeb4: Merge "Import revised Croatian translations." into gingerbread
Maarten Hooft [Thu, 16 Jun 2011 22:48:55 +0000 (15:48 -0700)]
am d76baeb4: Merge "Import revised Croatian translations." into gingerbread

* commit 'd76baeb4d836c33cc68cbb0c2e237c066f368529':
  Import revised Croatian translations.

13 years agoMerge "Import revised Croatian translations." into gingerbread
Maarten Hooft [Thu, 16 Jun 2011 22:41:20 +0000 (15:41 -0700)]
Merge "Import revised Croatian translations." into gingerbread

13 years agoam df1734e3: Fix lease duration handling
Irfan Sheriff [Wed, 15 Jun 2011 23:29:02 +0000 (16:29 -0700)]
am df1734e3: Fix lease duration handling

* commit 'df1734e3f57646df1fa96275cbb65bb91ac9d2ac':
  Fix lease duration handling

13 years agoam afffa8fa: fix RefBase so it retains binary-compatibility with gingerbread (DO...
Mathias Agopian [Wed, 15 Jun 2011 21:13:04 +0000 (14:13 -0700)]
am afffa8fa: fix RefBase so it retains binary-compatibility with gingerbread (DO NOT MERGE)

* commit 'afffa8fa9f82a7343e1158bf921931fd3e3df615':
  fix RefBase so it retains binary-compatibility with gingerbread (DO NOT MERGE)

13 years agoFix lease duration handling
Irfan Sheriff [Wed, 15 Jun 2011 16:28:23 +0000 (09:28 -0700)]
Fix lease duration handling

We need to convert lease duration from int to long before
converting into milliseconds

Also add basic sanity check

Bug: 4561231
Change-Id: I9bcafaa798a04c8de3f2c1897dc5b3c4ae245672

13 years agoImport revised Croatian translations.
Eric Fischer [Wed, 15 Jun 2011 19:10:52 +0000 (12:10 -0700)]
Import revised Croatian translations.

Change-Id: I9fb9bf6796d19e4b419381a0dd398f53bf2e879f

13 years agoresolved conflicts for merge of d027329c to gingerbread-plus-aosp
Marco Nelissen [Wed, 15 Jun 2011 15:33:09 +0000 (08:33 -0700)]
resolved conflicts for merge of d027329c to gingerbread-plus-aosp

Change-Id: I169c415bf998b9935ab36812511573db05717b91

13 years agoAdd FLAG_AUTO_CANCEL flag for multiple supl notifications.
Anshuman Pandey [Tue, 1 Mar 2011 06:39:08 +0000 (12:09 +0530)]
Add FLAG_AUTO_CANCEL flag for multiple supl notifications.

Added FLAG_AUTO_CANCEL to notification flags in GpsNetInitiatedHandler.java.
This is done to clear consecutive notifications in UI

Change-Id: I84be36af0b556f43ffd7d51ac04ff12300090ca5
Signed-off-by: Anshuman Pandey <anshuman.pandey@stericsson.com>
Signed-off-by: Christian Bejram <christian.bejram@stericsson.com>
13 years agofix RefBase so it retains binary-compatibility with gingerbread (DO NOT MERGE)
Mathias Agopian [Mon, 13 Jun 2011 01:05:53 +0000 (18:05 -0700)]
fix RefBase so it retains binary-compatibility with gingerbread (DO NOT MERGE)

Bug: 4595257
Change-Id: I4773cf4fe59b2509db0ed733739eb6961d473b25

13 years agoam 8688d470: Moving flag to a member field instead of a stack variable.
Dan Morrill [Sat, 11 Jun 2011 16:52:50 +0000 (09:52 -0700)]
am 8688d470: Moving flag to a member field instead of a stack variable.

* commit '8688d4708117db446d6ba2855f1d8ad715bb4d72':
  Moving flag to a member field instead of a stack variable.

13 years agoIgnore duplicate WAP push PDU source/destination port if configured
Soojung Shin [Fri, 10 Jun 2011 12:37:23 +0000 (21:37 +0900)]
Ignore duplicate WAP push PDU source/destination port if configured

Some carriers duplicate the OMADM wap push PDU source/destination
port.

e.g. MSGTYPE-TotalSegments-CurrentSegment
     -SourcePortDestPort-SourcePortDestPort-OMADM PDU

So the client has to ignore the duplicate source/destination
port.

Change-Id: I83df6e8e7d2e2e4275036a1b574247f9f40c5cf4
Signed-off-by: Soojung Shin <sj46.shin@samsung.com>
13 years agoMoving flag to a member field instead of a stack variable.
Dan Morrill [Fri, 10 Jun 2011 17:44:01 +0000 (10:44 -0700)]
Moving flag to a member field instead of a stack variable.

Change-Id: I2b281ec4d424f2c4286fb0bc8db263e3893ad898

13 years agoam a1a107b8: Merge "Adding a new config value used to tell StatusBarPolicy to always...
Dan Morrill [Thu, 9 Jun 2011 21:52:40 +0000 (14:52 -0700)]
am a1a107b8: Merge "Adding a new config value used to tell StatusBarPolicy to always use CDMA signal strength value even when on EVDO. Default is off, but devices that need to can override it." into gingerbread

* commit 'a1a107b8cb8cbb7eea796f375eb72958e8b148e3':
  Adding a new config value used to tell StatusBarPolicy to always use CDMA signal strength value even when on EVDO. Default is off, but devices that need to can override it.

13 years agoMerge "Adding a new config value used to tell StatusBarPolicy to always use CDMA...
Dan Morrill [Thu, 9 Jun 2011 21:43:58 +0000 (14:43 -0700)]
Merge "Adding a new config value used to tell StatusBarPolicy to always use CDMA signal strength value even when on EVDO. Default is off, but devices that need to can override it." into gingerbread

13 years agoam d8b027b1: Merge "stagefright aacenc/amrwbenc: Convert line breaks to Unix style"
Conley Owens [Thu, 9 Jun 2011 19:14:11 +0000 (12:14 -0700)]
am d8b027b1: Merge "stagefright aacenc/amrwbenc: Convert line breaks to Unix style"

* commit 'd8b027b18f5a922ef729c6ee363eecb053358d47':
  stagefright aacenc/amrwbenc: Convert line breaks to Unix style

13 years agoMerge "stagefright aacenc/amrwbenc: Convert line breaks to Unix style"
Conley Owens [Thu, 9 Jun 2011 18:12:04 +0000 (11:12 -0700)]
Merge "stagefright aacenc/amrwbenc: Convert line breaks to Unix style"

13 years agoam a02d9bf9: Make sure we don\'t read from invalid fds
Marco Nelissen [Thu, 9 Jun 2011 17:36:24 +0000 (10:36 -0700)]
am a02d9bf9: Make sure we don\'t read from invalid fds

* commit 'a02d9bf9c3ff22cd449da21ff7c23170488ebd8e':
  Make sure we don't read from invalid fds