OSDN Git Service

android-x86/frameworks-base.git
8 years agoMerge \"IpConn metrics: distinguish NUD_FAILED answers\" into nyc-mr1-dev
Hugo Benichi [Thu, 7 Jul 2016 13:11:01 +0000 (13:11 +0000)]
Merge \"IpConn metrics: distinguish NUD_FAILED answers\" into nyc-mr1-dev
am: 42e608527a

Change-Id: I4303badea7760c6cd9a1b63db1df8a3766a638f2

8 years agoMerge "IpConn metrics: distinguish NUD_FAILED answers" into nyc-mr1-dev
Hugo Benichi [Thu, 7 Jul 2016 13:02:29 +0000 (13:02 +0000)]
Merge "IpConn metrics: distinguish NUD_FAILED answers" into nyc-mr1-dev

8 years agoMerge \"Bump ACTION_CHOOSE_PRIVATE_KEY_ALIAS broadcast to foreground\" into nyc-mr1-dev
Rubin Xu [Thu, 7 Jul 2016 11:46:47 +0000 (11:46 +0000)]
Merge \"Bump ACTION_CHOOSE_PRIVATE_KEY_ALIAS broadcast to foreground\" into nyc-mr1-dev
am: f627e9c09e

Change-Id: Ia080af7aea13e630ed45a27233fd1efc2f3fe1b4

8 years agoMerge "Bump ACTION_CHOOSE_PRIVATE_KEY_ALIAS broadcast to foreground" into nyc-mr1-dev
Rubin Xu [Thu, 7 Jul 2016 11:41:29 +0000 (11:41 +0000)]
Merge "Bump ACTION_CHOOSE_PRIVATE_KEY_ALIAS broadcast to foreground" into nyc-mr1-dev

8 years agoMerge \"Do not show user locked notification after reboot when there is no lock\...
Ricky Wai [Thu, 7 Jul 2016 11:12:37 +0000 (11:12 +0000)]
Merge \"Do not show user locked notification after reboot when there is no lock\" into nyc-mr1-dev
am: f32e96a8df

Change-Id: If32cda85b7737d04ffc83fc6686c176f9e6910a1

8 years agoMerge "Do not show user locked notification after reboot when there is no lock" into...
Ricky Wai [Thu, 7 Jul 2016 11:05:54 +0000 (11:05 +0000)]
Merge "Do not show user locked notification after reboot when there is no lock" into nyc-mr1-dev

8 years agoMerge \"Rewrite lingering.\" into nyc-mr1-dev
Lorenzo Colitti [Thu, 7 Jul 2016 11:01:19 +0000 (11:01 +0000)]
Merge \"Rewrite lingering.\" into nyc-mr1-dev
am: b0a574fbfc

Change-Id: I62d69f20101318b42d4d333b104dcf4f64dc1725

8 years agoMerge "Rewrite lingering." into nyc-mr1-dev
Lorenzo Colitti [Thu, 7 Jul 2016 10:55:38 +0000 (10:55 +0000)]
Merge "Rewrite lingering." into nyc-mr1-dev

8 years agoMerge \"Disallow OobConfig being suspended\" into nyc-mr1-dev
Tony Mak [Thu, 7 Jul 2016 10:41:57 +0000 (10:41 +0000)]
Merge \"Disallow OobConfig being suspended\" into nyc-mr1-dev
am: ccdad8f85b

Change-Id: Ic072ddf8787b88c08f67af73550c50a867328930

8 years agoMerge "Disallow OobConfig being suspended" into nyc-mr1-dev
Esteban Talavera [Thu, 7 Jul 2016 10:33:21 +0000 (10:33 +0000)]
Merge "Disallow OobConfig being suspended" into nyc-mr1-dev

8 years agoMerge \"ConnectivityManager: no double callback remove\" into nyc-mr1-dev
Hugo Benichi [Thu, 7 Jul 2016 09:38:29 +0000 (09:38 +0000)]
Merge \"ConnectivityManager: no double callback remove\" into nyc-mr1-dev
am: 78feae882a

Change-Id: Ib7b10c59c1f7c84ec78c7527fba8a6c9aa5b0c05

8 years agoMerge "ConnectivityManager: no double callback remove" into nyc-mr1-dev
TreeHugger Robot [Thu, 7 Jul 2016 09:33:34 +0000 (09:33 +0000)]
Merge "ConnectivityManager: no double callback remove" into nyc-mr1-dev

8 years agoMerge \"Make MediaScanner extract \"date taken\" from videos, if present\" into nyc...
Bryan Mawhinney [Thu, 7 Jul 2016 09:28:03 +0000 (09:28 +0000)]
Merge \"Make MediaScanner extract \"date taken\" from videos, if present\" into nyc-mr1-dev
am: d63dbfdb6b

Change-Id: I5ea0eafbc2e122f2756098ac98b50c03fe773be5

8 years agoMerge "Make MediaScanner extract "date taken" from videos, if present" into nyc-mr1-dev
Bryan Mawhinney [Thu, 7 Jul 2016 09:22:43 +0000 (09:22 +0000)]
Merge "Make MediaScanner extract "date taken" from videos, if present" into nyc-mr1-dev

8 years agoMerge \"IpConn metrics: add times to DHCP bound state\" into nyc-mr1-dev
Hugo Benichi [Thu, 7 Jul 2016 09:13:22 +0000 (09:13 +0000)]
Merge \"IpConn metrics: add times to DHCP bound state\" into nyc-mr1-dev
am: bbf97cd121

Change-Id: I0002c00d03165ac4bfa4a9790984d9e5615d7ff4

