android_packages_modules_Co.../staticlibs
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Junyu Lai c51f71fb41 Add testutil to mock android.app.usage.NetworkStats
It's not possible to directly create a mocked `NetworkStats`
instance because of limitations with `NetworkStats#getNextBucket`.
As a workaround for testing, create a mock by controlling the
return values from the mocked service that provides the
`NetworkStats` data.

Test: atest FrameworksServicesTests:com.android.server.stats.pull.netstats.NetworkStatsUtilsTest
Bug: 335680025
Change-Id: I4be8420de50040781557587fba4a50b9c0587f61
2024-08-19 17:39:15 +08:00
..
client-libs Merge "[DON'T BLOCK] Test ownership migration rules" into main am: e7aa45cdf0 2024-02-01 00:08:24 +00:00
device Rename getShrinkedBackingArray to getMinimized* 2024-08-02 19:27:41 +09:00
framework/com/android/net/module/util Move fromPublicNetworkStats to statsd 2024-08-19 14:39:18 +08:00
native Make BpfRingbufBase destructor virtual 2024-07-24 19:17:54 +00:00
netd libnetdutils: avoid deque<const T> 2024-06-28 00:52:39 -07:00
tests/unit Move fromPublicNetworkStats to statsd 2024-08-19 14:39:18 +08:00
testutils Add testutil to mock android.app.usage.NetworkStats 2024-08-19 17:39:15 +08:00
Android.bp Add documentation on usage of net-utils-connectivity-apks 2024-08-15 08:07:02 +00:00
jarjar-rules-shared.txt Support both R and S+ in NetworkFactory 2021-05-03 23:09:41 -07:00
TEST_MAPPING Merge remote-tracking branch 'remotes/aosp/tmp_libs_net_move' into libs_net_move_merge 2023-09-11 11:53:46 +09:00