Commit Graph

496 Commits

Author SHA1 Message Date
Remi NGUYEN VAN
1849ebd9c3 Add TRANSPORT_TEST to test ethernet interfaces
Because they operate on test interfaces, ethernet interfaces included
with setIncludeTestInterfaces should have TRANSPORT_TEST.

Bug: 156319532
Test: atest CaptivePortalApiTest
Change-Id: Ife3eab06432cabf3ee626de49abc31c8349b4316
2020-05-27 12:35:40 +09:00
Automerger Merge Worker
3d0859ade4 Merge "[automerger skipped] Add capability they should always have to eth networks. am: 2bdb206bc0 am: 5254e08e73 am: 786abd27cb -s ours" into rvc-qpr-dev-plus-aosp am: 8b97aaeeab -s ours
am skip reason: Change-Id I6f75e2b26eb9f554243bc418142a4dc18839aa79 with SHA-1 2bdb206bc0 is in history

Change-Id: Ia94807b1f0f7573ea7fc853675287115a4c959fe
2020-05-21 07:35:18 +00:00
Chalard Jean
c45a44c147 [automerger skipped] Add capability they should always have to eth networks. am: 2bdb206bc0 -s ours am: 269bc92343 -s ours am: 49621f7884 -s ours am: 187896c3d2 -s ours
am skip reason: Change-Id I6f75e2b26eb9f554243bc418142a4dc18839aa79 with SHA-1 2bdb206bc0 is in history

Change-Id: Ifd74f229c01a5459e53aa75ec8b6762f06fea61c
2020-05-21 07:35:11 +00:00
Chalard Jean
222a67c29e [automerger skipped] Add capability they should always have to eth networks. am: 2bdb206bc0 am: 5254e08e73 -s ours am: 47bff53a90 -s ours am: 34563d72bc -s ours
am skip reason: Change-Id I6f75e2b26eb9f554243bc418142a4dc18839aa79 with SHA-1 bddcfc0c48 is in history

Change-Id: If11c8a22f5330cef9e5b7df50f5cbac50fb52f32
2020-05-21 07:34:59 +00:00
Automerger Merge Worker
8b97aaeeab Merge "[automerger skipped] Add capability they should always have to eth networks. am: 2bdb206bc0 am: 5254e08e73 am: 786abd27cb -s ours" into rvc-qpr-dev-plus-aosp 2020-05-21 07:19:09 +00:00
Chalard Jean
54029c2163 [automerger skipped] Add capability they should always have to eth networks. am: 2bdb206bc0 am: 5254e08e73 am: 786abd27cb -s ours
am skip reason: Change-Id I6f75e2b26eb9f554243bc418142a4dc18839aa79 with SHA-1 2bdb206bc0 is in history

Change-Id: I95cc75055a3f97bb5648cf94b99b1677ee560b2c
2020-05-21 07:19:04 +00:00
Chalard Jean
187896c3d2 [automerger skipped] Add capability they should always have to eth networks. am: 2bdb206bc0 -s ours am: 269bc92343 -s ours am: 49621f7884 -s ours
am skip reason: Change-Id I6f75e2b26eb9f554243bc418142a4dc18839aa79 with SHA-1 2bdb206bc0 is in history

Change-Id: I6583a93047ef962eb14f1a51bc15652cd86bb546
2020-05-21 07:19:03 +00:00
Chalard Jean
34563d72bc [automerger skipped] Add capability they should always have to eth networks. am: 2bdb206bc0 am: 5254e08e73 -s ours am: 47bff53a90 -s ours
am skip reason: Change-Id I6f75e2b26eb9f554243bc418142a4dc18839aa79 with SHA-1 bddcfc0c48 is in history

Change-Id: I5083e03c6bc051bd9bb653f04be54583e64d7768
2020-05-21 07:18:50 +00:00
Chalard Jean
49621f7884 [automerger skipped] Add capability they should always have to eth networks. am: 2bdb206bc0 -s ours am: 269bc92343 -s ours
am skip reason: Change-Id I6f75e2b26eb9f554243bc418142a4dc18839aa79 with SHA-1 2bdb206bc0 is in history