8 years agoMerge "IpConn metrics: add times to DHCP bound state" into nyc-mr1-dev
TreeHugger Robot [Thu, 7 Jul 2016 09:06:44 +0000 (09:06 +0000)]
Merge "IpConn metrics: add times to DHCP bound state" into nyc-mr1-dev

8 years agoMerge \"Prepare to delete useless loop in handleReleaseNetworkRequest.\" into nyc...
Lorenzo Colitti [Thu, 7 Jul 2016 07:40:46 +0000 (07:40 +0000)]
Merge \"Prepare to delete useless loop in handleReleaseNetworkRequest.\" into nyc-mr1-dev
am: 6f9fb31b79

Change-Id: I8cd95575e7758ee94417ec15e407f396434f4c04

8 years agoMerge "Prepare to delete useless loop in handleReleaseNetworkRequest." into nyc-mr1-dev
TreeHugger Robot [Thu, 7 Jul 2016 07:33:06 +0000 (07:33 +0000)]
Merge "Prepare to delete useless loop in handleReleaseNetworkRequest." into nyc-mr1-dev

8 years agoRewrite lingering.
Lorenzo Colitti [Thu, 30 Jun 2016 16:53:25 +0000 (01:53 +0900)]
Rewrite lingering.

The two major changes here are:

- Move lingering out of NetworkMonitor. The fact that lingering
  is currently its own state in NetworkMonitor complicates the
  logic there: while a network is lingering it cannot be in any
  other state, we have to take care not to leave LingeringState
  for the wrong reason, etc.
- Instead of keeping a single per-network boolean to indicate
  whether a network is lingered or not, keep a linger timer for
  every request. This allows us to fix various corner-case bugs
  in lingering.

The changes in behaviour compared to the current code can be seen
in the unit test changes. Specifically:

1. Bug fix: when a network is lingered, and a request is added
   and removed to it, the existing code tears the network down
   immediately. The new code just sends another CALLBACK_LOSING
   and resumes lingering with the original timeout.
2. Bug fix: if cell is unvalidated and wifi comes up and
   validates before cell does (as might happen on boot), the
   existing code immediately tears down cell. The new code
   lingers cell, which is correct because unvalidated cell was
   the default network, so an app might have been using it.
3. Correctness improvement: always send CALLBACK_AVAILABLE for
   the new network before sending CALLBACK_LOSING. This was not
   really an issue in practice, because the usual flow is:
    - Network A is the default.
    - Network B connects, CALLBACK_AVAILABLE.
    - Network B validates, CALLBACK_LOSING.

Bug: 23113288
Change-Id: I2f1e779ff6eb869e62921a95aa9d356f380cf30a

8 years agoIpConn metrics: add times to DHCP bound state
Hugo Benichi [Thu, 7 Jul 2016 02:28:54 +0000 (11:28 +0900)]
IpConn metrics: add times to DHCP bound state

This patch adds DhcpClientEvent logging for:
 - time from init state to bound state
 - time from bound state to bound state when renewing

Example:
ConnectivityMetricsEvent(12:04:33.353, 0, 0): DhcpClientEvent(wlan0, WaitBeforeStartState, 94ms)
ConnectivityMetricsEvent(12:04:35.772, 0, 0): DhcpClientEvent(wlan0, DhcpInitState, 2417ms)
ConnectivityMetricsEvent(12:04:35.787, 0, 0): DhcpClientEvent(wlan0, DhcpRequestingState, 15ms)
ConnectivityMetricsEvent(12:04:35.793, 0, 0): DhcpClientEvent(wlan0, ConfiguringInterfaceState, 6ms)
ConnectivityMetricsEvent(12:04:35.811, 0, 0): DhcpClientEvent(wlan0, InitialBoundState, 2457ms)
ConnectivityMetricsEvent(12:05:35.791, 0, 0): DhcpClientEvent(wlan0, DhcpBoundState, 59998ms)
ConnectivityMetricsEvent(12:05:35.988, 0, 0): DhcpClientEvent(wlan0, WaitBeforeRenewalState, 196ms)
ConnectivityMetricsEvent(12:05:36.003, 0, 0): DhcpClientEvent(wlan0, DhcpRenewingState, 15ms)
ConnectivityMetricsEvent(12:05:36.010, 0, 0): DhcpClientEvent(wlan0, RenewingBoundState, 219ms)

Change-Id: I2540dd102a6509dff55936e38015265659b20760

8 years agoIpConn metrics: distinguish NUD_FAILED answers
Hugo Benichi [Wed, 22 Jun 2016 08:01:43 +0000 (17:01 +0900)]
IpConn metrics: distinguish NUD_FAILED answers

This patch adds in IpReachabilityMonitor a timestamp variable set
everytime that probeAll() send NUD probe requests to RTNETLINK.
This allows to distinguish between:
  1) NUD_FAILED events resulting from such a forced NUD probe
  2) "organic" NUD_FAILED notifications from the kernel

This distinction is added to IpReachabilityEvent as a one-bit flag.

This patch also changes the formatting of ApfProgramEvent flags to use
'|' as a joining character, similarly to other flags formatting.

Bug: 21859053
Change-Id: I24c64a3f17fa283eace5bd0a05c21a90a2305359

8 years agoPrepare to delete useless loop in handleReleaseNetworkRequest.
Lorenzo Colitti [Wed, 6 Jul 2016 10:04:26 +0000 (19:04 +0900)]
Prepare to delete useless loop in handleReleaseNetworkRequest.

As explained in the TODO, the loop serves no purpose since only
one network can be satisfying a given request at a time.

Instead of looping, look up the nai in the mNetworkForRequestId
array that exists for this purpose.

Keep the loop around with an Slog.wtf statement on it so we can
see if we ever hit it, and add a TODO to delete it if we don't.

