Commit Graph

601 Commits

Author SHA1 Message Date
Mark Chien
14442119cb Merge "Remove Preconditions usage to stop dependecy with non-updatble class" am: 821089e106 am: cdee1cfe24 am: db6cf82c14 am: 04204628d2 am: be9de9a6e4
Change-Id: Ia45990f71f0f85b1d345e0e2f3ff4c2bb229434a
2020-04-27 11:43:00 +00:00
Mark Chien
db6cf82c14 Merge "Remove Preconditions usage to stop dependecy with non-updatble class" am: 821089e106 am: cdee1cfe24
Change-Id: I856a936b295426bb2ba219eb4e510f6a2a3ac12b
2020-04-27 11:17:28 +00:00
Mark Chien
cdee1cfe24 Merge "Remove Preconditions usage to stop dependecy with non-updatble class" am: 821089e106
Change-Id: Ib101caf06704f74d7721c44ed4f51d396bc0a4e8
2020-04-27 11:02:19 +00:00
Mark Chien
821089e106 Merge "Remove Preconditions usage to stop dependecy with non-updatble class" 2020-04-27 10:54:19 +00:00
Automerger Merge Worker
a02fb54e0d Merge "Merge "Unbreak tethering for no offload supported devices" am: cb22e06783 am: 98c0b261f8" into rvc-dev-plus-aosp am: 3ba6bfb69e am: 676d1785f7 am: 354ee4dd51
Change-Id: I6fa56f1c428263499a18d32c31de38fb3e9a2d04
2020-04-27 10:10:48 +00:00
Mark Chien
a35751fb3e Merge "Unbreak tethering for no offload supported devices" am: cb22e06783 am: 98c0b261f8
Change-Id: I857cf7c9542f2c0f595c3afdbd4db032c0a96392
2020-04-27 09:12:37 +00:00
Mark Chien
98c0b261f8 Merge "Unbreak tethering for no offload supported devices" am: cb22e06783
Change-Id: I1bfe9cbe836694e929e9aef43ad22eeceae28f77
2020-04-27 08:57:12 +00:00
Mark Chien
cb22e06783 Merge "Unbreak tethering for no offload supported devices" 2020-04-27 08:42:36 +00:00
markchien
6b3afbe447 Unbreak tethering for no offload supported devices
Catch NoSuchElementException to unbreak no offload devices.

To consistent with fetching offload config service, retry fetcheing
offload control service.
b/152430668#comment4 assert that the fetch will be retried only
if the service is installed on the device.

Bug: 155026033
Test: run TetheringCoverageTests in virtual devices(do not support
offload)

Change-Id: Ie0a32a9062c722327a27c6de13e3bb8d9588bebb
2020-04-27 14:47:56 +08:00
Jooyung Han
6478508103 Merge "Add min_sdk_version:R to updatable apexes" am: c280c85504
Change-Id: I0c63ce2b2146e31d2165bbaa0d5761950dfc0db7
2020-04-25 04:53:35 +00:00
Jooyung Han
c280c85504 Merge "Add min_sdk_version:R to updatable apexes" 2020-04-25 04:41:44 +00:00
Remi NGUYEN VAN
79c6f5185f Merge "Address comments on NetworkStack AIDL v6" am: 9b687b94a4 am: fb8a431cc5 am: 6be926b580 am: a3c0247a3b am: 48ce8dcf8c
Change-Id: Ida22c941d7570e966c0b51b4561f1ed229243757
2020-04-24 12:55:39 +00:00
Remi NGUYEN VAN
6be926b580 Merge "Address comments on NetworkStack AIDL v6" am: 9b687b94a4 am: fb8a431cc5
Change-Id: Id385210ccd8d08bc2d15e964bbca25c452a3cde8
2020-04-24 12:19:37 +00:00
Remi NGUYEN VAN
fb8a431cc5 Merge "Address comments on NetworkStack AIDL v6" am: 9b687b94a4
Change-Id: I755d14877a65b359c0837cab1488875d7238440e
2020-04-24 12:04:38 +00:00
Remi NGUYEN VAN
9b687b94a4 Merge "Address comments on NetworkStack AIDL v6" 2020-04-24 11:56:32 +00:00
Remi NGUYEN VAN
aba3d2ebeb Address comments on NetworkStack AIDL v6
Address issues found during AIDL review:
 - Rename clientAddr to singleClientAddr
 - Do not use a ParcelableBundle for notifyNetworkTested or
   notifyDataStallSuspected; instead use AIDL parcelables for stronger
   backwards compatibility guarantees.

