Commit Graph

447691 Commits

Author SHA1 Message Date
Treehugger Robot
67192be58f Merge "Enable screen recording in legacy app launch test." am: ca4379a866
Change-Id: I61d3105211127d9a99d4b8dab6f541f27a2753d6
2020-04-17 22:00:26 +00:00
Treehugger Robot
ca4379a866 Merge "Enable screen recording in legacy app launch test." 2020-04-17 21:41:57 +00:00
Chalard Jean
cb8aaf7123 Merge "[TNU06] Add roaming notification" am: 565160c302
Change-Id: I8f66563665375bdde40b59c997b9aba197f04dbd
2020-04-17 16:17:50 +00:00
Chalard Jean
565160c302 Merge "[TNU06] Add roaming notification" 2020-04-17 16:08:14 +00:00
Gavin Corkery
4f93aa3ef8 Merge "Ensure userspace reboot is supported before logging" am: feb3b2ace2
Change-Id: I5ec9195ac3beff35a0e9086f8b43502dad583e1c
2020-04-17 16:05:08 +00:00
Gavin Corkery
feb3b2ace2 Merge "Ensure userspace reboot is supported before logging" 2020-04-17 15:43:02 +00:00
Aaron Huang
f010fd3b15 Merge "Move DhcpInfoTest to frameworks/base/tests/net/common" am: e66ba51271
Change-Id: I7179f2e312d1e8237b211cb60eee5c08cd759197
2020-04-17 14:54:34 +00:00
Aaron Huang
e66ba51271 Merge "Move DhcpInfoTest to frameworks/base/tests/net/common" 2020-04-17 14:35:41 +00:00
Gavin Corkery
eb52a69444 Ensure userspace reboot is supported before logging
Ensure that userspace reboot is supported before performing any actions.
Any call into UserspaceRebootLogger in the case that userspace reboot
is not supported should be a no-op. It is unexpected to call into
this class on an unsupported device, so log with ASSERT priority
in this case.

Test: atest UserspaceRebootHostTest
Bug: 153648276
Change-Id: Ic3041ff3abe0d2641d3d99fc8e816f1f5c491a34
2020-04-17 14:41:21 +01:00
paulhu
f98918fc2c [TNU06] Add roaming notification
Warn user of potential data charges if the backhaul is
cellular and user is roaming.

Bug: 145629001
Test: atest TetheringTests
Change-Id: I74b4f87c2f6aad09e05d3f2a779f880396885953
2020-04-17 21:25:54 +08:00
Anton Hansson
5e52eb102b Merge "Remove obsolete dist rules" am: b7a96816a6
Change-Id: I3b2eca952c12e21ebab5f36ee7b0949dd797e900
2020-04-17 12:43:10 +00:00
Anton Hansson
0aa113c0c4 Merge "Convert disting of api txt from mk to bp" am: 019256c4a6
Change-Id: I54924389c86b90ebaa2c072a5b4b14ca869a774b
2020-04-17 12:42:49 +00:00
Anton Hansson
b7a96816a6 Merge "Remove obsolete dist rules" 2020-04-17 12:29:01 +00:00
Anton Hansson
019256c4a6 Merge "Convert disting of api txt from mk to bp" 2020-04-17 12:21:46 +00:00
Anton Hansson
82ab0c4fbe Remove obsolete dist rules
The API files are disted to the apistubs/ subdir now, and all
known users have been updated to use that path.

Bug: 152479829
Test: No
Change-Id: I224fd5af8ba740c6ad94bbbdb20f5d53509e51f6
2020-04-17 11:42:01 +01:00
Anton Hansson
ba367d3b7d Convert disting of api txt from mk to bp
droidstubs dist now dists the api file, so convert these manual
mk rules into bp dist instead.

Bug: 149293194
Test: m dist sdk && find out/dist/apistubs -name /android\.txt
Change-Id: I96052b427dc01a6d24b040ad0006129d4d1e48fb
Merged-In: I96052b427dc01a6d24b040ad0006129d4d1e48fb
2020-04-17 11:38:20 +01:00
Aaron Huang
a02afbf2f3 Move DhcpInfoTest to frameworks/base/tests/net/common
Address comment from aosp/1162443.
Move to FrameworksNetCommonTests so that it can be run in
cts test and presubmit test.

Also change package name from android.net.cts to android.net

Bug: 154299158
Test: atest FrameworksNetTest
      atest CtsNetTestCasesLatestSdk:android.net.DhcpInfoTest
