Commit Graph

84960 Commits

Author SHA1 Message Date
Neil Fuller
3ffddc2444 Merge "Improve documentation around HostnameVerifier"
am: abff3f4f21

Change-Id: I7f61ebc9aa41190b6d1508fb3c511c066d3a269c
2019-03-13 06:36:30 -07:00
Neil Fuller
abff3f4f21 Merge "Improve documentation around HostnameVerifier" 2019-03-13 13:26:02 +00:00
Mathieu Chartier
96040ee591 Merge "Call notifyStartupCompleted from reportFullyDrawn"
am: 13f15b3752

Change-Id: I6c293f77639421a5517e0c56391e60982ce8ce31
2019-03-12 22:44:04 -07:00
Jeremy Klein
33a9d34e8a Merge "Rename entitlement callback to adhere to API guidelines."
am: 0102e3d548

Change-Id: If58d5724000fba5e1d794a98ccc89b73ce842f4a
2019-03-12 22:39:53 -07:00
Stanley Tng
68e00291e0 Merge "Add @NonNull annotations to LE CoC APIs"
am: 8b57ab7989

Change-Id: I16c1d5c6c7c31b0c96172f0baaed361eae8f4a5e
2019-03-12 22:30:47 -07:00
Mathieu Chartier
13f15b3752 Merge "Call notifyStartupCompleted from reportFullyDrawn" 2019-03-13 05:02:58 +00:00
Mathieu Chartier
67f02a1fff Call notifyStartupCompleted from reportFullyDrawn
ART will now know when startup is startup is finished.

Test: manual
Bug: 120671223
Bug: 123377072

(cherry-picked from commit 63e14c10b3)

Merged-In: I1134f66792bddc9ab33606fa4c2807b3918d5261
Change-Id: I1134f66792bddc9ab33606fa4c2807b3918d5261
2019-03-13 05:01:58 +00:00
Treehugger Robot
0102e3d548 Merge "Rename entitlement callback to adhere to API guidelines." 2019-03-13 04:48:24 +00:00
Chalard Jean
b8b94ba4c0 Merge "Tell the factory it is already serving a request."
am: ae79013ec2

Change-Id: I4c3948c2e7098668cf881d3f31fda87be1250828
2019-03-12 21:42:18 -07:00
Stanley Tng
97341da063 Add @NonNull annotations to LE CoC APIs
Added NonNull annotations to the 4 LE Connection-oriented channel API in
BluetoothDevice and BluetoothAdapter.

Bug: 126701988
Bug: 126701989
Test: Compile only
Change-Id: I2d4dc8fbd06e30c782123e01f8481d249e40ee02
2019-03-13 02:27:38 +00:00
Xin Li
a5fe44c6b5 Merge "DO NOT MERGE - Merge PPRL.190305.001 into master" 2019-03-13 02:26:04 +00:00
Jeremy Klein
9f2e0f035a Rename entitlement callback to adhere to API guidelines.
The method for OnTetheringEntitlementResultListener needs to be
onTetheringEntitlementResult in order to meet our API guidelines:

"Use Listener when there is a single callback method and there will
never be any others. It should be an interface whose name is the same
as the callback method plus Listener."

Bug: 126392011
Change-Id: I9a883765541ae853c4eb3bd52c9d93a7af16e661
Test: Manual build
2019-03-12 13:36:21 -07:00
Neil Fuller
4f1bce2238 Improve documentation around HostnameVerifier
Explain usage of HostnameVerifier / HttpsURLConnection.

Bug: 126851476
Test: make docs / visual inspection
Merged-In: I6bc86f8e7efc47521316d41e07ef546ea995061c
Change-Id: I6bc86f8e7efc47521316d41e07ef546ea995061c
(cherry picked from commit 9f5e6f22bd)
2019-03-12 15:10:12 +00:00
Chalard Jean
05ab6811d0 Tell the factory it is already serving a request.
This is a cherry-pick of ag/607226 that has been rebased on
top of four years of changes and with comments addressed.

Gives each factory a serial number and propagates it to every
NetworkAgent so when a score comes back indicating a request is
being handled the factory can account for it properly.

Without this, a new request that's already handled by a network
offered by a factory will not cause an increment of the factorys
ref count. Concretely this results in issues like the RAT icon
not being displayed in spite of the network actually being up
and usable.

This will be ported to AOSP as soon as possible, but immediately
some master-only WiFi tests need to be adjusted with this change
which would not let me submit to AOSP.

Bug: 18637384
Bug: 29030667
Test: manual
Test: atest frameworks/opt/telephony/tests/telephonytests
Test: atest frameworks-net
Test: atest CtsNetTestCases CtsHostsideNetworkTests
Change-Id: I597ac588f76dd507512ff02868fd1310b7e63f7e
Merged-In: I597ac588f76dd507512ff02868fd1310b7e63f7e
2019-03-12 21:47:21 +09:00
Chalard Jean
65d66eec82 Merge "[CS] Support "instant failure" from factories"
am: eb3e7b3f64