Bug: 23113288
Change-Id: I173de4bd45c5a4169b7a062a981f2ecccaa44143

8 years agoMerge \"Enable the demo launcher package as well.\" into nyc-mr1-dev
Sudheer Shanka [Thu, 7 Jul 2016 03:27:30 +0000 (03:27 +0000)]
Merge \"Enable the demo launcher package as well.\" into nyc-mr1-dev
am: b5b2c196a8

Change-Id: Ie5c2c249a046edbd9c6f2347056f121b96b12284

8 years agoMerge "Enable the demo launcher package as well." into nyc-mr1-dev
TreeHugger Robot [Thu, 7 Jul 2016 03:19:22 +0000 (03:19 +0000)]
Merge "Enable the demo launcher package as well." into nyc-mr1-dev

8 years agoMerge \"Revert \"Fix navigation bar order in seascape\"\" into nyc-mr1-dev
Jorim Jaggi [Thu, 7 Jul 2016 02:35:48 +0000 (02:35 +0000)]
Merge \"Revert \"Fix navigation bar order in seascape\"\" into nyc-mr1-dev
am: ce715e4922

Change-Id: I02b59a2f7ed17f9f5fd209cc090da62e37fa63ba

8 years agoMerge "Revert "Fix navigation bar order in seascape"" into nyc-mr1-dev
TreeHugger Robot [Thu, 7 Jul 2016 02:28:05 +0000 (02:28 +0000)]
Merge "Revert "Fix navigation bar order in seascape"" into nyc-mr1-dev

8 years agoMerge "DO NOT MERGE revert system api loadSafeLabel am: 863ac471cf am: 92b8cbd472...
Android Build Merger (Role) [Thu, 7 Jul 2016 02:10:43 +0000 (02:10 +0000)]
Merge "DO NOT MERGE revert system api loadSafeLabel am: 863ac471cf am: 92b8cbd472 am: b4849f8d74  -s ours am: d061c3abfa am: f6923d2993 am: 50904bedb5 am: aad33e6905  -s ours am: c8a7fd0502 am: 8e71c857ff" into nyc-mr1-dev-plus-aosp

8 years agoDO NOT MERGE revert system api loadSafeLabel am: 863ac471cf am: 92b8cbd472 am: b4849f...
fionaxu [Thu, 7 Jul 2016 02:10:11 +0000 (02:10 +0000)]
DO NOT MERGE revert system api loadSafeLabel am: 863ac471cf am: 92b8cbd472 am: b4849f8d74  -s ours am: d061c3abfa am: f6923d2993 am: 50904bedb5 am: aad33e6905  -s ours am: c8a7fd0502
am: 8e71c857ff

Change-Id: Ic168cf27b9e4cbd5c002a74323eeaa505e55e59b

8 years agoDO NOT MERGE revert system api loadSafeLabel am: 863ac471cf am: 92b8cbd472 am: b4849f...
fionaxu [Thu, 7 Jul 2016 02:09:39 +0000 (02:09 +0000)]
DO NOT MERGE revert system api loadSafeLabel am: 863ac471cf am: 92b8cbd472 am: b4849f8d74  -s ours am: d061c3abfa am: f6923d2993 am: 50904bedb5 am: aad33e6905  -s ours am: c8a7fd0502
am: eea1ae16d5

Change-Id: Idefe8e70ff74378b6da441382c75d66e3104dccb

8 years agoDO NOT MERGE revert system api loadSafeLabel am: 863ac471cf am: 92b8cbd472 am: b4849f...
fionaxu [Thu, 7 Jul 2016 02:03:11 +0000 (02:03 +0000)]
DO NOT MERGE revert system api loadSafeLabel am: 863ac471cf am: 92b8cbd472 am: b4849f8d74  -s ours am: d061c3abfa am: f6923d2993 am: 50904bedb5 am: aad33e6905  -s ours
am: c8a7fd0502

Change-Id: Idbfa5313542afff71e8756e6ef65550bfc48c2bd

8 years agoDO NOT MERGE revert system api loadSafeLabel am: 863ac471cf am: 92b8cbd472 am: b4849f...
fionaxu [Thu, 7 Jul 2016 02:01:55 +0000 (02:01 +0000)]
DO NOT MERGE revert system api loadSafeLabel am: 863ac471cf am: 92b8cbd472 am: b4849f8d74  -s ours am: d061c3abfa am: f6923d2993 am: 50904bedb5 am: aad33e6905  -s ours
am: c8a7fd0502

Change-Id: Ie8cab000503035a1b9e620912356df74e20f4c37

8 years agoDO NOT MERGE revert system api loadSafeLabel am: 863ac471cf am: 92b8cbd472 am: b4849f...
fionaxu [Thu, 7 Jul 2016 01:55:16 +0000 (01:55 +0000)]
DO NOT MERGE revert system api loadSafeLabel am: 863ac471cf am: 92b8cbd472 am: b4849f8d74  -s ours am: d061c3abfa am: f6923d2993 am: 50904bedb5
am: aad33e6905  -s ours

Change-Id: I8de53f5fa9e45bb5b39eb9d2cd3901f49850e93f

8 years agoDO NOT MERGE revert system api loadSafeLabel am: 863ac471cf am: 92b8cbd472 am: b4849f...
fionaxu [Thu, 7 Jul 2016 01:47:45 +0000 (01:47 +0000)]
DO NOT MERGE revert system api loadSafeLabel am: 863ac471cf am: 92b8cbd472 am: b4849f8d74  -s ours am: d061c3abfa am: f6923d2993
am: 50904bedb5

Change-Id: I733cc2b3421780398a2a764748c9d9155c39327b