Change-Id: Ibac34cdcae955134769bc6abbb7f8db1ce3546e7
2020-05-21 07:03:02 +00:00
Chalard Jean
786abd27cb Add capability they should always have to eth networks. am: 2bdb206bc0 am: 5254e08e73
Change-Id: Ic4ee8c8eb69754f4aebba6ac0e5b7f447e68a0c1
2020-05-21 07:02:58 +00:00
Chalard Jean
47bff53a90 [automerger skipped] Add capability they should always have to eth networks. am: 2bdb206bc0 am: 5254e08e73 -s ours
am skip reason: Change-Id I6f75e2b26eb9f554243bc418142a4dc18839aa79 with SHA-1 bddcfc0c48 is in history

Change-Id: I9707948cda44ac851338b9172037eadb4d8814ce
2020-05-21 07:02:26 +00:00
Chalard Jean
5aad706274 Add capability they should always have to eth networks. am: 2bdb206bc0
Change-Id: Ic77506be229b5cd26d359530a45216516a421215
2020-05-21 06:42:59 +00:00
Chalard Jean
269bc92343 [automerger skipped] Add capability they should always have to eth networks. am: 2bdb206bc0 -s ours
am skip reason: Change-Id I6f75e2b26eb9f554243bc418142a4dc18839aa79 with SHA-1 bddcfc0c48 is in history

Change-Id: I0e0d9d805cf0474e09790b733fb025627d29e122
2020-05-21 06:42:52 +00:00
Chalard Jean
5254e08e73 Add capability they should always have to eth networks. am: 2bdb206bc0
Change-Id: I52e70815c828a75133f98199e717b6cb15d829f0
2020-05-21 06:42:32 +00:00
Chalard Jean
2bdb206bc0 Add capability they should always have to eth networks.
There is a stopgap hack in ConnectivityService doing
this automatically, but individual agents should be doing
this themselves.

Test: FrameworksNetTests NetworkStackTests
Bug: 150570873
Original-Change: https://android-review.googlesource.com/1307433
Merged-In: I6f75e2b26eb9f554243bc418142a4dc18839aa79
Change-Id: I6f75e2b26eb9f554243bc418142a4dc18839aa79
2020-05-21 05:11:45 +00:00
Chalard Jean
1bfd845783 Add capability they should always have to eth networks. am: bddcfc0c48 am: debefd4ab9 am: 1bb0d80869 am: 9600e823d6 am: fb0457fda2
Change-Id: I0a9f203932a5e01623e4e226d0ed58ab64d021b9
2020-05-11 13:22:24 +00:00
Chalard Jean
fb0457fda2 Add capability they should always have to eth networks. am: bddcfc0c48 am: debefd4ab9 am: 1bb0d80869 am: 9600e823d6
Change-Id: I1b7d9c7f95e244f35743c7ee3a89d311b0844607
2020-05-11 13:02:42 +00:00
Chalard Jean
9600e823d6 Add capability they should always have to eth networks. am: bddcfc0c48 am: debefd4ab9 am: 1bb0d80869
Change-Id: Ic756483530c5ed1ca3f727967138481dac3f2282
2020-05-11 12:47:22 +00:00
Chalard Jean
1bb0d80869 Add capability they should always have to eth networks. am: bddcfc0c48 am: debefd4ab9
Change-Id: Ibf5289c7b4fb6c0e2d65bf9dbadaa2fac9cd1407
2020-05-11 12:31:01 +00:00
Chalard Jean
bddcfc0c48 Add capability they should always have to eth networks.
There is a stopgap hack in ConnectivityService doing
this automatically, but individual agents should be doing
this themselves.

Test: FrameworksNetTests NetworkStackTests
Bug: 150570873
Change-Id: I6f75e2b26eb9f554243bc418142a4dc18839aa79
2020-05-11 11:21:15 +09:00
Lorenzo Colitti
4ac7a525a5 [automerger skipped] Don't call maybeTrackInterface on the wrong thread. am: 6123533817 am: dc3c209dd1 am: 962ae21798 am: 8092779edc -s ours am: 9e725f4d0c -s ours
am skip reason: Change-Id Ia2cb265f8d4de96210f1462339c10ad2947eec65 with SHA-1 6123533817 is in history