Test: atest NetworkMonitorTest ConnectivityServiceTest
      ConnectivityServiceIntegrationTest, manual
Bug: 153500847
Change-Id: Id9b71784e5f6294d203230e57737979e063ff0f8
2020-04-24 18:52:02 +09:00
markchien
b9c19778f4 Remove Preconditions usage to stop dependecy with non-updatble class
Stop depending on Preconditions that is not released on the same cadence
as the module, and is maintained as part of the framework.

Bug: 148636687
Test: atest TetheringTests NetworkStackNextTests

Change-Id: Id0dcec44f362f79bc8c046d722635687a7388aa2
2020-04-24 00:47:56 +08:00
Paul Hu
2eb66bdbe4 Merge "[TNU09] Adjust restricted notification" am: 3db6cae8d4 am: 19575361f2 am: be2d888a81 am: c06ff3a33f am: 3f4766be45
Change-Id: Id6f39fe7f12260d40c5629073d2dadab15b922f6
2020-04-23 09:07:00 +00:00
Paul Hu
be2d888a81 Merge "[TNU09] Adjust restricted notification" am: 3db6cae8d4 am: 19575361f2
Change-Id: I4488ed76a4c9859d6d947953d132e63c0366810e
2020-04-23 08:28:53 +00:00
Paul Hu
19575361f2 Merge "[TNU09] Adjust restricted notification" am: 3db6cae8d4
Change-Id: I6f89d5569f7f07317d7c55f81d3d7b55b4779819
2020-04-23 08:11:24 +00:00
Paul Hu
3db6cae8d4 Merge "[TNU09] Adjust restricted notification" 2020-04-23 07:50:34 +00:00
Bill Yi
7d04cce017 Merge "Import translations. DO NOT MERGE" 2020-04-22 23:05:49 +00:00
Bill Yi
45fcc62654 Merge "Import translations. DO NOT MERGE" 2020-04-22 20:13:45 +00:00
Bill Yi
2b48e19418 Import translations. DO NOT MERGE
Change-Id: I44c343149dc88a88c94327cdd6d5ac26ce7a6816
Auto-generated-cl: translation import
2020-04-22 12:03:48 -07:00
Bill Yi
afb99630b2 Import translations. DO NOT MERGE
BUG:154701280

Change-Id: I835551e4708735d28e0316e6284f69a9eed45cd4
Auto-generated-cl: translation import
2020-04-22 18:04:00 +00:00
Paul Hu
fa882fdb96 Merge "Add TetheredClient tests" am: dd481a1dee am: eff436b223 am: 099acab36e am: e3ec7aa64c am: d01b917c15
Change-Id: I80e01f8eda4941e7b0de49d9a767e4cd264ba1f7
2020-04-22 16:50:48 +00:00
paulhu
03142a0568 [TNU09] Adjust restricted notification
1. Let restricted notification that can be dismissed.
2. Only put up restricted notification when any of tethering is
   activating.

