Commit Graph

7759 Commits

Author SHA1 Message Date
Roshan Pius
7f49645689 Merge "StaticIpConfiguration: Couple of minor fixes" am: bf78f3fcc0 am: 3c28bfe9d4
am: 45fe413537

Change-Id: I66a1e125c1ecfa456ae7e83153dfc02eb7d7d3b0
2019-11-18 07:17:43 -08:00
Roshan Pius
45fe413537 Merge "StaticIpConfiguration: Couple of minor fixes" am: bf78f3fcc0
am: 3c28bfe9d4

Change-Id: Ic40a6d4221cdb39e40b895efbe313160b7ab0846
2019-11-18 07:14:08 -08:00
Roshan Pius
3c28bfe9d4 Merge "StaticIpConfiguration: Couple of minor fixes"
am: bf78f3fcc0

Change-Id: I29469c22d25fd812590f7adca23ef83337580b2b
2019-11-18 07:10:41 -08:00
Roshan Pius
bf78f3fcc0 Merge "StaticIpConfiguration: Couple of minor fixes" 2019-11-18 15:05:31 +00:00
Jayachandran Chinnakkannu
0072e72ac1 Merge "Remove usage of Telephonymanager getDefault() and from() hidden APIs" am: 73e22ad21d am: c9c264b861
am: f1b55ba4af

Change-Id: Ief1f090f3664d583565f291c89357bfbac58fe17
2019-11-18 01:09:40 -08:00
Jayachandran Chinnakkannu
f1b55ba4af Merge "Remove usage of Telephonymanager getDefault() and from() hidden APIs" am: 73e22ad21d
am: c9c264b861

Change-Id: I7613a654dd726bcf5428a5a07ad4369f616bbcfa
2019-11-18 01:05:02 -08:00
Jayachandran Chinnakkannu
c9c264b861 Merge "Remove usage of Telephonymanager getDefault() and from() hidden APIs"
am: 73e22ad21d

Change-Id: I555617ff893acf4c53e6a73d6591b6aaebf3ce50
2019-11-17 22:30:01 -08:00
Jayachandran C
4022aa3829 Remove usage of Telephonymanager getDefault() and from() hidden APIs
This CL replaces with getSystemService(TelephonyManager.class)

Bug: 140768340
Test: atest frameworks/base/tests/net
Change-Id: I0f14cc5440fa85c81ab90f3199e9e91c1b00f5e1
2019-11-15 19:26:33 -08:00
Roshan Pius
d4ec409242 StaticIpConfiguration: Couple of minor fixes
a) Ensure the Builder.build() does not crash if setDnsServers() is not
invoked.
b) Add a checkNotNull on setDnsServers() since it is marked @NonNull.

Bug: 144487020
Test: Compiles
Change-Id: I2b9f990efa0583c0f067c25e23d8c944ffbdf6a5
(cherry-picked from d0348339c50eeae0fe137c62476f6a01542f4163)
2019-11-14 18:13:26 -08:00
Artur Satayev
f7aca0ac43 [automerger skipped] Merge "Add @UnsupportedAppUsage to test apis that are known to be used by apps." am: a98026f7aa am: a10dd26c25
am: f92ac004da -s ours
am skip reason: change_id Ifc8db120640a1554dcbf1722e61e09c7ddc65dd6 with SHA1 5781ab39c7 is in history

Change-Id: I1e9b0579e65071e042c4595083427bcc7889c15e
2019-11-13 14:05:06 -08:00
Artur Satayev
f92ac004da Merge "Add @UnsupportedAppUsage to test apis that are known to be used by apps." am: a98026f7aa
am: a10dd26c25

Change-Id: Ic691d764839ecf34daa8b53aa92497e013c9a2a7
2019-11-13 10:40:54 -08:00
Artur Satayev
a10dd26c25 Merge "Add @UnsupportedAppUsage to test apis that are known to be used by apps."
am: a98026f7aa

Change-Id: Ia39fbc2200aa7262e4a05b0710b7a382bb01b276
2019-11-13 10:33:06 -08:00
Artur Satayev
4bac8c7057 Add @UnsupportedAppUsage to test apis that are known to be used by apps.
go/testapi-enforcement

