android_packages_modules_Co.../tests/unit/java/com/android/server
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Junyu Lai eaa58de991 [MS17.2] Fix remaining daily budget assertion
Currently, the test didn't mock data usage of the month.
Thus, when asserting remaining budget, the calculation
always assumes there is no used data, hence wrong budget
value is expected. See #getRemainingDailyBudget.

This change makes data usage of this month includes the
bytes used today. And adjust the policy limit accordingly.

Test: atest MultipathPolicyTrackerTest
Bug: 204830222
Change-Id: I3ca6505f8d502047485ba3676f16fbc474117cc1
2022-01-07 06:45:56 +00:00
..
connectivity [MS17.2] Fix remaining daily budget assertion 2022-01-07 06:45:56 +00:00
net [MS32.2] Remove TetheringManager#ACTION_TETHER_STATE_CHANGED usage 2022-01-05 05:31:05 +00:00
ConnectivityServiceTest.java Added a new network capability MMTEL 2021-12-21 16:31:30 +00:00
IpSecServiceParameterizedTest.java Add makeDependencies method in IpSecService related tests 2021-12-10 12:11:20 +00:00
IpSecServiceRefcountedResourceTest.java Change to use Dependencies in IpSecService Tests 2021-11-27 00:27:33 +08:00
IpSecServiceTest.java Add makeDependencies method in IpSecService related tests 2021-12-10 12:11:20 +00:00
LegacyTypeTrackerTest.kt Re-skip connectivity unit tests before S 2021-07-05 05:01:54 +00:00
NetIdManagerTest.kt Re-skip connectivity unit tests before S 2021-07-05 05:01:54 +00:00
NetworkManagementServiceTest.java Re-skip connectivity unit tests before S 2021-07-05 05:01:54 +00:00
NsdServiceTest.java Remove NsdSettings from test 2021-12-03 22:26:39 +08:00