Change-Id: I0c5f2823763857edfc5095686345c764d9be12e1
2019-03-12 05:25:48 -07:00
Chalard Jean
eb3e7b3f64 Merge "[CS] Support "instant failure" from factories" 2019-03-12 12:04:46 +00:00
Lucas Lin
6cf91d1558 Merge "Check if network has partial connectivity"
am: 174ae05817

Change-Id: I3e94029fe067a1a22acc640a0df6a87720572b94
2019-03-12 01:28:50 -07:00
lucaslin
e252a740ca Check if network has partial connectivity
In some networks, network validation may only get success
result for http probe but fail result for https probe.
For this kind of network, it may still work at some websites
or apps, but user didn't know about that. In order to fix this
issue, we will check if network has partial connectivity and
notify user to make a choice if they want to use this partial
connectivity or not.

Bug: 113450764
Test: 1. Build pass.
      2. Fake partial connectivity case for testing.
      3. atest FrameworksNetTests
      4. atest NetworkStackTests

Change-Id: I69ed00ac4850904ff708c9fef22e148879a10e92
2019-03-12 07:37:33 +00:00
Xin Li
3e112d56a4 DO NOT MERGE - Merge PPRL.190305.001 into master
Bug: 127812889
Change-Id: I7c5ada5c5afe38848be733616cbb1568440ab1c5
2019-03-12 00:17:37 -07:00
Tony Huang
434096edef Merge "Update nullability of api"
am: 47890345d0

Change-Id: Ie8ed183155b16c87a98c19f11f69fe869e797880
2019-03-11 22:29:24 -07:00
Tony Huang
47890345d0 Merge "Update nullability of api" 2019-03-12 05:22:28 +00:00
Junyu Lai
7bb0014975 Merge "Improve keepalive offload documentation and error handling"
am: cc3a190b07

Change-Id: Ia87def27904309d405c39607326a77133632461d
2019-03-11 22:21:27 -07:00
Junyu Lai
cc3a190b07 Merge "Improve keepalive offload documentation and error handling" 2019-03-12 05:11:50 +00:00
Etan Cohen
ddb720a85e [CS] Support "instant failure" from factories
Add a mechanism by which a factory can declare "instant failure" for
a request - which would result in it getting an OnUnavailable()
(even without a timeout).

Factories may only do this iff:
1. They know they are the only factory which may fulfill this
   request (common for transport-specific requests).
2. The know that the request can definitely not be
   fulfilled at any point in the future.

Bug: 31382922
Test: atest ConnectivityServiceTest
Merged-In: I9bce0f4d85fa8cad7f8a9998819f945b778c5ac5
Change-Id: I9bce0f4d85fa8cad7f8a9998819f945b778c5ac5
2019-03-11 16:15:43 -07:00
Chen Xu
ab85849ce7 Merge "rename precise carrier id to specific carrier id"
am: 118354f77c

Change-Id: I2ef97c1013e3e77b7ec4ec311eaa437503a758e8
2019-03-11 14:54:34 -07:00
Chen Xu
118354f77c Merge "rename precise carrier id to specific carrier id" 2019-03-11 21:34:30 +00:00
Chalard Jean
b14afc3a5f Merge "Add tethering event callback API"
am: 5227285ad7

Change-Id: Ie38a521abf09e0eb530173508b14aa2acdb9267c
2019-03-11 10:26:28 -07:00
Chalard Jean
5227285ad7 Merge "Add tethering event callback API" 2019-03-11 17:04:57 +00:00
Chalard Jean
9f1414dac1 Merge "Add a static to get the Ip Memory Store"
am: bee0cbe5df

Change-Id: I8cf868ca1801f30a772fea7716e0b9fd322a80de
2019-03-11 08:04:48 -07:00
Chalard Jean
5d8b7c875d Add a static to get the Ip Memory Store
This is so that there is some AOSP stable API while the
memory store is moved to the network.

Test: atest FrameworksNetTests
Change-Id: Ib51dbee77fcb0d14a5c85240ac711b3b1aa71286
2019-03-11 20:48:08 +09:00
Chalard Jean
55fae4c14c Merge "Make ParseException less useless."
am: 8e8ed1dfc2

Change-Id: If582e61ca92e5414edea351934053fa0ab6b04bf
2019-03-10 21:19:42 -07:00
Treehugger Robot
8e8ed1dfc2 Merge "Make ParseException less useless." 2019-03-11 04:06:48 +00:00
chen xu
2b0139ca18 rename precise carrier id to specific carrier id
Bug: 126727010
Test: atest CtsTelephonyTestCases