Bug: 133832325
Test: m
Change-Id: Ifc8db120640a1554dcbf1722e61e09c7ddc65dd6
Merged-In: Ifc8db120640a1554dcbf1722e61e09c7ddc65dd6
2019-11-13 15:05:56 +00:00
Artur Satayev
5781ab39c7 Add @UnsupportedAppUsage to test apis that are known to be used by apps.
go/testapi-enforcement

Bug: 133832325
Test: m
Change-Id: Ifc8db120640a1554dcbf1722e61e09c7ddc65dd6
Merged-In: Ifc8db120640a1554dcbf1722e61e09c7ddc65dd6
2019-11-13 12:58:29 +00:00
Remi NGUYEN VAN
5057703a30 Merge "Add permissions to NetIntegrationTests manifest" am: 541077b76a am: 4a0d8ff37e
am: 81dc489a66

Change-Id: I33f628f9845d672edce17807f32819e31549eefd
2019-11-11 21:54:17 -08:00
Remi NGUYEN VAN
81dc489a66 Merge "Add permissions to NetIntegrationTests manifest" am: 541077b76a
am: 4a0d8ff37e

Change-Id: If487d15f3666af5460d886cfce78d87b6343e443
2019-11-11 21:48:51 -08:00
Remi NGUYEN VAN
4a0d8ff37e Merge "Add permissions to NetIntegrationTests manifest"
am: 541077b76a

Change-Id: Ieb22f6fa83bcc1e5c867a188f3a342980fce3203
2019-11-11 21:44:07 -08:00
Remi NGUYEN VAN
541077b76a Merge "Add permissions to NetIntegrationTests manifest" 2019-11-12 05:31:19 +00:00
Artur Satayev
ffec6a67c4 [automerger skipped] Merge "Add @UnsupportedAppUsage annotations for greylist." am: 350393e373 am: 9ee152ef44
am: d75627ab98 -s ours
am skip reason: change_id Id6c1f5e403a0e66edb1102ee45f3bf19f244fb09 with SHA1 7c3d157392 is in history

Change-Id: I49f1a2d2a16d416a305746a72ae3b266cf1d787d
2019-11-11 10:21:46 -08:00
Artur Satayev
d75627ab98 Merge "Add @UnsupportedAppUsage annotations for greylist." am: 350393e373
am: 9ee152ef44

Change-Id: I48075ef4296e0b55c0055f7364c5129bbd60e9ed
2019-11-11 09:33:13 -08:00
Artur Satayev
9ee152ef44 Merge "Add @UnsupportedAppUsage annotations for greylist."
am: 350393e373

Change-Id: I5387b4742fdaf67ad3189356f2361f73969b53a8
2019-11-11 09:13:24 -08:00
Treehugger Robot
350393e373 Merge "Add @UnsupportedAppUsage annotations for greylist." 2019-11-11 14:27:47 +00:00
Artur Satayev
2f0e1381ee [automerger skipped] Merge "Add @UnsupportedAppUsage annotations for max-p." am: addbe293c8 am: f0d39b343d
am: 6fd98374aa -s ours
am skip reason: change_id I5aa29a49b193db47aaee4d3a756c17f48cc9f0b1 with SHA1 4510ea5101 is in history

Change-Id: I48d2d4d2b0dbf20bd2954b67909f5722cdd62a93
2019-11-08 09:55:00 -08:00
Artur Satayev
6fd98374aa Merge "Add @UnsupportedAppUsage annotations for max-p." am: addbe293c8
am: f0d39b343d

Change-Id: Iff80c388dec2c6f8184b739be6fb38b8ec8a1a49
2019-11-08 09:49:03 -08:00
Artur Satayev
f0d39b343d Merge "Add @UnsupportedAppUsage annotations for max-p."
am: addbe293c8

Change-Id: I2f249063c274b54a58a24cda23f1d5a60fa14540
2019-11-08 09:38:12 -08:00
Treehugger Robot
addbe293c8 Merge "Add @UnsupportedAppUsage annotations for max-p." 2019-11-08 17:26:36 +00:00
Artur Satayev
198d650573 Add @UnsupportedAppUsage annotations for greylist.
go/cleanup-greylist-txt

These have already been greylisted, however due to bugs/omissions in the tooling have been kept in go/greylist-txt instead of being annotated in the code.

