summaryrefslogtreecommitdiffstats
path: root/services/core/java
Commit message (Collapse)AuthorAgeFilesLines
* Don't exit lock task on sleepJason Monk2014-05-211-1/+0
| | | | Change-Id: I332088ce31ce06a771461a78fcc63f4afc824813
* Merge "Update InputMethodSubtypeSwitchingController correctly"Yohei Yukawa2014-05-211-2/+2
|\
| * Update InputMethodSubtypeSwitchingController correctlyYohei Yukawa2014-05-211-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | User visible behavior is supposed to be identical with and without this CL. Previously, there is some corner cases where InputMethodSubtypeSwitchingController#resetCircularListLocked is not called but the list of enabled input method is updated. Fortunately, this corner cases are not observable for a user because we have not updated the the rotation order dynamically. However we should fix this before implementing smarter rotation algorithm that changes the rotation order dynamically. BUG: 7043015 Change-Id: I145a514dc4cde369ba50431c408c916046ab0c6e
* | Merge "Add dumpsys facility and a history to TrustManagerService"Adrian Roos2014-05-213-10/+248
|\ \
| * | Add dumpsys facility and a history to TrustManagerServiceAdrian Roos2014-05-203-10/+248
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | TrustManagerService now keeps track of all events that influence its state and reports them when it is dumped or a bugreport is collected. Bug: 15079129 Change-Id: Iac13de8a848d2b12c8d06168a6969f55b264144a
* | | Elide extras strings from noman dumpsys output.Dan Sandler2014-05-211-8/+7
| | | | | | | | | | | | | | | Bug: 14292528 Change-Id: I19cfb6b692e6901fa7f115ea675b1b03fc5ba176
* | | Merge "add ranking information to the dumpsys info"Chris Wren2014-05-211-0/+2
|\ \ \
| * | | add ranking information to the dumpsys infoChris Wren2014-05-201-0/+2
| | | | | | | | | | | | | | | | Change-Id: Ie08186066821a10feef010fd7967150b5517cd54
* | | | am 77669abb: am 9beccf9f: Merge "Defer display ready until brightness ramp ↵Jeff Brown2014-05-212-0/+35
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | completes." into klp-modular-dev * commit '77669abb8300b672700418216939b9253dc98bee': Defer display ready until brightness ramp completes.
| * \ \ \ am 9beccf9f: Merge "Defer display ready until brightness ramp completes." ↵Jeff Brown2014-05-212-0/+35
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into klp-modular-dev * commit '9beccf9f9e28f74bd78041e4381b59ce0a2351e7': Defer display ready until brightness ramp completes.
| | * | | | Defer display ready until brightness ramp completes.Jeff Brown2014-05-202-0/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 14494096 Change-Id: I6da6fffbbce2c7058170e5c6139eae4cb5a06d88
* | | | | | resolved conflicts for merge of fcc4fed3 to masterNarayan Kamath2014-05-211-8/+14
|\ \ \ \ \ \ | |/ / / / / | | | | | | | | | | | | Change-Id: Icebca982b01debd67a1470c02651ef8936f6e5b0
| * | | | | am 6fb904bf: Merge "Make power button behavior configurable." into ↵Jeff Brown2014-05-211-8/+14
| |\ \ \ \ \ | | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | klp-modular-dev * commit '6fb904bfd1f943547d6e5bc6f199ffec2290da01': Make power button behavior configurable.
| | * | | | Make power button behavior configurable.Jeff Brown2014-05-201-8/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allow power button to be used to either go to sleep as usual, which may doze, or skip that completely and really go to sleep. May also really go to sleep and go home all at once. Bug: 14406056 Change-Id: Ia19e2551b9c2a72271bb2eddd5c0d1749761e019
| * | | | | am e77a77d0: am ec71fed0: Merge "Improve ABI handling for shared user ids."Brian Carlstrom2014-05-211-26/+71
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'e77a77d081ff9d05100702f5880f356da27fd087': Improve ABI handling for shared user ids.
* | | | | | Merge "Disallow adb sideloading if UserManager flag is set for user."Sander Alewijnse2014-05-211-2/+15
|\ \ \ \ \ \ | |_|_|_|_|/ |/| | | | |
| * | | | | Disallow adb sideloading if UserManager flag is set for user.Sander Alewijnse2014-05-211-2/+15
| | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | Solution is based on "redefining" the User_all. Change-Id: Ie1ce5d6391e807f8caa05fe2a92009923d1032a8
* | | | | Merge "Add several actions for ARC (Audio Return Channel)"Jungshik Jang2014-05-218-17/+516
|\ \ \ \ \
| * | | | | Add several actions for ARC (Audio Return Channel)Jungshik Jang2014-05-218-17/+516
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ARC channel is established by both TV and AV Reciever. From TV, it sends <Request ARC Initiation> and AVR responds with <Initiate ARC>. From AVR, it can be initiated by sending <Initiate ARC> directly to TV. Once TV receives <Initiate ARC> it sets up ARC internally and replies <Report ARC Initiated> to AVR. Termination steps are almost same except for message name (use Terminate instread of Initiation). In order to implement the above steps, this change introduces following classes. RequestArcInitiation(Termination)Action: handles <Request ARC Initiation> (<Request ARC Termination>) RequestArcAction handles common logic of them. SetArcTransmissionStateAction: handles ARC set up, enabling/disabling ARC and reports results to AVR. <Initiate ARC> and <Terminate ARC> handles directly in HdmiControlService Along with this, this change has implmentation for add&removeAction. To avoid synchronization issue they are isolated to main thread. Change-Id: I3c5cf7c777e6c1de50d63ce4643b191dfe15fe1f
* | | | | | Fix NullPointerException on init of HdmiMhlController.Jungshik Jang2014-05-211-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I2f79ce0ef3a368c2fcc8d047de2dcad914679e0c
* | | | | | Improve ABI handling for shared user ids.Narayan Kamath2014-05-201-26/+71
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The key improvement is that we need to keep track of the package that's currently being scanned (this includes new installs and upgrades of existing packages) and treat it specially. If we didn't do that, In the case of upgrades we would perform the shared UID calculation based on the ABI of the old package, and not the current package. This change also allows us to perform the CPU ABI calculation before dexopt, which saves us from having to do it twice and fixes a bug where we were using the wrong package path to dexopt a package. This also has the side effect of fixing 15081286. bug: 15081286 (cherry-picked from commit b851c89d2252cf3d1dc504558ce1553527885316) Change-Id: I20f8ad36941fc3df29007f0e83ce82f38f3585c8
* | | | | | am ccf51bef: am 2d9b513d: Merge "I\'m feeling the good vibrations." into ↵Jeff Brown2014-05-211-7/+24
|\ \ \ \ \ \ | | |_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | klp-modular-dev * commit 'ccf51bef288652cb618a566a376173e252b84af0': I'm feeling the good vibrations.
| * | | | | am 2d9b513d: Merge "I\'m feeling the good vibrations." into klp-modular-devJeff Brown2014-05-211-7/+24
| |\ \ \ \ \ | | | |_|/ / | | |/| | | | | | | | | | | | | | | * commit '2d9b513dab78242281bca125b4abc6b8235089a6': I'm feeling the good vibrations.
| | * | | | I'm feeling the good vibrations.Jeff Brown2014-05-201-7/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When the device enters a non-interactive state, we normally cancel all active vibrations as a safety precaution. However if the system is performing haptic feedback then we want to allow it to run to completion. Bug: 14319563 Change-Id: I673781bbf32562e45c1595689e6b423bd178ea73
* | | | | | am 8f120dd6: am 0702786d: Merge "Allow display timeouts to be set in ↵Jeff Brown2014-05-211-16/+28
|\ \ \ \ \ \ | |/ / / / / | | | / / / | |_|/ / / |/| | | | | | | | | | | | | | config.xml." into klp-modular-dev * commit '8f120dd6d631ac632d3356b81403a53f958021f0': Allow display timeouts to be set in config.xml.
| * | | | am 0702786d: Merge "Allow display timeouts to be set in config.xml." into ↵Jeff Brown2014-05-211-16/+28
| |\ \ \ \ | | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | klp-modular-dev * commit '0702786d81eb9f9bf47c3a0827d3f2824c3f4228': Allow display timeouts to be set in config.xml.
| | * | | Allow display timeouts to be set in config.xml.Jeff Brown2014-05-201-16/+28
| | | | | | | | | | | | | | | | | | | | | | | | | Bug: 13671523 Change-Id: I79fc21999bc62743178d2d22071455a0c11070c9
* | | | | Merge "Move IP config from WifiConfiguration to IpConfiguration."Lorenzo Colitti2014-05-202-0/+419
|\ \ \ \ \
| * | | | | Move IP config from WifiConfiguration to IpConfiguration.Jaewan Kim2014-05-202-0/+419
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is so that Ethernet can use it in the future. Bug: 7606609 Bug: 8687763 Change-Id: I5d1189682b13f1088848809604690648d8d9ecca
* | | | | | Merge "Fix the wrong conversion of byte to int."Yuncheol Heo2014-05-201-3/+4
|\ \ \ \ \ \
| * | | | | | Fix the wrong conversion of byte to int.Yuncheol Heo2014-05-201-3/+4
| | |_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | Because 'byte' type is signed, we need a mask when converting it to 'int' type. Change-Id: I3a8fcb38c9d108c0280d66301e29144391807401
* | | | | | Merge "Per-user telephony restrictions"Amith Yamasani2014-05-201-0/+2
|\ \ \ \ \ \
| * | | | | | Per-user telephony restrictionsAmith Yamasani2014-05-201-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allow profile owners or administrators of restricted profiles to restrict access to telephony features such as calling and texting for a user. Change-Id: I89f97608c07c647ad8a7b43fef9d1e6bc4a84e95
* | | | | | | Merge "AudioSystem: add new audio device definitions"Eric Laurent2014-05-201-1/+1
|\ \ \ \ \ \ \
| * | | | | | | AudioSystem: add new audio device definitionsEric Laurent2014-05-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ib7675bc33771365b2dbb7694c522469317b11457
* | | | | | | | Merge "Fixing transition to/from Recents with full screen apps."Winson Chung2014-05-202-5/+30
|\ \ \ \ \ \ \ \ | |_|/ / / / / / |/| | | | | | |
| * | | | | | | Fixing transition to/from Recents with full screen apps.Winson Chung2014-05-202-5/+30
| | |_|/ / / / | |/| | | | | | | | | | | | | | | | | | | Change-Id: I2f400b6736581a37d38a75ee7194fc7cb6438460
* | | | | | | Merge "Delay the dispatching of non-wakeup alarms."Dianne Hackborn2014-05-203-127/+302
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | |
| * | | | | | Delay the dispatching of non-wakeup alarms.Dianne Hackborn2014-05-203-127/+302
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When the screen is off, there are no guarantees about when non-wakeup alarms will be dispatched. Historically they are dispatched any time the device wakes up. With this change, we will delay the dispatch until sometime later. The amount of delay is determined by how long the screen has been off. Currently there are three possible delays: up to 2 minutes if the screen has been off for less than 5 minutes; up to 15 minutes if it has been off for less than 30 minutes; and otherwise up to an hour. When the screen is turned on or a wakeup alarm is dispatched, all delayed alarms will also be dispatched. Note that one of the things this delays is TIME_TICK, which means the in many cases we won't deliver TIME_TICK until the screen is in the process of waking up. The current implementation causes this to be delayed until the SCREEN_ON broadcast is sent; we probably want to improve this to have the power manager tell the alarm manager about the screen turning on before it sends that broadcast, to help make sure things like the lock screen can update their current time before the screen is actually turned on. In addition, switch all of the alarm stats to use the new PendingIntent "tag" identifier for its operations, instead of the old code to try to construct a pseudo-identifier by retrieving the raw Intent. Also add a new package manager command to immediately write packages.xml. Change-Id: Id4b14757cccff9cb2c6b36de994de38163abf615
* | | | | | Add NetworkFactory names and unregistration.Robert Greenwalt2014-05-201-25/+70
| |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some Factories come and go (Telephony) and so they need to be able to unregister. Also, debugging is tough when the factories are anonymous, so add names for logging. Lastly, only send single set of NetworkRequests to a newly registered NetworkFactory and only send the requests. Change-Id: I717d63363f25c446f8ecf38d933b1a35d744af6e
* | | | | Add ZEN and speedbump to NotificationListenerServiceChristoph Studer2014-05-201-58/+86
| | | | | | | | | | | | | | | | | | | | Change-Id: I39fae5d77863e0d10cf236a096cc589167d146d3
* | | | | Merge "Fix reference to ProxyInfo extra"Jason Monk2014-05-201-1/+1
|\ \ \ \ \ | |/ / / / |/| | | |
| * | | | Fix reference to ProxyInfo extraJason Monk2014-05-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also remove unneeded null check. Change-Id: Ic25d1087f93632a24755b284ede41d870492e25d
* | | | | Merge "Allow adding a user while still removing other users"Amith Yamasani2014-05-202-3/+14
|\ \ \ \ \
| * | | | | Allow adding a user while still removing other usersAmith Yamasani2014-05-192-3/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When at the user limit, removing and adding a user causes a race condition where the deleted user is still being removed and adding another one fails. This change excludes deleted users from the counting to compare against the limit. Also fix an ArrayIndexOutOfBounds recently introduced in AppOpsService. Bug: 13282768 Change-Id: Ib79659e7604396583a280dbbc560b288a6d9051c
* | | | | | Merge "Fix infinite loop in TrustManagerService exception handler."Jim Miller2014-05-201-2/+0
|\ \ \ \ \ \
| * | | | | | Fix infinite loop in TrustManagerService exception handler.Jim Miller2014-05-191-2/+0
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes bug 15092272 Change-Id: I972a9134aed18fc160c919eac93e9d488b5691f1
* | | | | | Merge "Dump the countdown condition, if active."John Spurlock2014-05-201-0/+12
|\ \ \ \ \ \
| * | | | | | Dump the countdown condition, if active.John Spurlock2014-05-191-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I3fa1d239379565bae74094dc2bc2da76326f41dd
* | | | | | | Merge "Fixing regression in dismissing Recents."Winson Chung2014-05-191-2/+2
|\ \ \ \ \ \ \