Change-Id: I4561ae8c15c429912695e0753b2ab3137a4e1e44
(cherry picked from commit 45f6621391)
Merged-in: I4561ae8c15c429912695e0753b2ab3137a4e1e44
2019-03-10 01:06:33 -08:00
Max Bires
e6faa759d6 Merge "Adding KEY_PERMANENTLY_INVALIDATED int"
am: 18e0781d3d

Change-Id: I9a31a0b3c9abc72a619c06c2ffc092d5ef557213
2019-03-08 10:22:53 -08:00
Max Bires
18e0781d3d Merge "Adding KEY_PERMANENTLY_INVALIDATED int" 2019-03-08 17:53:05 +00:00
markchien
26299ed5fd Add tethering event callback API
Provide OnTetheringEventCallback for system app to know
tethering's upstream.

Bug: 125583822
Test: -build, flash, boot
      -atest FrameworksNetTests

Change-Id: I7ca81b27c9b805cc01884509f5b20d9d0a24cd36
Merged-in: I7ca81b27c9b805cc01884509f5b20d9d0a24cd36
2019-03-09 00:35:55 +08:00
Bernie Innocenti
b0498ba448 Merge "Add junyulai@ as owner of the core networking dirs"
am: e5e3ac639b

Change-Id: I06cca33e638baf671b891eb0c20b4c8f439eda2e
2019-03-08 07:50:29 -08:00
Bernie Innocenti
e5e3ac639b Merge "Add junyulai@ as owner of the core networking dirs" 2019-03-08 15:21:01 +00:00
Ugo Yu
8db54f6563 Merge "Change BluetoothCodecStatus.sameCapabilities() to public"
am: 27a6501a19

Change-Id: Ib061fe25ba0ec460b601c893f0a1396626e00331
2019-03-08 07:01:55 -08:00
Luke Huang
5b0b36a6b4 Merge "Minor changes to the async DNS query JAVA API"
am: c8dfb72891

Change-Id: I96e9325c7dd5396f48b25919a104be55fb9b6346
2019-03-08 06:51:48 -08:00
cnx421
6a5d589a50 Merge "fix 'int android.view.View.getHeight()' on a null object reference"
am: 4add708b91

Change-Id: I3aa9c2da09a1447f79edb6a228f88cdc731bd605
2019-03-08 06:38:44 -08:00
Benedict Wong
788be6d63a Merge changes Ie66ba631,Ic42c09a3
am: cbc409986d

Change-Id: I5c8a3364f0244c5945be2bbe919aac2dcc4eba66
2019-03-08 06:35:04 -08:00
David Brazdil
7746e7c553 Merge "Move Camera.EventHandler constructor to greylist"
am: b31032b3b0

Change-Id: If785b7e4f01db0a0e9b1e8d4e42258375de57dbc
2019-03-08 06:29:15 -08:00
Stanley Tng
1c5a742cb8 Merge "Add @NonNull annotations to Hearing Aids Profile APIs"
am: 6fa52c9b25

Change-Id: If06dc28087ad2fe14636e0147077b35af7947216
2019-03-08 06:25:47 -08:00
Ruchi Kandoi
049cd3b67e Merge "Add @NonNull annotations to (un)setOffHostForService()"
am: 78366e46b2

Change-Id: Ic96cc8e5d438d5083d5ad40e13367d7921f30af3
2019-03-08 06:03:45 -08:00
Andrei-Valentin Onea
f63b6157a1 Merge "Add @UnsupportedAppUsage annotations"
am: 10c573ff85

Change-Id: I394e53a553e4c054c52fb3e991b4f81f3c152a94
2019-03-08 06:00:20 -08:00
Andrei-Valentin Onea
42f62d86b5 Merge "Add @UnsupportedAppUsage annotations"
am: 5d256870aa

Change-Id: I2ff775d4b5f9417f8f68274b05829457fb00fe7a
2019-03-08 05:56:53 -08:00
Siarhei Vishniakou
71f52a6a0d Merge "Add a null check for getWindow()"
am: 3c69948e6a

Change-Id: Ibeffcb78acdb9744993d3aec810acd27416ba455
2019-03-08 05:53:28 -08:00
Bernie Innocenti
ea89cf2c6e Add junyulai@ as owner of the core networking dirs
Also removed emeritus accounts ek@ and silberst@ from various places.
A cleanup using 'include' would probably be in order...

Test: N/A
Change-Id: I575e60dd5e600e42d9571ce8e8d7661d30e99bfe
2019-03-08 13:04:05 +00:00
Treehugger Robot
27a6501a19 Merge "Change BluetoothCodecStatus.sameCapabilities() to public" 2019-03-08 10:38:47 +00:00