Bug: 137350495
Test: m

Change-Id: Id6c1f5e403a0e66edb1102ee45f3bf19f244fb09
Merged-In: Id6c1f5e403a0e66edb1102ee45f3bf19f244fb09
2019-11-08 16:17:13 +00:00
Artur Satayev
28a9741626 Add @UnsupportedAppUsage annotations for max-p.
See go/UnsupportedAppUsage for more details.

These have already been greylisted, however due to bugs/omissions in the tooling have been kept in go/greylist-txt instead of being annotated in the code.

Bug: 137350495
Test: m
Change-Id: I5aa29a49b193db47aaee4d3a756c17f48cc9f0b1
Merged-In: I5aa29a49b193db47aaee4d3a756c17f48cc9f0b1
2019-11-08 16:17:13 +00:00
Lucas Lin
d2e1439018 Merge "[NS01] Create NetworkScore" am: 0dba9c87f1 am: 6ee212b303
am: 15731e9d75

Change-Id: Ic093e655b1ff7e44db57d7add6b0818a06700962
2019-11-07 17:05:20 -08:00
Lucas Lin
15731e9d75 Merge "[NS01] Create NetworkScore" am: 0dba9c87f1
am: 6ee212b303

Change-Id: I0ba5523bf80f949a148e53774a367de325853747
2019-11-07 16:59:11 -08:00
Lucas Lin
6ee212b303 Merge "[NS01] Create NetworkScore"
am: 0dba9c87f1

Change-Id: I63a76689ef468b55ad1d43db19655e8d822d0122
2019-11-07 16:53:15 -08:00
Lucas Lin
0dba9c87f1 Merge "[NS01] Create NetworkScore" 2019-11-08 00:47:22 +00:00
lucaslin
fe4c578d6e [NS01] Create NetworkScore
It's the first patch for refounding network selection. The new
network selection will try to compare the networks by more
factors, and will try to choose the best network after doing
the evaluation of trade-off.
Create the object that will serve to represent network quality
for more comprehensive ranking.

Bug: 143676287
Test: 1. Build pass.
      2. atest FrameworksNetTests

Change-Id: I4b6071d14365aa84d06be9802516fedf527e70f7
2019-11-07 16:47:56 +08:00
Xin Li
c0f346633f [automerger skipped] Merge "DO NOT MERGE - qt-qpr1-dev-plus-aosp-without-vendor@5915889 into stage-aosp-master" into stage-aosp-master am: d13ac68c9a
am: babe4048d3 -s ours
am skip reason: subject contains skip directive

Change-Id: I5737c9310055502c4736dd58b38137e4119be833
2019-10-31 14:56:47 -07:00
Xin Li
babe4048d3 Merge "DO NOT MERGE - qt-qpr1-dev-plus-aosp-without-vendor@5915889 into stage-aosp-master" into stage-aosp-master
am: d13ac68c9a

Change-Id: I3a1d6dd3aefe1720f7b77174287357446626d1dd
2019-10-31 14:33:39 -07:00
Xin Li
da57b2a507 [automerger skipped] DO NOT MERGE - qt-qpr1-dev-plus-aosp-without-vendor@5915889 into stage-aosp-master am: 6f3109bcc3
am: c1ccac6454 -s ours
am skip reason: subject contains skip directive

Change-Id: I3056dd82f558502b57da97eca4524d5332f3ae5f
2019-10-31 14:02:53 -07:00
Xin Li
c1ccac6454 DO NOT MERGE - qt-qpr1-dev-plus-aosp-without-vendor@5915889 into stage-aosp-master
am: 6f3109bcc3

Change-Id: I80dc833d1a9394dc61a09296a9dbad604c3c0a0d
2019-10-31 13:15:28 -07:00
TreeHugger Robot
d13ac68c9a Merge "DO NOT MERGE - qt-qpr1-dev-plus-aosp-without-vendor@5915889 into stage-aosp-master" into stage-aosp-master 2019-10-31 18:38:40 +00:00
Jeongik Cha
1b9ebe87ac [automerger skipped] Merge "Change AIDL module name" am: 450a38b074 am: 432fb0358b
am: e6a8b95dc5 -s ours
am skip reason: change_id Ib38e2cb114cc373ef50652f421ddaff9b4fbe5b9 with SHA1 6f6126be75 is in history

