Treehugger Robot
1bb4204e60
Merge "Add imports to networking test mapping" am: a9d1392d0b am: a2558cbfc2
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1461982
Change-Id: If6e2aec576eea261aa648cc027e4047c99363841
2020-10-15 11:28:49 +00:00
Treehugger Robot
a2558cbfc2
Merge "Add imports to networking test mapping" am: a9d1392d0b
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1461982
Change-Id: I835d9c17377cee5adcc5f44cff3e1d4f0774aaa2
2020-10-15 11:07:41 +00:00
Treehugger Robot
a9d1392d0b
Merge "Add imports to networking test mapping"
2020-10-15 10:21:25 +00:00
Remi NGUYEN VAN
1932b12535
Add imports to networking test mapping
...
Ensure that appropriate networking tests are triggered when submitting
changes in the frameworks/base directories.
Change-Id: Ibf8b567fa7721299120b0a6c6836dd770d92a9fc
Test: treehugger runs TEST_MAPPING tests
2020-10-15 09:16:40 +00:00
Treehugger Robot
173b634aab
Merge "Fix a typo in a comment" am: 968238aa92 am: 0df34e3024
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1459885
Change-Id: Ifdaed83a7696ad37df0487a91bcb089de229de07
2020-10-14 11:54:57 +00:00
Treehugger Robot
0df34e3024
Merge "Fix a typo in a comment" am: 968238aa92
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1459885
Change-Id: I9174acc91209d83526901587bf4603d61aa30acc
2020-10-14 11:24:43 +00:00
Treehugger Robot
968238aa92
Merge "Fix a typo in a comment"
2020-10-14 10:54:25 +00:00
Chalard Jean
05fcb2e43e
Fix a typo in a comment
...
Test: is not necessary for fixing typos in comments
Change-Id: Idf48d2649e728cafda5c1ca32d21102094cf23f5
2020-10-14 04:56:20 +00:00
Chiachang Wang
8d5767de05
Merge "Use system api for shell command handling" am: 3da3af2a10 am: 231acbca1b
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1456126
Change-Id: Id33a233789eb58e6ef5be2d5edf3f504c9b4eb12
2020-10-13 09:50:11 +00:00
Chiachang Wang
231acbca1b
Merge "Use system api for shell command handling" am: 3da3af2a10
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1456126
Change-Id: I322bbe2f711f8c50efe9d50056787c0e60051fbb
2020-10-13 09:29:47 +00:00
Chiachang Wang
3da3af2a10
Merge "Use system api for shell command handling"
2020-10-13 08:41:40 +00:00
Chiachang Wang
0efaff8cbc
Use system api for shell command handling
...
ConnectivityService should not use ShellCommand since it's @hide
which does not accessible in mainline modules. Replace it with
system api for mainline.
Bug: 170598012
Test: adb shell cmd connectivity airplane-mode enable
Test: adb shell cmd connectivity airplane-mode disable
Change-Id: I47e7a371c19eb18eac643fe9a2ab481bec5743c2
2020-10-13 08:41:24 +00:00
TreeHugger Robot
973d635675
[automerger skipped] Merge "Merge ab/6749736 in stage." into stage-aosp-master am: 009ac78c7b -s ours
...
am skip reason: Change-Id Iecef31f7bf10ad97b7e0075cf302ae94e248474a with SHA-1 539d92beb7 is in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12803991
Change-Id: I35256efaa6acc9a9f28371993587f888c1a77252
2020-10-13 03:51:03 +00:00
Junyu Lai
36b8c1d919
Merge "Support dynamically update IMSI" am: 2d74c2e267 am: e981a87c00
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1418348
Change-Id: Ic369f77eb09979e8ed36e4207fe42f293548ba90
2020-10-13 03:49:06 +00:00
TreeHugger Robot
009ac78c7b
Merge "Merge ab/6749736 in stage." into stage-aosp-master
2020-10-13 03:31:35 +00:00
Junyu Lai
e981a87c00
Merge "Support dynamically update IMSI" am: 2d74c2e267
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1418348
Change-Id: Id06d5d37ad5f12e689643c916548e9a59089eb3b
2020-10-13 03:22:09 +00:00
Junyu Lai
2d74c2e267
Merge "Support dynamically update IMSI"
2020-10-13 02:41:47 +00:00
junyulai
c822fe5e07
Support dynamically update IMSI
...
Currently, NetworkStatsSubscriptionsMonitor will skip the
listener registration until the IMSI is available to deal
with SIM PIN locked case. However, this solution can only
handle the case that IMSI changes from/to null. And it also
relies on the assumption that IMSI never changes for a subId.
Thus, support dynamically update IMSI to handle IMSI changes
more robustly.
This patch also address leftover comments at ag/12400327.
Test: enable SIM PIN and manually test
Test: atest NetworkStatsSubscriptionsMonitorTest#testSubscriberIdUnavailable
Test: atest NetworkStatsSubscriptionsMonitorTest#testSubscriberIdChanged
Test: ./out/host/linux-x86/bin/statsd_testdrive 10082
Bug: 160941101
Change-Id: I625a5b10ee4806f6fee99c2d9d6c5e7977ff785e
2020-10-12 15:31:02 +08:00
Lorenzo Colitti
23a036cd42
Merge "Speculatively fix L2TP keepalive issues by reducing mtu" am: f67e00b803 am: d3bf9a15a0
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1399646
Change-Id: Ie6a7fdb8e1ce035ce145b90645290e7e4777f7e6
2020-10-12 01:20:47 +00:00
Lorenzo Colitti
d3bf9a15a0
Merge "Speculatively fix L2TP keepalive issues by reducing mtu" am: f67e00b803
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1399646
Change-Id: Iac7fc24c531db663469df1b1161d9f85a4c6f3ee
2020-10-12 01:06:47 +00:00
Lorenzo Colitti
f67e00b803
Merge "Speculatively fix L2TP keepalive issues by reducing mtu"
2020-10-12 00:40:44 +00:00
Xin Li
7d27412dad
Merge ab/6749736 in stage.
...
Bug: 167233921
Merged-In: Iecef31f7bf10ad97b7e0075cf302ae94e248474a
Change-Id: I9e9c873bc2e05a0cfe3af0bf74725500f3f108db
2020-10-10 20:38:57 -07:00
Treehugger Robot
a6fa1d584b
Merge "Don't let NAW.mNetworkInfo escape" am: 6e8c64b349 am: 497eab9a18
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1455976
Change-Id: I8a9899d9a5d7eba8423cbba99f085174ae383e6a
2020-10-09 11:05:01 +00:00
Treehugger Robot
497eab9a18
Merge "Don't let NAW.mNetworkInfo escape" am: 6e8c64b349
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1455976
Change-Id: I01ef40f341c653a524ee4565c3d9bf2564e0f98f
2020-10-09 10:48:42 +00:00
Treehugger Robot
6e8c64b349
Merge "Don't let NAW.mNetworkInfo escape"
2020-10-09 10:33:47 +00:00
Chalard Jean
c8c06be939
Don't let NAW.mNetworkInfo escape
...
Thankfully this has no users.
This agent needs to be migrated to the modern API for
NetworkAgent, which does not have NetworkInfo at all
so this would be a hindrance
Test: FrameworksNetTests NetworkStackTests
Change-Id: I091a6ca8cdf18860f23832ae1008fa02cf0472e8
2020-10-09 17:06:30 +09:00
Remi NGUYEN VAN
ff1cfa230d
Merge "Move IpUtils to frameworks/libs/net" am: 1ea097fcb2 am: 5d47632002
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1440234
Change-Id: I03872655d1ef3a7bb436666196ed67bd61601f65
2020-10-09 00:52:31 +00:00
Remi NGUYEN VAN
5d47632002
Merge "Move IpUtils to frameworks/libs/net" am: 1ea097fcb2
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1440234
Change-Id: Ibd41a02a9a185667a7fe332213ef692c4d8bf515
2020-10-09 00:30:36 +00:00
Remi NGUYEN VAN
1ea097fcb2
Merge "Move IpUtils to frameworks/libs/net"
2020-10-09 00:13:40 +00:00
Paul Hu
ecf81b9f6f
Merge "Remove unused ACTION_PACKAGE_ADDED intent." am: eba570a209 am: cc74ac7b8e
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1450335
Change-Id: I3330b90cc1bb56b4c0964f47826d607c2f1e907c
2020-10-08 02:49:43 +00:00
Paul Hu
cc74ac7b8e
Merge "Remove unused ACTION_PACKAGE_ADDED intent." am: eba570a209
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1450335
Change-Id: I53a20a48053889357e62f29799e091d22a3ffc59
2020-10-08 02:19:12 +00:00
Paul Hu
eba570a209
Merge "Remove unused ACTION_PACKAGE_ADDED intent."
2020-10-08 02:05:17 +00:00
Chiachang Wang
656901d024
Merge "Update to positive logic to better match the method naming" am: 1c7bc039ea am: 37fc16ad0a
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1450336
Change-Id: I6e823ac8769864d9a1bfd6d675331d4b683da331
2020-10-07 09:50:45 +00:00
Chiachang Wang
37fc16ad0a
Merge "Update to positive logic to better match the method naming" am: 1c7bc039ea
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1450336
Change-Id: Ib01ae19fb846fdd75cf792e85dc1776a4a6876ee
2020-10-07 09:22:49 +00:00
Chiachang Wang
8cdc2856b7
Update to positive logic to better match the method naming
...
The method checkInterfacePresent seems that should return if the
interface is present or not, but it actually return an opposite
result. It may confuse the caller. E.g. The override method in
VpnTest assume it always returns true in the test. It will fail
the vpn start flow due to interface gone.
Bug: 169215213
Test: atest FrameworksNetTess
Change-Id: I3e9a64f0900336b8205674b94db68f090b4e9ff9
2020-10-07 06:48:15 +00:00
paulhu
4b81e2399f
Remove unused ACTION_PACKAGE_ADDED intent.
...
ConnectivityService doesn't handle ACTION_PACKAGE_ADDED intent
now. So remove the intent from filter to prevent wtf log
happened.
Bug: 169573829
Test: atest FrameworksNetTests
Change-Id: Ifb0ae0b2e811defdecb37d3489ab3208db397331
2020-10-06 14:48:29 +08:00
Remi NGUYEN VAN
7e3efdb49c
Move IpUtils to frameworks/libs/net
...
The utility classes are useful for mainline modules and their tests, for
example IpClientIntegrationTest.
Bug: 168868607
Test: m && atest NetworkStaticLibTests
Change-Id: If2b1613aa18a7990391e2d31cc2951ca93f1cf3c
2020-10-05 14:38:19 +09:00
Benedict Wong
b29fb3654a
Speculatively fix L2TP keepalive issues by reducing mtu
...
This change reduces MTU/MRU values for racoon/pppd from 1400 to 1388 in
an attempt to fix keepalive issues experienced in the field.
Bug: 119076193
Test: Speculative change, original issues were not reproducible.
Change-Id: I7731503260fdc8bcbc6c5fcda6991ead6fb7c52e
2020-09-28 20:55:55 -07:00
Benedict Wong
707f9b2d1e
Merge "Provide more feedback to Settings when sessions fail" am: d8957b5481 am: abed0e275d am: 38c5012bfa
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1399645
Change-Id: Ibe4fcec14650e38f40bf916f46960585a5af548c
2020-09-25 19:09:27 +00:00
Benedict Wong
38c5012bfa
Merge "Provide more feedback to Settings when sessions fail" am: d8957b5481 am: abed0e275d
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1399645
Change-Id: Ifd27daeac7a9852fe1f00fbbdcf3c60faf385ce4
2020-09-25 18:51:19 +00:00
Benedict Wong
abed0e275d
Merge "Provide more feedback to Settings when sessions fail" am: d8957b5481
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1399645
Change-Id: Ide2b6fc5954b703df96e954062dcde58d8551dbf
2020-09-25 18:30:28 +00:00
Benedict Wong
d8957b5481
Merge "Provide more feedback to Settings when sessions fail"
2020-09-25 17:25:02 +00:00
Benedict Wong
fdebd3d644
Provide more feedback to Settings when sessions fail
...
This change updates the VPN state when IKEv2 sessions fail, and when
configuration errors occur.
Bug: 162289824
Test: Manual testing with IKEv2/PSK
Change-Id: I2e8c6f421d2898f97b0ac422b2276edf9ef923f1
2020-09-24 23:32:09 -07:00
Junyu Lai
58caa343cb
Merge "Skip stop if keepalive is already in stopping state" am: 57b79f463d am: e1d31ea908 am: 4a3701853a
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1424190
Change-Id: I0d55c6f7e876a786cbe7f301d0caecbe6456af36
2020-09-24 04:19:43 +00:00
Junyu Lai
4a3701853a
Merge "Skip stop if keepalive is already in stopping state" am: 57b79f463d am: e1d31ea908
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1424190
Change-Id: I31a6290db41be9f003646067e76c7ed901ade7ae
2020-09-24 04:03:12 +00:00
Junyu Lai
e1d31ea908
Merge "Skip stop if keepalive is already in stopping state" am: 57b79f463d
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1424190
Change-Id: I44f945f1804938819506dab56063d2706b27fcfd
2020-09-24 03:04:20 +00:00
Junyu Lai
57b79f463d
Merge "Skip stop if keepalive is already in stopping state"
2020-09-24 02:45:09 +00:00
Bill Yi
a3d9761208
[automerger skipped] Merge "Merge mainline-release 6664920 to master - DO NOT MERGE" am: 71ff1397a9 am: 547ad6e26b -s ours am: 656cfa4b0e -s ours
...
am skip reason: Change-Id Id04ea331831e8b26ba99478848392b40a92548d5 with SHA-1 c54ab73ef9 is in history
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1431515
Change-Id: I18f6dabacb6e272e2d3fdf63a9220afc5572f2d2
2020-09-19 07:01:25 +00:00
Bill Yi
70b18ac7e7
[automerger skipped] Merge mainline-release 6664920 to master - DO NOT MERGE am: d1631c4bda am: 3eb5580591 -s ours am: add0444867 -s ours
...
am skip reason: Change-Id Id04ea331831e8b26ba99478848392b40a92548d5 with SHA-1 c54ab73ef9 is in history
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1431515
Change-Id: Ib3e8b5c0678513b5128aaf106c8f8044bed09702
2020-09-19 07:00:58 +00:00
Bill Yi
656cfa4b0e
[automerger skipped] Merge "Merge mainline-release 6664920 to master - DO NOT MERGE" am: 71ff1397a9 am: 547ad6e26b -s ours
...
am skip reason: Change-Id Id04ea331831e8b26ba99478848392b40a92548d5 with SHA-1 c54ab73ef9 is in history
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1431515
Change-Id: I2ad75dfe2a2109ea63eade0ed3edc40b92149a16
2020-09-19 05:51:33 +00:00