Commit Graph

301953 Commits

Author SHA1 Message Date
Tobias Thierer
7de23e292f Merge "API changes for updating Locale to OpenJDK8u60, part 2"
am: c35137ce36

Change-Id: Ibbf80ffe75bdbbc5da343e139bd80bc70afe4794
2016-12-13 13:42:50 +00:00
Tobias Thierer
c35137ce36 Merge "API changes for updating Locale to OpenJDK8u60, part 2" 2016-12-13 13:36:08 +00:00
Leon Scroggins III
ee708facf1 Remove unnecessary dependency, and fix the chain
Test: No new tests. This should not affect behavior; only dependencies.

Font.h does not need to include SkGlyphCache.h, and doing so requires
a transitive dependency on external/skia/src/utils, which was not
intended. Forward declare it instead, and fix the build errors that
resulted.

Change-Id: Ifd09430bb848d51b139df0f0c06c63e7e48711eb
2016-12-13 08:27:19 -05:00
Donghyun Cho
6ae1332762 Merge "Enable sendKeyEvent() for all types of devices" 2016-12-13 11:13:43 +00:00
Andrew Scull
4e201486b5 Extract checking profiles for restrictions into a shared method.
Test: m RunSettingsLibRoboTests
Change-Id: Ie8fd3121771a7a2213ee441aef5a0746ad09a6c9
2016-12-13 10:45:37 +00:00
Erik Kline
511818ffb3 DHCPv4 anonymity profile: support skipping hostname option
Per https://tools.ietf.org/html/rfc7844#section-3.7

   When using the anonymity profile, DHCP clients SHOULD NOT send the
   Host Name option.

Once the net.hostname property is removed and ensured unset via CTS
this option will no longer be sent.

Test: as follows
    - build, flashed
    - connected to v4-only and dualstack networks, verified v4 works
    - android.net.dhcp.DhcpPacketTest passes
    - setprop net.hostname "" and verified no hostname option
Bug: 30979015
Change-Id: Ieab3f04ea38e176d9147bb788742a5397762c2e4
2016-12-13 18:14:44 +09:00
Lorenzo Colitti
1317e049f5 Display "Sign into network" in settings when on a captive portal.
Test: Manually observed UI when connected to captive portal.
Bug: 33532675
Change-Id: I3906cd7c13f7bb14242d8a4ec1ca37febccee8c6
2016-12-13 17:55:50 +09:00
Donghyun Cho
7609bc324d Enable sendKeyEvent() for all types of devices
Previously there was only sendKeyEvent() implementation for TV and the
method was no-op for other devices. This change moves the event handling
logic into HdmiCecLocalDevice so as to make this method work on the
playback device.

Bug: 33285033
Test: Sent key event from playback device, and it worked.
Change-Id: I937502ab87ce823630b0f9a933355d5a4cc5e96a
2016-12-13 14:48:10 +09:00
Hugo Benichi
0e4e96f804 Merge "DO NOT MERGE IpConnectivityMetrics: rate limit ApfProgramEvents" into nyc-mr2-dev am: 8b43f6eb02
am: c2d38afdf3  -s ours

Change-Id: I9810fd2fec02285cc8c09ed10cb8386fadd15738
2016-12-13 04:23:21 +00:00
Hugo Benichi
af30bcbdfb DO NOT MERGE IpConnectivityMetrics: rate limit ApfProgramEvents am: 97d10ffcad
am: b37d43b83c  -s ours

Change-Id: Ie3547d74cdbf3a5333f3951b9375b00224c2ecd0
2016-12-13 04:22:20 +00:00
Hugo Benichi
5cf11944f0 Merge "DO NOT MERGE IpConnectivityMetrics reads buffer size in settings" into nyc-mr2-dev am: 6674f7a3b4
am: 897ff1c5ad  -s ours

Change-Id: I1ad2490adc9266aeba0dd0b47c965ba395784106
2016-12-13 04:21:18 +00:00
Hugo Benichi
ff30f24e76 DO NOT MERGE IpConnectivityMetrics reads buffer size in settings am: ff0b58627f
am: fbbf03a3c2  -s ours

Change-Id: Iecbd16612359797223c1a8b2885f20bdcc71b543
2016-12-13 04:20:19 +00:00
Hugo Benichi
7370f3aac2 Merge "DO NOT MERGE TokenBucket for rate-limiting and throttling" into nyc-mr2-dev am: d4f09b83bd
am: eb11cc679a  -s ours

Change-Id: I4208375ecd299f58216a773ce2abca7ba305d7ea
2016-12-13 04:19:22 +00:00
Hugo Benichi
853f2f0afc DO NOT MERGE TokenBucket for rate-limiting and throttling am: f6fdb4a552
am: 21f9e044b3  -s ours

Change-Id: I6e217ebef11eb7a508922bdbf41ba06843557987
2016-12-13 04:18:30 +00:00
Hugo Benichi
390ed36488 Merge "DO NOT MERGE IpConnectivity metrics: add version number" into nyc-mr2-dev am: 16ec47d50f
am: 93569ea2b8  -s ours

