summaryrefslogtreecommitdiffstats
path: root/services
Commit message (Collapse)AuthorAgeFilesLines
* audio/media: convert to using the audio HAL and new audio defsDima Zavin2011-04-276-511/+628
| | | | | Change-Id: Ibc637918637329e4f2b62f4ac7781102fbc269f5 Signed-off-by: Dima Zavin <dima@android.com>
* audioflinger: move legacy audio hw/policy out to libhardware_legacyDima Zavin2011-04-2711-4813/+0
| | | | | Change-Id: I4adcec73d3c08bcbe15bb19e1ba2ff18b195af45 Signed-off-by: Dima Zavin <dima@android.com>
* am 48dca4de: am 969357e3: am 223995dc: Fix issue 4335692: HDMI media volumeEric Laurent2011-04-261-0/+7
|\ | | | | | | | | * commit '48dca4de70890d324b5830a58bb9fa273164151a': Fix issue 4335692: HDMI media volume
| * am 969357e3: am 223995dc: Fix issue 4335692: HDMI media volumeEric Laurent2011-04-261-0/+7
| |\ | | | | | | | | | | | | * commit '969357e31c93e168e7a4cb3b41c33a6ec26f4a26': Fix issue 4335692: HDMI media volume
| | * am 223995dc: Fix issue 4335692: HDMI media volumeEric Laurent2011-04-261-0/+7
| | |\ | | | | | | | | | | | | | | | | * commit '223995dcf28aca2399258951a59559a7ae318ceb': Fix issue 4335692: HDMI media volume
| | | * Fix issue 4335692: HDMI media volumeEric Laurent2011-04-251-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | Forced music stream volume to max when not muted and output device is HDMI. Change-Id: Ibd287cea8ae1d3f36fea6651a113bd5cf2dbad13
* | | | Touch exploration feature, event bubling, refactorSvetoslav Ganov2011-04-224-28/+1657
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Added an Input Filter that interprets the touch screen motion events to perfrom accessibility exploration. One finger explores. Tapping within a given time and distance slop on the last exlopred location does click and long press, respectively. Two fingers close and in the same diretion drag. Multiple finglers or two fingers in different directions or two fingers too far away are delegated to the view hierarchy. Non moving fingers "accidentally grabbed the device for the scrren" are ignored. 2. Added accessibility events for hover enter, hover exit, touch exoloration gesture start, and end. Accessibility hover events are fired by the hover pipeline. An accessibility event is dispatched up the view tree and the topmost view fires it. Thus predecessors can augment the fired event. An accessibility event has several records and a predecessor can optionally modify, delete, and add such to the event. 3. Added onPopulateAccessibilityEvent and refactored the existing accessibility code to use it. 4. Added API for querying the currently enabled accessibility services by feedback type. Change-Id: Iea2258c07ffae9491071825d966dc453b07e5134
* | | | Revert "Touch exploration feature, event bubling, refactor"Adam Powell2011-04-224-1657/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit ac84d3ba81f08036308b17e1ab919e43987a3df5. There seems to be a problem with this API change. Reverting for now to fix the build. Change-Id: Ifa7426b080651b59afbcec2d3ede09a3ec49644c
* | | | Merge "Touch exploration feature, event bubling, refactor"Svetoslav Ganov2011-04-224-28/+1657
|\ \ \ \
| * | | | Touch exploration feature, event bubling, refactorSvetoslav Ganov2011-04-214-28/+1657
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Added an Input Filter that interprets the touch screen motion events to perfrom accessibility exploration. One finger explores. Tapping within a given time and distance slop on the last exlopred location does click and long press, respectively. Two fingers close and in the same diretion drag. Multiple finglers or two fingers in different directions or two fingers too far away are delegated to the view hierarchy. Non moving fingers "accidentally grabbed the device for the scrren" are ignored. 2. Added accessibility events for hover enter, hover exit, touch exoloration gesture start, and end. Accessibility hover events are fired by the hover pipeline. An accessibility event is dispatched up the view tree and the topmost view fires it. Thus predecessors can augment the fired event. An accessibility event has several records and a predecessor can optionally modify, delete, and add such to the event. 3. Added onPopulateAccessibilityEvent and refactored the existing accessibility code to use it. 4. Added API for querying the currently enabled accessibility services by feedback type. Change-Id: Iec03c6c3fe298de3f14cb6efdbb9b198cd531a0c
* | | | | Start work on simulating landscape/portrait when orientation is locked.Dianne Hackborn2011-04-221-58/+132
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Not yet working, so turned off. Also fix a bug where the display size configuration became inconsistent after a configuration change -- we now figure out everything about the display size when computing a new configuration.
* | | | | Merge "Fix bug in deciding which rotation to use for an orientation."Dianne Hackborn2011-04-212-7/+8
|\ \ \ \ \
| * | | | | Fix bug in deciding which rotation to use for an orientation.Dianne Hackborn2011-04-212-7/+8
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Icc928c2188a5865035cafcdab2efd5bae3132b1f
* | | | | | Merge "Get rid of the "pid" parameter from createSurface"Mathias Agopian2011-04-213-10/+13
|\ \ \ \ \ \ | |/ / / / / |/| | | | |
| * | | | | Get rid of the "pid" parameter from createSurfaceMathias Agopian2011-04-203-10/+13
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I28635e3f803e6abe965d79998e305f54a202465d
* | | | | | Rework display size access.Dianne Hackborn2011-04-214-23/+57
| |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Applications now get the display size from the window manager. No behavior should be changed yet, this is just prep for some real changes. Change-Id: I2958a6660895c1cba2b670509600014e55ee9273
* | | | | Merge "Add tap/drag touchpad gesture."Jeff Brown2011-04-193-67/+161
|\ \ \ \ \ | |/ / / / |/| | | |
| * | | | Add tap/drag touchpad gesture.Jeff Brown2011-04-193-67/+161
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The mapper sends a DOWN when the finger is released then starts a short timer. If the finger is not pressed again before the timer elapses, then the mapper sends an UP to complete the tap. If the finger is pressed again then the mapper starts sending MOVEs as part of a drag. Double/triple taps work as intended because we also start watching for a new tap when the finger is pressed again. If a new tap occurs the old tap is also finished. So each individual finger short press/release cycle constitutes a distinct tap. Change-Id: Iaa51182edee4378162a66adfd746088e93af2a30
* | | | | Merge "remove support for console in SurfaceFlinger"Mathias Agopian2011-04-192-263/+4
|\ \ \ \ \ | |/ / / / |/| | | |
| * | | | remove support for console in SurfaceFlingerMathias Agopian2011-04-182-263/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the only supported screen management api now is /sys/power/wait_for_fb_{sleep|wake} Change-Id: I6c7d8d54843da4980b1b38ee3d46cf19be275240
* | | | | Merge "Initial checkin of spot presentation for touchpad gestures."Jeff Brown2011-04-1912-723/+1262
|\ \ \ \ \
| * | | | | Initial checkin of spot presentation for touchpad gestures.Jeff Brown2011-04-1912-723/+1262
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added a new PointerIcon API (hidden for now) for loading pointer icons. Fixed a starvation problem in the native Looper's sendMessage implementation which caused new messages to be posted ahead of old messages sent with sendMessageDelayed. Redesigned the touch pad gestures to be defined in terms of more fluid finger / spot movements. The objective is to reinforce the natural mapping between fingers and spots which means there must not be any discontinuities in spot motion relative to the fingers. Removed the SpotController stub and folded its responsibilities into PointerController. Change-Id: I5126b1e69d95252fda7f2a684c9287e239a57163
* | | | | | Merge "Plumbing in PackageManager and installd for multi-user support."Amith Yamasani2011-04-194-50/+211
|\ \ \ \ \ \ | |/ / / / / |/| | | | |
| * | | | | Plumbing in PackageManager and installd for multi-user support.Amith Yamasani2011-04-154-50/+211
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Create /data/user directory and symlink /data/user/0 -> /data/data for backward compatibility - Create data directories for all packages for new user - Remove data directories when removing a user - Create data directories for all users when a package is created - Clear / Remove data for multiple users - Fixed a bug in verifying the location of a system app - pm commands for createUser and removeUser (will be disabled later) - symlink duplicate lib directories to the original lib directory Change-Id: Id9fdfcf0e62406a8896aa811314dfc08d5f6ed95
* | | | | | Merge "fix memory corruption when retriving GL_MAX_VIEWPORT_DIMS"Mathias Agopian2011-04-182-4/+8
|\ \ \ \ \ \
| * | | | | | fix memory corruption when retriving GL_MAX_VIEWPORT_DIMSMathias Agopian2011-04-182-4/+8
| | |/ / / / | |/| | | | | | | | | | | | | | | | Change-Id: I2e0b1eac6dbc6a4ecbbaf31013aa02cf2369fce2
* | | | | | am 37677849: am 64c42cae: Rename HierarchicalStateMachine and ↵Wink Saville2011-04-181-24/+25
|\ \ \ \ \ \ | |/ / / / / |/| | / / / | | |/ / / | |/| | | | | | | | | | | | | HierarchicalState to StateMachine and State. * commit '37677849998e6c9a39afe0a730b2f0131a371f3b': Rename HierarchicalStateMachine and HierarchicalState to StateMachine and State.
| * | | | am 64c42cae: Rename HierarchicalStateMachine and HierarchicalState to ↵Wink Saville2011-04-181-24/+25
| |\ \ \ \ | | | |/ / | | |/| | | | | | | | | | | | | | | | | | | | | | StateMachine and State. * commit '64c42cae4482fe0157e977b8ddd0f2c2436b3f31': Rename HierarchicalStateMachine and HierarchicalState to StateMachine and State.
| | * | | Rename HierarchicalStateMachine and HierarchicalState to StateMachine and State.Wink Saville2011-04-181-24/+25
| | | | | | | | | | | | | | | | | | | | Change-Id: Ib4b33894da75f5f156066092fb145b478e52f7d7
* | | | | Merge "Fix a GraphicBuffer leak in SurfaceTexture"Mathias Agopian2011-04-152-19/+0
|\ \ \ \ \
| * | | | | Fix a GraphicBuffer leak in SurfaceTextureMathias Agopian2011-04-082-19/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This leak was intentional, it was there to deal with the fact that some gralloc implementations don't track buffer handles with file-descriptors so buffers needed to stay alive until there were registered, which is not guaranteed by binder transactions. In this new implementation, we use a small BBinder holding a reference to the buffer, which with tuck into the parcel. This forces the reference to stay alive until the parcel is destroyed, which is guaranteed (by construction) to happen after the buffer is registered. this allows the public facing API to not expose the previous hack. Change-Id: I1dd6cd83679a2b7457ad628169e2851acc027143
* | | | | | Add an API to get the last used input method subtypesatok2011-04-151-0/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 4075039 - Voice input requires to know the last used input method subtype. Change-Id: I603a4fb88a2af5195e52188adfa6585ad80304fa
* | | | | | am 07a630d2: am 9a03a73a: am f6f87c98: Merge "Fix issue #4291805: Tap Fish ↵Dianne Hackborn2011-04-141-11/+10
|\ \ \ \ \ \ | | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | crashes on launch" into honeycomb-mr1 * commit '07a630d23ef326f820e6339b5f691df0aafd3574': Fix issue #4291805: Tap Fish crashes on launch
| * | | | | am 9a03a73a: am f6f87c98: Merge "Fix issue #4291805: Tap Fish crashes on ↵Dianne Hackborn2011-04-141-11/+10
| |\ \ \ \ \ | | | |/ / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | launch" into honeycomb-mr1 * commit '9a03a73a44c69706fe2b97a28632928f58b434b1': Fix issue #4291805: Tap Fish crashes on launch
| | * | | | am f6f87c98: Merge "Fix issue #4291805: Tap Fish crashes on launch" into ↵Dianne Hackborn2011-04-141-11/+10
| | |\ \ \ \ | | | | |_|/ | | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | honeycomb-mr1 * commit 'f6f87c985989603139b31df663f9f9a90543cacc': Fix issue #4291805: Tap Fish crashes on launch
| | | * | | Merge "Fix issue #4291805: Tap Fish crashes on launch" into honeycomb-mr1Dianne Hackborn2011-04-141-11/+10
| | | |\ \ \
| | | | * | | Fix issue #4291805: Tap Fish crashes on launchDianne Hackborn2011-04-141-11/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The activity manager got a little too aggressive about argument validation. Change-Id: I3cca0cd3135b98e5c50d26db778ec4ec28a47ec1
| * | | | | | am 2869d171: resolved conflicts for merge of 08c39c6a to honeycomb-LTEBenoit Goby2011-04-111-0/+5
| |\ \ \ \ \ \ | | |/ / / / / | | | | | | | | | | | | | | | | | | | | | * commit '2869d1715d815ef2b357bf182d384515cdf6f9ab': Add support for USB Ethernet adapters
| | * | | | | resolved conflicts for merge of 08c39c6a to honeycomb-LTEBenoit Goby2011-04-111-0/+5
| | |\ \ \ \ \ | | | |/ / / / | | | | | | | | | | | | | | Change-Id: I79f8ac1dc8ff9f5d0559d37043b850cd26246b92
| | | * | | | Add support for USB Ethernet adaptersBenoit Goby2011-04-111-0/+5
| | | |/ / / | | | | | | | | | | | | | | | | | | Change-Id: I6ae34a32d0e1b6f21c484b8639c3e7ce086e568d
* | | | | | Rewrite battery history storage.Dianne Hackborn2011-04-141-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We now write battery history directly into a buffer, instead of creating objects. This allows for more efficient storage; later it can be even better because we can only write deltas. The old code is still there temporarily for validation. Change-Id: I9707d4d8ff30855be8ebdc93bc078911040d8e0b
* | | | | | Forgot to add this file.Dianne Hackborn2011-04-121-0/+35
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I7b29785599ab8e4b8b29099a8398ef86df6aef31
* | | | | | Add APIs to remove tasks.Dianne Hackborn2011-04-124-202/+383
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | You can remove sub-tasks inside of a task, or an entire task. When removing an entire task, you can have its process killed as well. When the process is killed, any running services will get an onTaskRemoved() callback for them to do cleanup before their process is killed (and the service possibly restarted). Or they can set a new android:stopWithTask attribute to just have the service automatically (cleanly) stopped at this point. Change-Id: I1891bc2da006fa53b99c52f9040f1145650e6808
* | | | | | Merge "Updated system packages retain shared user"Kenny Root2011-04-121-0/+13
|\ \ \ \ \ \
| * | | | | | Updated system packages retain shared userKenny Root2011-04-081-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If a system package was updated that used permissions provided by a package signed with a different signature, it wouldn't grant those permissions to the updated system app. This is because the sharedUser field was not set in the disabled system package. Therefore it was checking the disabled system package's individual user permission grants which were empty. This change populates the sharedUser field for disabled system packages after reading all the existing shared users from the saved settings database. Bug: 4245273 Change-Id: I57c58c4083bd59f45095c184d6ca5a302f79ff6e
* | | | | | | More native code cleanup.Elliott Hughes2011-04-121-20/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Don't keep unused global references to classes, don't throw exceptions when an exception is already pending, and fix a (harmless) misunderstanding about how GetStringChars works. Change-Id: Ie445036f057daa8a1c76aceb7bad2a84fb81d820
* | | | | | | am 07c25b65: am 4430670f: am ca7ad44a: Merge "audioflinger: Enable ARMv5TE ↵Brad Fitzpatrick2011-04-111-2/+6
|\ \ \ \ \ \ \ | | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | optimized resampler" * commit '07c25b651216daac884bd503c02b788418165b50': audioflinger: Enable ARMv5TE optimized resampler
| * | | | | | am 4430670f: am ca7ad44a: Merge "audioflinger: Enable ARMv5TE optimized ↵Brad Fitzpatrick2011-04-111-2/+6
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | resampler" * commit '4430670f48f75661293371dab8db55865f5f56e0': audioflinger: Enable ARMv5TE optimized resampler
| | * \ \ \ \ \ am ca7ad44a: Merge "audioflinger: Enable ARMv5TE optimized resampler"Brad Fitzpatrick2011-04-071-2/+6
| | |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'ca7ad44a8b6764b5935143bfe55700cbddb0d990': audioflinger: Enable ARMv5TE optimized resampler
| | | * | | | | | audioflinger: Enable ARMv5TE optimized resamplerJim Huang2011-04-071-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, the optimized asm option is only enabled when __ARM_ARCH_5E__ is defined, which is assigned in armv5te.mk rather than armv7-a series targets. This patch checks the ARM CPU feature about half-word multiply instructions to enable ARMv5TE resampler optimization routines properly. Change-Id: I4c5a5d8c932416f23bedb0b389db958349f21ea4