Change-Id: I0ecfa3cd04d7fc734891da50e83f84ed07fd216e
2020-04-22 09:16:21 +00:00
Lorenzo Colitti
da5d526f00 [automerger skipped] Don't call maybeTrackInterface on the wrong thread. am: 6123533817 -s ours am: 30f9b1dbf8 -s ours am: a9e06c1b90 -s ours am: dfc9685265 -s ours
am skip reason: Change-Id Ia2cb265f8d4de96210f1462339c10ad2947eec65 with SHA-1 6123533817 is in history

Change-Id: Ib8ffe7948000ca68760c3245d06492bfc5bb2315
2020-04-22 09:15:51 +00:00
Lorenzo Colitti
9e725f4d0c [automerger skipped] Don't call maybeTrackInterface on the wrong thread. am: 6123533817 am: dc3c209dd1 am: 962ae21798 am: 8092779edc -s ours
am skip reason: Change-Id Ia2cb265f8d4de96210f1462339c10ad2947eec65 with SHA-1 6123533817 is in history

Change-Id: I1ac79063ae2122ae29358a4d313e4a0001427779
2020-04-22 09:15:39 +00:00
Lorenzo Colitti
b2e9a5d984 [automerger skipped] Don't call maybeTrackInterface on the wrong thread. am: 6123533817 am: dc3c209dd1 -s ours am: dd1f90eb69 -s ours am: ac3fdc37c1 -s ours
am skip reason: Change-Id Ia2cb265f8d4de96210f1462339c10ad2947eec65 with SHA-1 bd66333a24 is in history

Change-Id: Iee12b18b9c899b044c7359dfa7c742f111e0956b
2020-04-22 09:14:48 +00:00
Lorenzo Colitti
dfc9685265 [automerger skipped] Don't call maybeTrackInterface on the wrong thread. am: 6123533817 -s ours am: 30f9b1dbf8 -s ours am: a9e06c1b90 -s ours
am skip reason: Change-Id Ia2cb265f8d4de96210f1462339c10ad2947eec65 with SHA-1 6123533817 is in history

Change-Id: I8486b82a1d70b8cbcfca65cb6ba50326fa0ca837
2020-04-22 09:01:34 +00:00
Lorenzo Colitti
ac3fdc37c1 [automerger skipped] Don't call maybeTrackInterface on the wrong thread. am: 6123533817 am: dc3c209dd1 -s ours am: dd1f90eb69 -s ours
am skip reason: Change-Id Ia2cb265f8d4de96210f1462339c10ad2947eec65 with SHA-1 bd66333a24 is in history

Change-Id: I11225ff2bb5f98b2f4c3a06d09f3b5d931b40837
2020-04-22 09:01:11 +00:00
Lorenzo Colitti
8092779edc Don't call maybeTrackInterface on the wrong thread. am: 6123533817 am: dc3c209dd1 am: 962ae21798
Change-Id: I210dea104a8dd0eb4671b2da7b9ddeec103accc0
2020-04-22 09:00:49 +00:00
Lorenzo Colitti
962ae21798 Don't call maybeTrackInterface on the wrong thread. am: 6123533817 am: dc3c209dd1
Change-Id: I06903dcb962898cbc1bbd1a37ec939fc3ca18e4c
2020-04-22 08:43:44 +00:00
Lorenzo Colitti
a9e06c1b90 [automerger skipped] Don't call maybeTrackInterface on the wrong thread. am: 6123533817 -s ours am: 30f9b1dbf8 -s ours
am skip reason: Change-Id Ia2cb265f8d4de96210f1462339c10ad2947eec65 with SHA-1 6123533817 is in history

Change-Id: I6010d72e7e7364142e8dc961dd2f4bea16a0eed5
2020-04-22 08:43:33 +00:00
Lorenzo Colitti
dd1f90eb69 [automerger skipped] Don't call maybeTrackInterface on the wrong thread. am: 6123533817 am: dc3c209dd1 -s ours
am skip reason: Change-Id Ia2cb265f8d4de96210f1462339c10ad2947eec65 with SHA-1 bd66333a24 is in history