Change-Id: I42a965ae5cb748fdd80b4d5c0f8b26f36f74be72
2020-04-17 18:26:20 +08:00
Treehugger Robot
a1df7f106d Merge "Add <Request Active Source> when CEC is on or TV wakes up." am: ec1cb14990
Change-Id: Ia7076cb51ed76cb6be41856d9fb505779cc22e6a
2020-04-17 07:35:26 +00:00
Treehugger Robot
ec1cb14990 Merge "Add <Request Active Source> when CEC is on or TV wakes up." 2020-04-17 07:18:46 +00:00
Aaron Huang
8720021d46 Merge changes from topic "cts-networkprovider" am: 334a3ef519
Change-Id: I3e86ba642bc86bb25dc45ef65328c014962c95db
2020-04-17 04:22:29 +00:00
Aaron Huang
334a3ef519 Merge changes from topic "cts-networkprovider"
* changes:
  Add cts test for NetworkProvider
  Adjust permission of NetworkProvider related API
2020-04-17 03:59:47 +00:00
Bruce Chen
31599504f0 Merge "Add testTransportTypesEqual to dnsmanager test cases" am: 82ec72ab55
Change-Id: Idae99c5d19fcffdaf568b79aaa3e1679347ea655
2020-04-17 03:23:18 +00:00
Bruce Chen
82ec72ab55 Merge "Add testTransportTypesEqual to dnsmanager test cases" 2020-04-17 02:59:15 +00:00
Junyu Lai
b974f76f2a Merge "[SP27.3] Rename TestableNetworkStatsProvider" am: d2c1c23454
Change-Id: If3f447e3029c3ccb9a21e00257f596dd690ef55a
2020-04-17 02:26:28 +00:00
Betty Chang
af61adbdd5 Merge "[Telephony] Show 4G icon instead of 3G icon for UMTS network in ATT" am: 00de08f436
Change-Id: I15ada0da8b3a263a06a1a31047008e24f7ce8ae5
2020-04-17 02:25:51 +00:00
Junyu Lai
d2c1c23454 Merge "[SP27.3] Rename TestableNetworkStatsProvider" 2020-04-17 02:24:55 +00:00
Betty Chang
00de08f436 Merge "[Telephony] Show 4G icon instead of 3G icon for UMTS network in ATT" 2020-04-17 02:06:18 +00:00
Jack Yu
ad86c4fd6b Merge "Set legacy MTU field for backward compatibility" am: 0b8a2182ca
Change-Id: I5c6e025e1d18894e06c17dd5268bf54b8ab4176c
2020-04-17 01:35:53 +00:00
Jack Yu
0b8a2182ca Merge "Set legacy MTU field for backward compatibility" 2020-04-17 01:14:48 +00:00
Jordan Liu
d136b75501 Merge "Implement #equals in Geometries subclasses" am: e9cd9bd1fc
Change-Id: I233589a3b861ff93a948d4109e1ae4e37dd21e2e
2020-04-16 22:30:16 +00:00
Jordan Liu
e9cd9bd1fc Merge "Implement #equals in Geometries subclasses" 2020-04-16 22:13:17 +00:00
Jordan Liu
def1360b0b Implement #equals in Geometries subclasses
Bug: 148482334
Test: atest CbGeoUtilsTest
Change-Id: Ifc9aeaf378ac3221fc25690ed6ce33108cf2f56f
Merged-In: Ifc9aeaf378ac3221fc25690ed6ce33108cf2f56f
2020-04-16 14:04:11 -07:00
Amit Mahajan
6ee24b1e39 Merge "Remove permission requirement for SMS_DB_LOST intent." am: 26fc0b143d
Change-Id: I8360680dd030733299aabef23ad756640b566179
2020-04-16 20:18:16 +00:00
Amit Mahajan
26fc0b143d Merge "Remove permission requirement for SMS_DB_LOST intent." 2020-04-16 20:05:06 +00:00
Lorenzo Colitti
35f8843c2b Merge "Add a function to process LinkProperties coming from an agent." am: 15fb9f8c26
Change-Id: I7691b297b27065018e79b1808e35f9a02104a150
2020-04-16 16:38:01 +00:00
Lorenzo Colitti
611a94ee25 Merge "Support changing the NAT64 prefix without removing it." am: 75519a7a3c
Change-Id: I2616aba51bdad9afa2dddf6011355f14e4b5457e
2020-04-16 16:37:08 +00:00
Lorenzo Colitti
15fb9f8c26 Merge "Add a function to process LinkProperties coming from an agent." 2020-04-16 16:25:29 +00:00
Lorenzo Colitti
75519a7a3c Merge "Support changing the NAT64 prefix without removing it." 2020-04-16 16:24:57 +00:00
Hannah.Hsu
a1e468917b Add <Request Active Source> when CEC is on or TV wakes up.
Bug: 130316162
Test: manual
Change-Id: Iae1b22a19d4bf308cadb45590346f46325b222c3
2020-04-16 12:43:14 +00:00
Orion Hodson
6963d8e1c8 Merge "Add explicit dependencies on jni_headers" am: c0fe0ae29f
Change-Id: I8c84a9de389c0f82c307d835344038373d75f61a
2020-04-16 10:45:48 +00:00
Orion Hodson
c0fe0ae29f Merge "Add explicit dependencies on jni_headers" 2020-04-16 10:29:06 +00:00
chenbruce
0ec39cf1c4 Add testTransportTypesEqual to dnsmanager test cases
A test that ensures that NetworkCapabilities.TRANSPORT_* is eaual
to IDnsResolver.TRANSPORT_* for every possible value of each.

