summaryrefslogtreecommitdiffstats
path: root/services
Commit message (Collapse)AuthorAgeFilesLines
* Merge "These are not ready to be exposed. Also rename them to be better." ↵Dianne Hackborn2010-09-031-1/+1
|\ | | | | | | into gingerbread
| * These are not ready to be exposed. Also rename them to be better.Dianne Hackborn2010-09-031-1/+1
| | | | | | | | Change-Id: I7c234144497084b7769f8c46761b7d74d1c583d5
* | Don't crash when extra logging is enabled.Marco Nelissen2010-09-031-1/+5
|/ | | | Change-Id: I76cf8db0f51ed33e91acee9636180e8d7c0b5ff9
* Decrease PackageManagerService wait time for voldKenny Root2010-09-033-10/+21
| | | | | | | | | | | | Up the blocking queue maximum to twice the number of containers we allow which should let "asec list" complete without blocking the thread several times. Change the threads for the NativeDaemonConnector to vold and netd to be more descriptive instead of the same name. Bug: 2501075 Change-Id: I7e7949845a6c70a3d619aec0fa79ceef3c17a4be
* Fix buffer compacting in NativeDaemonConnectorKenny Root2010-09-021-0/+7
| | | | | | | | The buffer was being compacted in the read loop, but the start offset on the compacted buffer wasn't being considered after the next read. Bug: 2501075 Change-Id: I163297d751cf800d0bbc66df66b1a0fa0785de49
* Merge "Fix problem in AudioEffect::command() status." into gingerbreadEric Laurent2010-09-021-5/+9
|\
| * Fix problem in AudioEffect::command() status.Eric Laurent2010-09-021-5/+9
| | | | | | | | | | | | | | The *pReplyData argument of the command() function was left unitialized by EffectHandle::command() when command was EFFECT_CMD_ENABLE, EFFECT_CMD_DISABLE and EFFECT_CMD_SET_PARAM_COMMIT. Change-Id: I91a19817ead2a8cfbdd8e2d77ca270c7ce9d5bd4
* | SipService: reduce the usage of javax.sdp.*.Chia-chi Yeh2010-09-024-26/+45
| | | | | | | | | | | | After this change, SipAudioCallImpl is the only place still using it. Change-Id: I5693bffa54f9e19cbfa70b45dfcf40fba04dedbb
* | Fix a small bug when granting permissions through activity results.Dianne Hackborn2010-09-011-1/+2
| | | | | | | | Change-Id: I2a5c4025fb5f566e29c219fde4d50ed2eba6e174
* | Add software features for SIP and VOIPHung-ying Tyan2010-09-022-6/+16
| | | | | | | | | | | | and block SipService creation and SIP API if the feature is not available. Change-Id: Icf780af1ac20dda4d8180cea3e5b20e21a8350bc
* | Fix logic error in downgrade of system appsKenny Root2010-09-011-8/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | A logic error would allow not deleting data when uninstalling a system app upgrade that's of a newer release than the on on the system partition. If the system app had a database upgrade and this happened, you might be in trouble. Luckily it appears no one ever does this in code. You'd have to manually get there doing: adb uninstall -k updated.system.package Change-Id: I3110fedf2d147975a0635c71898d985dd642a2c1
* | Add null check for package settingsKenny Root2010-09-011-1/+1
|/ | | | | | | | | | | A few lines down "ps" is run through a null check, so apparently there could be some screwy system conditions where this is encountered. And, in fact, this was encountered through an updated system pacakge that managed to delete the package from /system/app during testing. It left the PackageSetting in mDisabledSysPackages which would cause a deference of a null variable. Change-Id: Ic7faca569abd16a87a8a69c20df08c11a274a001
* Add PackageManager API to get information about a provider component.Dianne Hackborn2010-08-311-0/+12
| | | | | | Kind-of useful when all you have is a ComponentName. Change-Id: I9a99f12daabb29e97e882e09c43ca0df70c00651
* Improve debug output when an ANR happens.Dianne Hackborn2010-08-313-111/+260
| | | | | | | | | | | - Collect data at better times. - Collect per-thread CPU usage as soon as possible after the ANR, and print in log. - Based on new per-thread CPU usage, limit the number of processes we collect stacks from to not include inactive not interesting procs. - Improve the way ProcessStats compute and reports its data. Change-Id: I12b17fb47d593d175be69bb792c1f57179bf4fdf
* Audio Effects: fix problems in volume control.Eric Laurent2010-08-312-7/+32
| | | | | | | | | | | | | - Fixed click when re-enabling effect during the turn off phase: make sure the effect states where effect is processed are the same where volume control is delegated to effect. - Fixed click when effect is deleted while still active: do not apply volume ramp if an effect having volume control was just removed from the effect chain. Also fixed a crash when PCM dump is enabled in effect bundle wrapper. Change-Id: Ib562f5cf75c69af75df0e862536262e2514493e4
* Input device calibration and capabilities.Jeff Brown2010-08-303-9/+242
| | | | | | | | | | | | | Finished the input device capability API. Added a mechanism for calibrating touch devices to obtain more accurate information about the touch contact area. Improved pointer location to show new coordinates and capabilities. Optimized pointer location display and formatting to avoid allocating large numbers of temporary objects. The GC churn was causing the application to stutter very badly when more than a couple of fingers were down). Added more diagnostics. Change-Id: Ie25380278ed6f16c5b04cd9df848015850383498
* Renaming SharedPreferences$Editor.startCommit to applyBrad Fitzpatrick2010-08-301-1/+1
| | | | | | | | Also removes the artifical restriction that only one apply() can be in flight at once. That was old from when I thought it'd end up being required, but wasn't. Change-Id: I3540ea8be6e0760d6a51d218186f71655c2f3f55
* Merge "Native libraries on SD" into gingerbreadKenny Root2010-08-301-0/+1
|\
| * Native libraries on SDKenny Root2010-08-301-0/+1
| | | | | | | | | | | | | | | | | | * Add native library tests during package move * Fix omission that let PackageSettings and ApplicationInfo get out of sync. Change-Id: Ic4958f971cb2c9cfd270522fdc120b4031c1124a
* | Merge "Fix issue 2952766." into gingerbreadEric Laurent2010-08-301-18/+24
|\ \ | |/ |/|
| * Fix issue 2952766.Eric Laurent2010-08-271-18/+24
| | | | | | | | | | | | | | | | | | | | | | | | The problem is that the audio policy manager does not handle the input devices when forced use for telephony is changed. The problem does not appear in a call over PSTN becasue only teh output devices drives the routing of in call audio to/from the base band. The fix consists in modifying AudioPolicyManagerBase::setForceUse() to check for active inputs and update the input device if needed. Change-Id: I0d36d1f5eef1cce527929180c29b025439902f10
* | Remove experimental immersive mode support. DO NOT MERGEDaniel Sandler2010-08-272-34/+0
| | | | | | | | | | | | Bug: 2949215 Change-Id: I7d998ef571ef7e149bb96261430e92150b80b77d
* | Allow native shared libraries in ASEC containersKenny Root2010-08-271-367/+197
| | | | | | | | | | | | | | | | | | | | | | This change moves the native library handling earlier in the package installation process so that it may be inserted into ASEC containers before they are finalized in the DefaultContainerService. Note that native libraries on SD card requires that vold mount ASEC containers without the "noexec" flag on the mount point. Change-Id: Ib34b1886bf6f94b99bb7b3781db6e9b5a58807ba
* | Send broadcast intent when configured location providers change.Brad Fitzpatrick2010-08-271-2/+6
|/ | | | | | | | | See e.g. http://code.google.com/p/android/issues/detail?id=10042 This is also needed by the power control widget, which has no reliable way otherwise of staying in-sync. Change-Id: I8f2b6b79b1843329bae952a25ea56f15e3cf92aa
* SharedPreferences$Editor.startCommit()Brad Fitzpatrick2010-08-271-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds a fire-and-forget save method (startCommit) to the SharedPreferences.Editor, which is the way most people use it anyway. This commit adds the implementation. The previous commit added the interface and docs: previous change: Idf9934b445da1fb72b79f0192218b47c0a7f5a34 git commit: edf32d01316bd3432c023f17747461b08ae36375 In addition, this change: -- adds a generic "runPendingWorkFinishers" mechanism to ActivityThread to wait on async operations that are still in flight and use it for this. -- ties runPendingWorkFinishers into Activity.onPause, BroadcastReceiver, and Service. -- makes sSharedPreferences keyed on name, not File, to avoid unnnecessary allocations -- documents and guarantees what thread OnSharedPreferenceChangeListener callbacks run on -- makes a few things in frameworks/base use startCommit(), notably Preference.java (which was ignoring the return value anyway) Change-Id: I1c8db60ad45643226fe6d246d3e513eeb7bd0ebd
* Hide heavy-weight API.Dianne Hackborn2010-08-261-2/+2
| | | | | | And give it a better name, for when it is later un-hidden. Change-Id: Iae0d3054d44f873b9f953bc41d175a47802a185e
* am 797e688b: Continue trying to make the turn off quickly after call feature ↵Joe Onorato2010-08-261-5/+12
|\ | | | | | | | | | | | | | | | | work. Merge commit '797e688b3bebbf1f50a8ad08528740b064f79153' into gingerbread * commit '797e688b3bebbf1f50a8ad08528740b064f79153': Continue trying to make the turn off quickly after call feature work.
| * Continue trying to make the turn off quickly after call feature work.Joe Onorato2010-08-261-5/+12
| | | | | | | | | | | | | | | | The previous implementation worked if the set timeout is short enough, which mine was. This one carries the remaining amount of timeout override forward through all of the countdown steps. Bug: 2844990 Change-Id: I040df22f9f9ddf98c355ac6845b7624e95f84f33
| * Amend previous ndc commitKenny Root2010-08-181-1/+2
| | | | | | | | | | | | | | Submitted wrong patchset. This includes the delta for the latest patchset. Change-Id: I63bb9a37dd9100550ae07a3a1c9fdd9fd71724e1
| * Add more error checking for ndcKenny Root2010-08-173-113/+280
| | | | | | | | | | | | | | | | | | In NativeDaemonConnector.doCommand() calls, there was inconsistent error checking. This change adds error checking for every call and makes it so that any call to .doCommand() that gets an error code won't cause the code to hang forever. Change-Id: If714282b6642f278fb8137f652af1a012670253b
| * PackageManagerService: always install native binaries from .apkDavid 'Digit' Turner2010-08-171-22/+28
| | | | | | | | | | | | | | The previous implementation fails to work properly when the .apk and installed versions of the binaries have the same size and date. Change-Id: I063817a935da9ad459858d7eec8bb3d940607850
| * Merge "Add a missing break; to restore old functionality and not turn off ↵Andreas Huber2010-07-301-0/+4
| |\ | | | | | | | | | the screen after 30secs regardless of system preference." into froyo
| | * Add a missing break; to restore old functionality and not turn off the ↵Andreas Huber2010-07-291-0/+4
| | | | | | | | | | | | | | | | | | screen after 30secs regardless of system preference. Change-Id: Ib71113a3bc5aa5fdc088ab4ac3627352499ad3fa
* | | Merge "Just disable widgets that come from apps on sd cards, because they ↵Joe Onorato2010-08-261-1/+7
|\ \ \ | | | | | | | | | | | | don't work anyway." into gingerbread
| * | | Just disable widgets that come from apps on sd cards, because they don't ↵Joe Onorato2010-08-241-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | work anyway. Change-Id: I2d7ef4a63bcbd43547e40c01e997d813cc01e800
* | | | Merge "Fix typo that makes apps on sd work better with app widgets." into ↵Joe Onorato2010-08-261-1/+1
|\ \ \ \ | |/ / / | | | | | | | | gingerbread
| * | | Fix typo that makes apps on sd work better with app widgets.Joe Onorato2010-08-241-1/+1
| | | | | | | | | | | | | | | | | | | | Bug: 2489571 Change-Id: Idbfb91d960b952aaf32c604b7e52592d77b5ef2e
* | | | DO NOT MERGE. Backport master InputMethodManagerService.java to gingerbreadsatok2010-08-261-16/+22
| | | | | | | | | | | | | | | | Change-Id: Ied15b4f2f447ee3e3b858d4ca65c21c30dfa4eba
* | | | Merge "Don't retain global ref to last inflated context." into gingerbreadDianne Hackborn2010-08-256-140/+272
|\ \ \ \
| * | | | Don't retain global ref to last inflated context.Dianne Hackborn2010-08-256-140/+272
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also rework URI permission granting to support upcoming clipboard use. Change-Id: I9842920350955531c5a511c2ecc5215e8c783343
* | | | | Merge "Add dynamic uid info for tracking the sip service usage." into ↵Chung-yih Wang2010-08-251-10/+5
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | gingerbread
| * | | | | Add dynamic uid info for tracking the sip service usage.Chung-yih Wang2010-08-261-10/+5
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ibc340401b63799326b08aee6eba602a3e753b13f
* | | | | | Merge "Preventing the hierarchy viewer from getting stuck, once when trying ↵Konstantin Lopyrev2010-08-251-0/+15
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | | | | | | | to load the window data for SurfaceView and the Wallpaper, and in the case the captured node has disappeared." into gingerbread
| * | | | | Preventing the hierarchy viewer from getting stuck, once when trying to load ↵Konstantin Lopyrev2010-08-251-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the window data for SurfaceView and the Wallpaper, and in the case the captured node has disappeared. Change-Id: Iaff6bd501a2bb3faa7a394fff740479f6a95e899
* | | | | | Merge "Fix a fun bug with multiple service bindings from an activity." into ↵Dianne Hackborn2010-08-252-143/+198
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | gingerbread
| * | | | | | Fix a fun bug with multiple service bindings from an activity.Dianne Hackborn2010-08-252-143/+198
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There was a flaw in the service management, when the same activity is doing a bindService() for the same service IBinder. In this case the activity would correctly keep a list of all generated connections, however some other data structures would assume there is only one connection per IBinder, and thus only remember the last. When that last connection was unbound, the service would be destroyed since it thought there were no more connections. Then when the activity was finished, it would try to destroy the service again and end up with an ANR because the service was already gone and would not respond. Change-Id: I59bde38bc24e78147b90b0a7cd525c2a1d20489f
* | | | | | fix [2946787] Screen flicker on low resolution setting in camcorder.Mathias Agopian2010-08-251-11/+21
| |/ / / / |/| | | | | | | | | | | | | | Change-Id: I7e86f2b6d85dcae8dd212890b978fa6ac7de6893
* | | | | don't try to lock a buffer that wasn't allocated with SW usage bitsMathias Agopian2010-08-251-6/+10
|/ / / / | | | | | | | | | | | | Change-Id: Iabbcec1bfa30dc47d45ece699dd178653f1b675b
* | | | Merge "fix [2931513] Add support for setting the orientation of an ↵Mathias Agopian2010-08-246-29/+102
|\ \ \ \ | | | | | | | | | | | | | | | ANativeWindow" into gingerbread
| * | | | fix [2931513] Add support for setting the orientation of an ANativeWindowMathias Agopian2010-08-246-29/+102
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also implement support for cropping. Change-Id: Iba5888dd242bf2feaac9e9ce26e404c1f404c280