Change-Id: Ie311603d95412f9dcd820c0a25b2e7f30476ed94
2020-04-22 08:42:48 +00:00
Lorenzo Colitti
dc3c209dd1 Don't call maybeTrackInterface on the wrong thread. am: 6123533817
Change-Id: Idc00a7e5520ccae2db848d729f0fe80aab724468
2020-04-22 08:32:54 +00:00
Lorenzo Colitti
30f9b1dbf8 [automerger skipped] Don't call maybeTrackInterface on the wrong thread. am: 6123533817 -s ours
am skip reason: Change-Id Ia2cb265f8d4de96210f1462339c10ad2947eec65 with SHA-1 bd66333a24 is in history

Change-Id: If41fd756ec2faa88a4fb2a5cbea5778c72cd48ab
2020-04-22 08:32:18 +00:00
Lorenzo Colitti
6123533817 Don't call maybeTrackInterface on the wrong thread.
Bug: 150644681
Test: atest TetheringIntegrationTests:EthernetTetheringTest --rerun-until-failure 100
Merged-In: Ia2cb265f8d4de96210f1462339c10ad2947eec65
Change-Id: Ia2cb265f8d4de96210f1462339c10ad2947eec65
2020-04-22 06:42:46 +00:00
Chalard Jean
0077fa39d1 [automerger skipped] Address further API council comments. am: 4b9a7dd13d am: 7608da3e3a -s ours am: 7f49fa7dad -s ours am: b3f4c82c61 -s ours am: 1f0fb907a8 -s ours
am skip reason: Change-Id I7c27f76c54a76abeae46dcdcddaeb3ca48afa358 with SHA-1 dff893b275 is in history

Change-Id: If715e6280254128351451a2b8a3249827b1cc5a0
2020-04-02 18:58:22 +00:00
Chalard Jean
1f0fb907a8 [automerger skipped] Address further API council comments. am: 4b9a7dd13d am: 7608da3e3a -s ours am: 7f49fa7dad -s ours am: b3f4c82c61 -s ours
am skip reason: Change-Id I7c27f76c54a76abeae46dcdcddaeb3ca48afa358 with SHA-1 dff893b275 is in history

Change-Id: I95d17a5fcbf4205c9efcbd0d22f045e2b08d33ce
2020-04-02 07:19:03 +00:00
Chalard Jean
b3f4c82c61 [automerger skipped] Address further API council comments. am: 4b9a7dd13d am: 7608da3e3a -s ours am: 7f49fa7dad -s ours
am skip reason: Change-Id I7c27f76c54a76abeae46dcdcddaeb3ca48afa358 with SHA-1 dff893b275 is in history

Change-Id: Icb83b93cb122f70861d2617ebf2ea7c46b13818d
2020-04-02 07:00:10 +00:00
Chalard Jean
7f49fa7dad [automerger skipped] Address further API council comments. am: 4b9a7dd13d am: 7608da3e3a -s ours
am skip reason: Change-Id I7c27f76c54a76abeae46dcdcddaeb3ca48afa358 with SHA-1 dff893b275 is in history

Change-Id: I73c243ccc7e14b895fdf0ab67493ba471b696f50
2020-04-02 06:37:15 +00:00
Chalard Jean
10be7a6488 [automerger skipped] Convert the Ethernet factory to the new network agent am: 86aac0daec am: 7f511738e0 -s ours am: 9abd9e2504 -s ours am: c86bfb7117 -s ours am: 618525c2e6 -s ours
am skip reason: Change-Id Ie7b70750ef0e17141080f4266dea6155c3601569 with SHA-1 79eb7ba87b is in history

Change-Id: Iadc107fbc28354ad2cf5f210df3de426bee20649
2020-04-01 12:05:31 +00:00
Chalard Jean
618525c2e6 [automerger skipped] Convert the Ethernet factory to the new network agent am: 86aac0daec am: 7f511738e0 -s ours am: 9abd9e2504 -s ours am: c86bfb7117 -s ours
am skip reason: Change-Id Ie7b70750ef0e17141080f4266dea6155c3601569 with SHA-1 79eb7ba87b is in history