Bug: 153267602
Test: atest FrameworksNetTests
Change-Id: I6b23ccc6ce1659fdfd9573dfcd895f2c20fa9417
2020-04-16 18:04:16 +08:00
Paul Hu
130ce39732 Merge "[TNU05.1] Address aosp/1237036 leftover comments" am: 0ca532a78c
Change-Id: I9276b698b97d317ba465ab162d191c05841593e0
2020-04-16 08:39:20 +00:00
changbetty
a2b708531d [Telephony] Show 4G icon instead of 3G icon for UMTS network in ATT
Bug: 153624066
Test: make
Change-Id: Idc3f0f645a3c2c653061e6dac546f3469b2bc757
Merged-In: Idc3f0f645a3c2c653061e6dac546f3469b2bc757
2020-04-16 16:28:30 +08:00
Orion Hodson
63f06b738d Add explicit dependencies on jni_headers
Preparation for removing implicit include paths for jni.h from soong.

Also remove unnecessary jni.h includes from PathParser.{h,cpp}.

Bug: 152482542
Test: lunch aosp_x86_64 && m checkbuild
Change-Id: Ib18afa3d2c93ed3ce69204286d5177991100fd7e
Exempt-From-Owner-Approval: build refactoring
2020-04-16 08:26:14 +00:00
Paul Hu
0ca532a78c Merge "[TNU05.1] Address aosp/1237036 leftover comments" 2020-04-16 08:25:24 +00:00
Lorenzo Colitti
7ea5f9fac5 Add a function to process LinkProperties coming from an agent.
There are tasks that need to be performed when receiving
LinkProperties directly from a NetworkAgent (either at
registration time or in subsequent updates).

Currently, the only example of such a task is calling
ensureDirectlyConnectedRoutes. This is currently done in
handleUpdateLinkProperties, which is often unnecessary,
because that method iscalled in many other cases than when
receiving properties directly from an agent. Ensuring directly
connected routes only needs to be done when receiving
LinkProperties from the agent, because ConnectivityService does
not directly manipulate routes.

This CL does not do much except remove these superfluous calls
and add the method. A future CL will add more code to the method.

Bug: 150648313
Test: atest ConnectivityServiceTest
Change-Id: Ibeeb5f79e8afd3350c935934713d7882f2e0281f
2020-04-16 16:23:07 +09:00
Aaron Huang
17d97269e6 Add cts test for NetworkProvider
It will skip whole tests on Q device since NetworkProvider class
is introduced in R.

Result on Q device would be:
[1/1] android.net.NetworkProviderTest#skippedClassForDevSdkMismatch: IGNORED (3ms)

Bug: 153614605
Bug: 153613690
Bug: 153612373
Test: atest CtsNetTestCasesLatestSdk:android.net.NetworkProviderTest
Change-Id: If7bfc7fae503e3497c37754697d0b148ff4cab3b
2020-04-16 06:40:20 +00:00
paulhu
dc5c86ddd9 [TNU05.1] Address aosp/1237036 leftover comments
Bug: 147818698
Test: atest TetheringTests
Change-Id: Ife738339aeae00d2063fea6918b50204daef24fc
2020-04-16 14:39:12 +08:00
Paul Hu
4a80e0e2f0 Merge "Add TetheringCoverageTests" am: 8e8224c97b
Change-Id: I5683724edc60b5c3de326f75488f3eb738aaef47
2020-04-16 06:27:43 +00:00