8 years agoEnable the demo launcher package as well.
Sudheer Shanka [Thu, 7 Jul 2016 00:49:37 +0000 (17:49 -0700)]
Enable the demo launcher package as well.

Bug: 29922954
Change-Id: I81ad01d9ca5e3505df716bde2506e0f1e7f7a6b7

8 years agoDO NOT MERGE revert system api loadSafeLabel am: 863ac471cf am: 92b8cbd472 am: b4849f...
fionaxu [Thu, 7 Jul 2016 01:39:09 +0000 (01:39 +0000)]
DO NOT MERGE revert system api loadSafeLabel am: 863ac471cf am: 92b8cbd472 am: b4849f8d74  -s ours am: d061c3abfa
am: f6923d2993

Change-Id: If22f635f2e4cf0a3ce79ef6916abe3cb60c6b419

8 years agoMerge \\\\\\"DO NOT MERGE revert system api loadSafeLabel\\\\\\" into mnc-dev am...
Chen Xu [Thu, 7 Jul 2016 01:37:57 +0000 (01:37 +0000)]
Merge \\\\\\"DO NOT MERGE revert system api loadSafeLabel\\\\\\" into mnc-dev am: d2e2288fe3 am: 59fc768893 am: 69a071e55c am: e5643a13c4  -s ours am: ea5f6a74c0
am: fb55beefc8

Change-Id: I2ca8a734fbcaf1860e39df6cdb4cdad0e065f5ea

8 years agoMerge \\"remove \\"referenceonly\\" flag from the offline-docs build. Add new offline...
Scott Main [Thu, 7 Jul 2016 01:37:52 +0000 (01:37 +0000)]
Merge \\"remove \\"referenceonly\\" flag from the offline-docs build. Add new offline-docs-referenceonly make rule. And update online-sdk and offline-sdk to use the new site templates.\\" into nyc-dev am: 83f71845af
am: 68d98965c5

Change-Id: I729284b793399191b9a53d5e507126a48de820ed

8 years agoMerge \\"Use proper lock when accessing the generation registry\\" into nyc-dev am...
Svetoslav Ganov [Thu, 7 Jul 2016 01:37:48 +0000 (01:37 +0000)]
Merge \\"Use proper lock when accessing the generation registry\\" into nyc-dev am: dcf2e205bf
am: 8503bf31bf

Change-Id: I1ab1849f80f3830c12506210329ba667f7c72488

8 years agoMerge "Merge \"Merge \\\\\\"DO NOT MERGE revert system api loadSafeLabel\\\\\\" into...
Android Build Merger (Role) [Thu, 7 Jul 2016 01:33:44 +0000 (01:33 +0000)]
Merge "Merge \"Merge \\\\\\"DO NOT MERGE revert system api loadSafeLabel\\\\\\" into mnc-dev am: d2e2288fe3 am: 59fc768893 am: 69a071e55c am: e5643a13c4  -s ours am: ea5f6a74c0\" into nyc-mr1-dev am: cba5f29304" into nyc-mr1-dev-plus-aosp

8 years agoMerge "Merge \"Merge \\"remove \\"referenceonly\\" flag from the offline-docs build...
Android Build Merger (Role) [Thu, 7 Jul 2016 01:33:32 +0000 (01:33 +0000)]
Merge "Merge \"Merge \\"remove \\"referenceonly\\" flag from the offline-docs build. Add new offline-docs-referenceonly make rule. And update online-sdk and offline-sdk to use the new site templates.\\" into nyc-dev am: 83f71845af\" into nyc-mr1-dev am: 925a5ffa5e" into nyc-mr1-dev-plus-aosp

8 years agoMerge "Merge \"Merge \\"Use proper lock when accessing the generation registry\\...
Android Build Merger (Role) [Thu, 7 Jul 2016 01:33:22 +0000 (01:33 +0000)]
Merge "Merge \"Merge \\"Use proper lock when accessing the generation registry\\" into nyc-dev am: dcf2e205bf\" into nyc-mr1-dev am: d0302f579b" into nyc-mr1-dev-plus-aosp

8 years agoMerge "Merge \"Merge \\"Make registerDefaultNetwork work on metered networks.\\"...
Android Build Merger (Role) [Thu, 7 Jul 2016 01:33:10 +0000 (01:33 +0000)]
Merge "Merge \"Merge \\"Make registerDefaultNetwork work on metered networks.\\" into nyc-dev am: 33cdc4d136  -s ours\" into nyc-mr1-dev am: 6f93a6c2c3" into nyc-mr1-dev-plus-aosp

8 years agoMerge "Merge \"Switch network cycle calculation to use Calendar.\" into nyc-mr1-dev...
Android Build Merger (Role) [Thu, 7 Jul 2016 01:32:56 +0000 (01:32 +0000)]
Merge "Merge \"Switch network cycle calculation to use Calendar.\" into nyc-mr1-dev am: 3a4408640a" into nyc-mr1-dev-plus-aosp

8 years agoDO NOT MERGE revert system api loadSafeLabel am: 863ac471cf am: 92b8cbd472 am: b4849f...
fionaxu [Thu, 7 Jul 2016 01:32:07 +0000 (01:32 +0000)]
DO NOT MERGE revert system api loadSafeLabel am: 863ac471cf am: 92b8cbd472 am: b4849f8d74  -s ours
am: d061c3abfa

Change-Id: Ia6af0a650e4fe0afdcf56ecee7473be2cdef7b32

8 years agoMerge \"Merge \\\\\\"DO NOT MERGE revert system api loadSafeLabel\\\\\\" into mnc...
fionaxu [Thu, 7 Jul 2016 01:32:03 +0000 (01:32 +0000)]
Merge \"Merge \\\\\\"DO NOT MERGE revert system api loadSafeLabel\\\\\\" into mnc-dev am: d2e2288fe3 am: 59fc768893 am: 69a071e55c am: e5643a13c4  -s ours am: ea5f6a74c0\" into nyc-mr1-dev
am: cba5f29304

