Commit Graph

248402 Commits

Author SHA1 Message Date
Bill Yi
5a238464dd Import translations. DO NOT MERGE
Change-Id: If1956ac983530432b46246ee0a53bfdccd81fcb1
Auto-generated-cl: translation import
2016-07-05 19:37:55 -07:00
TreeHugger Robot
018a205824 Merge "IpConn metrics: use @IntDef" into nyc-mr1-dev 2016-07-05 14:39:47 +00:00
Hugo Benichi
cf6b12f50a IpConn metrics: use @IntDef
Change-Id: Iae23f04abd3d1a43e7217f4fd641cd5fa61a7a1b
2016-07-05 21:52:15 +09:00
Hugo Benichi
54756fdfd9 Merge "IpConn metrics: correctly read RA lifetimes" into nyc-mr1-dev 2016-07-05 12:25:55 +00:00
Hugo Benichi
176ed01a1f IpConn metrics: add dhcp transition times
This patch adds lifetime durations of DhcpClient states to
DhcpClientEvents.

To record the duration of a state, the event is now recorded when the
DhcpClient state machine exits that state.

In addition this patch removes event logging of StoppedState,
DhcpState and DhcpHaveLeaseState.

Change-Id: Ibd37b5e3070f35113b6b45942b1e1ff19c27a90b
2016-07-05 17:32:56 +09:00
Hugo Benichi
6ccd51a338 IpConn metrics: correctly read RA lifetimes
This patch
  - adds a Builder class for RaEvent.
  - uses this Builder class for correctly recording the minimum
    lifetime seen for every ICMP6 options tracked, instead of
    recording the last lifetime seen.
  - adds unit test coverage for RaEvent logging.

Change-Id: I6443932f5cf7a613a5c695c65a60eab01e60602a
2016-07-05 13:52:24 +09:00
TreeHugger Robot
b4db945883 Merge "Add test coverage for a bug in the lingering code." into nyc-mr1-dev 2016-07-05 03:35:40 +00:00
Lorenzo Colitti
f9b050ed9e Merge "Unbreak unregisterNetworkCallback." into nyc-mr1-dev 2016-07-05 02:07:06 +00:00
Lorenzo Colitti
1ec11eb5bc Unbreak unregisterNetworkCallback.
http://ag/1194313 broke unregisterNetworkCallback because the
system does not parcel the type of the request back to the app.
So when the app calls unregisterNetworkCallback, the
NetworkRequest that's passed in does not have a type and thus
doesn't match the request in mNetworkRequests.

Fix this by parceling over the type as well.

This was not caught by the unit test because the unit test all
runs in the same process with no parceling.

Bug: 23113288
Change-Id: I58b2ed651b9bf5cbdcca5b25c3ca24db53cffdf1
2016-07-05 01:59:49 +09:00
TreeHugger Robot
1c86bfbcf4 Merge "Annotate public methods in ConnectivityService." into nyc-mr1-dev 2016-07-04 16:07:33 +00:00
Lorenzo Colitti
b60570c73e Make registerDefaultNetwork work on metered networks.
Bug: 29927488
Change-Id: I3b705c2ab0d1493546ffa5185bb5b07d5e25c897
2016-07-04 23:18:12 +09:00
Lorenzo Colitti
09e202103d Add test coverage for a bug in the lingering code.
Bug: 23113288
Change-Id: I573ee5908b9d973931234eb7d2db8ea0aaa4b31e
2016-07-04 17:00:27 +09:00
Lorenzo Colitti
186602842d Annotate public methods in ConnectivityService.
Ensure every public method is annotated with why it's public.
This can be either an @Override or @VisibleForTesting annotation
or a comment explaining why it's public.

Bug: 29927488
Change-Id: I3582aef7997dc0d723718ca5e3dd115647d22979
2016-07-04 12:58:29 +09:00
Andrew Sapperstein
2573d83fa9 Merge "Update DocumentsUI to use theme colors." into nyc-mr1-dev 2016-07-02 02:57:22 +00:00
Andrew Sapperstein
0e59a22fcc Update DocumentsUI to use theme colors.
Properly assigns the app's colors for primary, primaryDark, accent, etc
to the colors used by the framework.

Moves a couple colors that are alternate shades of the accent color
into the framework for ease of overlaying.

Deletes a few unused colors as well.

Finally, fixes a bug where colorControlActivated was not being
properly set due to the theme depending upon AppCompat. To
workaround this undefined behavior, we explicitly set
colorControlActivated to colorAccent which is what the framework
sets it to.

Change-Id: Ie0cba19b1b83a21f65692102df91bf4daf27dc44
Fixes: 29581883
2016-07-01 17:59:07 -07:00
David Friedman
9e549cc14e Merge \"Docs: Performance final changes\" into nyc-dev
am: 7e8d17d73e

