summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-04-17Merge "Add a new field changePrefixOnDecline in DhcpServingParamsParcel." ↵TreeHugger Robot
into rvc-dev
2020-04-17Merge "Fix the incorrect behaviour when receiving a mismatched renew lease." ↵TreeHugger Robot
into rvc-dev am: bb771b1f69 Change-Id: Ib27b02d393a2efd5b9b2e045f8ec3190d0e4f28d
2020-04-17Merge "Renew previous IP address when roaming happens in certain specific ↵TreeHugger Robot
Wi-Fi networks." into rvc-dev am: b306958535 Change-Id: I6b8e3012ef3210e44aaf3cb3d6609fa7996dd45d
2020-04-17Merge "Fix the incorrect behaviour when receiving a mismatched renew lease." ↵TreeHugger Robot
into rvc-dev
2020-04-17Merge "Renew previous IP address when roaming happens in certain specific ↵TreeHugger Robot
Wi-Fi networks." into rvc-dev
2020-04-16[MP06] Add test to test multiple probe code am: 66876ec687 am: 1538ed3dcaChiachang Wang
Change-Id: I05e51d5e7a2eed91603e9943fb32064d92e93700
2020-04-16[MP04] Allow to run multiple HTTP and HTTPS probes in parallel am: ↵Chiachang Wang
3278b38e01 am: fa34a4a743 Change-Id: I26b5b013d0b6d4a285f8f9cd05f5b719d6d53b8d
2020-04-16[MP06] Add test to test multiple probe code am: 66876ec687Chiachang Wang
Change-Id: I610159f1064cb8681036ed054f0b9b39090aadc9
2020-04-16[MP04] Allow to run multiple HTTP and HTTPS probes in parallel am: 3278b38e01Chiachang Wang
Change-Id: I7aa104970c76ec1d5b26e285ba0262543b150065
2020-04-16[MP06] Add test to test multiple probe codeChiachang Wang
Bug: 139034276 Test: atest NetworkStackTests NetworkStackNextTests Change-Id: I4fdff4d13b85a45642774befed16e4948433d35b Merged-In: I4fdff4d13b85a45642774befed16e4948433d35b (cherry picked from commit 7f6885c48a4c6df0f82ab50fa150b347499b333e)
2020-04-16[MP04] Allow to run multiple HTTP and HTTPS probes in parallelChiachang Wang
In certain area, there is no single server that works well. It may result in the validation result varied. Thus, allow device manufacturers to configure these URLs to get expected network status. Bug: 139034276 Test: atest NetworkStackTests NetworkStackNextTests Test: manually test with resource configuration Change-Id: I5327db39b22bf9393e7a397e8f4de786075c841e Merged-In: I5327db39b22bf9393e7a397e8f4de786075c841e (cherry picked from commit 9ce129a8079cf0b0dc1b744738fc7b41fbd40bad)
2020-04-16Renew previous IP address when roaming happens in certain specific Wi-Fi ↵Xiao Ma
networks. Bug: 131797393 Test: atest NetworkStackTests NetworkStackIntegrationTests Test: atest FrameworksNetTests Merged-In: I65ebdd142a2bb402035c63cd282bc2574ddf3d8d Change-Id: I65ebdd142a2bb402035c63cd282bc2574ddf3d8d
2020-04-16Fix the incorrect behaviour when receiving a mismatched renew lease.Treehugger Robot
When the DHCP client is given a new IPv4 address which is not its previous network address to be extended durig RENEWING or REBINDING state, should roll back to INIT state and restart DHCP configuration. That's the intended behaviour with this fix (notify provisioning failure and then exit from receivePacket() immediately, DO NOT accept this renew lease). Otherwise, the new given network address will be accepted and noitfy IpClient to configure this new address on interface, which violates RFC2131#4.4.5. The incorect call graph will be: - receiving mismatched renew lease: - setDhcpLeaseExpiry - acceptDhcpResults - notifySuccess - transitionTo(mDhcpBoundState) - keep using this new address Bug: 131797393 Test: atest NetworkStackTests Merged-In: I6fd37e6af1f6bf3a8ce8de7b9a1ef4731de5db27 Change-Id: I6fd37e6af1f6bf3a8ce8de7b9a1ef4731de5db27
2020-04-16Add a new field changePrefixOnDecline in DhcpServingParamsParcel.Xiao Ma
A new boolean flag (changePrefixOnDecline) to be added in the DhcpServingParamsParcel, indicating whether or not the DHCP server should request a new prefix (e.g. a different subnet prefix) from IpServer when receiving DHCPDECLINE message. Bug: 130741856 Test: atest NetworkStackTests NetworkStackNextTests Merged-In: I8cb0f844ef98a5f17d4e07e1812a1abf73aa4c07 Change-Id: I8cb0f844ef98a5f17d4e07e1812a1abf73aa4c07
2020-04-16Merge "Refactor a new NetlinkMonitor class out of IpNeighborMonitor." into ↵Lorenzo Colitti
rvc-dev am: 9aef7f0ee0 am: 0bf66106a1 Change-Id: I0fc87bd630cea0441fd002bef144a6215b85f411
2020-04-16Merge "Support parsing ND option messages." into rvc-dev am: 77e026021f am: ↵Lorenzo Colitti
1b95e2d3ea Change-Id: I9c46f4fd523e2d3ae0a0b23b5dd108dc7fd8cb7c
2020-04-16Merge "Support decoding the new PREF64 RA option." into rvc-dev am: ↵Lorenzo Colitti
109ee272e3 am: 8c26d537ab Change-Id: I76cc9c9e3ef4fb708f61a99943583dc75dabd44e
2020-04-16Merge "Refactor a new NetlinkMonitor class out of IpNeighborMonitor." into ↵Lorenzo Colitti
rvc-dev am: 9aef7f0ee0 Change-Id: Icfd1fcbf6e79a64a4f2791ffac3d47584a4b4619
2020-04-16Merge "Support parsing ND option messages." into rvc-dev am: 77e026021fLorenzo Colitti
Change-Id: I2d60453ee5e14853b95fd17ada6441c5d17f62e3
2020-04-16Merge "Support decoding the new PREF64 RA option." into rvc-dev am: 109ee272e3Lorenzo Colitti
Change-Id: Ib8aaff08d8868f4045930030e654973b8a004dc6
2020-04-16Merge "Refactor a new NetlinkMonitor class out of IpNeighborMonitor." into ↵Lorenzo Colitti
rvc-dev
2020-04-16Merge "Support parsing ND option messages." into rvc-devLorenzo Colitti
2020-04-16Merge "Support decoding the new PREF64 RA option." into rvc-devLorenzo Colitti
2020-04-16Make a customized context when matching a record in MccMncOverrideInfo am: ↵Lucas Lin
044be5f2b2 am: db1e09ac6c Change-Id: Ibbd7bc0e83bba92c3961e0fc3859e96502d5bf95
2020-04-16Make a customized context when matching a record in MccMncOverrideInfo am: ↵Lucas Lin
044be5f2b2 Change-Id: Ia47a18d53c21a0e12f0ba5f46f7f04cf7b8356df
2020-04-16Make a customized context when matching a record in MccMncOverrideInfoLucas Lin
MccMncOverrideInfo records the customized carrier id, visited mccmnc, home mccmnc. Once the carrier id and sim's mccmnc are matching a record in MccMncOverrideInfo, make a customized context by changing the mcc/mnc of configuration. Bug: 147075795 Test: atest NetworkStackTests:NetworkMonitorTest Change-Id: I75924f60c637eb93ac99b14b333608b6faeaa24a Merged-In: I20f3c291015a0a79d88e923438d39ff90e1f0752 (cherry picked from commit 6d0b27f8cb8f96eb427609eb03ff6e1a1d490771)
2020-04-16Support parsing ND option messages.Lorenzo Colitti
Define a new StructNduseroptmsg class that is a rough equivalent of the "struct nduseroptmsg" used to pass RA options from the kernel to userspace. Also define a new NdOption class and make the existing pref64 option subclass it. Bug: 153694684 Test: new unit tests Change-Id: I3b71e63ee2cdaa40d095e889188943c5b0cd13af Merged-In: I3b71e63ee2cdaa40d095e889188943c5b0cd13af (cherry picked from commit 48d23146bf3e6e272538f120f1d4af0fef441710)
2020-04-16Refactor a new NetlinkMonitor class out of IpNeighborMonitor.Lorenzo Colitti
This CL adds a new NetlinkMonitor that is a subclass of PacketReader and a superclass of IpNeighborMonitor. The class can be used to implement other simple "listen to netlink broadcasts and take action on them" classes without requiring much new code to be written. Bug: 153694684 Test: atest NetworkStackTests:IpReachabilityMonitorTest Merged-In: Ia7ffb0fab4b116f4e238ccc5f5da92a04c4c86e2 Change-Id: Ia7ffb0fab4b116f4e238ccc5f5da92a04c4c86e2
2020-04-16Support decoding the new PREF64 RA option.Lorenzo Colitti
Bug: 153694684 Test: new unit tests Merged-In: I94346939cda910b01ffee75cf8b62a23ec5314cc Change-Id: I94346939cda910b01ffee75cf8b62a23ec5314cc
2020-04-15Add shims to get and set the NAT64 prefix in LinkProperties. am: 13975b7e9a ↵Treehugger Robot
am: 441b063be7 Change-Id: Ic6a1cb9cf26fff183308e8ce535e7567c294638e
2020-04-15Merge "[SP27.2] Rename TestableNetworkStatsProvider" into rvc-dev am: ↵Junyu Lai
3ec40ab652 am: 01897c5633 Change-Id: I35d449c5a665abc56d3d7e24608c8a3a840e87ea
2020-04-15[MP03] Refactor probing class am: 50865817ef am: c3ef3fccc9Chiachang Wang
Change-Id: I059ccb975dbbe83af4e4ab030987d21fd8368ca4
2020-04-15Add shims to get and set the NAT64 prefix in LinkProperties. am: 13975b7e9aTreehugger Robot
Change-Id: Idf7943dee27d3a15149966f5a1727b8b47a56202
2020-04-15Merge "[SP27.2] Rename TestableNetworkStatsProvider" into rvc-dev am: 3ec40ab652Junyu Lai
Change-Id: I552ea39526ba367f1d729e107d64c6d04be39e9d
2020-04-15[MP03] Refactor probing class am: 50865817efChiachang Wang
Change-Id: I6bd2152e1b45d707859423d723606bf6df3453ce
2020-04-15Add shims to get and set the NAT64 prefix in LinkProperties.Treehugger Robot
Bug: 153694684 Test: m NetworkStack NetworkStackNext Merged-In: I934fed7a0a8921d3dce7584b5f1b74a0ad67f14a Change-Id: I934fed7a0a8921d3dce7584b5f1b74a0ad67f14a
2020-04-15Merge "[SP27.2] Rename TestableNetworkStatsProvider" into rvc-devJunyu Lai
2020-04-15[MP03] Refactor probing classChiachang Wang
Refactor probing class to allow sending probe via thread class in legacy send parallel probes function and also refactor for follow up commit to send multiple probes. Bug: 139034276 Test: atest NetworkStackTests NetworkStackNextTests Test: manually test with resource configuration Change-Id: Ia25bfe58b10b0a1a641a2be535ee0d602ffd8cd6 Merged-In: Ia25bfe58b10b0a1a641a2be535ee0d602ffd8cd6 (cherry picked from commit c17b3996f428ac80a2f8b2c4f361b0e18b0b50fa)
2020-04-14Merge "Add visibility for TetheringCoverageTests" into rvc-dev am: ↵Paul Hu
e01c1e5be1 am: d49076c0d4 Change-Id: Ifb67a80f2af6cec24062394b1476e3fa960f4c07
2020-04-14Merge "Add visibility for TetheringCoverageTests" into rvc-dev am: e01c1e5be1Paul Hu
Change-Id: I75e9b81928227e401e52481809bb91250cf886c6
2020-04-14Merge "Add visibility for TetheringCoverageTests" into rvc-devPaul Hu
2020-04-14Merge "ipmemorystore-aidl-interfaces is marked as available to platform" ↵TreeHugger Robot
into rvc-dev am: 7a981d0296 am: 759ffec653 Change-Id: Icc10a9652e20c454b8e18913b4579f039a5054d3
2020-04-14Merge "ipmemorystore-aidl-interfaces is marked as available to platform" ↵TreeHugger Robot
into rvc-dev am: 7a981d0296 Change-Id: Ia35c4b0b7009a7c6f9973b11757eb9235652241f
2020-04-14Merge "ipmemorystore-aidl-interfaces is marked as available to platform" ↵TreeHugger Robot
into rvc-dev
2020-04-14Add visibility for TetheringCoverageTestsPaul Hu
1. NetworkStackTestsLib can be visible to TetheringCoverageTests 2. NetworkStackJarJarRules can be visible to TetheringIntegrationTestsDefaults 3. Remove uncessary lib "libartbase" because it's not visible to TetheringCoverageTests. Bug: 148636687 Test: atest NetworkStackTests atest TetheringCoverageTests Change-Id: I0e0d597a968f99f4a99c3d7ab014af4e144ab40f Merged-In: I0e0d597a968f99f4a99c3d7ab014af4e144ab40f (cherry picked from commit 7a95e2e5e9cffbf7cdb67d75306c6bfd2ebc4663)
2020-04-13Add a test runner to ignore tests on old SDKs am: 952c16bb24 am: 75de1de471Chalard Jean
Change-Id: Ie44eba56e3a8c5b55532aa78b5641dfc7e7b45ee
2020-04-13Add a test runner to ignore tests on old SDKs am: 952c16bb24Chalard Jean
Change-Id: Ic296279e50568cc9a2dddb2d053108efe11db170
2020-04-13Add a test runner to ignore tests on old SDKsChalard Jean
Generally DevSdkIgnoreRule should be used for that purpose (using rules is preferable over replacing the test runner), however JUnit runners inspect all methods in the test class before processing test rules. This may cause issues if the test methods are referencing classes that do not exist on the SDK of the device the test is run on. Test: tests in change Iddd00e1c85abe767b1a41a1761d3266ba322dba6 Bug: 150918852 Merged-In: Ia8df394ed65fad3a3333da32c868c4623975ff79 (cherry picked from commit 1d2d5731c2ac4a23904f6093ac0f2a1bf0c11985, aosp/1281921) Change-Id: Iedc8d1f93254146baef61b34b965a89fee1b4c57
2020-04-13[automerger skipped] Merge "Import translations. DO NOT MERGE" into rvc-dev ↵TreeHugger Robot
am: 52eacae0ad -s ours am: 027d39f27c -s ours am skip reason: subject contains skip directive Change-Id: I0d0988ec528ffdf48f9b5d1c37657a61c7e62c82
2020-04-13[automerger skipped] Merge "Import translations. DO NOT MERGE" into rvc-dev ↵TreeHugger Robot
am: 52eacae0ad -s ours am skip reason: subject contains skip directive Change-Id: I8cecb101bcb804f223524df79e26cc036a80c507