summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| | * | | | | | | | Enforce permissions for PhoneStateListener events.Jaikumar Ganesh2009-05-293-30/+56
| | | |/ / / / / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PhoneStateListener events like LISTEN_CALL_STATE_CHANGED, have privacy information like phone numbers and hence, need to be protected with a permission. The permission READ_PHONE_STATE is used for this purpose. Use the permission trick to ensure backward compatability.
* | | | | | | | | am e32edc61: Fixes #1884152. This change improves how the opaque property is ↵Romain Guy2009-05-291-4/+10
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | handled with respect to dividers. Merge commit 'e32edc614e62ac874a969d3cc6bb1e0c0c3f2607' * commit 'e32edc614e62ac874a969d3cc6bb1e0c0c3f2607': Fixes #1884152. This change improves how the opaque property is handled with respect to dividers.
| * | | | | | | | Fixes #1884152. This change improves how the opaque property is handled with ↵Romain Guy2009-05-291-4/+10
| |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | respect to dividers. If the list is opaque and its background is not, then we want to fill a solid rect where the dividers should be when they are skipped for non-selectable items. When the list is opaque and the background is also opaque, there is no need to draw something in lieu of the dividers since the background will do it for us.
* | | | | | | | am d9cc7659: Merge change 2706 into donutAndroid (Google) Code Review2009-05-291-11/+14
|\ \ \ \ \ \ \ \ | |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge commit 'd9cc7659fa9b8544e2a3ca7b7040fbd79afdf7ea' * commit 'd9cc7659fa9b8544e2a3ca7b7040fbd79afdf7ea': Fix issue 1883666: Audio coming from the music player stopped suddenly
| * | | | | | | Merge change 2706 into donutAndroid (Google) Code Review2009-05-291-11/+14
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * changes: Fix issue 1883666: Audio coming from the music player stopped suddenly
| | * | | | | | | Fix issue 1883666: Audio coming from the music player stopped suddenlyEric Laurent2009-05-291-11/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The problem comes from the code handling the automatic change of audio routing to speaker when notifications are played. The music is also muted while the sound is forced to speaker. To avoid truncating the end of the notification, a delay is inserted between the end of the notification and the restoration of the audio routing. If a new notification starts during this delay, the current music mute state read and saved before muting music corresponds to the forced mute due to previous notification. When the new notification ends, the mute state restored is muted and music stream stays muted for ever. The fix consists in reading and saving music mute state only if the audio routing has been restored (check that mForcedRoute is back to 0).
* | | | | | | | | am 761e0918: Unmap memory in MemoryFile.close().Bjorn Bringert2009-05-293-32/+154
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge commit '761e0918d30b6a3f292625b44b86dffd1538bc78' * commit '761e0918d30b6a3f292625b44b86dffd1538bc78': Unmap memory in MemoryFile.close().
| * | | | | | | | Unmap memory in MemoryFile.close().Bjorn Bringert2009-05-293-32/+154
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As reported in http://b/issue?id=1398215 MemoryFile did not munmap(2) the ashmem region after closing it. This causes the process to leak virtual address space. This change fixes the problem by calling munmap(2) in close(). The unmapping is done by a helper method deactivate(). The change also replaces the use of an int for the file descriptor with a FileDescriptor object to make sure that we keep track of when the file descriptor has been closed. I chose to implement it this way because I will need decativate() and a FileDescriptor object in an upcoming change that allows sending MemoryFile file descriptors between processes. The change also adds a number of tests for the behavior of close(). The testCloseRead() and testCloseWrite() fail with the old MemoryFile implementation, and testCloseLeak() causes a segfault. They all pass now.
* | | | | | | | | am 9fc2e9c9: MemoryFile constructor and native methods throw IOExceptions.Bjorn Bringert2009-05-292-9/+12
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge commit '9fc2e9c965c68d56a0caf812f7f6d38d15317063' * commit '9fc2e9c965c68d56a0caf812f7f6d38d15317063': MemoryFile constructor and native methods throw IOExceptions.
| * | | | | | | | MemoryFile constructor and native methods throw IOExceptions.Bjorn Bringert2009-05-292-9/+12
| |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These native methods in android.os.MemoryFile throw IOException but their Java declarations did not include "throws IOException": native_open(),native_mmap(),native_read(),native_write(),native_pin() The MemoryFile(String,int) constructor calls native_open and native_mmap, but does not declare that it throws IOException. The other Java methods that call the native methods do actually declare that they throw IOException. This means that any code that created memory files could throw an IOException, without knowing about it. This changes adds "throws IOException" to the native methods and to the constructor. The constructor change changes the public API, but maintains binary compatibility. There is some precedent for making source incompatible source API changes for this sort of thing (see https://mondrian.corp.google.com/changelist/124214-p9). The change also makes the native methods static, which they seem to have been intended to be, as indicated by the second parameter to the native implementations being named "clazz". This requires changes to the Compatibility Test Suite to catch the exceptions. This is done in https://android-git.corp.google.com/g/2617 Unfortunately that change must be submitted together with this one in order not to break the build. Fixes http://b/issue?id=1881829
* | | | | | | | am 607384d4: Merge change 2678 into donutAndroid (Google) Code Review2009-05-281-1/+1
|\ \ \ \ \ \ \ \ | |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge commit '607384d45fae5c9c2b21c96e4278665c8d7d3006' * commit '607384d45fae5c9c2b21c96e4278665c8d7d3006': Converted the angle of OrientedBoundingBox to degrees
| * | | | | | | Merge change 2678 into donutAndroid (Google) Code Review2009-05-281-1/+1
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * changes: Converted the angle of OrientedBoundingBox to degrees
| | * | | | | | | Converted the angle of OrientedBoundingBox to degreesYang Li2009-05-281-1/+1
| | | |/ / / / / | | |/| | | | |
* | | | | | | | am f40f074c: Revert "Revert "Bug fixes and performance improvements""Romain Guy2009-05-285-41/+65
|\ \ \ \ \ \ \ \ | |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge commit 'f40f074c43fcef627131d4b631251192761b4daa' * commit 'f40f074c43fcef627131d4b631251192761b4daa': Revert "Revert "Bug fixes and performance improvements""
| * | | | | | | Revert "Revert "Bug fixes and performance improvements""Romain Guy2009-05-285-41/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 436466d75edb5f6fd848504d998f244426ea5a09.
* | | | | | | | am f6355e24: Merge change 2399 into donutAndroid (Google) Code Review2009-05-2828-768/+2154
|\ \ \ \ \ \ \ \ | |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge commit 'f6355e24f5382356ea197135fdeff827aabfdb90' * commit 'f6355e24f5382356ea197135fdeff827aabfdb90': Motorola additions for CDMA support without CdmaSuppConnTracker
| * | | | | | | Merge change 2399 into donutAndroid (Google) Code Review2009-05-2828-768/+2154
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * changes: Motorola additions for CDMA support without CdmaSuppConnTracker
| | * | | | | | | Motorola additions for CDMA support without CdmaSuppConnTrackerWink Saville2009-05-2828-768/+2154
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There are corresponding changes to hardware/ril and packages/apps/Phone that are required to go with these changes.
* | | | | | | | | am 2af7e639: Merge change 2654 into donutAndroid (Google) Code Review2009-05-281-9/+97
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge commit '2af7e639906981b1562f3187a60b6c848b7da17c' * commit '2af7e639906981b1562f3187a60b6c848b7da17c': Added the two validations for the memory stress test
| * | | | | | | | Merge change 2654 into donutAndroid (Google) Code Review2009-05-281-9/+97
| |\ \ \ \ \ \ \ \ | | |_|_|/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | * changes: Added the two validations for the memory stress test 1) Set the maximum memory leakage to 150K in 200 loops of playback. 2) Check the pid of the meidaserver.
| | * | | | | | | Added the two validations for the memory stress testYu Shan Emily Lau2009-05-281-9/+97
| | | |/ / / / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1) Set the maximum memory leakage to 150K in 200 loops of playback. 2) Check the pid of the meidaserver.
* | | | | | | | Making sure non-public API is marked with @hide.Dmitri Plotnikov2009-05-282-6/+3
| | | | | | | |
* | | | | | | | Fixing javadoc references.Dmitri Plotnikov2009-05-282-21/+21
| | | | | | | |
* | | | | | | | Merge change 2669Android (Google) Code Review2009-05-281-14/+9
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * changes: Implement sampler GL setup code.
| * | | | | | | | Implement sampler GL setup code.Jason Sams2009-05-281-14/+9
| | | | | | | | |
* | | | | | | | | Merge change 2668Android (Google) Code Review2009-05-286-25/+140
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | * changes: Add sampler support
| * | | | | | | | Add sampler supportJason Sams2009-05-286-25/+140
| | | | | | | | |
* | | | | | | | | Merge change 2652Android (Google) Code Review2009-05-282-0/+793
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | * changes: Move ContactsContract.java and SocialContract.java into android.providers
| * | | | | | | | Move ContactsContract.java and SocialContract.java into android.providersEvan Millar2009-05-282-0/+793
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The ContactsContract and SocialContract lived previously in the com.android.providers.contacts2 package, and could not be accessed by other packages from there without symlinks, which was getting messy. If it turns out there was a good reason for having the contracts in that package we may have to move these back, but for now this seems like the obvious configuration.
* | | | | | | | | Merge change 2658Android (Google) Code Review2009-05-285-10/+30
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * changes: Delete the acc script when deleting the Renderscript rsScriptC object.
| * | | | | | | | | Delete the acc script when deleting the Renderscript rsScriptC object.Jack Palevich2009-05-285-10/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously we had been leaking the ACCscript object.
* | | | | | | | | | Merge change 2657Android (Google) Code Review2009-05-281-9/+2
|\ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * changes: Remove versions of scriptCSetScript method that take byte arrays.
| * | | | | | | | | Remove versions of scriptCSetScript method that take byte arrays.Jack Palevich2009-05-281-9/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This makes the API simpler, and therefore probably easier to use.
* | | | | | | | | | am 1e2e44e9: Merge change 2365 into donutAndroid (Google) Code Review2009-05-2812-112/+243
|\ \ \ \ \ \ \ \ \ \ | | |_|/ / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge commit '1e2e44e900cb9a25d548e27a20d65292a7f321bc' * commit '1e2e44e900cb9a25d548e27a20d65292a7f321bc': Fix wifi multicast API for public use. Revert "Bug fixes and performance improvements"
| * | | | | | | | | Merge change 2365 into donutAndroid (Google) Code Review2009-05-287-47/+202
| |\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * changes: Fix wifi multicast API for public use.
| | * | | | | | | | | Fix wifi multicast API for public use.Robert Greenwalt2009-05-287-47/+202
| | | |_|_|/ / / / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | Applying API review comments and taking it public.
| * | | | | | | | | Merge change 2637 into donutAndroid (Google) Code Review2009-05-285-65/+41
| |\ \ \ \ \ \ \ \ \ | | |/ / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | * changes: Revert "Bug fixes and performance improvements"
| | * | | | | | | | Revert "Bug fixes and performance improvements"Romain Guy2009-05-285-65/+41
| | | |_|/ / / / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 58b359041a29418876f12d37a7082ece9f8a38a4.
* | | | | | | | | Merge change 2636Android (Google) Code Review2009-05-284-255/+219
|\ \ \ \ \ \ \ \ \ | | |_|/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | * changes: Add support for setting scripts, rather than having a hard-coded script.
| * | | | | | | | Add support for setting scripts, rather than having a hard-coded script.Jack Palevich2009-05-284-255/+219
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move the test script into a resource file. Add APIs for reading a script from a resource, InputStream, string, or byte array.
* | | | | | | | | am 1cb62b83: am 2542c0a8: AI 149346: Replace icon_templates-v1.0.zip with ↵Dirk Dougherty2009-05-281-0/+0
|\ \ \ \ \ \ \ \ \ | | |/ / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | new archive from cnesladek. remove mac-specific files, fix dir name, repack. BUG=1877969 Merge commit '1cb62b83241c5d1cac9e9cda60d0d5d9218b44fb' * commit '1cb62b83241c5d1cac9e9cda60d0d5d9218b44fb': AI 149346: Replace icon_templates-v1.0.zip with new archive from cnesladek. remove mac-specific files, fix dir name, repack.
| * | | | | | | | am 2542c0a8: AI 149346: Replace icon_templates-v1.0.zip with new archive ↵Dirk Dougherty2009-05-281-0/+0
| |\ \ \ \ \ \ \ \ | | |_|/ / / / / / | |/| | | | | | / | | | |_|_|_|_|/ | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | from cnesladek. remove mac-specific files, fix dir name, repack. BUG=1877969 Merge commit '2542c0a805b144b4c4324a749574d9ba76660557' into donut * commit '2542c0a805b144b4c4324a749574d9ba76660557': AI 149346: Replace icon_templates-v1.0.zip with new archive from cnesladek. remove mac-specific files, fix dir name, repack.
| | * | | | | | AI 149346: Replace icon_templates-v1.0.zip with new archive from cnesladek. ↵Dirk Dougherty2009-05-281-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | remove mac-specific files, fix dir name, repack. BUG=1877969 Automated import of CL 149346
* | | | | | | | am b0ded43d: Uninstalls the gestures overlay when the letters recognizer ↵Romain Guy2009-05-281-2/+1
|\ \ \ \ \ \ \ \ | |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cannot be loaded instead of simply dismissing the popup. This is cleaner and reuses the setGestures() method. Merge commit 'b0ded43d3844d9d97c5d554e8ca4ec3ee2c7bbe1' * commit 'b0ded43d3844d9d97c5d554e8ca4ec3ee2c7bbe1': Uninstalls the gestures overlay when the letters recognizer cannot be loaded instead of simply dismissing the popup. This is cleaner and reuses the setGestures() method.
| * | | | | | | Uninstalls the gestures overlay when the letters recognizer cannot be loaded ↵Romain Guy2009-05-271-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | instead of simply dismissing the popup. This is cleaner and reuses the setGestures() method.
* | | | | | | | am 401bbb05: Merge change 2593 into donutAndroid (Google) Code Review2009-05-286-41/+65
|\ \ \ \ \ \ \ \ | |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge commit '401bbb0597a9f6bc9d752437e81f3f0c9b457b86' * commit '401bbb0597a9f6bc9d752437e81f3f0c9b457b86': Bug fixes and performance improvements
| * | | | | | | Merge change 2593 into donutAndroid (Google) Code Review2009-05-276-41/+65
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * changes: Bug fixes and performance improvements
| | * | | | | | | Bug fixes and performance improvementsYang Li2009-05-276-41/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Added affine transform functions in GestureUtilities to remove Matrix - Fixed a bug with Instance.createInstance - Updated letter recognition file
* | | | | | | | | Merge change 2574Android (Google) Code Review2009-05-284-533/+1
|\ \ \ \ \ \ \ \ \ | |_|_|_|/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | * changes: Sim-only files move, part 2/2.
| * | | | | | | | Sim-only files move, part 2/2.Andy McFadden2009-05-274-533/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move Pipe and executablepath from libutils to the simulator, since nothing else uses them.