summaryrefslogtreecommitdiffstats
path: root/services
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Fix the empty reason field in connectivity change intent." into mnc-devFeixiong Zhang2015-06-041-1/+1
|\
| * Fix the empty reason field in connectivity change intent.Feixiong Zhang2015-06-041-1/+1
| | | | | | | | | | | | The code set it to null instead of info.getReason. Change-Id: I1b26ad040c23da7080dbfaeb5376181998115805
* | Fix abi detection for system apksDmitriy Ivanov2015-06-041-87/+38
| | | | | | | | | | | | | | | | | | | | Prebuilts open their libraries directly from apk. Because of that abi detection is no longer as special as it was before. Bug: 20810492 Bug: 8076853 Change-Id: Icbd39d6062f3c1fcad2038e712b98fbdd9aa2196
* | Merge "Don't leak windows on removal with dummy animations" into mnc-devAndroid (Google) Code Review2015-06-042-5/+16
|\ \
| * | Don't leak windows on removal with dummy animationsStefan Kuhne2015-06-042-5/+16
| | | | | | | | | | | | | | | | | | | | | | | | Dummy animations might never end. Do not hold a window removal for it. Bug: 21403998 Change-Id: Ie907d31f51e130e245a70249a983d490f3d42b21
* | | Merge "More API changes." into mnc-devDianne Hackborn2015-06-043-39/+40
|\ \ \
| * | | More API changes.Dianne Hackborn2015-06-023-39/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Start moving Assist* stuff to android.app.assist. Clean up some more of the VoiceInteractionSession APIs. Clearly document that finish() is not the same as hide(), always call hide() instead, and fix the finish() path to also always do a hide to make sure everything is cleaned up correctly. Change-Id: I962d4069fcb34fe89547a95d395ae1b9fa3b4148
* | | | Merge "Revive ConnectivityServiceTest and add some tests." into mnc-devPaul Jensen2015-06-044-77/+379
|\ \ \ \
| * | | | Revive ConnectivityServiceTest and add some tests.Paul Jensen2015-06-044-77/+379
| | | | | | | | | | | | | | | | | | | | Change-Id: I44740a7b21cff18ac2a67d09c4d0e597add19ee0
* | | | | Merge "Actually close sockets when stopping the receive thread." into mnc-devLorenzo Colitti2015-06-041-5/+13
|\ \ \ \ \
| * | | | | Actually close sockets when stopping the receive thread.Lorenzo Colitti2015-06-041-5/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Contrary to the expectations of the code, IoUtils.closeQuietly() does not unblock system calls. So mReceiveThread.halt() was not actually stopping the receive thread. This wasn't actually a problem, because after "stopping" the receive thread, either the interface would go down (interrupting the previous receive thread with ENETDOWN), or a packet would arrive to both the old and new receive threads, stopping the old one. But the lack of a "stopping receive thread" message at the expected time was confusing. While I'm at it, also add the string for CMD_TIMEOUT. Bug: 19704592 Change-Id: I74732429118af780453028898148519b294fa9d3
* | | | | | Don't compile all splits when installing one.Narayan Kamath2015-06-042-8/+97
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch consists of two broad changes : - don't "force" dex2oat when installing a new app. this should never be necessary because we will always compare checksums. - when staging a new install, we "inherit" (hard link) all compiled oat files from the previous install. this will ensure that we compile only those files that have changed, and not all of them bug: 20889739 Change-Id: I3e14335f3bcfe76d1d24d233f53a728a6d90e8a1
* | | | | Merge "Include InputMethodSubtypeSwitchingController in state dump." into ↵Yohei Yukawa2015-06-041-0/+2
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | mnc-dev
| * | | | | Include InputMethodSubtypeSwitchingController in state dump.Yohei Yukawa2015-06-041-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In order to diagnose IME issues in multi-user / multi-profile environment, internal state of InputMethodSubtypeSwitchingController needs to be included in the bugreport. Bug: 19340792 Bug: 19587437 Bug: 21612582 Change-Id: I34aca2c1a4330ec08b5e40441e631809a8bb844e
* | | | | | Merge "Show more logs when switching users and IMMS#DEBUG==true." into mnc-devYohei Yukawa2015-06-041-3/+10
|\ \ \ \ \ \ | |/ / / / /
| * | | | | Show more logs when switching users and IMMS#DEBUG==true.Yohei Yukawa2015-06-031-3/+10
| | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This CL changes nothing but adds more logging points in IMMS when switching users and IMMS#DEBUG==true. No impact in production code. Bug: 19340792 Bug: 19587437 Bug: 21612582 Change-Id: Ibaeb77ae50d246fc322cb023da7750d7415a58ab
* | | | | Merge "Actually fall back from yiaddr to ciaddr." into mnc-devLorenzo Colitti2015-06-044-13/+76
|\ \ \ \ \
| * | | | | Actually fall back from yiaddr to ciaddr.Lorenzo Colitti2015-06-044-13/+76
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The initial implementation of toDhcpResults attempted to get the leased IP address from ciaddr if yiaddr was 0.0.0.0, but it never actually did so because a) it used == instead of equals(), and b) the parsing code never populated mClientIp for a DhcpOfferPacket or DhcpAckPacket. Fix this and add a test for it.. Technically DHCP does not use ciaddr (only bootp uses it), but in 5.0 we would use ciaddr if yiaddr was 0.0.0.0 and a bit more compatibility shouldn't hurt. Bug: 19704592 Change-Id: I1f58555f0c10b9c576995a6edb759a83d8938ea0
* | | | | | Merge "Make RenewingState time out as well." into mnc-devLorenzo Colitti2015-06-041-15/+21
|\ \ \ \ \ \ | |/ / / / /
| * | | | | Make RenewingState time out as well.Lorenzo Colitti2015-06-031-15/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 19704592 Change-Id: I0759a98911a8c0059936916db8db459b7d66bc00
* | | | | | Merge "Disable mDefaultDns to see if we can remove it." into mnc-devLorenzo Colitti2015-06-041-4/+6
|\ \ \ \ \ \
| * | | | | | Disable mDefaultDns to see if we can remove it.Lorenzo Colitti2015-05-201-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 21146610 Change-Id: I385f1c8780acc97d955002f469a6c8ad65db1578
* | | | | | | Merge "Make node retrieval methods in AccessibilityManagerService use ↵Svetoslav Ganov2015-06-041-7/+30
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | separate Region instances to make them thread safe." into mnc-dev
| * | | | | | | Make node retrieval methods in AccessibilityManagerService use separate ↵Nirmal Patel2015-06-031-7/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Region instances to make them thread safe. b/21087793 Change-Id: Ice690e3d7494788fb9e1e234a54f14831bd4e0d3 (cherry picked from commit ebd8eb4610d6bb9322a374f8965a78ba1c39ee63)
* | | | | | | | Be more conservative about initial keyguard stateAdrian Roos2015-06-041-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Prevents a race condition that could lead to leaking the home screen if Keyguard is too slow at pushing its state to the window manager while booting. Bug: 21128921 Change-Id: I992066c2c4e1bc4f797776c7804408a53b658b03
* | | | | | | | Merge "Wait for KEY_SLEEP UP event before calling goToSleep()" into mnc-devNick Vaccaro2015-06-041-8/+15
|\ \ \ \ \ \ \ \
| * | | | | | | | Wait for KEY_SLEEP UP event before calling goToSleep()Nick Vaccaro2015-05-151-8/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Calling goToSleep() on the KEY_SLEEP DOWN event causes a race condition with the touch driver when the KEY_SLEEP event is generated via a palm press if the touch controller is told to go into AMBIENT_ON mode (touch controller goes into suspend mode) while the user's palm is still on the touch panel. If touch controller gets into suspend mode before user removes their palm, the act of removing the palm from the screen will cause the touch controller to generate a wake event and the device will "wake back up" into interactive mode. Waiting for the KEY_SLEEP UP event before putting the device to sleep assures palm is off the panel and thus removes this race case. Bug: 19951365 Change-Id: Id4e3313caa264f43e37994ed37015de87b8ff662
* | | | | | | | | Merge "Allow packagemanager checks for secondary user packages" into mnc-devAmith Yamasani2015-06-041-4/+10
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | Allow packagemanager checks for secondary user packagesAmith Yamasani2015-06-031-4/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Clear calling identity when calling into package manager for package info. Bug: 21613139 Change-Id: I0655122f69cc886a395b7195d108222697769b06
* | | | | | | | | | Merge "Fixed outOfBoundsException when logging discarded receiver." into mnc-devWale Ogunwale2015-06-041-10/+8
|\ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | Fixed outOfBoundsException when logging discarded receiver.Wale Ogunwale2015-06-031-10/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 21607321 Change-Id: I6f7ee4581ae2f0a0b7caedb84190fadc0edccfe8
* | | | | | | | | | | Prevent windows below the keyguard from showingAdrian Roos2015-06-032-4/+18
| |_|_|_|_|_|/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes a bug where windows below the lock screen could become visible if a SHOW_WHEN_LOCKED activity hides the status bar. Bug: 21450145 Change-Id: Ie660394cb96d7e6839bd4fb7c2729133bac2dfc5
* | | | | | | | | | Lower the priority of the LazyTaskWriter thread.Riley Andrews2015-06-031-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This worker thread shouldn't be prioritized at the same level as user tasks, preemptions of ui threads may result. Additionally, if we lower its priority level, it will be scheduled on more efficient cores in big little systems. Change-Id: I49a7df6fb43d6c067aeacf9ff0cbd5477cb42f7d
* | | | | | | | | | Merge "UsbDeviceManager: Don't unnecessarily touch properties" into mnc-devNick Kralevich2015-06-031-3/+16
|\ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | UsbDeviceManager: Don't unnecessarily touch propertiesNick Kralevich2015-06-021-3/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Before setting the properties persist.sys.usb.config or sys.usb.config, check the existing values. If the values are the same as what we'd set it to, don't perform the set. Any USB property set, even if setting the property to the value it already has, triggers one of the "on property" triggers in system/core/rootdir/init.usb.rc . The script then reconfigures the driver unnecessarily, which causes instability and dropped connections when trying to use ADB. Avoid this instability by not performing property sets which would have no effect. Bug: 21404762 Bug: 18905620 Change-Id: Id3c2543308df994a0114a0661e20ca799c2dc0e8
* | | | | | | | | | | Merge "Fix calls to Rect.intersect(Rect)" into mnc-devDoris Liu2015-06-031-4/+2
|\ \ \ \ \ \ \ \ \ \ \ | |_|_|/ / / / / / / / |/| | | | | | | | | |
| * | | | | | | | | | Fix calls to Rect.intersect(Rect)Doris Liu2015-06-021-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This CL checks for the return value for Rect.intersect(Rect) for whether there is actually an intersection before taking the calling rect as the intersection. In the case of no intersection (Rect.intersect(Rect) returns false), the calling rect would not have been changed, so here in this CL it will be manually set empty. Bug: 7368679 Change-Id: I7494c1a1649eca09e34412f0a59b795e8b3a82aa
* | | | | | | | | | | Merge "usb debugging: show alert to secondary user" into mnc-devXiaohui Chen2015-06-031-16/+29
|\ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | usb debugging: show alert to secondary userXiaohui Chen2015-06-031-16/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 12785423 Change-Id: If7f60899cfdaca7bdad560bd59a78f5be74c24be
* | | | | | | | | | | | Merge "Zen: Mute alarm (vibrations) in total silence." into mnc-devJohn Spurlock2015-06-031-1/+6
|\ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | Zen: Mute alarm (vibrations) in total silence.John Spurlock2015-06-031-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 21376328 Change-Id: I00b46e64a0ec8d9b5066b5a9be10fc859dca0126
* | | | | | | | | | | | | Merge "Audio policy: setting explicit non-zero volume unmutes the stream." ↵John Spurlock2015-06-031-2/+5
|\ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|_|_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | into mnc-dev
| * | | | | | | | | | | | Audio policy: setting explicit non-zero volume unmutes the stream.John Spurlock2015-06-031-2/+5
| |/ / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | And vice versa. Bug: 21584884 Change-Id: I2cd6a84ab40edba4c6fc2b219693e0d4f0527d8d
* | | | | | | | | | | | Delete unsed mDnsLock.Erik Kline2015-06-031-1/+0
| |_|_|_|_|_|_|_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 21449922 Change-Id: I0c9f95c30eaa170d809e86f6505379f34a0a7603
* | | | | | | | | | | Merge changes I9b96cdcf,Ib4b29a7f into mnc-devLorenzo Colitti2015-06-033-36/+63
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * changes: Remove the IPv4 address from the interface when DHCP fails. Make the dumpsys connectivity shorter and easier to read.
| * | | | | | | | | | | Remove the IPv4 address from the interface when DHCP fails.Lorenzo Colitti2015-06-031-12/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 19704592 Change-Id: I9b96cdcfc7c9442b3f8d6797aca63559ed4bdb9b
| * | | | | | | | | | | Make the dumpsys connectivity shorter and easier to read.Lorenzo Colitti2015-06-032-24/+38
| | |_|_|/ / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Print NetworkFactories on one line. - Only print LegacyTypeTracker networks if they are connected, and record supported network types on a separate summary line. - Print all tethering upstreams on one line. - Summarize the state of the transition wakelock on one line. - Don't print Inet condition reports if there are none. (Currently there can never be any.) Bug: 21449922 Change-Id: Ib4b29a7fd882e6c105839a255fffecf4f346cf7e
* | | | | | | | | | | Merge "[LockSettings] migrate patterns to be indexed at '1'" into mnc-devAndres Morales2015-06-032-7/+51
|\ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | [LockSettings] migrate patterns to be indexed at '1'Andres Morales2015-06-022-7/+51
| | |_|_|_|_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Base zero patterns (ones where the top left is idx 0) are not handled properly by scrypt. Add logic to re-enroll base zero patterns such that the top left is idx 1. Bug: 21433955 Change-Id: I7f67f2c67d40dd1be6c62117710dc3b0392275a2
* | | | | | | | | | | Merge "Make sure starting windows only draw once" into mnc-devJorim Jaggi2015-06-021-1/+2
|\ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|/ / / / / / |/| | | | | | | | | |