OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:MB_IN_BYTES
(Results
1 - 10
of
10
) sorted by null
/packages/apps/Settings/src/com/android/settings/widget/
ChartDataUsageView.java
20
import static android.net.TrafficStats.
MB_IN_BYTES
;
137
mSweepWarning.setDragInterval(5 *
MB_IN_BYTES
);
138
mSweepLimit.setDragInterval(5 *
MB_IN_BYTES
);
240
final long maxDefault = Math.max(maxVisible, 50 *
MB_IN_BYTES
);
608
if (value < 1000 *
MB_IN_BYTES
) {
610
unitFactor =
MB_IN_BYTES
;
/frameworks/base/services/java/com/android/server/net/
NetworkStatsRecorder.java
21
import static android.net.TrafficStats.
MB_IN_BYTES
;
77
private long mPersistThresholdBytes = 2 *
MB_IN_BYTES
;
106
thresholdBytes, 1 * KB_IN_BYTES, 100 *
MB_IN_BYTES
);
NetworkStatsService.java
41
import static android.net.TrafficStats.
MB_IN_BYTES
;
247
private long mPersistThreshold = 2 *
MB_IN_BYTES
;
673
mPersistThreshold = MathUtils.constrain(thresholdBytes, 128 * KB_IN_BYTES, 2 *
MB_IN_BYTES
);
[
all
...]
NetworkPolicyManagerService.java
54
import static android.net.TrafficStats.
MB_IN_BYTES
;
[
all
...]
/frameworks/base/core/java/android/net/
TrafficStats.java
50
public static final long
MB_IN_BYTES
= KB_IN_BYTES * 1024;
52
public static final long GB_IN_BYTES =
MB_IN_BYTES
* 1024;
/frameworks/base/services/tests/servicestests/src/com/android/server/
NetworkPolicyManagerServiceTest.java
32
import static android.net.TrafficStats.
MB_IN_BYTES
;
618
expectSetInterfaceQuota(TEST_IFACE, (2 *
MB_IN_BYTES
) - 512);
626
sTemplateWifi, CYCLE_DAY, TIMEZONE_UTC, 1 *
MB_IN_BYTES
, 2 *
MB_IN_BYTES
, false));
685
*
MB_IN_BYTES
, 2 *
MB_IN_BYTES
, false));
704
expectSetInterfaceQuota(TEST_IFACE, 2 *
MB_IN_BYTES
);
740
.addIfaceValues(TEST_IFACE, 5 *
MB_IN_BYTES
, 512L, 0L, 0L);
[
all
...]
NetworkStatsServiceTest.java
34
import static android.net.TrafficStats.
MB_IN_BYTES
;
[
all
...]
/frameworks/base/core/java/android/os/storage/
StorageManager.java
19
import static android.net.TrafficStats.
MB_IN_BYTES
;
618
private static final long DEFAULT_THRESHOLD_MAX_BYTES = 500 *
MB_IN_BYTES
;
619
private static final long DEFAULT_FULL_THRESHOLD_BYTES =
MB_IN_BYTES
;
/frameworks/base/core/tests/coretests/src/android/net/
NetworkStatsHistoryTest.java
28
import static android.net.TrafficStats.
MB_IN_BYTES
;
404
assertEquals(40 *
MB_IN_BYTES
, performVarLong(40 *
MB_IN_BYTES
));
/packages/apps/Settings/src/com/android/settings/
DataUsageSummary.java
40
import static android.net.TrafficStats.
MB_IN_BYTES
;
[
all
...]
Completed in 67 milliseconds