Commit Graph

5691 Commits

Author SHA1 Message Date
Junyu Lai
a2b45dae50 Merge "Ignore ipv6 tx traffic on clat uid." am: c8497bb4f6 am: aa94986931
am: d7c950a284

Change-Id: I1ac85ac863026ea99117c5b0115bcc0c9144fb7b
2019-01-04 08:47:41 -08:00
Junyu Lai
d7c950a284 Merge "Ignore ipv6 tx traffic on clat uid." am: c8497bb4f6
am: aa94986931

Change-Id: I0f289ce46462f494adb99628bd504cafb584eeeb
2019-01-04 08:30:44 -08:00
Junyu Lai
aa94986931 Merge "Ignore ipv6 tx traffic on clat uid."
am: c8497bb4f6

Change-Id: I181c3c812caa9bcd359fbddf74d14adeb7e83419
2019-01-04 08:13:29 -08:00
Junyu Lai
c8497bb4f6 Merge "Ignore ipv6 tx traffic on clat uid." 2019-01-04 09:29:10 +00:00
Mathew Inwood
b99416bea7 [automerger skipped] Merge "Limit access to suspected false positives." am: aeda49d185 am: cc464ce183
am: b73d5b77cf  -s ours

Change-Id: I976150f79cc66d83c9c49b19c2d3228c71ffe3f4
2019-01-02 05:16:06 -08:00
Mathew Inwood
b73d5b77cf Merge "Limit access to suspected false positives." am: aeda49d185
am: cc464ce183

Change-Id: I8e10322e69d2d479079df5cf8fec0287c7c117f1
2019-01-02 05:00:54 -08:00
Mathew Inwood
cc464ce183 Merge "Limit access to suspected false positives."
am: aeda49d185

Change-Id: Ib24456aaad850d5aee46dd242513840511942536
2019-01-02 04:48:33 -08:00
Mathew Inwood
ac5968e81e Limit access to suspected false positives.
Members modified herein are suspected to be false positives: i.e. things
that were added to the greylist in P, but subsequent data analysis
suggests that they are not, in fact, used after all.

Add a maxTargetSdk=P to these APIs. This is lower-risk that simply
removing these things from the greylist, as none of out data sources are
perfect nor complete.

For APIs that are not supported yet by annotations, move them to
hiddenapi-greylist-max-p.txt instead which has the same effect.

Exempted-From-Owner-Approval: Automatic changes to the codebase
affecting only @UnsupportedAppUsage annotations, themselves added
without requiring owners approval earlier.

Bug: 115609023
Test: m
Change-Id: Ia937d8c41512e7f1b6e7f67b9104c1878b5cc3a0
Merged-In: I020a9c09672ebcae64c5357abc4993e07e744687
2018-12-28 14:26:35 +00:00
Mathew Inwood
782dea53bd Limit access to suspected false positives.
Members modified herein are suspected to be false positives: i.e. things
that were added to the greylist in P, but subsequent data analysis
suggests that they are not, in fact, used after all.

Add a maxTargetSdk=P to these APIs. This is lower-risk that simply
removing these things from the greylist, as none of out data sources are
perfect nor complete.

For APIs that are not supported yet by annotations, move them to
hiddenapi-greylist-max-p.txt instead which has the same effect.

Exempted-From-Owner-Approval: Automatic changes to the codebase
affecting only @UnsupportedAppUsage annotations, themselves added
without requiring owners approval earlier.

Bug: 115609023
Test: m
Change-Id: I020a9c09672ebcae64c5357abc4993e07e744687
2018-12-28 11:50:04 +00:00
Chalard Jean
ba6a3ca80e Merge "[PT17] Small cleanup of PacManager" am: 1f1bdf26f9 am: 949c6ca94e
am: 9390f02e6e

Change-Id: I9e4cf1680ec719bc1fab9df36ad08229401da1eb
2018-12-25 03:29:16 -08:00
Chalard Jean
9390f02e6e Merge "[PT17] Small cleanup of PacManager" am: 1f1bdf26f9
am: 949c6ca94e

Change-Id: I7feead64e6fd1c4a02ccaaf4a76f1ad684887e72
2018-12-25 03:18:54 -08:00
Chalard Jean
949c6ca94e Merge "[PT17] Small cleanup of PacManager"
am: 1f1bdf26f9

Change-Id: If5c8f840adaa9dd13e5cf95aedc782913aee9179
2018-12-25 03:08:21 -08:00
Chalard Jean
1f1bdf26f9 Merge "[PT17] Small cleanup of PacManager" 2018-12-25 10:55:10 +00:00
Paul Hu
a29040af2d Merge "Unhide LinkProperties, NetworkCapabilities, NetworkRequest APIs" am: 4d52ab7341 am: 7b341a8dba
am: 83ce7ae831

Change-Id: I65cd4c326a1fe64c09b131f1b1924f12e522a664
2018-12-21 07:57:58 -08:00
Paul Hu
83ce7ae831 Merge "Unhide LinkProperties, NetworkCapabilities, NetworkRequest APIs" am: 4d52ab7341
am: 7b341a8dba