Change-Id: I80fbb8a94b162d5b080fd5480a68c5a4045dab01
2016-12-13 04:17:29 +00:00
Hugo Benichi
5dac3e5127 DO NOT MERGE IpConnectivity metrics: add version number am: 31cf55bdfe
am: 064d4f183c  -s ours

Change-Id: I3c7e1476cf46cd03ea77b3a9bdcf30264fe2bcd7
2016-12-13 04:16:21 +00:00
Hugo Benichi
c2d38afdf3 Merge "DO NOT MERGE IpConnectivityMetrics: rate limit ApfProgramEvents" into nyc-mr2-dev
am: 8b43f6eb02

Change-Id: If2878fe4eec7683077be32bf167e7a309035c7ce
2016-12-13 04:09:56 +00:00
Hugo Benichi
b37d43b83c DO NOT MERGE IpConnectivityMetrics: rate limit ApfProgramEvents
am: 97d10ffcad

Change-Id: I266f7b8da58513b1e6c1a9c2b37e528ba777a7d6
2016-12-13 04:09:49 +00:00
Hugo Benichi
897ff1c5ad Merge "DO NOT MERGE IpConnectivityMetrics reads buffer size in settings" into nyc-mr2-dev
am: 6674f7a3b4

Change-Id: I24685ad75f67a59e20190c5dbb28ef43fa5bc8f4
2016-12-13 04:08:26 +00:00
Hugo Benichi
fbbf03a3c2 DO NOT MERGE IpConnectivityMetrics reads buffer size in settings
am: ff0b58627f

Change-Id: I5c433faa0d43202ae1169fdba4c42c09dd9c17dd
2016-12-13 04:08:18 +00:00
Hugo Benichi
eb11cc679a Merge "DO NOT MERGE TokenBucket for rate-limiting and throttling" into nyc-mr2-dev
am: d4f09b83bd

Change-Id: Ibbfe986099127a8ff31c6b40482ab206a5ff4dcd
2016-12-13 04:06:52 +00:00
Hugo Benichi
21f9e044b3 DO NOT MERGE TokenBucket for rate-limiting and throttling
am: f6fdb4a552

Change-Id: I82e17c2ed074ae37d469adb1f469b6ff1d6365d2
2016-12-13 04:06:45 +00:00
TreeHugger Robot
d4f08a007d Merge "AutoFill Framework refactoring." 2016-12-13 04:05:51 +00:00
Hugo Benichi
93569ea2b8 Merge "DO NOT MERGE IpConnectivity metrics: add version number" into nyc-mr2-dev
am: 16ec47d50f

Change-Id: I523d75980de418f7674ee4882525e8ae9423d877
2016-12-13 04:05:16 +00:00
Hugo Benichi
064d4f183c DO NOT MERGE IpConnectivity metrics: add version number
am: 31cf55bdfe

Change-Id: Iccdf7d09ef4dc80f05c76774c456b5effb2c08c7
2016-12-13 04:05:08 +00:00
Bill Yi
ea9889d4dc Merge "Import translations. DO NOT MERGE" into nyc-mr2-dev am: c95e7a56c1 -s ours
am: 4a527ed671  -s ours

Change-Id: I48f7c60855f6fff11dad0836f0ad2988854132c6
2016-12-13 04:00:09 +00:00
Bill Yi
6e8865a4d9 Import translations. DO NOT MERGE am: e6e588d21a -s ours
am: bafd58a6d3  -s ours

Change-Id: Ia37084af38f3a4af9eb0e61ddad28a32d1b8146e
2016-12-13 03:59:09 +00:00
Hugo Benichi
28d240c72d Merge "Fix IP connectivity metrics tests" 2016-12-13 03:56:53 +00:00
Hugo Benichi
8b43f6eb02 Merge "DO NOT MERGE IpConnectivityMetrics: rate limit ApfProgramEvents" into nyc-mr2-dev 2016-12-13 03:55:32 +00:00
Hugo Benichi
6674f7a3b4 Merge "DO NOT MERGE IpConnectivityMetrics reads buffer size in settings" into nyc-mr2-dev 2016-12-13 03:54:24 +00:00
Hugo Benichi
d4f09b83bd Merge "DO NOT MERGE TokenBucket for rate-limiting and throttling" into nyc-mr2-dev 2016-12-13 03:54:17 +00:00
Bill Yi
4a527ed671 Merge "Import translations. DO NOT MERGE" into nyc-mr2-dev
am: c95e7a56c1  -s ours

Change-Id: Ia35c684ae43442ad389ffde0ad0276c8d69f3bea
2016-12-13 03:52:56 +00:00
Bill Yi
bafd58a6d3 Import translations. DO NOT MERGE
am: e6e588d21a  -s ours

