android_packages_modules_Co.../framework-t/src/android/net
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Lorenzo Colitti b36e57a004 Don't clobber existing history entries.
Currently, adding a history to a NetworkStatsCollection.Builder
will overwrite any history that was previously passed in with the
same key. This breaks the importer (which is the primary/only
caller of this code), because the importer re-uses the same
NetworkStatsCollection object to import multiple files.

Instead, simply add any passed-in entries after the ones that
were already there. Require the caller to pass in entries in
order, because NetworkStatsHistory internally assumes that
entris are always sorted.

Ignore-AOSP-First: in a topic with internal-only changes
Bug: 230289468
Test: manually verified this unbreaks the importer
Change-Id: Ic8647ff28fca78d579d5f759f96a864877f8158b
2022-05-18 23:51:03 +08:00
..
netstats [DU04-2]Appropriate changes to the NetworkPolicyManager API 2022-03-16 14:23:50 +08:00
nsd Use MDns aidl on NsdService 2022-04-04 15:18:27 +00:00
ConnectivityFrameworkInitializerTiramisu.java Add MDnsManager 2022-04-04 15:02:17 +00:00
DataUsageRequest.aidl [MS08] Move NetworkStats files to f/b/package/ConnectivityT 2021-12-10 16:11:08 +00:00
DataUsageRequest.java Revert "Revert "Migrate unsafe parcel APIs in framework-minus-apex"" 2022-01-19 11:13:18 +00:00
EthernetManager.java Unicast state of existing ethernet interfaces when registering new Ethernet Listener. 2022-04-30 14:42:45 +00:00
EthernetNetworkManagementException.aidl Renaming Ethernet Network Management Classes 2022-02-01 21:02:10 -08:00
EthernetNetworkManagementException.java Marking eth network management APIs @SystemApi 2022-02-04 17:09:34 -08:00
EthernetNetworkSpecifier.java Making EthernetNetworkSpecifier public 2022-02-10 11:25:18 -08:00
EthernetNetworkUpdateRequest.aidl Renaming Ethernet Network Management Classes 2022-02-01 21:02:10 -08:00
EthernetNetworkUpdateRequest.java Add Nullable IpConfiguration to ethernet update request 2022-03-16 20:28:45 +01:00
IEthernetManager.aidl Add getInterfaceList module-lib API in EthernetManager. 2022-03-22 13:59:40 +00:00
IEthernetServiceListener.aidl Add setEthernetEnabled and its listener API 2022-03-22 13:58:14 +00:00
IIpSecService.aidl Move IpSec associated files to f/b/packages/ConnectivityT 2021-12-14 14:06:44 +08:00
INetworkInterfaceOutcomeReceiver.aidl Change Ethernet API to use OutcomeReceiver 2022-03-18 12:19:52 +08:00
INetworkStatsService.aidl Rename setUidForeground to noteUidForeground 2022-03-10 18:31:21 +08:00
INetworkStatsSession.aidl [MS41.1] Prepare for APIs for querying usage with template 2022-01-20 13:03:35 +00:00
IpSecAlgorithm.java Use public resouce in android.R package 2022-01-24 11:41:35 +00:00
IpSecConfig.aidl Move IpSec associated files to f/b/packages/ConnectivityT 2021-12-14 14:06:44 +08:00
IpSecConfig.java Revert "Revert "Migrate unsafe parcel APIs in framework-minus-apex"" 2022-01-19 11:13:18 +00:00
IpSecManager.java Un-finalize IpSecManager 2022-02-09 03:32:54 +00:00
IpSecSpiResponse.aidl Move IpSec associated files to f/b/packages/ConnectivityT 2021-12-14 14:06:44 +08:00
IpSecSpiResponse.java Move IpSec associated files to f/b/packages/ConnectivityT 2021-12-14 14:06:44 +08:00
IpSecTransform.java Remove ServiceManager usage from IpSecTransform 2021-12-28 02:59:26 +08:00
IpSecTransformResponse.aidl Move IpSec associated files to f/b/packages/ConnectivityT 2021-12-14 14:06:44 +08:00
IpSecTransformResponse.java Fix style errors for IpSec associated files 2021-12-14 14:36:59 +08:00
IpSecTunnelInterfaceResponse.aidl Move IpSec associated files to f/b/packages/ConnectivityT 2021-12-14 14:06:44 +08:00
IpSecTunnelInterfaceResponse.java Fix style errors for IpSec associated files 2021-12-14 14:36:59 +08:00
IpSecUdpEncapResponse.aidl Move IpSec associated files to f/b/packages/ConnectivityT 2021-12-14 14:06:44 +08:00
IpSecUdpEncapResponse.java Revert "Revert "Migrate unsafe parcel APIs in framework-minus-apex"" 2022-01-19 11:13:18 +00:00
ITetheredInterfaceCallback.aidl Move Ethernet related files to f/b/packages/ConnectivityT. 2021-12-16 06:59:08 +00:00
NetworkIdentity.java Merge "Fix proto invalid write type" 2022-03-22 12:18:39 +00:00
NetworkIdentitySet.java Fix NullPointerException happens in dumpCheckin 2022-04-19 17:49:30 +08:00
NetworkStateSnapshot.java [SUBID01-0]Grow NetworkIdentity to include a new mSubId field 2022-03-02 11:20:09 +08:00
NetworkStats.java Make some NetworkStats APIs system-current 2022-04-11 18:45:36 +08:00
NetworkStatsAccess.java [MS25.1] Remove AppOpsManager.OP_GET_USAGE_STATS dependency 2021-12-30 10:00:19 +00:00
NetworkStatsCollection.java Don't clobber existing history entries. 2022-05-18 23:51:03 +08:00
NetworkStatsHistory.aidl [MS08] Move NetworkStats files to f/b/package/ConnectivityT 2021-12-10 16:11:08 +00:00
NetworkStatsHistory.java Don't clobber existing history entries. 2022-05-18 23:51:03 +08:00
NetworkTemplate.java Fix NetworkTemplate generates non-metered carrier template 2022-04-18 16:41:54 +08:00
TrafficStats.java [MS83.1] Make some APIs module-lib instead of system current 2022-04-11 18:44:20 +08:00
UnderlyingNetworkInfo.aidl [MS08] Move NetworkStats files to f/b/package/ConnectivityT 2021-12-10 16:11:08 +00:00
UnderlyingNetworkInfo.java Revert "Revert "Migrate unsafe parcel APIs in framework-minus-apex"" 2022-01-19 11:13:18 +00:00