summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Improve InstrumentationTestRunner exception handling." into gingerbreadBrett Chabot2010-07-082-3/+63
|\
| * Improve InstrumentationTestRunner exception handling.Brett Chabot2010-07-072-3/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit fixes two somewhat related problems: - Attempting to run a method which does not exist caused a runtime exception which stopped the test run. Change this so the runner reports an individual test failure instead - A runtime exception during the test run would cause it to stop completely, with no information dumped to the logcat or stdout. Now exceptions are trapped and reported to stdout. Also added associated unit tests to test these two conditions. Related bug 2812262. Change-Id: I383f9b9bad99f14cb51071800fa9bdbf6a6a1119
* | Merge "Add new glue code for writing native apps." into gingerbreadDianne Hackborn2010-07-0812-97/+757
|\ \
| * | Add new glue code for writing native apps.Dianne Hackborn2010-07-0812-97/+757
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This factors out the boiler-plate code from the sample app to a common glue code that can be used for everyone writing this style of app: a dedicated app thread that takes care of waiting for events and processing them. As part of doing this, ALooper has a new facility to allow registration of fds that cause ALooper_pollOnce() to return the fd that has data, allowing the app to drive the loop without callbacks. Hopefully this makes some people feel better. :) Also do some other cleanup of the ALooper API, plus some actual documentation. Change-Id: Ic53bd56bdf627e3ba28a3c093faa06a92be522b8
* | | Merge "Change CursorTreeAdapter to close the cursors rather than ↵Jason Parks2010-07-082-32/+31
|\ \ \ | | | | | | | | | | | | deactivating them. Fix SimpleCursorTreeAdapter to allow a null cursor as an argument." into gingerbread
| * | | Change CursorTreeAdapter to close the cursors rather than deactivating them. ↵Jason Parks2010-07-082-32/+31
| | | | | | | | | | | | | | | | | | | | | | | | Fix SimpleCursorTreeAdapter to allow a null cursor as an argument. Not closing the cursors was a bit of a bug since the documenation explicitly says that it would close the cursors. This will get rid of all the warnings that are printed out in the finalizer about the cursor not being closed.
* | | | am 286cf139: docs: add redirect for download.htmlScott Main2010-07-081-0/+4
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | | | | | | | | | Merge commit '286cf139c3c33c99c1ec5e434ee1de5e10238e62' into gingerbread * commit '286cf139c3c33c99c1ec5e434ee1de5e10238e62': docs: add redirect for download.html
| * | | docs: add redirect for download.htmlScott Main2010-07-081-0/+4
| | | | | | | | | | | | | | | | Change-Id: Id54f1899c1933796524d6c2b5e991a652b354287
* | | | Use fullScreenIntent to show the USB mass storage dialog.Daniel Sandler2010-07-081-15/+17
| |/ / |/| | | | | | | | | | | | | | | | | | | | | | | Note that this is not a FLAG_HIGH_PRIORITY notification. In immersive mode the UMS dialog will be suppressed entirely (but an icon will still appear in the status bar). Bug: 2821219 Change-Id: I21f910c8830aff8d0633deda4eb59dbda13262ed
* | | Merge "Remove voice mail number verification for testing on no-sim device" ↵Xia Wang2010-07-071-1/+3
|\ \ \ | | | | | | | | | | | | into gingerbread
| * | | Remove voice mail number verification for testing on no-sim deviceXia Wang2010-07-071-1/+3
| | | | | | | | | | | | | | | | Change-Id: Iaf9e419b8d03e330864d64c05aee730d33994003
* | | | am 5183ae3b: Merge "docs: add caution about adt in eclipse 3.6" into froyoScott Main2010-07-072-0/+6
|\ \ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | Merge commit '5183ae3b0f27dfff5ecdceabaa4950eef38b31e8' into gingerbread * commit '5183ae3b0f27dfff5ecdceabaa4950eef38b31e8': docs: add caution about adt in eclipse 3.6
| * | | Merge "docs: add caution about adt in eclipse 3.6" into froyoScott Main2010-07-072-0/+6
| |\ \ \
| | * | | docs: add caution about adt in eclipse 3.6Scott Main2010-07-072-0/+6
| | | | | | | | | | | | | | | | | | | | Change-Id: I37c920f6a5290d891c4a6dea5978147a50eec807
* | | | | Merge "OBB API for PackageManager" into gingerbreadKenny Root2010-07-076-0/+75
|\ \ \ \ \
| * | | | | OBB API for PackageManagerKenny Root2010-07-076-0/+75
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Simple API for tracking .obb files associated with packages. Stores the path in the PackageSettings. No verification of file content is done now since the PackageManagerService can't read the SD card where these files will likely live. Change-Id: Ibeaf26ba0526b6d60f401137e58f46ee9faff39e
* | | | | | Merge "Add OBB file helper class" into gingerbreadKenny Root2010-07-075-0/+453
|\ \ \ \ \ \ | |/ / / / /
| * | | | | Add OBB file helper classKenny Root2010-07-075-0/+453
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ObbFile is a binary blob that will be used in packaging large files with smaller APKs. Change-Id: Ib1594346cfa2f49113de6565af77c24efbd89d63
* | | | | | Merge "More native input dispatch work." into gingerbreadChris Tate2010-07-0723-6095/+895
|\ \ \ \ \ \ | |_|_|_|/ / |/| | | | |
| * | | | | More native input dispatch work.Jeff Brown2010-07-0323-6095/+895
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Removed old input dispatch code. Refactored the policy callbacks. Pushed a tiny bit of the power manager state down to native. Fixed long press on MENU. Made the virtual key detection and cancelation a bit more precise. Change-Id: I5d8c1062f7ea0ab3b54c6fadb058c4d5f5a9e02e
* | | | | | Added some javadoc to Camera.takePicture()Dan Tasse2010-07-071-0/+2
| |_|_|_|/ |/| | | | | | | | | | | | | | Change-Id: I62597a1417647eeac7611eaccd0df3bda210e3e7
* | | | | Merge "Added Visualizer effect." into gingerbreadEric Laurent2010-07-0722-623/+2499
|\ \ \ \ \
| * | | | | Added Visualizer effect.Eric Laurent2010-07-0722-623/+2499
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The visualizer enables application to retrieve part of the currently playing audio for visualization purpose. It is not an audio recording interface and only returns partial and low quality audio content as a waveform or a frequency representation (FFT). Removed temporary hack made in MediaPlayer for animated wall papers based on audio visualization (snoop() method. This commit also includes a change in AudioEffect class: - the enable()/disable() methods have been replaced bya more standard setEnabled() method. - some fixes in javadoc Change-Id: Id092a1340e9e38dae68646ade7be054e3a36980e
* | | | | | am 2651504c: (-s ours) Merge "Doc change: Add revision notes for Android ↵Dirk Dougherty2010-07-070-0/+0
|\ \ \ \ \ \ | | |_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2.2_r2 development platform. Fix some umappable characters in WebView class doc." into froyo Merge commit '2651504c020f07847bafa3d539c36f1396629669' into gingerbread * commit '2651504c020f07847bafa3d539c36f1396629669': Doc change: Add revision notes for Android 2.2_r2 development platform. Fix some umappable characters in WebView class doc.
| * | | | | Merge "Doc change: Add revision notes for Android 2.2_r2 development ↵Dirk Dougherty2010-07-072-8/+30
| |\ \ \ \ \ | | |_|_|_|/ | |/| | | | | | | | | | platform. Fix some umappable characters in WebView class doc." into froyo
| | * | | | Doc change: Add revision notes for Android 2.2_r2 development platform. Fix ↵Dirk Dougherty2010-07-022-8/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | some umappable characters in WebView class doc. Change-Id: I5522406335fbf96164a5b812ec4891c499343d1e
* | | | | | Merge "Allow application to set two more encoding paramters: video profile ↵James Dong2010-07-075-15/+143
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | and level" into gingerbread
| * | | | | | Allow application to set two more encoding paramters: video profile and levelJames Dong2010-07-075-15/+143
| | |_|_|_|/ | |/| | | | | | | | | | | | | | | | Change-Id: I673e681cefe184d5c556c612c54600a24a2143e5
* | | | | | Merge "Fix some bugs in the MediaProfileReader Because the video and audio ↵James Dong2010-07-072-15/+19
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | encoders were stored in the same map, when we retrieve the name from the map, we can get a incorrect name." into gingerbread
| * | | | | | Fix some bugs in the MediaProfileReaderJames Dong2010-07-072-15/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Because the video and audio encoders were stored in the same map, when we retrieve the name from the map, we can get a incorrect name. Change-Id: I3857422bfe9173baae53e4f3d258b055f51ad9f2
* | | | | | | Merge "Only send the playback complete notification if a) an error occurred ↵Andreas Huber2010-07-072-20/+37
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | on any track or b) all tracks have finished playing. The previous behaviour was to send the notification as soon as the first track finished playing." into gingerbread
| * | | | | | | Only send the playback complete notification if a) an error occurred on any ↵Andreas Huber2010-07-072-20/+37
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | track or b) all tracks have finished playing. The previous behaviour was to send the notification as soon as the first track finished playing. Change-Id: Icac8104d14f18b719aa0b8f1ab3215f24003b152
* | | | | | | Merge "More improvements to the SensorManager documentation" into gingerbreadMathias Agopian2010-07-075-177/+292
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | |
| * | | | | | More improvements to the SensorManager documentationMathias Agopian2010-07-025-177/+292
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I8ab79e8787402f0db572226029820b3cf605086f
* | | | | | | Fix icon size in intruder alerts.Daniel Sandler2010-07-074-5/+6
| |/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | (Updated test app to confirm the fix.) Change-Id: Ife56cf07f282786162e2ebc5aaddbb24dac6cafd
* | | | | | Merge "ALooperRoster no longer holds strong references to handlers and ↵Andreas Huber2010-07-072-8/+40
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | loopers." into gingerbread
| * | | | | | ALooperRoster no longer holds strong references to handlers and loopers.Andreas Huber2010-07-072-8/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I038d69b0a34eda1bfc5216d92c837a5ddf4fb802
* | | | | | | Make sure the OMX callback thread is properly shutdown after the node goes away.Andreas Huber2010-07-071-0/+9
|/ / / / / / | | | | | | | | | | | | | | | | | | Change-Id: Ib0b25855b0dfc191e5529193b4cb519f644a8412
* | | | | | Merge "An AHandler can now find its associated ALooper." into gingerbreadAndreas Huber2010-07-075-0/+50
|\ \ \ \ \ \
| * | | | | | An AHandler can now find its associated ALooper.Andreas Huber2010-07-025-0/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ic7087b8dcbc0d9abda272df0cb01b04b006f82ad
* | | | | | | Add new native Looper API.Dianne Hackborn2010-07-0212-17/+286
| |_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows us to avoid exposing the file descriptor of the event queue; instead, you attach an event queue to a looper. This will also should allow native apps to be written without the need for a separate thread, by attaching the event queue to the main thread's looper and scheduling their own messages there. Change-Id: I38489282635895ae2cbfacb88599c1b1cad9b239
* | | | | | Merge "Fix a bug that prevented the creation of EGL shared contexts." into ↵Mathias Agopian2010-07-021-0/+4
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | gingerbread
| * | | | | | Fix a bug that prevented the creation of EGL shared contexts.Jamie Gennis2010-07-021-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I6b0ec5ef86abdd4e9083067ba297107cfb094df3
* | | | | | | am 1c8b6ca4: docs: fix misc broken linksScott Main2010-07-026-120/+36
|\ \ \ \ \ \ \ | | |_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge commit '1c8b6ca4d7dd7c8263d5224de6e814681a14afa5' into gingerbread * commit '1c8b6ca4d7dd7c8263d5224de6e814681a14afa5': docs: fix misc broken links
| * | | | | | docs: fix misc broken linksScott Main2010-07-026-120/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I7294276aff0c80498215870d5d72f7a3a9b2c99a
* | | | | | | Merge "Add an option to ALooper::start that allows it to call back into java ↵Andreas Huber2010-07-022-5/+9
|\ \ \ \ \ \ \ | |_|_|/ / / / |/| | | | | | | | | | | | | or not." into gingerbread
| * | | | | | Add an option to ALooper::start that allows it to call back into java or not.Andreas Huber2010-07-022-5/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Iec172901a04a575d8d350bd162565f04677c3f26
* | | | | | | Merge "Added AMessage::debugString() for debugging purposes." into gingerbreadAndreas Huber2010-07-022-0/+105
|\ \ \ \ \ \ \
| * | | | | | | Added AMessage::debugString() for debugging purposes.Andreas Huber2010-07-012-0/+105
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | Change-Id: Id43ffd2c56d659dc29f37e277f8c7b38f11c1591
* | | | | | | am 7df74471: Merge "Flush binder buffer after setting raw heap to avoid ↵Chih-Chung Chang2010-07-021-0/+1
|\ \ \ \ \ \ \ | | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | leaking a reference." into froyo Merge commit '7df7447112371fb5e46f6084b55ac2ccdfde139d' into gingerbread * commit '7df7447112371fb5e46f6084b55ac2ccdfde139d': Flush binder buffer after setting raw heap to avoid leaking a reference.