Commit Graph

20022 Commits

Author SHA1 Message Date
Yu Shan Emily Lau
c1b80cb7e3 Changes in mediaframework test for the OpenCore 2.0 integration. Changes included:
1) The default value for the metatData
2) Add the videoSizedChange callback to get the video dimension
Added the test cases for the async reset callback test case for the Qualcomm new realease.
2009-05-05 17:29:53 -07:00
Android (Google) Code Review
39a8bb2632 am 3ed8b3d: Merge change 1018 into donut
Merge commit '3ed8b3dc42800068951332aea024f9737c25a0ed'

* commit '3ed8b3dc42800068951332aea024f9737c25a0ed':
  If no battery stats are found, return status_unknown
2009-05-05 16:18:25 -07:00
Android (Google) Code Review
dccc39b17a Merge change 777 into donut
* changes:
  Rewrite SyncStorageEngine to use flat files and in-memory data structures.
2009-05-05 16:17:25 -07:00
Android (Google) Code Review
3ed8b3dc42 Merge change 1018 into donut
* changes:
  If no battery stats are found, return status_unknown
2009-05-05 16:15:53 -07:00
Rebecca Schultz Zavin
e7e6fa3fbf If no battery stats are found, return status_unknown
If the battery files can't be found return status_unkown instead of an
error.  On systems where we haven't brought up battery stats yet they
assume the battery is dead and turn off as soon as the runtime starts

Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
2009-05-05 16:15:36 -07:00
Christopher Tate
17ac18e280 am f417247: Further development of backup file handling
Merge commit 'f417247fa68524f2f34960f7389168eed7eb4a88'

* commit 'f417247fa68524f2f34960f7389168eed7eb4a88':
  Further development of backup file handling
2009-05-05 16:14:39 -07:00
Christopher Tate
f417247fa6 Further development of backup file handling
Put backup data in flight into /cache
    Close the files and delete the intermediates after backup pass
2009-05-05 15:50:03 -07:00
Dianne Hackborn
231cc608d0 Rewrite SyncStorageEngine to use flat files and in-memory data structures.
The previous implementation used a database for storing all of its state, which could cause
a significant amount of IO activity as its tables were updated through the stages of a sync.
This new implementation replaces that in-memory data structures, with hand-written code
for writing them to persistent storage.

There are now 4 files associated with this class, holding various pieces of its state that
should be consistent.  These are everything from a main XML file of account information that
must always be retained, to a binary file of per-day statistics that can be thrown away at
any time.  Writes of these files as scheduled at various times based on their importance of
the frequency at which they change.

Because the database no longer exists, there needs to be a new explicit interface for
interacting with the sync manager database.  This is provided by new APIs on IContentService,
with a hidden method on ContentResolver to retrieve the IContentService so that various
system entities can use it.  Other changes in other projects are required to update to the
new API.

The goal here is to have as little an impact on the code and functionality outside of
SyncStorageEngine, though due to the necessary change in API it is still somewhat extensive.
2009-05-05 15:40:53 -07:00
Guang Zhu
1871fe0faa added reliability test usding DumpRenderTree 2009-05-05 14:13:52 -07:00
Android (Google) Code Review
f8e0169b78 am 06d9602: Merge change 1000 into donut
Merge commit '06d96020c35dac2bf1651cb8bd4cfced911f1142'

* commit '06d96020c35dac2bf1651cb8bd4cfced911f1142':
  Ignore layout bin directories in git.
2009-05-05 13:47:39 -07:00
Joe Onorato
3ad977b41c Add some C++ code to do raw files for backup 2009-05-05 13:45:25 -07:00
Android (Google) Code Review
06d96020c3 Merge change 1000 into donut
* changes:
  Ignore layout bin directories in git.
2009-05-05 13:45:05 -07:00
Raphael
33fbd3bee0 Ignore layout bin directories in git. 2009-05-05 12:39:28 -07:00
Scott Main
092578c8c1 am ad5aaea: am 0c11b99: AI 148308: revise aidl support documentation --
Merge commit 'ad5aaea2c5bda0a73c1bc0ae99f17f700e952907'

* commit 'ad5aaea2c5bda0a73c1bc0ae99f17f700e952907':
  AI 148308: revise aidl support documentation -- now the same in all environments;
2009-05-05 11:28:30 -07:00
Scott Main
ad5aaea2c5 am 0c11b99: AI 148308: revise aidl support documentation -- now the same
Merge commit '0c11b990908df26aca7f017d330535b9bf21a903' into donut

* commit '0c11b990908df26aca7f017d330535b9bf21a903':
  AI 148308: revise aidl support documentation -- now the same in all environments;
2009-05-05 11:25:38 -07:00
Scott Main
0c11b99090 AI 148308: revise aidl support documentation -- now the same in all environments;
also added a table of contents and tweaked the markup for the anchor links
  BUG=1760241

Automated import of CL 148308
2009-05-05 11:23:54 -07:00
Android (Google) Code Review
449ea2b628 am 0c0221b: Merge change 972 into donut
Merge commit '0c0221b86b518630f8210060438bc31433e175f9'

