Home
last modified time | relevance | path

Searched refs:getByteLimit (Results 1 – 8 of 8) sorted by relevance

/packages/modules/NetworkStack/apishim/30/com/android/networkstack/apishim/api30/
DCaptivePortalDataShimImpl.java106 public long getByteLimit() { in getByteLimit() method in CaptivePortalDataShimImpl
107 return mData.getByteLimit(); in getByteLimit()
/packages/modules/NetworkStack/apishim/common/com/android/networkstack/apishim/common/
DCaptivePortalDataShim.java37 long getByteLimit(); in getByteLimit() method
/packages/modules/NetworkStack/src/com/android/networkstack/metrics/
DNetworkValidationMetrics.java212 ConnectivityUtils.saturatedCast(capportData.getByteLimit() / 1000)) in addProbeEvent()
/packages/modules/Connectivity/framework/src/android/net/
DCaptivePortalData.java285 public long getByteLimit() { in getByteLimit() method in CaptivePortalData
/packages/modules/NetworkStack/tests/unit/src/com/android/networkstack/metrics/
DNetworkValidationMetricsTest.java214 assertEquals(captivePortalData.getByteLimit() / 1000, capportData.getRemainingBytes()); in testNetworkValidationMetrics_VerifyCollectMetrics()
/packages/modules/Connectivity/framework/api/
Dsystem-current.txt16 method public long getByteLimit();
/packages/modules/Connectivity/service/src/com/android/server/
DConnectivityService.java9127 if (apiData.getExpiryTimeMillis() >= 0 || apiData.getByteLimit() >= 0) {
9132 captivePortalBuilder.setBytesRemaining(apiData.getByteLimit());
9134 } else if (naData.getExpiryTimeMillis() < 0 && naData.getByteLimit() < 0) {
/packages/modules/NetworkStack/tests/unit/src/com/android/server/connectivity/
DNetworkMonitorTest.java1561 assertEquals(bytesRemaining, p.getByteLimit());