Change-Id: I70e0b81df88d09dd10f236b443cde0b4b3c52a0e
2019-10-31 00:12:31 -07:00
Jeongik Cha
e6a8b95dc5 Merge "Change AIDL module name" am: 450a38b074
am: 432fb0358b

Change-Id: Ib67d2e7f95592b2b94b43001f89a9413ff01dfcd
2019-10-31 00:00:11 -07:00
Xin Li
6f3109bcc3 DO NOT MERGE - qt-qpr1-dev-plus-aosp-without-vendor@5915889 into stage-aosp-master
Bug: 142003500
Change-Id: If5056a73ede668b0048ca107b686413695e5b3b6
2019-10-30 14:33:01 -07:00
Remi NGUYEN VAN
129af07343 Add permissions to NetIntegrationTests manifest
As the TestNetworkStack target is updated not to use the complete
NetworkStackManifest to avoid including priv-app permissions and actual
service names, the missing permissions must be added to the
FrameworksNetIntegrationTests manifest.

Add the permissions and attributes that are necessary for the test, and
used to be merged from the TestNetworkStack library manifest.

Test: atest FrameworksNetIntegrationTests
Change-Id: I8b434e67f3a6c9141da71c6dfab1be77aa0f8411
2019-10-30 18:30:03 +09:00
Jeongik Cha
342dad56b9 Change AIDL module name
Naming rule for aidl module is changed to make using unstable AIDL module more explicit
So, to use unstable version AIDL module, use "-unstable" suffix version
And also, module name without any suffix means latest frozen version.

But wrt modules for C++ and NDK, module name with latest frozen version
is not available for now.

In b/139280289, more background is explained

Test: m
Bug: 139280289
Change-Id: Ib38e2cb114cc373ef50652f421ddaff9b4fbe5b9
Merged-In: Ib38e2cb114cc373ef50652f421ddaff9b4fbe5b9
2019-10-29 16:01:18 +09:00
Jeongik Cha
6f6126be75 Change AIDL module name
Naming rule for aidl module is changed to make using unstable AIDL module more explicit
So, to use unstable version AIDL module, use "-unstable" suffix version
And also, module name without any suffix means latest frozen version.

But wrt modules for C++ and NDK, module name with latest frozen version
is not available for now.

In b/139280289, more background is explained

Test: m
Bug: 139280289
Change-Id: Ib38e2cb114cc373ef50652f421ddaff9b4fbe5b9
2019-10-26 00:38:46 +09:00
Mark Chien
ae0c397f98 Merge "[Tether02] Migrate TetheringConfiguration into module" am: cb757f00af am: f19a4acbdc am: 9df4739b71
am: cdbd306850

Change-Id: Ia361893223c5d08e7ca0193c38f9b1b88a330320
2019-10-24 07:14:21 -07:00
Mark Chien
cdbd306850 Merge "[Tether02] Migrate TetheringConfiguration into module" am: cb757f00af am: f19a4acbdc
am: 9df4739b71

Change-Id: Ifbcc8a81d4ea7521f0d3ae56e0951974b9355334
2019-10-24 07:07:35 -07:00
Mark Chien
9df4739b71 Merge "[Tether02] Migrate TetheringConfiguration into module" am: cb757f00af
am: f19a4acbdc

Change-Id: Iacc50625daa999203aa104bf270e1295592240aa
2019-10-24 06:51:38 -07:00
Mark Chien
f19a4acbdc Merge "[Tether02] Migrate TetheringConfiguration into module"
am: cb757f00af

Change-Id: I8fa812a78f61976741bc06ccf4000f625b75ecbe
2019-10-24 06:38:24 -07:00
Mark Chien
cb757f00af Merge "[Tether02] Migrate TetheringConfiguration into module" 2019-10-24 13:10:24 +00:00
markchien
194406d2a2 [Tether02] Migrate TetheringConfiguration into module
TetheringConfiguration is a utility class to encapsulate the various
configuration elements.

Bug: 136040414
Test: -build, flash, boot
      -atest TetheringTests

Change-Id: I9434ab213bc5e0fca59f14a6c8cea554abefc3a4
2019-10-24 14:00:05 +08:00