summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Whoops I am an idiot.Dianne Hackborn2010-02-041-5/+5
|
* Merge "Camcorder profile Java API support - Use Enum for Quality instead of ↵James Dong2010-02-043-6/+230
|\ | | | | | | int - Use static values() method from Enum, rather than if-else"
| * Camcorder profile Java API supportJames Dong2010-02-043-6/+230
| | | | | | | | | | | | | | - Use Enum for Quality instead of int - Use static values() method from Enum, rather than if-else bug - 2417312
* | Whoops, update preloaded classes.Dianne Hackborn2010-02-041-1/+1
| |
* | Merge "Rename ApplicationContext to ContextImpl."Dianne Hackborn2010-02-042-33/+33
|\ \
| * | Rename ApplicationContext to ContextImpl.Dianne Hackborn2010-02-042-33/+33
| | | | | | | | | | | | I've been wanting to do this for a long long time.
* | | Merge "a new java implementation of base64 for android-common"Doug Zongker2010-02-042-0/+705
|\ \ \
| * | | a new java implementation of base64 for android-commonDoug Zongker2010-02-042-0/+705
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A new Base64 encoder/decoder class. Some benchmarks comparing the decoder it to those from android.os.Base64Utils (a decode-only native implementation not accessible to apps) and org.apache.commons.codec.binary.Base64, all with the JIT enabled: 1k encoded data APACHE avg: 811 us min: 244 us max: 13671 us COMMON avg: 263 us min: 30 us max: 4730 us NATIVE avg: 102 us min: 61 us max: 5493 us 10k encoded data APACHE avg: 3624 us min: 2746 us max: 23895 us COMMON avg: 979 us min: 518 us max: 7751 us NATIVE avg: 817 us min: 762 us max: 3143 us 100k encoded data APACHE avg: 33167 us min: 31829 us max: 140411 us COMMON avg: 6047 us min: 5493 us max: 45227 us NATIVE avg: 10109 us min: 10009 us max: 12451 us Change-Id: Ic622e3a967a62d57d30bd25b80cbe4e0dd60e764
* | | | Merge "Add single-package restore from an app's most-recent data"Chris Tate2010-02-044-20/+184
|\ \ \ \
| * | | | Add single-package restore from an app's most-recent dataChristopher Tate2010-02-044-20/+184
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Renamed the RestoreSession performRestore() method to restoreAll(), and added a new restorePackage() method that only restores the single specified app. In order to restore an app other than itself, the caller must hold the android.permission.BACKUP permission. This change also introduces dataset tracking: the Backup Manager persistently remembers both the current backup dataset's identity and that of the "ancestral" dataset, i.e. the one most recently used for a whole-device restore such as performed by SetupWizard. When a single package is restored via restorePackage(), the selection of most-recent dataset to use is this: 1. The data from the currently-active backup dataset, if such exists. An app that has ever backed up data will therefore get its last- known-good data. 2. The app's data from the ancestral dataset, if such exists. This covers the case of a factory reset followed by reinstallation of an app at a later time. The app had not yet backed anything up post-wipe, but the old data is in the ancestral dataset and should be brought forward when the app reappears. 3. If neither 1. nor 2. exist, there is no data to restore, so just skip it and return failure. Note that the infrastructure to automatically attempt a restore after an application has been installed does not yet exist; that's coming. Change-Id: I0ba170df9885128000c46ed28d3dddda3a63a143
* | | | | Merge "Add support in StatusBarManager for disabling ticker text."Daniel Sandler2010-02-043-5/+26
|\ \ \ \ \
| * | | | | Add support in StatusBarManager for disabling ticker text.Daniel Sandler2010-02-043-5/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The new flag, DISABLE_NOTIFICATION_TICKER, will be used by the car dock app (in conjunction with DISABLE_EXPAND) to minimize distractions to the driver. It may also be used by the secure lockscreen to avoid leaking personal information when the screen is on but the device is locked (e.g. when the desk dock app is running). Change-Id: Ibc8efde7da7501767163ae0a75f7c369b824e2a2
* | | | | | Merge "Move the NDK graphics wrapper (libjnigraphics) to frameworks/base/native"Dima Zavin2010-02-043-0/+209
|\ \ \ \ \ \
| * | | | | | Move the NDK graphics wrapper (libjnigraphics) to frameworks/base/nativeDima Zavin2010-02-043-0/+209
| | |_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | Change-Id: I2a5adde9f8e4683c4b4526a29ad276c3e581e029 Signed-off-by: Dima Zavin <dima@android.com>
* | | | | | Merge "fix [2313526] sensor enable race condition"Mathias Agopian2010-02-041-17/+35
|\ \ \ \ \ \
| * | | | | | fix [2313526] sensor enable race conditionMathias Agopian2010-02-041-17/+35
| | |_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | Make sure we wait until the SensorThread is running an has open the sensors fd. Also handle errors when/if this fails.
* | | | | | Merge "Unhiding Rfc822Tokenizer.tokenize(CharSequence text, ↵Michael Chan2010-02-042-1/+15
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | Collection<Rfc822Token> out)"
| * | | | | | Unhiding Rfc822Tokenizer.tokenize(CharSequence text, Collection<Rfc822Token> ↵Michael Chan2010-02-042-1/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | out) Note that Rfc822Tokenizer.tokenize(CharSequence text) is already in the SDK and it just wraps the version I am unhiding. Change-Id: I1ac3b405a04df960fc1e65ca4797d6f5adf85dc4
* | | | | | | Merge "Some tests for install and replace package."Suchi Amalapurapu2010-02-043-0/+389
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | |
| * | | | | | Some tests for install and replace package.Suchi Amalapurapu2010-02-033-0/+389
| | |/ / / / | |/| | | |
* | | | | | API review: TrafficStats: rename Pkts to PacketsKen Shirriff2010-02-043-12/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rename getMobileTxPackets(), getMobileRxPackets(), getTotalTxPackets(), getMobileRxPackets() bug 2420318
* | | | | | Rename GestureUtilities to GestureUtils.Romain Guy2010-02-048-20/+20
| | | | | |
* | | | | | Merge "resolved conflicts for merge of dd24f599 to master"Kenny Root2010-02-042-0/+55
|\ \ \ \ \ \ | |_|/ / / / |/| | | | |
| * | | | | resolved conflicts for merge of dd24f599 to masterKenny Root2010-02-042-0/+55
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | Change-Id: I57c349c493d69585d4c85e8c0970649708c6bd33
| | * \ \ \ \ am aead64de: Fix issue: 2413494: [Passion-c] Add TTY support.Eric Laurent2010-02-042-0/+55
| | |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge commit 'aead64def1fe58c95c086a0ca00cf0b13fa32ef1' into eclair-plus-aosp * commit 'aead64def1fe58c95c086a0ca00cf0b13fa32ef1': Fix issue: 2413494: [Passion-c] Add TTY support.
| | | * | | | | Fix issue: 2413494: [Passion-c] Add TTY support.Eric Laurent2010-02-032-0/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Handle TTY mode change events received by HeadsetObserver and send information down to AudioHardware with AudioManager.setParameters() Use setting "tty_mode_uses_heaset_events" in core config.xml to indicate if the product uses this particular method of indicating the TTY mode change.
* | | | | | | | Merge "Framework part of issue #2391576: Add method to start the Jit and ↵Dianne Hackborn2010-02-043-5/+47
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | call it"
| * | | | | | | | Framework part of issue #2391576: Add method to start the Jit and call itDianne Hackborn2010-02-043-5/+47
| |/ / / / / / /
* | | | | | | | Merge "Remove source selector from SearchDialog"Bjorn Bringert2010-02-049-289/+14
|\ \ \ \ \ \ \ \ | |_|_|_|_|/ / / |/| | | | | | |
| * | | | | | | Remove source selector from SearchDialogBjorn Bringert2010-02-049-289/+14
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes http://b/issue?id=2419208 This reverts commit 32d580c360da0a0f15e7a080f4ebd0b7b514fe4c. Change-Id: I5d8821d52badf3e0347230b86671f8ceb65a663d
* | | | | | | Sharper mdpi transfers of usb_android{,_connected}.png.Daniel Sandler2010-02-042-0/+0
|/ / / / / / | | | | | | | | | | | | | | | | | | Change-Id: Ic5b6a0b23b5fc4c71e2628156905e69faf56b999
* | | | | | Merge "Stop using the PV software decoders and use ours (based on PV code) ↵Andreas Huber2010-02-044-34/+20
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | instead even in non-FULL_STAGEFRIGHT builds."
| * | | | | | Stop using the PV software decoders and use ours (based on PV code) instead ↵Andreas Huber2010-02-044-34/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | even in non-FULL_STAGEFRIGHT builds.
* | | | | | | Merge "Stop scaring the kids when USB is connected."Daniel Sandler2010-02-044-0/+0
|\ \ \ \ \ \ \
| * | | | | | | Stop scaring the kids when USB is connected.Daniel Sandler2010-02-044-0/+0
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 2416542 Change-Id: I8ab7149201e35b8b41a890d5fd64cf0fc05d600c
* | | | | | | Merge "When a window is closed, destroy the WebView properly so that WebCore ↵Ben Murdoch2010-02-041-1/+11
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | is informed of it's destruction."
| * | | | | | | When a window is closed, destroy the WebView properly so that WebCore is ↵Ben Murdoch2010-02-041-1/+11
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | informed of it's destruction. Change-Id: I00002f53ec52c6056df4d7ddeec7cf0957423bd6
* | | | | | | Merge "Enable StreamLoader to be loaded in a separate thread."Grace Kloba2010-02-046-107/+105
|\ \ \ \ \ \ \
| * | | | | | | Enable StreamLoader to be loaded in a separate thread.Grace Kloba2010-02-046-107/+105
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move ContentLoader and FileLoader to this new way as they involves IO. Will work on CacheLoader later. Change StreamLoader to contain a Handler instead of derive from a Handler so that the Handler can be created in the thread where load() is called. Rename StreamLoader's old "LoadListener mHandler" to mLoadListener. Remove unused import and unreachable exception. Fix http://b/issue?id=2158613 This improved page_cycler performance in moz/intl by 10-30% as we are not blocked by IO any more.
* | | | | | | | First pass at USB Tethering.Robert Greenwalt2010-02-0414-10/+807
| |/ / / / / / |/| | | | | | | | | | | | | | | | | | | | bug:2281900
* | | | | | | Add new ConsoleMessage class that adds more information (such as the Message ↵Ben Murdoch2010-02-045-6/+242
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Log Level from WebCore) and a new overload of onConsoleMessage that takes this as a parameter. This change requires a corresponding change in external/webkit. BUG=2401755 Change-Id: Iea2c58e93172240f162d8ad57eb2c8f2352f8162
* | | | | | | Add getAttributeDouble() and focal length tag.Wu-cheng Li2010-02-042-1/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | | bug:2375989
* | | | | | | am b5c01b96: am 8a6c0607: Merge "SDK doc change: Fixed typo--fingure->finger ↵Katie McCormick2010-02-030-0/+0
|\ \ \ \ \ \ \ | | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 1993220" into eclair Merge commit 'b5c01b96a8e1780d8ac0638041b08e06b8c88a83' * commit 'b5c01b96a8e1780d8ac0638041b08e06b8c88a83': SDK doc change: Fixed typo--fingure->finger
| * | | | | | am 8a6c0607: Merge "SDK doc change: Fixed typo--fingure->finger Bug: ↵Katie McCormick2010-02-031-1/+1
| |\ \ \ \ \ \ | | | |/ / / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1993220" into eclair Merge commit '8a6c060719c8870f370b82faa48ae2f437915214' into eclair-plus-aosp * commit '8a6c060719c8870f370b82faa48ae2f437915214': SDK doc change: Fixed typo--fingure->finger
| | * | | | | Merge "SDK doc change: Fixed typo--fingure->finger Bug: 1993220" into eclairKatie McCormick2010-02-031-1/+1
| | |\ \ \ \ \
| | | * | | | | SDK doc change: Fixed typo--fingure->fingerKatie McCormick2010-02-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 1993220
* | | | | | | | Merge "Fix 1667521 - system process crash after bad notification"Joe Onorato2010-02-034-6/+65
|\ \ \ \ \ \ \ \
| * | | | | | | | Fix 1667521 - system process crash after bad notificationJoe Onorato2010-02-034-6/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The steps to reproduce this were kind of interesting. You needed to have a notification with a bogus RemoteViews in the first position in the list, and then have another notification come in with an earlier timestampe. In that case, it would get a bad index for the new (not bogus) view that was being added.
* | | | | | | | | Merge "Implement system data migration support."Dianne Hackborn2010-02-037-47/+554
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | Implement system data migration support.Dianne Hackborn2010-02-037-47/+554
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds three new features: - <original-package android:name="com.foo" /> manifest tag. This allows an .apk to specify another package it originally came from, propagating all state and data from the old to new package. - <adopt-permissions android:name="com.foo" /> manifest tag. In some more complicated cases, a new .apk may be a combination of multiple older .apks that each declared their own permissions. This allows you to propagate the permissions from these other .apks into the new one. - A new system/etc/updatecmds directory. You can place files here which describe data files to move from one package to another. (See below for details.) Also in this change: we now clean up the data directories of .apks that disappear from the system image, and some improvements to logging and reporting error messages. A typical file in the updatecmds directory looks like this: ------- com.google.android.gsf:com.google.android.providers.talk databases/talk.db com.google.android.gsf:com.google.android.googleapps databases/gls.db ------- This says that for com.google.android.sfs, there are two packages to move files from: From com.google.android.providers.talk, the file databases/talk.db. From com.google.android.googleapps, the file databases/gls.db As part of moving the file, its owner will be changed from the old package to whoever is the owner of the new package's data directory. If those two files had existed, after booting you would now have the files: /data/data/com.google.android.gsf/databases/talk.db /data/data/com.google.android.gsf/databases/gls.db Note that all three of these facilities assume that the older .apk is completely removed from the newer system. The WILL NOT work correctly if the older .apk still remains.