Lorenzo Colitti
c76202a044
Merge "Make PendingIntent immutable and correct Settings package name" into rvc-dev am: 438073fcfe am: 02d6e628a1
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11881938
Change-Id: If732f439bea2786cd681fd2716f981e9f11175b4
2020-06-22 09:30:53 +00:00
Lorenzo Colitti
e84cb11dbb
Merge "Make PendingIntent immutable and correct Settings package name" into rvc-dev am: 438073fcfe am: d34fdc53da
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11881938
Change-Id: I81f54b3251ded57e4c03693e405bf1916a3fdf34
2020-06-22 09:30:49 +00:00
Lorenzo Colitti
c15659d08c
Merge "Make PendingIntent immutable and correct Settings package name" into rvc-dev am: 438073fcfe am: d34fdc53da
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11881938
Change-Id: Ic9a6e613e9032817d97f0b193439e6558f400051
2020-06-22 09:30:45 +00:00
Automerger Merge Worker
2540ad8a90
Merge "Merge "Add framework-statsd dependency and make framework-statsd visible to Tethering package." into rvc-dev am: 7ce578a359 am: ec36861aca am: c90944895f" into rvc-qpr-dev-plus-aosp
2020-06-22 09:18:01 +00:00
Wayne Ma
eae1584147
Merge "Add framework-statsd dependency and make framework-statsd visible to Tethering package." into rvc-dev am: 7ce578a359 am: 5f9f62b0a5 am: bb8954ee17
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11926261
Change-Id: I93edd058819a5bd584f11d772661f2e0c0e01e67
2020-06-22 09:17:53 +00:00
Wayne Ma
b8083cdb24
Merge "Add framework-statsd dependency and make framework-statsd visible to Tethering package." into rvc-dev am: 7ce578a359 am: ec36861aca am: c90944895f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11926261
Change-Id: I96c9559551c9ecb0e9d3a8d8c9ef5ab036b1919c
2020-06-22 09:17:44 +00:00
Wayne Ma
bcd29eb292
Merge "Add framework-statsd dependency and make framework-statsd visible to Tethering package." into rvc-dev am: 7ce578a359 am: ec36861aca am: 9d2471b786
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11926261
Change-Id: I7103b19f0352879595f05f08fe19df82ce5b411a
2020-06-22 09:17:43 +00:00
Lorenzo Colitti
02d6e628a1
Merge "Make PendingIntent immutable and correct Settings package name" into rvc-dev am: 438073fcfe
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11881938
Change-Id: I0ce82679bf81e3c58fed12943b7c9ca9d449fb7f
2020-06-22 09:14:15 +00:00
Lorenzo Colitti
d34fdc53da
Merge "Make PendingIntent immutable and correct Settings package name" into rvc-dev am: 438073fcfe
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11881938
Change-Id: Ibdf37115a43d5ebbc4e34b5668351916ee5671d1
2020-06-22 09:13:55 +00:00
Wayne Ma
bb8954ee17
Merge "Add framework-statsd dependency and make framework-statsd visible to Tethering package." into rvc-dev am: 7ce578a359 am: 5f9f62b0a5
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11926261
Change-Id: Ib6cc939508bacb6771a8022de7733530a241f8f5
2020-06-22 09:09:16 +00:00
Wayne Ma
9d2471b786
Merge "Add framework-statsd dependency and make framework-statsd visible to Tethering package." into rvc-dev am: 7ce578a359 am: ec36861aca
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11926261
Change-Id: I39dec2d8f085dc8aeb93387bc3cdd36fd25d7000
2020-06-22 09:03:59 +00:00
Wayne Ma
c90944895f
Merge "Add framework-statsd dependency and make framework-statsd visible to Tethering package." into rvc-dev am: 7ce578a359 am: ec36861aca
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11926261
Change-Id: I5b8694ce4010bd1a6b9c5fc412b961be0a024095
2020-06-22 09:03:56 +00:00
Lorenzo Colitti
438073fcfe
Merge "Make PendingIntent immutable and correct Settings package name" into rvc-dev
2020-06-22 09:00:25 +00:00
Mike Yu
1a5e45e37d
Support DNS-over-TLS probes in NetworkDiagnostics
...
Probe DNS servers to see they support DNS-over-TLS. Use system
CAs to verify whether the certificates sent by DNS servers are
trusted or not. An error is thrown to cause the probe failed if
DNS servers send untrusted certificates.
Unlike the DnsResolver which doesn't verify the certificates
in opportunistic mode, all of the DoT probes from NetworkDiagnostics
check certificates.
DoT probes apply to the DNS servers gotten from LinkProperties
and the DoT servers gotten from PrivateDnsConfig whatever private
DNS mode is.
A common example in DNS strict mode:
. DNS TLS dst{8.8.8.8} hostname{dns.google} src{192.168.43.2:48436} qtype{1} qname{815149-android-ds.metric.gstatic.com}: SUCCEEDED: 1/1 NOERROR (432ms)
F DNS TLS dst{192.168.43.144} hostname{}: FAILED: java.net.ConnectException: failed to connect to /192.168.43.144 (port 853) from /192.168.43.2 (port 41770) after 2500ms: isConnected failed: ECONNREFUSED (Connection refused) (172ms)
. DNS TLS dst{8.8.4.4} hostname{dns.google} src{192.168.43.2:37598} qtype{1} qname{759312-android-ds.metric.gstatic.com}: SUCCEEDED: 1/1 NOERROR (427ms)
An example when the CA is not trusted:
F DNS TLS dst{8.8.8.8} hostname{dns.google}: FAILED: javax.net.ssl.SSLHandshakeException: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found. (16ms)
An example when TCP/TLS handshake timeout:
F DNS TLS dst{8.8.8.8} hostname{dns.google}: FAILED: java.net.SocketTimeoutException: failed to connect to /8.8.8.8 (port 853) from /192.168.2.108 (port 45680) after 2500ms (2514ms)
Bug: 132925257
Bug: 118369977
Test: atest FrameworksNetTests
Original-Change: https://android-review.googlesource.com/1011670
Merged-In: I1b54abed0e931ca4b8a97149459cde54da1c3d6f
Change-Id: I1b54abed0e931ca4b8a97149459cde54da1c3d6f
2020-06-22 08:57:49 +00:00
Automerger Merge Worker
6dbc34812b
Merge "Merge "Allow staging multi-package session immediately after abandonment" into rvc-dev am: fb11084bc6 am: 6fc87a62c0" into rvc-d1-dev-plus-aosp am: 5800ac6ba5
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11911051
Change-Id: I14840cebd4fef34a1e0d961f64f2209f6619a78c
2020-06-22 08:57:01 +00:00
Mohammad Samiul Islam
ea4d4dc926
Merge "Allow staging multi-package session immediately after abandonment" into rvc-dev am: fb11084bc6 am: 6fc87a62c0 am: 62fd0dc711
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11911051
Change-Id: If62396e9c8995110ecc028860cc54c13f70c1795
2020-06-22 08:56:48 +00:00
Mohammad Samiul Islam
2718a48687
Merge "Allow staging multi-package session immediately after abandonment" into rvc-dev am: fb11084bc6 am: 30686a6a19 am: ddaa9bf9ba
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11911051
Change-Id: Ifbae3c31f271ac94340de5d3ad7003e8c22ce477
2020-06-22 08:56:27 +00:00
Stanislav Zholnin
9b08b4bce7
Merge "Prevent developer provided strings from being uploaded through statsd." into rvc-dev am: 7a65a7a37c am: b234c0a600 am: b444a61efd
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11930479
Change-Id: I6ecc21df32b5d07a115a76599e8f1ffe234cbc30
2020-06-22 08:56:09 +00:00
Automerger Merge Worker
953c21cae9
Merge "Merge "Prevent developer provided strings from being uploaded through statsd." into rvc-dev am: 7a65a7a37c am: 113387f309 am: 2267948e4b" into rvc-qpr-dev-plus-aosp
2020-06-22 08:55:36 +00:00
Stanislav Zholnin
90077715bf
Merge "Prevent developer provided strings from being uploaded through statsd." into rvc-dev am: 7a65a7a37c am: 113387f309 am: 2267948e4b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11930479
Change-Id: I889d5c8331a9188d82f81499b7ba7966e092721a
2020-06-22 08:55:21 +00:00
Stanislav Zholnin
1ed2d1e39a
Merge "Prevent developer provided strings from being uploaded through statsd." into rvc-dev am: 7a65a7a37c am: 113387f309 am: 7f757a3006
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11930479
Change-Id: I24671c916e5fe0ca51ec215efe099d3c3f7f2063
2020-06-22 08:55:08 +00:00
Wayne Ma
5f9f62b0a5
Merge "Add framework-statsd dependency and make framework-statsd visible to Tethering package." into rvc-dev am: 7ce578a359
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11926261
Change-Id: I81e0304f0560cbd070c5bb49967a8b6bf3e5d58a
2020-06-22 08:51:46 +00:00
Wayne Ma
ec36861aca
Merge "Add framework-statsd dependency and make framework-statsd visible to Tethering package." into rvc-dev am: 7ce578a359
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11926261
Change-Id: If4a423ffe3cdd4f0f615aace774e2606deada766
2020-06-22 08:51:43 +00:00
Mohammad Samiul Islam
62fd0dc711
Merge "Allow staging multi-package session immediately after abandonment" into rvc-dev am: fb11084bc6 am: 6fc87a62c0
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11911051
Change-Id: I37294c4b11a05d0725a904fcbec57a82de429501
2020-06-22 08:41:30 +00:00
Automerger Merge Worker
5800ac6ba5
Merge "Merge "Allow staging multi-package session immediately after abandonment" into rvc-dev am: fb11084bc6 am: 6fc87a62c0" into rvc-d1-dev-plus-aosp
2020-06-22 08:41:25 +00:00
Mohammad Samiul Islam
ddaa9bf9ba
Merge "Allow staging multi-package session immediately after abandonment" into rvc-dev am: fb11084bc6 am: 30686a6a19
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11911051
Change-Id: Ia236aba7a563efaa0b62169a5d4d5803dfe764e2
2020-06-22 08:41:12 +00:00
Mohammad Samiul Islam
861b9d6ce7
Merge "Allow staging multi-package session immediately after abandonment" into rvc-dev am: fb11084bc6 am: 6fc87a62c0
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11911051
Change-Id: Iabeecbc28d0888f5a510b8a880e2cd31b8d41c0f
2020-06-22 08:41:10 +00:00
Stanislav Zholnin
2267948e4b
Merge "Prevent developer provided strings from being uploaded through statsd." into rvc-dev am: 7a65a7a37c am: 113387f309
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11930479
Change-Id: I5f8a29bfb99c55e612a7b796a5218d473a8961d3
2020-06-22 08:41:05 +00:00
Stanislav Zholnin
b444a61efd
Merge "Prevent developer provided strings from being uploaded through statsd." into rvc-dev am: 7a65a7a37c am: b234c0a600
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11930479
Change-Id: Iabff8aeacfc469026564875af892658352d7665d
2020-06-22 08:40:58 +00:00
Stanislav Zholnin
7f757a3006
Merge "Prevent developer provided strings from being uploaded through statsd." into rvc-dev am: 7a65a7a37c am: 113387f309
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11930479
Change-Id: Idd9acf7078c05270b99bf064702e92257ddc2496
2020-06-22 08:40:35 +00:00
Wayne Ma
7ce578a359
Merge "Add framework-statsd dependency and make framework-statsd visible to Tethering package." into rvc-dev
2020-06-22 08:38:54 +00:00
Mohammad Samiul Islam
30686a6a19
Merge "Allow staging multi-package session immediately after abandonment" into rvc-dev am: fb11084bc6
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11911051
Change-Id: I6cebd9c8d03fd6771f371a3cf48c9f6a26b5c501
2020-06-22 08:25:57 +00:00
Mohammad Samiul Islam
6fc87a62c0
Merge "Allow staging multi-package session immediately after abandonment" into rvc-dev am: fb11084bc6
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11911051
Change-Id: Ib88621dab12c8b6d1314e49862be4e34b49a90f5
2020-06-22 08:25:53 +00:00
Stanislav Zholnin
b234c0a600
Merge "Prevent developer provided strings from being uploaded through statsd." into rvc-dev am: 7a65a7a37c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11930479
Change-Id: I8fc36dcc5d7a1769e302735a1a613356329926ff
2020-06-22 08:25:18 +00:00
Stanislav Zholnin
113387f309
Merge "Prevent developer provided strings from being uploaded through statsd." into rvc-dev am: 7a65a7a37c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11930479
Change-Id: Iccfaf0a632131722b130b932796a0386fa5bd559
2020-06-22 08:25:11 +00:00
Mohammad Samiul Islam
fb11084bc6
Merge "Allow staging multi-package session immediately after abandonment" into rvc-dev
2020-06-22 08:20:11 +00:00
Stanislav Zholnin
7a65a7a37c
Merge "Prevent developer provided strings from being uploaded through statsd." into rvc-dev
2020-06-22 08:10:52 +00:00
paulhu
9743233ab1
Make PendingIntent immutable and correct Settings package name
...
ConnectivityService puts up some notifications with pending
intents, but these pending intents are mutable that content can
be changed by someone. So make these pending intents to be
immutable.
Some OEMs have their own Settings package. Thus, need to get the
current using Settings package name instead of just use default
name "com.android.settings".
Bug: 154928507
Test: atest FrameworksNetTests
Change-Id: I02e3277358623400aa03dc8996af3d7c46a8ce76
2020-06-22 15:32:01 +08:00
Mike Yu
7491639dd4
Merge "Support DNS-over-TLS probes in NetworkDiagnostics" am: 64ffa1762f am: 00a89d0481 am: 075dccdc96 am: aa4a2e335f
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1011670
Change-Id: I82a69bd60b4a75d04fdd8b7328ae8d8e1a15ffaf
2020-06-22 07:21:20 +00:00
Mike Yu
aa4a2e335f
Merge "Support DNS-over-TLS probes in NetworkDiagnostics" am: 64ffa1762f am: 00a89d0481 am: 075dccdc96
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1011670
Change-Id: Ib9a029adad8e0a64cc57b95a902d5dad04cb489a
2020-06-22 07:12:01 +00:00
Automerger Merge Worker
3372749df7
Merge "Merge "Prevent unnecessary call of setBluetoothA2dpOn(false)" into rvc-dev am: 7bfb0c31bf am: 63861415e8 am: 8560d8a0a9" into rvc-qpr-dev-plus-aosp
2020-06-22 07:04:17 +00:00
Sungsoo Lim
41d5602436
Merge "Prevent unnecessary call of setBluetoothA2dpOn(false)" into rvc-dev am: 7bfb0c31bf am: ca2e42f5c9 am: c0ba5c39d6
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11926258
Change-Id: Ieee69fee5c9d398a0a61723f66205d51ee484ba6
2020-06-22 07:03:56 +00:00
Sungsoo Lim
5d5d1a0df0
Merge "Prevent unnecessary call of setBluetoothA2dpOn(false)" into rvc-dev am: 7bfb0c31bf am: 63861415e8 am: 8560d8a0a9
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11926258
Change-Id: I9e82df21ddbdaf03ad08c4ec8d22fd8746847463
2020-06-22 07:03:55 +00:00
Sungsoo Lim
2c0ba2e182
Merge "Prevent unnecessary call of setBluetoothA2dpOn(false)" into rvc-dev am: 7bfb0c31bf am: ca2e42f5c9 am: 8397173ae2
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11926258
Change-Id: I642cc2ee1155ddb5af0aebd2b8b2e34a14381eca
2020-06-22 07:03:42 +00:00
waynema
41e5aac60f
Add framework-statsd dependency and make framework-statsd visible to
...
Tethering package.
Tethering needs StatsEvent and StatsLog which are in
framework-statsd.stubs.module_lib to write metrics.
Bug: 153942334
Test: make
Change-Id: I8ba142a9b3678de36e6c4880a64e992e00680f38
2020-06-22 06:57:51 +00:00
Mike Yu
075dccdc96
Merge "Support DNS-over-TLS probes in NetworkDiagnostics" am: 64ffa1762f am: 00a89d0481
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1011670
Change-Id: I25a06623d87e6971a9dac73bdea82a78fd6124d6
2020-06-22 06:56:39 +00:00
Sungsoo Lim
8560d8a0a9
Merge "Prevent unnecessary call of setBluetoothA2dpOn(false)" into rvc-dev am: 7bfb0c31bf am: 63861415e8
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11926258
Change-Id: I0b9769f48fb339fe61b465c47afa901f1d2c985d
2020-06-22 06:51:53 +00:00
Sungsoo Lim
c0ba5c39d6
Merge "Prevent unnecessary call of setBluetoothA2dpOn(false)" into rvc-dev am: 7bfb0c31bf am: ca2e42f5c9
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11926258
Change-Id: I90563ab25f3d542cfadb81289fbaae494c066f82
2020-06-22 06:51:26 +00:00
Sungsoo Lim
8397173ae2
Merge "Prevent unnecessary call of setBluetoothA2dpOn(false)" into rvc-dev am: 7bfb0c31bf am: ca2e42f5c9
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11926258
Change-Id: I31fec0a7e983e29a040980360bd63e29496d58a6
2020-06-22 06:51:26 +00:00
Mike Yu
00a89d0481
Merge "Support DNS-over-TLS probes in NetworkDiagnostics" am: 64ffa1762f
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1011670
Change-Id: I9e436446179750315be45ddc034cece5afd3c004
2020-06-22 06:45:25 +00:00