Change-Id: Ic641472bab2e5aa7b443caaac13deae260c3902d
2018-12-21 07:48:38 -08:00
Paul Hu
7b341a8dba Merge "Unhide LinkProperties, NetworkCapabilities, NetworkRequest APIs"
am: 4d52ab7341

Change-Id: Ib1f7c272192bf4a6b44d0d7c47267ec0fe0317d6
2018-12-21 07:37:22 -08:00
Paul Hu
4d52ab7341 Merge "Unhide LinkProperties, NetworkCapabilities, NetworkRequest APIs" 2018-12-21 15:21:03 +00:00
Junyu Lai
ec26640fc8 Merge "Deprecate NetworkInfo" am: 9f66465984 am: add792f1ae
am: 1c0ed50d38

Change-Id: Iefce7f71ac10d0b9c96ce7d6af345e96880cfa1c
2018-12-21 02:28:11 -08:00
Junyu Lai
1c0ed50d38 Merge "Deprecate NetworkInfo" am: 9f66465984
am: add792f1ae

Change-Id: Ia646a8754bcd5ef62573e3b1730df3987bf9fd15
2018-12-21 02:16:39 -08:00
Junyu Lai
add792f1ae Merge "Deprecate NetworkInfo"
am: 9f66465984

Change-Id: I4ac76b4bb3edb85e22440c8bfa4f0979c42c0cbd
2018-12-21 02:06:09 -08:00
Junyu Lai
9f66465984 Merge "Deprecate NetworkInfo" 2018-12-21 09:56:39 +00:00
Chalard Jean
8fff22272e [PT17] Small cleanup of PacManager
Test: runtest
Change-Id: I94a10cbae7f2d87bd8a68ae4f9972a728f4942c3
2018-12-20 18:25:22 +09:00
junyulai
5c2f626d34 Deprecate NetworkInfo
Currently NetworkInfo is used by Apps to get information of
network. However, to get such information, Apps need to poll
NetworkInfo frequently from ConnectivityService.

In order to increase the stability and reduce the maintain
effort, all functionalities provided by NetworkInfo are targeted
to be replaced or removed entirely.

Apps should use ConnectivityManager.NetworkCallback instead, to
get faster and more detailed updates from connectivity changes.

Or, apps could use getNetworkCapabilities or getLinkProperties
to get information synchronously, but should not mix the
callbacks and synchronous methods together.

Bug: 113629330
Test: atest FrameworksNetTests
Change-Id: Ie8faf620958c3fa0a4a2f233b35b825de0e99ffc
2018-12-20 16:36:10 +08:00
jiayanhong
8d999d3ad8 Merge "Fixed toString() printing error" am: c5b457ba48 am: 87384f2d62
am: 7b90c9c11c

Change-Id: Ia75eefba3ec6ca4fbc7aaf7c5aee362d33fba9d4
2018-12-19 10:16:43 -08:00
jiayanhong
7b90c9c11c Merge "Fixed toString() printing error" am: c5b457ba48
am: 87384f2d62

Change-Id: Ia28e56d8a6b76247d552bcdbf43ef71ac80e313e
2018-12-19 10:06:58 -08:00
jiayanhong
87384f2d62 Merge "Fixed toString() printing error"
am: c5b457ba48

Change-Id: Id0f5d70a4549480fbb192628ce41796e4da04ad7
2018-12-19 09:54:46 -08:00
Treehugger Robot
c5b457ba48 Merge "Fixed toString() printing error" 2018-12-19 17:39:58 +00:00
Paul Duffin
cd5785a44b Merge "Add InetAddresses class to API" am: 08f2a98220 am: be38ccba74
am: 6e48b5278d

Change-Id: I6149da91b9bc2403f1764cfcc4a4f92758c13b26
2018-12-18 11:50:36 -08:00
Paul Duffin
6e48b5278d Merge "Add InetAddresses class to API" am: 08f2a98220
am: be38ccba74

Change-Id: I3e745599be0f81decfe416a71503dc784a895a48
2018-12-18 11:09:15 -08:00
Ken Chen
2f9b8af1c1 Merge "Remove 'hasDns' parameter" am: 07f581a4a3 am: db1d2e4c36
am: 9643c4239c

Change-Id: Id10bcc14ad837b8a358e8be70f36a6cfc94620ab
2018-12-18 11:08:50 -08:00
Ken Chen
9643c4239c Merge "Remove 'hasDns' parameter" am: 07f581a4a3
am: db1d2e4c36

Change-Id: I43080dc7922ab6b8b1c61f7a2542dd8cead45bc5
2018-12-18 10:50:11 -08:00
Paul Duffin
be38ccba74 Merge "Add InetAddresses class to API"
am: 08f2a98220

Change-Id: If821b32c686fd603035050c09598384796f72fb2
2018-12-18 10:44:07 -08:00
Ken Chen
db1d2e4c36 Merge "Remove 'hasDns' parameter"
am: 07f581a4a3