Change-Id: I025b6275b7a36688452903e25fe48fc39c0b0b69

8 years agoMerge \\"Make registerDefaultNetwork work on metered networks.\\" into nyc-dev am...
Pankaj Kanwar [Thu, 7 Jul 2016 01:32:00 +0000 (01:32 +0000)]
Merge \\"Make registerDefaultNetwork work on metered networks.\\" into nyc-dev am: 33cdc4d136
am: 21e9073ba2  -s ours

Change-Id: I71fcfb810a477f5bcc3d7642375c6ef56b747517

8 years agoMerge \"Merge \\"remove \\"referenceonly\\" flag from the offline-docs build. Add...
smain@google.com [Thu, 7 Jul 2016 01:31:58 +0000 (01:31 +0000)]
Merge \"Merge \\"remove \\"referenceonly\\" flag from the offline-docs build. Add new offline-docs-referenceonly make rule. And update online-sdk and offline-sdk to use the new site templates.\\" into nyc-dev am: 83f71845af\" into nyc-mr1-dev
am: 925a5ffa5e

Change-Id: I91587d97a6fa86135646e937c241deca1f10275e

8 years agoMerge \"Merge \\"Use proper lock when accessing the generation registry\\" into nyc...
Svet Ganov [Thu, 7 Jul 2016 01:31:55 +0000 (01:31 +0000)]
Merge \"Merge \\"Use proper lock when accessing the generation registry\\" into nyc-dev am: dcf2e205bf\" into nyc-mr1-dev
am: d0302f579b

Change-Id: I8cd55faa5e8c788752ae411f29f29d9261f327c0

8 years agoMerge \"Merge \\"Make registerDefaultNetwork work on metered networks.\\" into nyc...
Lorenzo Colitti [Thu, 7 Jul 2016 01:31:50 +0000 (01:31 +0000)]
Merge \"Merge \\"Make registerDefaultNetwork work on metered networks.\\" into nyc-dev am: 33cdc4d136  -s ours\" into nyc-mr1-dev
am: 6f93a6c2c3

Change-Id: I160e1a702a5e879da775ddf9e360ef5c3d206973

8 years agoMerge \"Switch network cycle calculation to use Calendar.\" into nyc-mr1-dev
Jeff Sharkey [Thu, 7 Jul 2016 01:31:46 +0000 (01:31 +0000)]
Merge \"Switch network cycle calculation to use Calendar.\" into nyc-mr1-dev
am: 3a4408640a

Change-Id: Icd8026e94b3d67523858486844f2195fc18f107b

8 years agoMerge "Merge \\\\\"DO NOT MERGE revert system api loadSafeLabel\\\\\" into mnc-dev...
Android Build Merger (Role) [Thu, 7 Jul 2016 01:26:32 +0000 (01:26 +0000)]
Merge "Merge \\\\\"DO NOT MERGE revert system api loadSafeLabel\\\\\" into mnc-dev am: d2e2288fe3 am: 59fc768893 am: 69a071e55c am: e5643a13c4  -s ours am: ea5f6a74c0" into nyc-mr1-dev

8 years agoMerge "Merge \"remove \"referenceonly\" flag from the offline-docs build. Add new...
Android Build Merger (Role) [Thu, 7 Jul 2016 01:26:21 +0000 (01:26 +0000)]
Merge "Merge \"remove \"referenceonly\" flag from the offline-docs build. Add new offline-docs-referenceonly make rule. And update online-sdk and offline-sdk to use the new site templates.\" into nyc-dev am: 83f71845af" into nyc-mr1-dev

8 years agoMerge "Merge \"Use proper lock when accessing the generation registry\" into nyc...
Android Build Merger (Role) [Thu, 7 Jul 2016 01:26:12 +0000 (01:26 +0000)]
Merge "Merge \"Use proper lock when accessing the generation registry\" into nyc-dev am: dcf2e205bf" into nyc-mr1-dev

8 years agoMerge "Merge \"Make registerDefaultNetwork work on metered networks.\" into nyc-dev...
Android Build Merger (Role) [Thu, 7 Jul 2016 01:26:03 +0000 (01:26 +0000)]
Merge "Merge \"Make registerDefaultNetwork work on metered networks.\" into nyc-dev am: 33cdc4d136  -s ours" into nyc-mr1-dev

8 years agoMerge \\\\\"DO NOT MERGE revert system api loadSafeLabel\\\\\" into mnc-dev am: d2e22...
fionaxu [Thu, 7 Jul 2016 01:25:21 +0000 (01:25 +0000)]
Merge \\\\\"DO NOT MERGE revert system api loadSafeLabel\\\\\" into mnc-dev am: d2e2288fe3 am: 59fc768893 am: 69a071e55c am: e5643a13c4  -s ours
am: ea5f6a74c0

Change-Id: I2b35540b9d12712aa80149d54a9c35203e35a84e

8 years agoMerge \"remove \"referenceonly\" flag from the offline-docs build. Add new offline...
smain@google.com [Thu, 7 Jul 2016 01:25:11 +0000 (01:25 +0000)]
Merge \"remove \"referenceonly\" flag from the offline-docs build. Add new offline-docs-referenceonly make rule. And update online-sdk and offline-sdk to use the new site templates.\" into nyc-dev
am: 83f71845af

Change-Id: Iee22aa299a11517f6c0efb73b57d5d256c8148c1

