NetworkCapabilities#mAdministratorUids is used to track the UIDs that
are administrators of the given Network. This value was previously
stored as List<Integer>. However, general Android API Council guidelines
recommend using Arrays for primitive values. In order to be consistent
with the guidelines, updating the field to use an Array.
Bug: 147903575
Test: atest FrameworksNetTests
Change-Id: I2652a5b0f276b8944454af5cb4b1383a3e054cfa
am skip reason: Change-Id I1ee7a26186885d3a79a32ec9e45f5bcd656a6680 with SHA-1 6d4e01e422 is in history
Change-Id: Ia273ebc0da7d8e9350c46e70b75c37f7873e0e6d
am skip reason: Change-Id I1ee7a26186885d3a79a32ec9e45f5bcd656a6680 with SHA-1 7872f6186a is in history
Change-Id: Ie2b83cef52d46ced9f3ba9b69b61b93c209fcd85
am skip reason: Change-Id I1ee7a26186885d3a79a32ec9e45f5bcd656a6680 with SHA-1 6d4e01e422 is in history
Change-Id: Iee0852500679aff2fca108713cca2109caa7d677
am skip reason: Change-Id Iece9e8ad5c51170cd404ac995d0005392d37fe0c with SHA-1 7bd2a24dab is in history
Change-Id: I48199e3bc051ba4d5e0c0a9309f8772c76935218
am skip reason: Change-Id Iece9e8ad5c51170cd404ac995d0005392d37fe0c with SHA-1 7bd2a24dab is in history
Change-Id: I9e4295ca98aa16dbee863c6a1f7475c59785db18
am skip reason: Change-Id I97015365604be1846e3ecbaf60ac99e334705565 with SHA-1 30a0107d13 is in history
Change-Id: I899f29a2623887f9907b2543f0a3dbeeb5addfa4
am skip reason: Change-Id I97015365604be1846e3ecbaf60ac99e334705565 with SHA-1 fd007f01ef is in history
Change-Id: Ice8694d16de54bed09e66965d81e1d9776ca62c7
am skip reason: Change-Id I97015365604be1846e3ecbaf60ac99e334705565 with SHA-1 fd007f01ef is in history
Change-Id: I07fe90085cb201a3280241773282e14be9ce904a
am skip reason: Change-Id I97015365604be1846e3ecbaf60ac99e334705565 with SHA-1 fd007f01ef is in history
Change-Id: I2c35e18c06e3d26d35a76ec3041a674148c8efc7
am skip reason: Change-Id Ic9db4b9b83ff96c87f41c5f381763c3ee8dd27c8 with SHA-1 13c97ebd73 is in history
Change-Id: I5c099a4d59f8bb081be89496556c767d0cf414db
am skip reason: Change-Id I97015365604be1846e3ecbaf60ac99e334705565 with SHA-1 fd007f01ef is in history
Change-Id: I4902fda4482ecad8ae6c38b32da0f40262cb316a
Note that enabling/disabling would not take effect until device
reboot. This will be addressed in follow-up patch.
Test: 1. atest NetworkStatsServieTest SettingsBackupTest
2. adb shell settings put global netstats_combine_subtype_enabled 1|0
Bug: 146415925
Change-Id: Ic94da540afa479ed18f1b6fbda4ae3216c37476b
* changes:
[SM05] Enable record mobile network stats by collapsed rat type
[SM04] Support fetching data with NetworkTemplate with subType
[SM02] Support record mobile network stats by collapsed rat type
Add test for constructor and parcel
Test: atest CtsNetTestCasesLatestSdk:android.net.NattKeepalivePacketDataTest
on both Q and R devices
Bug: 151402211
Change-Id: I97015365604be1846e3ecbaf60ac99e334705565
Merged-In: I97015365604be1846e3ecbaf60ac99e334705565
Add test for constructor of KeepalivePacketData and
InvalidPacketException
Bug: 151109466
Test: atest CtsNetTestCasesLatestSdk:android.net.KeepalivePacketDataTest
on both Q and R devices
Change-Id: Ic9db4b9b83ff96c87f41c5f381763c3ee8dd27c8
Merged-In: Ic9db4b9b83ff96c87f41c5f381763c3ee8dd27c8
Switch on the recording in device side. Metrics will be
collected in follow-up patches which can be independently
enabled/disabled.
This change also fix the fail in NetworkStatsCollectionTest
which caused by enabling this feature, where the rounding
problem happened when records are distributed into smaller
buckets and categorized into more NetworkIdentity.
Test: atest FrameworksNetTests
Bug: 129082217
Change-Id: If330e85330a4ff713dd420c98d42fa741eabd90a
am skip reason: Change-Id I9495a198cf247e6c79100f7ac1edcea370b071de with SHA-1 5d89df732b is in history
Change-Id: I0a3f09c46eef66ec405a98c213ed1fa64638dd4c