Change-Id: I3ecd311bdd1374cfec29d95c303df70bfa868816
2016-07-02 00:26:14 +00:00
Joe Fernandez
7e8d17d73e Merge "Docs: Performance final changes" into nyc-dev 2016-07-02 00:15:21 +00:00
David Friedman
06dfd514c0 Docs: Performance final changes
Change-Id: I50e7a2e7b455ca3032da339e48a217ce713d1c40
2016-07-01 17:12:55 -07:00
Andrii Kulian
5552dc341f Merge "Clarify documentation of Display#getSize()" into nyc-mr1-dev 2016-07-01 23:49:38 +00:00
Eric Schmidt
ce32beeacb Merge \"docs: performance: Reduce APK Sizes\" into nyc-dev
am: d08b0e9969

Change-Id: If4153a0e3f3845d7640290b511da8c19f977a56f
2016-07-01 23:26:05 +00:00
Joe Fernandez
d08b0e9969 Merge "docs: performance: Reduce APK Sizes" into nyc-dev 2016-07-01 23:21:36 +00:00
TreeHugger Robot
9f64b020bd Merge "Allow voice interaction window to control system bars" into nyc-mr1-dev 2016-07-01 23:16:07 +00:00
David Friedman
cdbd5f7fbb Merge \"Docs: Job-scheduling doc for new DAC Performance section.\" into nyc-dev
am: 1f64ea546b

Change-Id: Iabdad26cb23d6a318c93218328c5bffc31c515e5
2016-07-01 23:13:31 +00:00
fionaxu
b683dab1fb Merge \\\\\\\\\"DO NOT MERGE revert public api loadSafeLabel\\\\\\\\\" into lmp-dev am: 521efcd1e3 -s ours am: 7bd0eea999 am: 0828455ca9 am: caabaab8bc -s ours am: 67f8e822ac am: f82ca1f3e9 am: 0f741391c3 am: 4000bdb3ea -s ours
am: 1d5fbe43ab

Change-Id: Id1224508ffee2c49243c958159bea70c14d55b91
2016-07-01 23:08:50 +00:00
Joe Fernandez
1f64ea546b Merge "Docs: Job-scheduling doc for new DAC Performance section." into nyc-dev 2016-07-01 23:08:49 +00:00
David Friedman
9c12816a62 Docs: Job-scheduling doc for new DAC Performance section.
Change-Id: Iccdbfcede6774bd7b5e368c53637ca8e194c7ec5
2016-07-01 16:05:16 -07:00
Chen Xu
1d5fbe43ab Merge \\\\\\\\"DO NOT MERGE revert public api loadSafeLabel\\\\\\\\" into lmp-dev am: 521efcd1e3 -s ours am: 7bd0eea999 am: 0828455ca9 am: caabaab8bc -s ours am: 67f8e822ac am: f82ca1f3e9 am: 0f741391c3
am: 4000bdb3ea  -s ours

Change-Id: I7a010f957438467d2edfb10a28a364527dac492e
2016-07-01 23:02:11 +00:00
Eric Schmidt
378d112b5a docs: performance: Reduce APK Sizes
Bug: 29152053
Change-Id: I5aa4e7d59c32ef5d6897a47263e055358b1c9dda
2016-07-01 15:56:53 -07:00
fionaxu
4000bdb3ea Merge \\\\\\\"DO NOT MERGE revert public api loadSafeLabel\\\\\\\" into lmp-dev am: 521efcd1e3 -s ours am: 7bd0eea999 am: 0828455ca9 am: caabaab8bc -s ours am: 67f8e822ac am: f82ca1f3e9
am: 0f741391c3

Change-Id: I9748b9d7b065a6d2bbd9c2a3061409c58b53d261
2016-07-01 22:55:45 +00:00
Chen Xu
0f741391c3 Merge \\\\\\"DO NOT MERGE revert public api loadSafeLabel\\\\\\" into lmp-dev am: 521efcd1e3 -s ours am: 7bd0eea999 am: 0828455ca9 am: caabaab8bc -s ours am: 67f8e822ac
am: f82ca1f3e9

Change-Id: Ib714c74aa3bede2bea496204b7d1cb7ff2380dca
2016-07-01 22:45:46 +00:00
David Friedman
1f22637444 Merge \"Docs: Final edits for initial release of this doc for Performance section of DAC.\" into nyc-dev
am: 106f69c8a6