* commit '0c0221b86b518630f8210060438bc31433e175f9':
  Back-merge all changes done in master to DumpRenderTree to donut.
2009-05-05 11:16:46 -07:00
Android (Google) Code Review
0c0221b86b Merge change 972 into donut
* changes:
  Back-merge all changes done in master to DumpRenderTree to donut.
2009-05-05 11:16:17 -07:00
Christopher Tate
3cbab32afe am 22b8787: Squashed commit of the following:
Merge commit '22b8787ed4be8d4b7ed5d54802f9913fedb41425'

* commit '22b8787ed4be8d4b7ed5d54802f9913fedb41425':
  Squashed commit of the following:
2009-05-05 10:51:45 -07:00
Android (Google) Code Review
545ac3a040 Merge change 970
* changes:
  fix the bug of testStartupTime in MediaPlayerPerformance test throws exception for an existing table
2009-05-05 10:23:05 -07:00
Cyril Mottier
238ebb6594 Add of Javadoc comments on undocumented methods.
Use of a constant defined in SensorManager for computing deceleration.
2009-05-05 18:13:48 +02:00
Guang Zhu
b933f669e2 Back-merge all changes done in master to DumpRenderTree to donut. 2009-05-05 01:02:14 -07:00
Mathias Agopian
e633f9339a get rid of android_native_buffer_t::getHandle() and replace it with an handle field
this abstraction was not necessary. things are easier now.
2009-05-05 00:59:23 -07:00
Mathias Agopian
430f2ed5c0 removed the "bits" attribute from android_native_buffer_t.
"bits" can never be trusted now that we need to call lock() on the handle to get the virtual address of the buffer.
2009-05-05 00:37:46 -07:00
Xia Wang
568d91bddc fix the bug of testStartupTime in MediaPlayerPerformance test throws exception for an existing table 2009-05-04 20:30:04 -07:00
Christopher Tate
22b8787ed4 Squashed commit of the following:
Author: Christopher Tate <ctate@google.com>
Date:   Mon May 4 16:38:11 2009 -0700

    IBackupService now passes ParcelFileDescriptors rather than int fds

    The outlines of backup state file / data file handling are now in place as well
    in the BackupManagerService.

Author: Christopher Tate <ctate@google.com>
Date:   Thu Apr 30 12:40:19 2009 -0700

    Hide the backup stuff for now

    Also adjust based on comments:
    + changed service intent string to conform to usage guidelines
    + only publish the IBackupService binder when invoked with the right
      intent action
    + docs tweaks
2009-05-04 20:19:21 -07:00
Mathias Agopian
6279619e42 minor clean-up in FramebufferNativeWindow 2009-05-04 19:38:43 -07:00
Android (Google) Code Review
2d23cbfc0d am 6362741: Merge change 966 into donut
Merge commit '636274185ed5ee75faf6ef4d84bbb7d5b0371248'

* commit '636274185ed5ee75faf6ef4d84bbb7d5b0371248':
  Fixes 1830181. Tapping disabled items in a ListView would cause the framework to take a code path that wasn't resetting the mMotionCorrection variable if it had been previously set. This would force ListView to apply a scroll to its children even though it was unnecessary. This simple fix prevents the issue by resetting mMotionCorrection appropriately.
2009-05-04 17:57:06 -07:00
Android (Google) Code Review
636274185e Merge change 966 into donut
* changes:
  Fixes 1830181. Tapping disabled items in a ListView would cause the framework to take a code path that wasn't resetting the mMotionCorrection variable if it had been previously set. This would force ListView to apply a scroll to its children even though it was unnecessary. This simple fix prevents the issue by resetting mMotionCorrection appropriately.
2009-05-04 17:54:39 -07:00
Romain Guy
20fb46fa1e Fixes 1830181. Tapping disabled items in a ListView would cause the framework to take a code path that wasn't resetting the mMotionCorrection variable if it had been previously set. This would force ListView to apply a scroll to its children even though it was unnecessary. This simple fix prevents the issue by resetting mMotionCorrection appropriately. 2009-05-04 17:45:59 -07:00
Android (Google) Code Review
176ef2dfa4 am 1ab6e21: Merge change 909 into donut
Merge commit '1ab6e21237fc9f436be002d4f3821fce963a0a2a'

* commit '1ab6e21237fc9f436be002d4f3821fce963a0a2a':
  Let screenOrientation="behind" works as expected
2009-05-04 17:20:31 -07:00
Android (Google) Code Review
1ab6e21237 Merge change 909 into donut
* changes:
  Let screenOrientation="behind" works as expected
2009-05-04 17:19:06 -07:00
Android (Google) Code Review
4b72c1eb9f am b7ce28c: Merge change 962 into donut
Merge commit 'b7ce28c64cc2f7250b02021f8a4cd3874155bee8'

* commit 'b7ce28c64cc2f7250b02021f8a4cd3874155bee8':
  Fixes #1603191. GridView could provoke NPEs during layout passes initiated from key events.
2009-05-04 17:00:13 -07:00
Android (Google) Code Review
b7ce28c64c Merge change 962 into donut
* changes:
  Fixes #1603191. GridView could provoke NPEs during layout passes initiated from key events.