Change-Id: Id2dc541ef35ca1fb55bf8d36952e2b155ed3a76c
2016-12-13 03:52:51 +00:00
Hugo Benichi
16ec47d50f Merge "DO NOT MERGE IpConnectivity metrics: add version number" into nyc-mr2-dev 2016-12-13 03:52:41 +00:00
TreeHugger Robot
ae265025ab Merge "Import translations. DO NOT MERGE" 2016-12-13 03:43:47 +00:00
TreeHugger Robot
c95e7a56c1 Merge "Import translations. DO NOT MERGE" into nyc-mr2-dev 2016-12-13 03:42:59 +00:00
TreeHugger Robot
363df9b83c Merge "Import translations. DO NOT MERGE" 2016-12-13 03:42:17 +00:00
Romain Guy
a0ed6f03f6 Pre-multiply gradient colors the right way
Alpha pre-multiplication must be done after applying the
opto-electronic transfer function when linear blending is
disabled. The correct way would be to pre-multiply before
gamma encoding but this leads to improper blending which
cannot be corrected without using sRGB frame buffers and
texture sampling.

Bug: 33010587
Test: cts-tradefed run singleCommand cts-dev --module CtsUiRenderingTestCases --test android.uirendering.cts.testclasses.GradientTests
Change-Id: I5f04bda4cb9f63674537aef5931621c14d601884
2016-12-12 18:50:07 -08:00
sghuman
0ce68e738e Merge "Copy WifiNetworkScoreCache into frameworks/base. Add tests." am: a895081335 am: 9b2760dbe5 am: b2f7005f07
am: e071e13501

Change-Id: If21ebbb25a5fe557c37e4cbc265dfe2efb6d2305
2016-12-13 02:40:46 +00:00
Sundeep Ghuman
5aea94e128 Copy WifiNetworkScoreCache into frameworks/base. Add tests. am: 46169f946b am: e436024c65 am: c600c4058b
am: e4fb9aaa3f

Change-Id: I311fb02b2d0a2f12a0f76411de61074145b9077e
2016-12-13 02:35:09 +00:00
sghuman
e071e13501 Merge "Copy WifiNetworkScoreCache into frameworks/base. Add tests." am: a895081335 am: 9b2760dbe5
am: b2f7005f07

Change-Id: I90266a56558bd64219c4be053100181198c7fedb
2016-12-13 02:34:45 +00:00
Sundeep Ghuman
e4fb9aaa3f Copy WifiNetworkScoreCache into frameworks/base. Add tests. am: 46169f946b am: e436024c65
am: c600c4058b

Change-Id: Ia14819d997d93bac4080409f4841207fc864ea65
2016-12-13 02:29:32 +00:00
sghuman
b2f7005f07 Merge "Copy WifiNetworkScoreCache into frameworks/base. Add tests." am: a895081335
am: 9b2760dbe5

Change-Id: Ia4c873cc5425175b86f909b6aa3798074521467a
2016-12-13 02:29:14 +00:00
Sundeep Ghuman
c600c4058b Copy WifiNetworkScoreCache into frameworks/base. Add tests. am: 46169f946b
am: e436024c65

Change-Id: I9f9310feaa19385bb9287c959c2f2d3a9642e3b9
2016-12-13 02:23:42 +00:00
sghuman
9b2760dbe5 Merge "Copy WifiNetworkScoreCache into frameworks/base. Add tests."
am: a895081335

Change-Id: I779eabea94d67d01ac29b49a68456daf9dd19013
2016-12-13 02:23:15 +00:00
Hugo Benichi
74b45cd4dc Merge "Unit tests for NetworkNotificationManager" 2016-12-13 02:23:05 +00:00
Felipe Leme
1ca634a544 AutoFill Framework refactoring.
The AutoFill Framework uses the same AssitStructure provided by the Assist API
and so far it was using the same methods as well, both internally and externally
(public API).

Sharing that internal code internally is fine, but the public APIs must distinguish between the 2 cases so they can fill the assist structures accordingly (although the initial implementation still shares the same logic).

This CL also splits the original 'auto-fill' request in 2 types of requests,
which are set by View flags:

- ASSIST_FLAG_SANITIZED_TEXT
- ASSIST_FLAG_NON_SANITIZED_TEXT

It also added new methods and callbacks to handle save requests.

Bug: 31001899
Test: manual verification

Change-Id:  I4eb09099dc19a43cb7e053e64d939aed3704b410
2016-12-12 18:22:45 -08:00
Sundeep Ghuman
e436024c65 Copy WifiNetworkScoreCache into frameworks/base. Add tests.
am: 46169f946b

Change-Id: Id3ce970efaea32d0d0a2fa5594b91628e2f3d1df
2016-12-13 02:18:21 +00:00
jackqdyulei
42878251e3 Add tint for plus & minus icon
Bug: 32592245
Test: Manual
Change-Id: I9c3278c87bc669b69cf2d9d571b9935a6ef846ac
2016-12-12 18:17:10 -08:00
sghuman
a895081335 Merge "Copy WifiNetworkScoreCache into frameworks/base. Add tests." 2016-12-13 02:08:39 +00:00