Change-Id: I44fcf8f2fc9ffcf5b21ce0e3462019d6478584e3
2020-04-01 11:50:39 +00:00
Chalard Jean
c86bfb7117 [automerger skipped] Convert the Ethernet factory to the new network agent am: 86aac0daec am: 7f511738e0 -s ours am: 9abd9e2504 -s ours
am skip reason: Change-Id Ie7b70750ef0e17141080f4266dea6155c3601569 with SHA-1 79eb7ba87b is in history

Change-Id: Iba771d95f044ae505cdedf6c2a94ac057c0d05a2
2020-04-01 11:39:41 +00:00
Chalard Jean
9abd9e2504 [automerger skipped] Convert the Ethernet factory to the new network agent am: 86aac0daec am: 7f511738e0 -s ours
am skip reason: Change-Id Ie7b70750ef0e17141080f4266dea6155c3601569 with SHA-1 79eb7ba87b is in history

Change-Id: Id73857a02ed1e4b3b30d5166451af59e7583cd72
2020-04-01 11:19:44 +00:00
Chalard Jean
4b9a7dd13d Address further API council comments.
Test: FrameworksNetTests NetworkStackTests
Bug: 152238712
Copy from ag/10857997
Change-Id: I7c27f76c54a76abeae46dcdcddaeb3ca48afa358
Merged-In: I7c27f76c54a76abeae46dcdcddaeb3ca48afa358
2020-04-01 11:04:18 +00:00
Chalard Jean
86aac0daec Convert the Ethernet factory to the new network agent
This is a combination of ag/10147368 and ag/10438581.
ag/10147368 implemented this conversion together with
using the planned NetworkScore API, while ag/10438581
reverted the parts that had to do with NetworkScore.
This is just a squash of these two patches and it
brings the factory in line with the code in rvc-dev.

Test: FrameworksNetTests NetworkStackTests EthernetTetheringTest
Change-Id: Ib214fbbd042f2c0ebd01cf5b0ec33d922629677e
Merged-In: Ie7b70750ef0e17141080f4266dea6155c3601569
2020-04-01 09:09:32 +00:00
Chalard Jean
8bcad4f67b Merge "Address further API council comments." into rvc-dev am: d3a0721fb5 am: bad3318c8e am: a147521523 am: 332c9feacc am: b988a56e81
Change-Id: I7990efec889c951c4a82ca4f9c74df7c0c043731
2020-03-27 23:46:38 +00:00
Chalard Jean
a280fa7a75 Merge "Address further API council comments." into rvc-dev am: d3a0721fb5 am: cc9cab6311 am: 7fc8220a53 am: ae03d47c65
Change-Id: Iea6058b1e18328cb0c80d50d3e87f1d15eef5bb7
2020-03-27 23:41:00 +00:00
Chalard Jean
12ccaa891f Merge "Address further API council comments." into rvc-dev am: d3a0721fb5 am: bad3318c8e am: d02358a6cc am: 01c6bbac04
Change-Id: I92324165a42ea919c710743a7d36c17d7e47cf37
2020-03-27 23:39:24 +00:00
Chalard Jean
b988a56e81 Merge "Address further API council comments." into rvc-dev am: d3a0721fb5 am: bad3318c8e am: a147521523 am: 332c9feacc
Change-Id: I216e7ee932f3cce92569a8cd57e76a60a4d67c87
2020-03-27 23:30:14 +00:00
Chalard Jean
ae03d47c65 Merge "Address further API council comments." into rvc-dev am: d3a0721fb5 am: cc9cab6311 am: 7fc8220a53
Change-Id: Iab38821df1fc17922e36d9538709403799c066ec
2020-03-27 23:26:40 +00:00
Chalard Jean
01c6bbac04 Merge "Address further API council comments." into rvc-dev am: d3a0721fb5 am: bad3318c8e am: d02358a6cc
Change-Id: Ia30dd603d0dfd5af75a3d8a5d287504725aa8c3c
2020-03-27 23:23:05 +00:00
Chalard Jean
332c9feacc Merge "Address further API council comments." into rvc-dev am: d3a0721fb5 am: bad3318c8e am: a147521523
Change-Id: I3d188c4d061783ef7007226ebeb0e3de7e1c76c9
2020-03-27 23:15:08 +00:00