Change-Id: I7efc2ff04cf65420b02ddf2cf7a13b640e37ef77
2018-12-18 10:38:59 -08:00
Paul Duffin
08f2a98220 Merge "Add InetAddresses class to API" 2018-12-18 14:11:04 +00:00
Ken Chen
07f581a4a3 Merge "Remove 'hasDns' parameter" 2018-12-18 11:17:27 +00:00
paulhu
25037063e3 Unhide LinkProperties, NetworkCapabilities, NetworkRequest APIs
These methods are marked to @UnsupportedAppUsage APIs since
Android Q. But some system apps still need them to set/get
necessary network or request information. Hence, make them to be
public or system APIs.

Bug: 120448492
Test: atest FrameworksNetTests
Change-Id: I95a44daef5615e290b40d0796ca183b88ad8a63f
2018-12-18 08:39:49 +00:00
Paul Duffin
9863a7ad63 Add InetAddresses class to API
Adds methods needed by app developers to avoid them having to call
non-SDK APIs.

Test: tests added to cts
Bug: 78686891
Change-Id: Ic0eadfdab2b111d5ca4becb753f4fe3557806433
2018-12-17 11:53:33 +00:00
Mark Chien
3f5305498f Merge "Track default upstream when system is ready" am: f744375f0a am: 6503791656
am: 9481b17ac9

Change-Id: I72c041051f3bd1735a438f8ce7ded83cf26136f9
2018-12-13 15:35:04 -08:00
Mark Chien
9481b17ac9 Merge "Track default upstream when system is ready" am: f744375f0a
am: 6503791656

Change-Id: I36d2eb778603ea68cca43bfe9103b25ab8bb4d37
2018-12-13 14:42:04 -08:00
Xin Li
135ec65ba5 [automerger skipped] Merge "DO NOT MERGE - Merge pie-platform-release (PPRL.181205.001) into master" am: 41f916312b -s ours am: cc576d293c -s ours
am: 6b3df07ae6  -s ours

Change-Id: I10c1e303d19836aaaa2d5991925fe8a93fbc0791
2018-12-13 14:19:37 -08:00
Mark Chien
6503791656 Merge "Track default upstream when system is ready"
am: f744375f0a

Change-Id: I7febc52d94c1249b76608853d5cc142cdb8ad9df
2018-12-13 14:07:28 -08:00
Xin Li
3873163068 [automerger skipped] DO NOT MERGE - Merge pie-platform-release (PPRL.181205.001) into master am: 0911727a11 -s ours am: c20f2baabc -s ours
am: 0f1d3dbb96  -s ours

Change-Id: I998a4f2c8509815cf75e0b03e51831b325fbbea5
2018-12-13 13:54:36 -08:00
Xin Li
6b3df07ae6 [automerger skipped] Merge "DO NOT MERGE - Merge pie-platform-release (PPRL.181205.001) into master" am: 41f916312b -s ours
am: cc576d293c  -s ours

Change-Id: I4988e15e6b919c6d237706dc578631c1cf9cc1fa
2018-12-13 13:01:05 -08:00
Xin Li
cc576d293c [automerger skipped] Merge "DO NOT MERGE - Merge pie-platform-release (PPRL.181205.001) into master"
am: 41f916312b  -s ours

Change-Id: I7710a0b1a5ba1bf7acd45d694818aec91853e546
2018-12-13 12:47:28 -08:00
Xin Li
0f1d3dbb96 [automerger skipped] DO NOT MERGE - Merge pie-platform-release (PPRL.181205.001) into master am: 0911727a11 -s ours
am: c20f2baabc  -s ours

Change-Id: Icf77675866d843c8d6d5cc30ea1a5f1d8f0cfba7
2018-12-13 12:16:11 -08:00
Xin Li
c20f2baabc [automerger skipped] DO NOT MERGE - Merge pie-platform-release (PPRL.181205.001) into master
am: 0911727a11  -s ours

Change-Id: I60ae19c5ff7d5de669fac1ebd93d48283d9f27d8
2018-12-13 11:18:53 -08:00
markchien
f45bf9dff4 [automerger skipped] Merge "DO NOT MERGE fix some linkproperties configs missing" into pi-dev am: 688dc83a8e -s ours
am: f1e036a1a2  -s ours

Change-Id: I603a39040319b1008c4bf46927768c6888816a2a
2018-12-13 10:40:59 -08:00
Mark Chien
f744375f0a Merge "Track default upstream when system is ready" 2018-12-13 13:28:08 +00:00
markchien
8d48d97b65 Track default upstream when system is ready
Start tracking default upstream from boot.This is useful for
entitlement refine in following change. EntitlementManager can
decide if it needs to process entitlement provisioning before
tethering started.

Test: -atest FrameworksNetTests
      -build, flash, booted
      -manually turnoff/on tethering with different upstream
bug: 111490073

Change-Id: I8fdbd64c52f26b5363693bb5bd8050930e8ea961
2018-12-13 19:01:51 +08:00
markchien
f1e036a1a2 [automerger skipped] Merge "DO NOT MERGE fix some linkproperties configs missing" into pi-dev
am: 688dc83a8e  -s ours

Change-Id: I6e34e781d1289e06c148fb2537e5608f3f007971
2018-12-12 22:01:55 -08:00