2009-05-04 16:59:12 -07:00
Romain Guy
51d154b82b Fixes #1603191. GridView could provoke NPEs during layout passes initiated from key events. 2009-05-04 16:24:39 -07:00
Android (Google) Code Review
d52d8dee77 am 2c9eec6: Merge change 952 into donut
Merge commit '2c9eec6b1d072a665b17dd4285260aa4d4fadcf4'

* commit '2c9eec6b1d072a665b17dd4285260aa4d4fadcf4':
  Debug: Minor cleanup
2009-05-04 16:22:33 -07:00
Android (Google) Code Review
2c9eec6b1d Merge change 952 into donut
* changes:
  Debug: Minor cleanup
2009-05-04 16:20:14 -07:00
Dave Bort
e9bfd9b873 Debug: Minor cleanup
Address crazybob's comments.

Avoid referring to a static in one of the helper methods.
2009-05-04 16:16:47 -07:00
Android (Google) Code Review
4cc03076c2 am 724561c: Merge change 949 into donut
Merge commit '724561cc20e259888986cbb0be2fdab4d142d869'

* commit '724561cc20e259888986cbb0be2fdab4d142d869':
  Fixes external #2575 (http://code.google.com/p/android/issues/detail?id=2575). HorizontalScrollView was comparing the measured height of its child to its width.
2009-05-04 15:32:39 -07:00
Android (Google) Code Review
724561cc20 Merge change 949 into donut
* changes:
  Fixes external #2575 (http://code.google.com/p/android/issues/detail?id=2575). HorizontalScrollView was comparing the measured height of its child to its width.
2009-05-04 15:30:35 -07:00
Android (Google) Code Review
0003a522c1 am beb2498: Merge change 956 into donut
Merge commit 'beb2498ead68ca230fd13b7546a8eef7b6818e7b'

* commit 'beb2498ead68ca230fd13b7546a8eef7b6818e7b':
  Fixes #1827988. Prevent marquee text from constantly rescaling itself in Market
2009-05-04 15:12:58 -07:00
Android (Google) Code Review
beb2498ead Merge change 956 into donut
* changes:
  Fixes #1827988. Prevent marquee text from constantly rescaling itself in Market
2009-05-04 15:09:47 -07:00
Romain Guy
3373ed62d1 Fixes #1827988. Prevent marquee text from constantly rescaling itself in Market 2009-05-04 15:05:22 -07:00
Mathias Agopian
dff8e58d47 update surfaceflinger, libui and libagl to the new gralloc api
- Currently the lock/unlock path is naive and is done for each drawing operation (glDrawElements and glDrawArrays). this should be improved eventually.
- factor all the lock/unlock code in SurfaceBuffer.
- fixed "showupdate" so it works even when we don't have preserving eglSwapBuffers().
- improved the situation with the dirty-region and fixed a problem that caused GL apps to not update.
- make use of LightRefBase() where needed, instead of duplicating its implementation
- add LightRefBase::getStrongCount()
- renamed EGLNativeWindowSurface.cpp to FramebufferNativeWindow.cpp

- disabled copybits test, since it clashes with the new gralloc api

- Camera/Video will be fixed later when we rework the overlay apis
2009-05-04 14:17:04 -07:00
Romain Guy
f83f59f4af Fixes external #2575 (http://code.google.com/p/android/issues/detail?id=2575). HorizontalScrollView was comparing the measured height of its child to its width. 2009-05-04 14:15:23 -07:00
Android (Google) Code Review
c34c8c6fa1 am 7ff9436: Merge change 911 into donut
Merge commit '7ff943673e48a912eb7cc5add08e206c2c25d68e'

* commit '7ff943673e48a912eb7cc5add08e206c2c25d68e':
  Debug: Add setPropertiesOn(), and @hide it for now
2009-05-04 14:04:52 -07:00
Android (Google) Code Review
7ff943673e Merge change 911 into donut
* changes:
  Debug: Add setPropertiesOn(), and @hide it for now
2009-05-04 14:03:40 -07:00
Scott Main
0550e41c3f am 5c6f93f: am eb086d6: AI 148270: remove references to AbsoluteLayout b
Merge commit '5c6f93f1422647c7f914a15bfad00992685c3eac'

* commit '5c6f93f1422647c7f914a15bfad00992685c3eac':
  AI 148270: remove references to AbsoluteLayout because it's been deprecated
2009-05-04 13:27:02 -07:00
Wu-cheng Li
1e38d86034 am fa3e556: Change error message.
Merge commit 'fa3e5562793c5bd7d4513a9e1a5869e763a47ab5'

* commit 'fa3e5562793c5bd7d4513a9e1a5869e763a47ab5':
  Change error message.
2009-05-04 13:27:00 -07:00
Romain Guy
bf61e19b64 am 6a1ae64: Fix another HTML formatting in android.os.AsyncTask
Merge commit '6a1ae64f7735a3817713a223096bf8034f78a620'

* commit '6a1ae64f7735a3817713a223096bf8034f78a620':
  Fix another HTML formatting in android.os.AsyncTask
2009-05-04 13:26:59 -07:00