Home
last modified time | relevance | path

Searched refs:expectedWarningBytes (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/utils/
DNetworkPolicyEditorTest.java72 long expectedWarningBytes = Math.min(WARNING_BYTES_LIST[i], TEST_LIMIT_BYTES); in setPolicyWarningBytes_withLimit_shouldCapWarningBytes() local
73 assertEquals(expectedWarningBytes, in setPolicyWarningBytes_withLimit_shouldCapWarningBytes()
99 long expectedWarningBytes = Math.min(testWarningBytes, TEST_LIMIT_BYTES); in setPolicyLimitBytes_warningBytesBiggerThanLimit_shouldCapWarningBytes() local
100 assertEquals(expectedWarningBytes, in setPolicyLimitBytes_warningBytesBiggerThanLimit_shouldCapWarningBytes()
/frameworks/base/services/tests/servicestests/src/com/android/server/net/
DNetworkPolicyManagerServiceTest.java1939 private void assertNetworkPolicyEquals(int expectedCycleDay, long expectedWarningBytes, in assertNetworkPolicyEquals() argument
1945 NetworkPolicy expectedPolicy = buildFakeMobilePolicy(expectedCycleDay, expectedWarningBytes, in assertNetworkPolicyEquals()