Age | Commit message (Collapse) | Author |
|
In ParcelUtils there are methods that help to verify parceling
correctness. However, they can only be applied to objects which
implement equals.
For NetworkStats, equals are not overrided due to performace
might be impacted if everyone use it. Hence specfic function
to verify parceling correectness is needed.
Test: atest NetworkStatsApiTest NetworkStackTests
Bug: 150644692
Change-Id: I48aa73117bc7db981ffaef5365f96e46d431bd6e
Merged-In: I48aa73117bc7db981ffaef5365f96e46d431bd6e
|
|
ours am: 989f54651a -s ours
am skip reason: subject contains skip directive
Change-Id: I8ba45602385030f6faa0e9947915b069c0f108c0
|
|
am skip reason: subject contains skip directive
Change-Id: I787e19ca5cbbe412c425b059a262e3ed7fba2625
|
|
Auto-generated-cl: translation import
Change-Id: I73c07a842c533f0386eb26f49ddddaf167b4162b
|
|
am: 7071551a70 am: 8de732907c
Change-Id: I8186ce8a12c4fc16edf0a925f08f02b80479126a
|
|
am: 7071551a70
Change-Id: I42f94bd2c838e2c5c73c23b3af9604d798cf9a14
|
|
|
|
into rvc-dev am: 7d3fbd8b33 am: 21db0d49d7
Change-Id: I1bc8ca540b080c2003f8736274ad8da2a0020d03
|
|
into rvc-dev am: 7d3fbd8b33
Change-Id: Idc6c990878bc7c50b2a524346e89dc37fddb24c5
|
|
into rvc-dev
|
|
rvc-dev am: 87f896aa4b am: 01e7fee5cd
Change-Id: Ie677a988370f32d56dc18d54947a3064f68fd150
|
|
24f8cd78e0 am: 68ca1f048f
Change-Id: I2c2e750e9a296e80dd649177f4fe8ff636eebb5f
|
|
rvc-dev am: 87f896aa4b
Change-Id: I16bce6a61dae23e67c556562d67de1ba14f4a4dc
|
|
24f8cd78e0
Change-Id: I723d367dc4bfbcb4e4040921014955cf907004b6
|
|
|
|
|
|
b5bc4f9244 am: 0888c179d3
Change-Id: I4863c889ede54e96034277025d04ae97e243fbc2
|
|
Change-Id: Ic50a7d6034c4b05fd84505fee963b175a6c65318
|
|
This test should only run on R and above because the DHCP server
was added to LinkProperties in R.
Bug: 134098566
Test: test-only change
Merged-In: Ic99c913f34ecfaca0645c56478d7de75eb176da1
Change-Id: I1162d9d9fd47ffe6d48e962ee7d3b7dbcba93767
|
|
In case of wifi might stop IpClient and then restart prov immediately
to avoid wifi disconnection especially when roaming happens, this
might cause getting interface params with incorrect interface mtu when
starting provisioning again before interface mtu hasn't been restored.
Moving getting interface params to ClearingIpAddressState#enter ensures
that interface parameters are fetched on the handler thread so they are
properly ordered with other events, such as restoring the interface MTU
on teardown.
Bug: 152169857
Test: atest NetworkStackIntegrationTests NetworkStackTests
Merged-In: Ifd06b8d18ce570b1aa424ad215111c80f094ca97
(cherry picked from commit a6aba532103a3258d09e6931106d6fb05368c130)
Change-Id: I0c8c1ed1646ab12bc30da2b7f8e5819d2d9495ba
|
|
This change adds an new method updateLayer2Information in IIpClient.aidl
to update layer2 info (e.g. bssid, l2key and grouphint) to detect
whether L2 roaming happens or not.
Bug: 131797393
Test: atest NetworkStackTests FrameworksNetTests
Merged-In: I85eabccb6f5d5f322c8e3df556ceef6647616f5a
(cherry picked from commit 3168e392320087c51a677b4d14e783c853ac652d)
Change-Id: Ife93fd162803ae89fa85905b45a4bb1cfb5e7e43
|
|
The parameters are useful to avoid annotating every method in a class
with @IgnoreAfter / @IgnoreUpTo.
Test: Tests using this class
Bug: 150918852
Merged-In: Ic17e7a253c7f3a86011298e177e76b53c966a47b
Change-Id: Ic17e7a253c7f3a86011298e177e76b53c966a47b
|
|
Change-Id: If2ec8c20725150616338f29b55c2e5987e378070
|
|
Change-Id: I6317d8a997abf3148915d209e3df0854e5f83f60
|
|
Bug: 139034276
Test: atest NetworkStackTests NetworkStackNextTests
Merged-In: Ifdf54ace6dcc05efc14c182018848880cfb0a00f
Change-Id: Ifdf54ace6dcc05efc14c182018848880cfb0a00f
|
|
NetworkMonitor calls INetworkMonitorCallbacks#notifyNetworkTested when
network validation is complete. NetworkMonitor will transition to using
to NetworkStack Stable AIDL version 6. However, the current version
check changes behavior for version 5, which is incorrect.
Bug: 152931568
Test: atest NetworkStackTests
Change-Id: Ib88b8b0c0b23079287e72e50cbe840fa8c642047
Merged-In: Ib88b8b0c0b23079287e72e50cbe840fa8c642047
(cherry picked from commit 82808cb4eb433d861536199adc7bdaecd614e37d)
|
|
Add configuration to allow configuring multiple probe.
Bug: 139034276
Test: atest NetworkStackTests NetworkStackNextTests
Merged-In: Ib2c1d16d2088ef043cdc6f9cb323a9df552beefb
Change-Id: Ib2c1d16d2088ef043cdc6f9cb323a9df552beefb
|
|
NetworkMonitor sends data stall metrics data via static method.
The DataStallStatsUtils object from its constructor is never
used. Tests in NetworkMonitorTest that verify the interaction
with the mock object are incorrect.
Bug: 152374582
Test: atest NetworkStackTests NetworkStackNextTests
Merged-In: I308344a80deef6aaf3ed4fb57723f2f210b30483
Change-Id: I308344a80deef6aaf3ed4fb57723f2f210b30483
|
|
am: 014f79a870 -s ours am: d3368e7eea -s ours
am skip reason: subject contains skip directive
Change-Id: I79e2c6c9bfcf356ad4e2837103c864180d8a3f57
|
|
am: 014f79a870 -s ours
am skip reason: subject contains skip directive
Change-Id: I45f1d048528cbf11e71f5d75345cd4911d6c5738
|
|
|
|
ours am: ea58d46b23 -s ours
am skip reason: subject contains skip directive
Change-Id: Ifb5c15c9d45342b47091ecc7419a5bf2dfacdfe2
|
|
am skip reason: subject contains skip directive
Change-Id: I6a9785429283d6b8d010cb50a29ed96c79a6fdaa
|
|
Auto-generated-cl: translation import
Change-Id: I3ab73cbb146ceb6d6c44cd055179d1a363e0a661
|
|
Auto-generated-cl: translation import
Change-Id: Ib273031cc7620ed779b761c84f4890bdd6f14979
|
|
Change-Id: Ia6302bfd97f2cef1c97bf7c5e764f9645a6a90d8
|
|
Change-Id: I621534c7c541f324be5a95c575b977a0aed07a09
|
|
The tracker allows easily creating valid Network objects that are based
on test (TUN) interfaces.
It is taken from GTS NetworkStack test code and adapted to Kotlin.
Test: tests based on this class (e.g. CaptivePortalLoginTests)
Bug: 131401028
Merged-In: I6f8d1e36670c46ebcbca01e0a64ce579bcdcc1f9
Change-Id: I6f8d1e36670c46ebcbca01e0a64ce579bcdcc1f9
|
|
9a8cf456be
Change-Id: I8801881f5a224d58950d481f8497584739b61b36
|
|
Change-Id: I4b5bb16a8a3d41073962cd0604546ce1d691cac8
|
|
Change-Id: Ifadc8578df24a7526c0f1d053f2460660b2e2a71
|
|
Change-Id: Ia3ae09b243f0e4006301369f6d87007da61549f9
|
|
|
|
This allows tests that emulate DHCP clients to include options.
The values are specified by the RFC and cannot change, so there
is no downside to making them public.
Test: builds
Bug: 150644681
Change-Id: I939bfac5ec14175b74ce3713f5af1362de577839
Merged-In: I939bfac5ec14175b74ce3713f5af1362de577839
(cherry picked from commit f75cd4768124c20c9eda14e21368f83c4963a260)
|
|
This class is generally useful for tests that manipulate packets
using a TestNetworkInterface. It will be used in upcoming
tethering tests. Also make it take a FileDescriptor instead of a
ParcelFileDescriptor, since that is more generally more useful.
As part of this change, create a filegroup of files that the test
utilities can depend on.
Bug: 150644681
Test: atest NetworkStackIntegrationTests:IpClientIntegrationTest
Change-Id: I73e9c1919956aa665a8cccec11d3444e486426ec
Merged-In: I73e9c1919956aa665a8cccec11d3444e486426ec
(cherry picked from commit f5e20cdc22dd017adec10efff5346ddf67628230)
|
|
858f64b4d7 am: bbb9ea20e1
Change-Id: Ic4125fe232bdec1064e897a093553bef642659b4
|
|
Change-Id: I7162856039e709e3772690be5f97f50210b67573
|
|
|
|
am: 3a8d2298f4 -s ours am: 62a0cd08dc -s ours
am skip reason: subject contains skip directive
Change-Id: Id79b973c9bad5d71f1bc7fb90d62d0de2438d9c4
|
|
am: 3a8d2298f4 -s ours
am skip reason: subject contains skip directive
Change-Id: I3ada7ca143664935ec73cbeec0c13bf8bd5d0a21
|