8 years agoMerge \"Use proper lock when accessing the generation registry\" into nyc-dev
Svet Ganov [Thu, 7 Jul 2016 01:25:04 +0000 (01:25 +0000)]
Merge \"Use proper lock when accessing the generation registry\" into nyc-dev
am: dcf2e205bf

Change-Id: I00b1a6aba01fd9155e4b0db17e9bd65d31425489

8 years agoMerge \"Make registerDefaultNetwork work on metered networks.\" into nyc-dev
Lorenzo Colitti [Thu, 7 Jul 2016 01:24:58 +0000 (01:24 +0000)]
Merge \"Make registerDefaultNetwork work on metered networks.\" into nyc-dev
am: 33cdc4d136  -s ours

Change-Id: Iacee53c01e7de163e677ab57bc2d7044f8aff952

8 years agoMerge "Switch network cycle calculation to use Calendar." into nyc-mr1-dev
TreeHugger Robot [Thu, 7 Jul 2016 01:23:57 +0000 (01:23 +0000)]
Merge "Switch network cycle calculation to use Calendar." into nyc-mr1-dev

8 years agoDO NOT MERGE revert system api loadSafeLabel am: 863ac471cf am: 92b8cbd472
fionaxu [Thu, 7 Jul 2016 01:20:29 +0000 (01:20 +0000)]
DO NOT MERGE revert system api loadSafeLabel am: 863ac471cf am: 92b8cbd472
am: b4849f8d74  -s ours

Change-Id: Id3089485c93309a4d1ee97e12aeda63c015f397a

8 years agoDO NOT MERGE revert system api loadSafeLabel am: 863ac471cf
fionaxu [Thu, 7 Jul 2016 01:13:47 +0000 (01:13 +0000)]
DO NOT MERGE revert system api loadSafeLabel am: 863ac471cf
am: 92b8cbd472

Change-Id: Ie23b6f96b4d624469f842c8822dc78f83c2d9714

8 years agoDO NOT MERGE revert system api loadSafeLabel
fionaxu [Thu, 7 Jul 2016 01:07:43 +0000 (01:07 +0000)]
DO NOT MERGE revert system api loadSafeLabel
am: 863ac471cf

Change-Id: I9230b78b2e1ac29cfd76db00be0c31e690566ac7

8 years agoConnectivityManager: no double callback remove
Hugo Benichi [Thu, 7 Jul 2016 00:36:12 +0000 (09:36 +0900)]
ConnectivityManager: no double callback remove

This patch partially undoes ag/869831 (Change-Id:
Ia42ed7aefaebd8caf3eada8e42b6cb7a940d7647) so that ConnectivityManager
does not remove callbacks from its internal request-to-callback map at
unregistration, but instead let the singleton CallbackHandler do it when
receiving a CALLBACK_RELEASED from ConnectivityService.

ag/869831 was thought to fix b/26749700 that reported a callback leak
from sNetworkCallback, but a finer analysis of the code shows that
callbacks were correctly removed by the CallbackHandler before
ag/869831. There was therefore no callback leak.

Bug: 26749700
Bug: 28537383
Change-Id: I421d889d0e225c0e3d1eebea664f44a1cc0f3191

8 years agoMerge \"Fixing app transition due to left-nav bar inset.\" into nyc-mr1-dev
Winson [Thu, 7 Jul 2016 00:37:44 +0000 (00:37 +0000)]
Merge \"Fixing app transition due to left-nav bar inset.\" into nyc-mr1-dev
am: 8d90128bc9

Change-Id: If7c8d92a27d96668ab4698828401bcc236086ff3

8 years agoRevert "Fix navigation bar order in seascape"
Jorim Jaggi [Thu, 7 Jul 2016 00:34:28 +0000 (00:34 +0000)]
Revert "Fix navigation bar order in seascape"

This reverts commit 27315acfbbf9921e760647e2e96e74ec7de6015a.

Change-Id: I680f44eaca7813633d7c251ff0bb9c62f94d1fc5

8 years agoMerge "Fixing app transition due to left-nav bar inset." into nyc-mr1-dev
TreeHugger Robot [Thu, 7 Jul 2016 00:30:38 +0000 (00:30 +0000)]
Merge "Fixing app transition due to left-nav bar inset." into nyc-mr1-dev

8 years agoMerge \"Move phone number formatting logic into DeviceInfoUtils.\" into nyc-mr1-dev
Fan Zhang [Thu, 7 Jul 2016 00:20:55 +0000 (00:20 +0000)]
Merge \"Move phone number formatting logic into DeviceInfoUtils.\" into nyc-mr1-dev
am: 53185e42b5

Change-Id: I5f02f164bdea326ab0ac1ad77239fda63bf27346

8 years agoMerge "Move phone number formatting logic into DeviceInfoUtils." into nyc-mr1-dev
TreeHugger Robot [Thu, 7 Jul 2016 00:14:07 +0000 (00:14 +0000)]
Merge "Move phone number formatting logic into DeviceInfoUtils." into nyc-mr1-dev

8 years agoDO NOT MERGE revert system api loadSafeLabel
fionaxu [Thu, 30 Jun 2016 22:59:55 +0000 (15:59 -0700)]
DO NOT MERGE revert system api loadSafeLabel

Bug: 28557603
Change-Id: Ib2dd0fc19217655a4d6b49cdf49ce36dfd6577d5

8 years agoMerge \\\\\"DO NOT MERGE revert system api loadSafeLabel\\\\\" into mnc-dev am: d2e22...
fionaxu [Wed, 6 Jul 2016 23:50:10 +0000 (23:50 +0000)]
Merge \\\\\"DO NOT MERGE revert system api loadSafeLabel\\\\\" into mnc-dev am: d2e2288fe3 am: 59fc768893 am: 69a071e55c am: e5643a13c4  -s ours
am: ea5f6a74c0