Change-Id: I87fada8679688beef00f7df07fbe4a7e6e06852f
2016-07-01 22:38:29 +00:00
fionaxu
f82ca1f3e9 Merge \\\\\"DO NOT MERGE revert public api loadSafeLabel\\\\\" into lmp-dev am: 521efcd1e3 -s ours am: 7bd0eea999 am: 0828455ca9 am: caabaab8bc -s ours
am: 67f8e822ac

Change-Id: I54214d329e81a59e418cc9f4a5ff150b6348a8c2
2016-07-01 22:38:28 +00:00
Chen Xu
67f8e822ac Merge \\\\"DO NOT MERGE revert public api loadSafeLabel\\\\" into lmp-dev am: 521efcd1e3 -s ours am: 7bd0eea999 am: 0828455ca9
am: caabaab8bc  -s ours

Change-Id: If1a5d01375b2a4e503ddf93bba5e009754889d44
2016-07-01 22:32:05 +00:00
Joe Fernandez
106f69c8a6 Merge "Docs: Final edits for initial release of this doc for Performance section of DAC." into nyc-dev 2016-07-01 22:21:31 +00:00
fionaxu
caabaab8bc Merge \\\"DO NOT MERGE revert public api loadSafeLabel\\\" into lmp-dev am: 521efcd1e3 -s ours am: 7bd0eea999
am: 0828455ca9

Change-Id: Ie1d5e38af7c3c49eb69f61e379096b17dd004961
2016-07-01 22:16:10 +00:00
Chen Xu
0828455ca9 Merge \\"DO NOT MERGE revert public api loadSafeLabel\\" into lmp-dev am: 521efcd1e3 -s ours
am: 7bd0eea999

Change-Id: I4ae23825fcef45856aa8551725c38fba0dd4892a
2016-07-01 22:09:39 +00:00
David Friedman
5fa47ee311 Merge \"Docs: Performance section\" into nyc-dev
am: a3d9b5c22e

Change-Id: I826858e55856a4a4d2e519a45324fbdedf85df9b
2016-07-01 21:59:26 +00:00
fionaxu
7bd0eea999 Merge \"DO NOT MERGE revert public api loadSafeLabel\" into lmp-dev
am: 521efcd1e3  -s ours

Change-Id: I278455eb32488b221de93acd52b64956149cad54
2016-07-01 21:59:03 +00:00
John Reck
ee557b2b99 Merge "update GlSurfaceView:onPause/Resume docs" into nyc-mr1-dev 2016-07-01 21:49:56 +00:00
David Friedman
bc8eeafb2c Merge \"Docs: Launch-time performance doc for upcoming Performance section on DAC.\" into nyc-dev
am: a8fa5ffbbc

Change-Id: If224c8c8d0fd3875ad5d8d895577047ead33b5e8
2016-07-01 21:46:33 +00:00
Chen Xu
521efcd1e3 Merge "DO NOT MERGE revert public api loadSafeLabel" into lmp-dev 2016-07-01 21:44:06 +00:00
Andrii Kulian
4ce6754e60 Merge "Always send task stack change updates if PiP is enabled" into nyc-mr1-dev 2016-07-01 21:39:39 +00:00
Andrii Kulian
fc20505e37 Merge "Don't update task to return to type for last task over home" into nyc-mr1-dev 2016-07-01 21:38:44 +00:00
Joe Fernandez
a3d9b5c22e Merge "Docs: Performance section" into nyc-dev 2016-07-01 21:37:30 +00:00
Jorim Jaggi
90859bc4ce Allow voice interaction window to control system bars
Fixes: 29777675
Change-Id: I452bfa46cfdeb6ffa1f36c718df9bc7184fa74f7
2016-07-01 14:36:10 -07:00
David Friedman
e1fde5e9a9 Docs: Performance section
Change-Id: I97d10159ca9f7698741ce0ff23f87e4866848b1d
2016-07-01 14:35:44 -07:00
David Friedman
0346f34d47 Docs: New doc on optimizing view hierarchies for upcoming Performance section
am: 448bb5762a

Change-Id: I1134905309cf12f68f0d92c16db00b9d137b21ab
2016-07-01 21:35:13 +00:00
Joe Fernandez
a8fa5ffbbc Merge "Docs: Launch-time performance doc for upcoming Performance section on DAC." into nyc-dev 2016-07-01 21:29:31 +00:00
David Friedman
1ea83f12d8 Merge \"Docs: Add page about threads to the upcoming DAC Performance site area.\" into nyc-dev
am: 868a92f11b

Change-Id: I7ddb54aa8be6ee9d8db0f70a35e430dea4f601ed
2016-07-01 21:20:29 +00:00
David Friedman
6056c8463d Docs: Final edits for initial release of this doc for Performance section of DAC.
Change-Id: I1e9ec2bb7c79455ec87545c7bb6db812adfa97ae
2016-07-01 14:19:10 -07:00