summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add new binder methods to camera client to support generic callbacksDave Sparks2009-05-074-0/+76
| | | | | | | This is the first step in a multi-step change to move from the old specific callbacks to a generic callback. This will allow future flexibility in the interface without requiring binder rewrites. Bug 1837832
* Merge change 1152 into donutAndroid (Google) Code Review2009-05-071-15/+7
|\ | | | | | | | | * changes: location: Remove two unnecessary variables.
| * location: Remove two unnecessary variables.Mike Lockwood2009-05-071-15/+7
| | | | | | | | Signed-off-by: Mike Lockwood <lockwood@android.com>
* | Merge change 1150 into donutAndroid (Google) Code Review2009-05-076-252/+81
|\ \ | |/ | | | | | | * changes: location: Location Manager wakelock cleanup
| * location: Location Manager wakelock cleanupMike Lockwood2009-05-076-252/+81
| | | | | | | | | | | | | | | | | | | | | | Location Providers are now responsible for their own wakelocks and scheduling. Also fixed a deadlock in LocationManagerService in the code for releasing wakelocks after client notifications have been received. The fix is to use the Receiver object and mWakeLock for synchronization instead of the global mLock lock. Signed-off-by: Mike Lockwood <lockwood@android.com>
* | Merge change 1131 into donutAndroid (Google) Code Review2009-05-071-1/+4
|\ \ | |/ |/| | | | | * changes: fix issue 1641535: SoundPool should use AudioTrack with shared memory buffer
| * fix issue 1641535: SoundPool should use AudioTrack with shared memory bufferEric Laurent2009-05-071-1/+4
| | | | | | | | Enabled USE_SHARED_MEM_BUFFER switch in SoundPool.cpp
* | Merge change 1065 into donutAndroid (Google) Code Review2009-05-071-0/+0
|\ \ | |/ |/| | | | | * changes: Add a contact placeholder picture.
| * Add a contact placeholder picture.yes2009-05-061-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | Previously, there was no generic contact icon in the framework. ContactsProvider needs to have a generic contact icon to use for contacts that don't have photos. Since there are multiple packages (MyFaves, GoogleSubscribedFeedsProvider) that use ContactsProvider.java directly, adding the icon in the ContactsProvider package is not an option. The icon is a copy of packages/apps/Contacts/res/drawable-finger/ic_contact_picture.png
* | Merge branch 'readonly-p4-donut' into donutMichael Chan2009-05-062-28/+103
|\ \
| * | AI 148368: Decrease CPU usage by throttling touch eventsMichael Chan2009-05-062-28/+103
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We are decreasing CPU usage at the cost of event latency. Events are queued up and released to the app at the specified rate. You can experiment with different values via: adb shell setprop windowsmgr.max_events_per_sec 35 The new value is picked up when you let go and retouch the screen. No reboot needed. Also the following changes were made after profiling: - In WindowManagerService, limit the call to userActivity() when we have a flood touch events. - In PowerManagerService, skip checking of permission if the caller is system user. - In PowerManagerService, integrated the functionality of gatherState() into reactivateWakeLocksLocked(). They loop through the same data structure and are called back to back. BUG=1692771 Automated import of CL 148368
* | | Add new setTag(int, Object) API to allow applications to specify several tags.Romain Guy2009-05-063-1/+247
| | |
* | | Merge change 1110 into donutAndroid (Google) Code Review2009-05-062-15/+116
|\ \ \ | | | | | | | | | | | | | | | | * changes: Track install/removal/update of packages that provide backup services
| * | | Track install/removal/update of packages that provide backup servicesChristopher Tate2009-05-062-15/+116
| | | |
* | | | Merge change 1063 into donutAndroid (Google) Code Review2009-05-066-159/+195
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | * changes: Refactor SearchableInfo.
| * | | | Refactor SearchableInfo.Bjorn Bringert2009-05-066-159/+195
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Removes the mSearchable field which was only for communication between the constructor and getActivityMetaData(). - Removes the badge and query rewriting fields, since their values can be efficiently computed on the fly. - Makes all the other public fields private and adds getters for them. - Makes all fields final, except mActionKeys. - Removes the DBG_INHIBIT_SUGGESTIONS_CONSTANT. I don't see why we would every want that, and it complicated making the fields final. - Makes all fields in ActionKeyInfo final. - Makes all fields in ActionKeyInfo private and adds getters. - Removes the use of ActioKeyInfo.mKeyCode for failure signalling. Uses IllegalArgumentException instead. - Replaces the ad hoc linked list for looking up action keys by a HashMap. This is needed to make the fields in ActionkeyInfo final, and also avoids O(N) lookup in the (unlikely) case that an activity has lots of action keys. - Don't throw exceptions when reading searchable meta-data, since that could crash SearchManagerService. - Adds debug logging.
* | | | Merge change 1099 into donutAndroid (Google) Code Review2009-05-061-13/+8
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | * changes: Fix Phone-based locale selection to never choose a lang-only locale.
| * | | Fix Phone-based locale selection to never choose a lang-only locale.Robert Greenwalt2009-05-061-13/+8
| | | | | | | | | | | | | | | | | | | | This avoids us using the non-standard lang-only locale when communicating off device. Fixes 1810133.
* | | | Merge change 1086 into donutAndroid (Google) Code Review2009-05-062-4/+9
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | * changes: Fixes regression introduced in Cupcake: a couple of adapters were using setTag() to store their own data, which could interfere with the use of setTag() made by the applications. The fix is quite simple an rely on a WeakHashMap to store the holders within the adapters; using the Views as the keys of the map.
| * | | | Fixes regression introduced in Cupcake: a couple of adapters were using ↵Romain Guy2009-05-062-4/+9
| | | | | | | | | | | | | | | | | | | | setTag() to store their own data, which could interfere with the use of setTag() made by the applications. The fix is quite simple an rely on a WeakHashMap to store the holders within the adapters; using the Views as the keys of the map.
* | | | | Pass null as savedState to indicate a full backup is requiredChristopher Tate2009-05-062-15/+11
| | | | |
* | | | | Merge change 1089 into donutAndroid (Google) Code Review2009-05-062-16/+59
|\ \ \ \ \ | |_|/ / / |/| | | | | | | | | | | | | | * changes: Add a Backup Manager interface to request a full backup
| * | | | Add a Backup Manager interface to request a full backupChristopher Tate2009-05-062-16/+59
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | Given a package name, the Backup Manager schedules a *full* (i.e. non- incremental) backup pass for that package. Also added the state-file handling for distinguishing to the target between the full and incremental backup requests.
* | | | Merge change 1095 into donutAndroid (Google) Code Review2009-05-061-13/+47
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | * changes: gps: Move GPS scheduling from libgps to GpsLocationProvider.
| * | | | gps: Move GPS scheduling from libgps to GpsLocationProvider.Mike Lockwood2009-05-061-13/+47
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Mike Lockwood <lockwood@android.com>
* | | | | Fixed issue 1709450: Requirements for CDMA Tone GeneratorEric Laurent2009-05-065-113/+538
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added new tone types for CDMA IS-95 specific tones. Automatic selection between IS-95, CEPT and JAPAN version base on operator country code for call supervisory tones. Also improved tone generator capabilities: - Each tone segment can now generate its own set of frequencies - A tone does not have to be a succession of alternating ON/OFF segments - The sequence repetition does not have to start from first segment
* | | | | fix issue 1713090: After a Bluetooth call, MusicPlayer starts playing on ↵Eric Laurent2009-05-063-38/+219
| |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | speaker rather than wired external audio. Temporary fix until audio routing is refactored in Eclair release: - centralized and synchronized all audio routing control in AudioService.setRouting() - deprecated AudioManager.setRouting() and AudioManager.getRouting() methods
* | | | Merge change 1069 into donutAndroid (Google) Code Review2009-05-061-1/+1
|\ \ \ \ | |/ / / | | / / | |/ / |/| | * changes: GpsStatus: Increase NUM_SATELLITES to 255 for future compatibility.
| * | GpsStatus: Increase NUM_SATELLITES to 255 for future compatibility.Mike Lockwood2009-05-061-1/+1
| | | | | | | | | | | | | | | | | | | | | 64 satellties are required for NavStar, WAAS, EGNOS, and GLONASS satellites. Increasing to 255 allows for future compatibility with Galileo. Signed-off-by: Mike Lockwood <lockwood@android.com>
* | | new cdma sms unit tests (from QC on-site test)Tammo Spalink2009-05-061-1/+48
| | |
* | | Merge change 1040 into donutAndroid (Google) Code Review2009-05-055-1/+165
|\ \ \ | | | | | | | | | | | | | | | | * changes: Add a test app for the backup
| * | | Add a test app for the backupJoe Onorato2009-05-055-1/+165
| | | |
* | | | Merge change 1039 into donutAndroid (Google) Code Review2009-05-055-1/+820
|\ \ \ \ | |/ / / | | | | | | | | | | | | * changes: Add some C++ code to do raw files for backup
| * | | Add some C++ code to do raw files for backupJoe Onorato2009-05-055-1/+820
| | | |
* | | | Merge change 1017 into donutAndroid (Google) Code Review2009-05-054-42/+109
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | * changes: 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.
| * | | | Changes in mediaframework test for the OpenCore 2.0 integration. Changes ↵Yu Shan Emily Lau2009-05-054-42/+109
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | Merge change 777 into donutAndroid (Google) Code Review2009-05-0525-2013/+2498
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | * changes: Rewrite SyncStorageEngine to use flat files and in-memory data structures.
| * | | | | Rewrite SyncStorageEngine to use flat files and in-memory data structures.Dianne Hackborn2009-05-0525-2013/+2498
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | Merge change 1018 into donutAndroid (Google) Code Review2009-05-051-0/+3
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | * changes: If no battery stats are found, return status_unknown
| * | | | | If no battery stats are found, return status_unknownRebecca Schultz Zavin2009-05-051-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | | | | Further development of backup file handlingChristopher Tate2009-05-051-6/+20
| |/ / / / |/| | | | | | | | | | | | | | | | | | | Put backup data in flight into /cache Close the files and delete the intermediates after backup pass
* | | | | Merge change 1000 into donutAndroid (Google) Code Review2009-05-052-1/+3
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | * changes: Ignore layout bin directories in git.
| * | | | | Ignore layout bin directories in git.Raphael2009-05-052-1/+3
| | |_|/ / | |/| | |
* | | | | am 0c11b99: AI 148308: revise aidl support documentation -- now the sameScott Main2009-05-051-29/+33
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge commit '0c11b990908df26aca7f017d330535b9bf21a903' into donut * commit '0c11b990908df26aca7f017d330535b9bf21a903': AI 148308: revise aidl support documentation -- now the same in all environments;
| * | | | | AI 148308: revise aidl support documentation -- now the same in all ↵Scott Main2009-05-051-29/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | environments; also added a table of contents and tweaked the markup for the anchor links BUG=1760241 Automated import of CL 148308
* | | | | | Merge change 972 into donutAndroid (Google) Code Review2009-05-054-81/+107
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | * changes: Back-merge all changes done in master to DumpRenderTree to donut.
| * | | | | | Back-merge all changes done in master to DumpRenderTree to donut.Guang Zhu2009-05-054-81/+107
| | |/ / / / | |/| | | |
* | | | | | Squashed commit of the following:Christopher Tate2009-05-043-35/+85
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | Merge change 966 into donutAndroid (Google) Code Review2009-05-041-0/+1
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | * 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.
| * | | | | Fixes 1830181. Tapping disabled items in a ListView would cause the ↵Romain Guy2009-05-041-0/+1
| | |_|/ / | |/| | | | | | | | | | | | | 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.