Change-Id: Iab0c0cb2bf1a83ac5f7cb94e4763757078aa6740

8 years agoMerge \\\\"DO NOT MERGE revert system api loadSafeLabel\\\\" into mnc-dev am: d2e2288...
Chen Xu [Wed, 6 Jul 2016 23:42:41 +0000 (23:42 +0000)]
Merge \\\\"DO NOT MERGE revert system api loadSafeLabel\\\\" into mnc-dev am: d2e2288fe3 am: 59fc768893 am: 69a071e55c
am: e5643a13c4  -s ours

Change-Id: I68bfaeedf5290ea792aa0570e68e24d0d6dada11

8 years agoMerge \\\"DO NOT MERGE revert system api loadSafeLabel\\\" into mnc-dev am: d2e2288fe...
fionaxu [Wed, 6 Jul 2016 23:36:00 +0000 (23:36 +0000)]
Merge \\\"DO NOT MERGE revert system api loadSafeLabel\\\" into mnc-dev am: d2e2288fe3 am: 59fc768893
am: 69a071e55c

Change-Id: If59d61dfdc00f740ffcf8fbe5233b191eb03a797

8 years agoMerge \\"DO NOT MERGE revert system api loadSafeLabel\\" into mnc-dev am: d2e2288fe3
Chen Xu [Wed, 6 Jul 2016 23:29:51 +0000 (23:29 +0000)]
Merge \\"DO NOT MERGE revert system api loadSafeLabel\\" into mnc-dev am: d2e2288fe3
am: 59fc768893

Change-Id: I1eeb704e6b0a29e3574e969649ba72bbb5d9a9c2

8 years agoMerge \"Add callbacks to VoiceInteractionManagerService\" into nyc-mr1-dev
Annie Chin [Wed, 6 Jul 2016 23:29:50 +0000 (23:29 +0000)]
Merge \"Add callbacks to VoiceInteractionManagerService\" into nyc-mr1-dev
am: d58f07f58a

Change-Id: I6a9c537b71084696915e744102a6a12f532942d5

8 years agoMerge \"DO NOT MERGE revert system api loadSafeLabel\" into mnc-dev
fionaxu [Wed, 6 Jul 2016 23:24:04 +0000 (23:24 +0000)]
Merge \"DO NOT MERGE revert system api loadSafeLabel\" into mnc-dev
am: d2e2288fe3

Change-Id: If7bb704d5d6ae942b7ceac3e9f22acf4cf3a7b4b

8 years agoMerge "Add callbacks to VoiceInteractionManagerService" into nyc-mr1-dev
Annie Chin [Wed, 6 Jul 2016 23:22:09 +0000 (23:22 +0000)]
Merge "Add callbacks to VoiceInteractionManagerService" into nyc-mr1-dev

8 years agoMerge "DO NOT MERGE revert system api loadSafeLabel" into mnc-dev
Chen Xu [Wed, 6 Jul 2016 23:16:53 +0000 (23:16 +0000)]
Merge "DO NOT MERGE revert system api loadSafeLabel" into mnc-dev

8 years agoSwitch network cycle calculation to use Calendar.
Jeff Sharkey [Wed, 6 Jul 2016 23:11:48 +0000 (17:11 -0600)]
Switch network cycle calculation to use Calendar.

The older Time class is deprecated and doesn't handle edge cases
very well.  So migrate the cycle calculation logic to use the
long-standing and well-supported Calendar API.

Bug: 28689087
Change-Id: Ic1802b3f8556402f99bfea4cd625c35dfed81ac0

8 years agoMerge \"Capture fingerprint statistics for estimating FRR\" into nyc-mr1-dev
Jim Miller [Wed, 6 Jul 2016 23:07:01 +0000 (23:07 +0000)]
Merge \"Capture fingerprint statistics for estimating FRR\" into nyc-mr1-dev
am: 6f8d49db99

Change-Id: Ie774cb0f1c1422837f4be2bd88a0c76b97258f17

8 years agoMerge "Capture fingerprint statistics for estimating FRR" into nyc-mr1-dev
TreeHugger Robot [Wed, 6 Jul 2016 23:00:17 +0000 (23:00 +0000)]
Merge "Capture fingerprint statistics for estimating FRR" into nyc-mr1-dev

8 years agoMerge \"remove \"referenceonly\" flag from the offline-docs build. Add new offline...
smain@google.com [Wed, 6 Jul 2016 22:57:10 +0000 (22:57 +0000)]
Merge \"remove \"referenceonly\" flag from the offline-docs build. Add new offline-docs-referenceonly make rule. And update online-sdk and offline-sdk to use the new site templates.\" into nyc-dev
am: 83f71845af

Change-Id: Id932ce48bb4274096b0c3f367ea0f9d0c7cabef5

8 years agoMerge "remove "referenceonly" flag from the offline-docs build. Add new offline-docs...
Scott Main [Wed, 6 Jul 2016 22:48:01 +0000 (22:48 +0000)]
Merge "remove "referenceonly" flag from the offline-docs build. Add new offline-docs-referenceonly make rule. And update online-sdk and offline-sdk to use the new site templates." into nyc-dev

8 years agoMerge \"Add getters for ButtonDispatcher HomeButton and its views\" into nyc-mr1-dev
Annie Chin [Wed, 6 Jul 2016 22:40:35 +0000 (22:40 +0000)]
Merge \"Add getters for ButtonDispatcher HomeButton and its views\" into nyc-mr1-dev
am: 0aff5ad83e

Change-Id: I59621e4d2a86fa5a594402e8826ab4af2234f2db