Bug: 154214549
Test: atest TetheringTests
Change-Id: Ib980aca154036828abdab35e3bb11d42f85ff610
2020-04-23 00:17:28 +08:00
Paul Hu
099acab36e Merge "Add TetheredClient tests" am: dd481a1dee am: eff436b223
Change-Id: I094a4f8dcf7b5b1392065166c01113ce0fb97b9d
2020-04-22 16:07:42 +00:00
Paul Hu
eff436b223 Merge "Add TetheredClient tests" am: dd481a1dee
Change-Id: I773efff81aad8324be730c56034da30003ba4974
2020-04-22 15:44:17 +00:00
Paul Hu
dd481a1dee Merge "Add TetheredClient tests" 2020-04-22 15:22:32 +00:00
Philip P. Moltmann
8d5c1d7efb Merge "Set attributionTag for noteOp(WRITE_SETTINGS) calls" am: 83ba9531d7 am: 319db1af8b
Change-Id: I099944752fc3006c1e98750dd46dbebf5e50789f
2020-04-22 15:19:14 +00:00
Philip P. Moltmann
319db1af8b Merge "Set attributionTag for noteOp(WRITE_SETTINGS) calls" am: 83ba9531d7
Change-Id: I3ddd8954cf8443f549f7965cc43f2600bf92a80b
2020-04-22 15:09:28 +00:00
Philip P. Moltmann
83ba9531d7 Merge "Set attributionTag for noteOp(WRITE_SETTINGS) calls" 2020-04-22 14:58:13 +00:00
Philip P. Moltmann
f4c703461d Merge "Set attributionTag for noteOp(WRITE_SETTINGS) calls" 2020-04-22 14:57:49 +00:00
Paul Hu
f340f6fd46 Merge "Add TetheringCommonTests" am: 7219f9a5dd am: 075cf4d923 am: 0d6c6444e8 am: 1962d2d102 am: d0c619609e
Change-Id: I45ae4551efa1e9f8df040d458aba83282a3e0cfa
2020-04-22 14:01:56 +00:00
Paul Hu
0d6c6444e8 Merge "Add TetheringCommonTests" am: 7219f9a5dd am: 075cf4d923
Change-Id: I0d10c0c02375b10cbd2cd30e2fbe473580118b6c
2020-04-22 13:17:57 +00:00
Paul Hu
075cf4d923 Merge "Add TetheringCommonTests" am: 7219f9a5dd
Change-Id: Ia9bb24b417103de666c1f5f33d99131fac7ed8d1
2020-04-22 13:01:11 +00:00
Paul Hu
7219f9a5dd Merge "Add TetheringCommonTests" 2020-04-22 12:46:39 +00:00
Mark Chien
ca84aed48d Merge "Include NetworkStaticLibTestsLib into tethering coverage test" am: 3a59ac46bb am: 8dc733ad46 am: a79c58fecb am: ab7399aa29 am: ddf8739e84
Change-Id: I7466adb5be0610b193070c9a2e648c2ed5f7a4ba
2020-04-22 10:19:38 +00:00
Mark Chien
a79c58fecb Merge "Include NetworkStaticLibTestsLib into tethering coverage test" am: 3a59ac46bb am: 8dc733ad46
Change-Id: I4ad5369ec9e45d530ff603897037800e29c0b2bf
2020-04-22 09:23:04 +00:00
Mark Chien
8dc733ad46 Merge "Include NetworkStaticLibTestsLib into tethering coverage test" am: 3a59ac46bb
Change-Id: Ic7f9330a55938d228f8a3c1755d16b288ff99f16
2020-04-22 09:09:29 +00:00
Mark Chien
3a59ac46bb Merge "Include NetworkStaticLibTestsLib into tethering coverage test" 2020-04-22 08:51:23 +00:00
paulhu
8981563137 Add TetheredClient tests
Test APIs below:
getAddresses()
getMacAddress()
getTetheringType()
AddressInfo.getAddress()
AddressInfo.getHostname()
AddressInfo.writeToParcel(android.os.Parcel, int)

Bug: 153614365
Bug: 153613717
Test: atest TetheringTests
Change-Id: Ic7cbebe54a38af5b5c4639eb7641a20de6864a26
2020-04-22 16:32:58 +08:00
paulhu
7e514020b5 Add TetheringCommonTests
Bug: 153614365
Bug: 153613717
Test: atest TetheringTests TetheringCoverageTests
Change-Id: If7c933ec0c72943312cd37bfc66918f10a5504a9
2020-04-22 16:15:33 +08:00
Paul Hu
ed2432f4b1 Merge "[TNU08] Remove the "tethering is on" notification" am: 3680357420 am: 6296583f61 am: 2026b5addb am: 9f7b74cf09 am: 15cb89d750
Change-Id: Ied056ed80f8dc6caa72a489a2c75eab40b646dbe
2020-04-22 06:37:51 +00:00
Paul Hu
2026b5addb Merge "[TNU08] Remove the "tethering is on" notification" am: 3680357420 am: 6296583f61
Change-Id: Ie49b39eaf0170ecb74043dfba2cdc5b115a1477d
2020-04-22 06:05:12 +00:00
Paul Hu
6296583f61 Merge "[TNU08] Remove the "tethering is on" notification" am: 3680357420
Change-Id: I74d7c888f450e7f00000f30c63ff5cf05f6a968a
2020-04-22 05:51:36 +00:00
Paul Hu
3680357420 Merge "[TNU08] Remove the "tethering is on" notification" 2020-04-22 05:37:17 +00:00
Paul Hu
19ff1842e2 Merge "[TNU07] Remove unused resources" am: 967bced940 am: 9591b7f9b6 am: eca31b587a am: 55c87aca35 am: b4640d6f18
Change-Id: I46081638e8198287e2db363c29c0fbb9eb83f9de
2020-04-22 04:05:26 +00:00
Paul Hu
eca31b587a Merge "[TNU07] Remove unused resources" am: 967bced940 am: 9591b7f9b6
Change-Id: Ia658f8bdb13f882e7d09f477efdd24f49fc50e68
2020-04-22 03:13:30 +00:00