Yun-Chen Cheng
69b83606ca
No-op refactoring for TrafficStats APIs
...
Prepare for implementation of client side
TrafficStats rate limit cache.
1. Write Typeless versions of getIfaceStats,
getUidStats, getTotalStats in INetworkStatsService.aidl
that returns NetworkStats instead of Long.
This is needed because in follow-up changes,
the NetworkStats instead of indiviual numbers will
be stored as a cache entry
2. Move some utils from NetworkStatsService
to TrafficStats. This is needed because in the follow-up
changes, these utils would be both accessed by TrafficStats
and NetworkStatsService.
Test: CtsNetTestCases:android.net.cts.TrafficStatsTest
Test: CtsNetTestCases:android.net.cts.NetworkStatsBinderTest
Test: FrameworksNetIntegrationTests:com.android.server.net.\
integrationtests.NetworkStatsIntegrationTest
Test: FrameworksNetTests:android.net.connectivity.com.android.\
server.net.NetworkStatsServiceTest
Test: FrameworksNetTests:android.net.connectivity.\
android.net.TrafficStatsTest
Test: ConnectivityCoverageTests:android.net.connectivity.\
android.net.TrafficStatsTest
Bug: 343260158
Change-Id: Iace251e1495fd3b81e072526e92ca97cbc7246eb
2024-09-10 14:36:25 +00:00
..
netstats
Correct javadoc usage
2022-07-15 03:44:46 +00:00
nsd
Use java_aconfig_library for android_core_networking flags
2024-08-16 16:57:29 +09:00
ConnectivityFrameworkInitializerTiramisu.java
Stop registering native mdns service
2023-12-27 13:54:50 +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
Improve documentation of addEthernetStateListener
2024-03-21 11:26:07 -07: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
Fix broken documentation in Connectivity
2023-10-13 15:25:26 +00: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
Remove automotive restriction from enable/disableInterface
2022-05-24 03:54:38 +00:00
IEthernetServiceListener.aidl
Add setEthernetEnabled and its listener API
2022-03-22 13:58:14 +00:00
IIpSecService.aidl
Reland "Support getting transform state in IpSecService"
2023-12-12 22:19:55 +00:00
INetworkInterfaceOutcomeReceiver.aidl
Change Ethernet API to use OutcomeReceiver
2022-03-18 12:19:52 +08:00
INetworkStatsService.aidl
No-op refactoring for TrafficStats APIs
2024-09-10 14:36:25 +00:00
INetworkStatsSession.aidl
[MS41.1] Prepare for APIs for querying usage with template
2022-01-20 13:03:35 +00:00
IpSecAlgorithm.java
Merge "ipsec - use ro.vendor.api_level instead of ro.product.first_api_level"
2022-11-09 22:38:36 +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
Use java_aconfig_library for android_core_networking flags
2024-08-16 16:57:29 +09: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
Use java_aconfig_library for android_core_networking flags
2024-08-16 16:57:29 +09: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
IpSecTransformState.aidl
Reland "Support getting transform state in IpSecService"
2023-12-12 22:19:55 +00:00
IpSecTransformState.java
Use java_aconfig_library for android_core_networking flags
2024-08-16 16:57:29 +09: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
Remove requireNonNull check from matchesWifiNetworkKey
2023-03-07 18:16:55 +08: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
Support NetworkStats#addEntries API
2024-08-09 14:19:38 +08:00
NetworkStatsAccess.java
Rename check*Permission* to has*Permission
2024-02-01 15:24:35 +08:00
NetworkStatsCollection.java
[AF03] Adopt FastDataInput
2023-12-26 15:42:09 +08:00
NetworkStatsHistory.aidl
[MS08] Move NetworkStats files to f/b/package/ConnectivityT
2021-12-10 16:11:08 +00:00
NetworkStatsHistory.java
Cleanup constructor of NetworkStats#Entry
2022-08-02 22:49:16 +08:00
NetworkTemplate.java
Allow to query NetworkStats for TYPE_PROXY
2023-11-16 13:43:00 +00:00
TrafficStats.java
No-op refactoring for TrafficStats APIs
2024-09-10 14:36:25 +00: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