8 years agoMerge \"Allow preference theming to remove divider.\" into nyc-mr1-dev
Michael Kwan [Wed, 6 Jul 2016 22:40:31 +0000 (22:40 +0000)]
Merge \"Allow preference theming to remove divider.\" into nyc-mr1-dev
am: 929c8f4a75

Change-Id: If6e8a902ef01378213990a171053788dcae568cc

8 years agoMerge "Add getters for ButtonDispatcher HomeButton and its views" into nyc-mr1-dev
Annie Chin [Wed, 6 Jul 2016 22:36:35 +0000 (22:36 +0000)]
Merge "Add getters for ButtonDispatcher HomeButton and its views" into nyc-mr1-dev

8 years agoMerge "Allow preference theming to remove divider." into nyc-mr1-dev
Michael Kwan [Wed, 6 Jul 2016 22:34:28 +0000 (22:34 +0000)]
Merge "Allow preference theming to remove divider." into nyc-mr1-dev

8 years agoFixing app transition due to left-nav bar inset.
Winson [Wed, 6 Jul 2016 22:24:15 +0000 (15:24 -0700)]
Fixing app transition due to left-nav bar inset.

- Also center in available space regardless of which side the bar inset
  is on.

Bug: 29917174
Change-Id: If84dfb3bbff3c3d3de70473c74f5bfc5a8f32a59

8 years agoMove phone number formatting logic into DeviceInfoUtils.
Fan Zhang [Wed, 6 Jul 2016 19:19:34 +0000 (12:19 -0700)]
Move phone number formatting logic into DeviceInfoUtils.

Bug: 28419411
Change-Id: Ib9a0ad60d44e4e24fdb6484d5bb582f4f796f8b3

8 years agoMerge \"Use proper lock when accessing the generation registry\" into nyc-dev
Svet Ganov [Wed, 6 Jul 2016 22:17:03 +0000 (22:17 +0000)]
Merge \"Use proper lock when accessing the generation registry\" into nyc-dev
am: dcf2e205bf

Change-Id: If7706e1286847e02df34b6fce48c8de99b726d7d

8 years agoMerge "Use proper lock when accessing the generation registry" into nyc-dev
Svetoslav Ganov [Wed, 6 Jul 2016 22:10:08 +0000 (22:10 +0000)]
Merge "Use proper lock when accessing the generation registry" into nyc-dev

8 years agoCapture fingerprint statistics for estimating FRR
Jim Miller [Wed, 6 Jul 2016 21:16:49 +0000 (14:16 -0700)]
Capture fingerprint statistics for estimating FRR

Fixes bug 29258254

Change-Id: I10620c9bf07e4cdd7df456548b6516b5e1f1f5ee

8 years agoMerge \"Skip screenshots when user storage is locked.\" into nyc-mr1-dev
Jeff Sharkey [Wed, 6 Jul 2016 20:59:40 +0000 (20:59 +0000)]
Merge \"Skip screenshots when user storage is locked.\" into nyc-mr1-dev
am: e7f14ced54

Change-Id: I207593f69966048959b4ca150b355976cab9869d

8 years agoMerge \"Don\'t cache external storage directories.\" into nyc-mr1-dev
Jeff Sharkey [Wed, 6 Jul 2016 20:54:48 +0000 (20:54 +0000)]
Merge \"Don\'t cache external storage directories.\" into nyc-mr1-dev
am: d683945251

Change-Id: I67dbd3da95b5134bf013ca3deb51fd00b47d94cd

8 years agoMerge "Skip screenshots when user storage is locked." into nyc-mr1-dev
TreeHugger Robot [Wed, 6 Jul 2016 20:54:02 +0000 (20:54 +0000)]
Merge "Skip screenshots when user storage is locked." into nyc-mr1-dev

8 years agoMerge "Don't cache external storage directories." into nyc-mr1-dev
TreeHugger Robot [Wed, 6 Jul 2016 20:47:50 +0000 (20:47 +0000)]
Merge "Don't cache external storage directories." into nyc-mr1-dev

8 years agoMerge \"Ignore serial number checks when emulating FBE.\" into nyc-mr1-dev
Jeff Sharkey [Wed, 6 Jul 2016 20:47:27 +0000 (20:47 +0000)]
Merge \"Ignore serial number checks when emulating FBE.\" into nyc-mr1-dev
am: 12f6687bd5

Change-Id: I2ebbb26b8605224d225b1c396dd997172a51f40b

8 years agoMerge \"Make registerDefaultNetwork work on metered networks.\" into nyc-dev
Lorenzo Colitti [Wed, 6 Jul 2016 20:45:09 +0000 (20:45 +0000)]
Merge \"Make registerDefaultNetwork work on metered networks.\" into nyc-dev
am: 33cdc4d136

Change-Id: I0ad7b79f1af992dd556de5e17a6a1aae9c46e423

8 years agoMerge "Ignore serial number checks when emulating FBE." into nyc-mr1-dev
Jeff Sharkey [Wed, 6 Jul 2016 20:39:42 +0000 (20:39 +0000)]
Merge "Ignore serial number checks when emulating FBE." into nyc-mr1-dev

8 years agoMerge "Make registerDefaultNetwork work on metered networks." into nyc-dev
Pankaj Kanwar [Wed, 6 Jul 2016 20:35:22 +0000 (20:35 +0000)]
Merge "Make registerDefaultNetwork work on metered networks." into nyc-dev

8 years agoMerge \"Move the MIME type icon detection into the platform.\" into nyc-mr1-dev
Daniel Nishi [Wed, 6 Jul 2016 20:02:45 +0000 (20:02 +0000)]
Merge \"Move the MIME type icon detection into the platform.\" into nyc-mr1-dev
am: 9459f93c97

Change-Id: I151a72b8ee1c16ef94da70e85378dd44b4ac077c