OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:NetworkTemplate
(Results
1 - 15
of
15
) sorted by null
/frameworks/base/core/java/android/net/
NetworkTemplate.aidl
19
parcelable
NetworkTemplate
;
INetworkStatsService.aidl
21
import android.net.
NetworkTemplate
;
27
NetworkStatsHistory getHistoryForNetwork(in
NetworkTemplate
template, int fields);
29
NetworkStatsHistory getHistoryForUid(in
NetworkTemplate
template, int uid, int set, int tag, int fields);
32
NetworkStats getSummaryForNetwork(in
NetworkTemplate
template, long start, long end);
34
NetworkStats getSummaryForAllUid(in
NetworkTemplate
template, long start, long end, boolean includeTags);
NetworkTemplate.java
42
public class
NetworkTemplate
implements Parcelable {
69
public static
NetworkTemplate
buildTemplateMobileAll(String subscriberId) {
70
return new
NetworkTemplate
(MATCH_MOBILE_ALL, subscriberId);
78
public static
NetworkTemplate
buildTemplateMobile3gLower(String subscriberId) {
79
return new
NetworkTemplate
(MATCH_MOBILE_3G_LOWER, subscriberId);
87
public static
NetworkTemplate
buildTemplateMobile4g(String subscriberId) {
88
return new
NetworkTemplate
(MATCH_MOBILE_4G, subscriberId);
95
public static
NetworkTemplate
buildTemplateWifi() {
96
return new
NetworkTemplate
(MATCH_WIFI, null);
103
public static
NetworkTemplate
buildTemplateEthernet()
[
all
...]
INetworkPolicyManager.aidl
23
import android.net.
NetworkTemplate
;
46
void snoozePolicy(in
NetworkTemplate
template);
NetworkPolicy.java
27
* Policy for networks matching a {@link
NetworkTemplate
}, including usage cycle
37
public final
NetworkTemplate
template;
45
public NetworkPolicy(
NetworkTemplate
template, int cycleDay, long warningBytes, long limitBytes,
47
this.template = checkNotNull(template, "missing
NetworkTemplate
");
/packages/apps/Settings/src/com/android/settings/net/
NetworkPolicyEditor.java
22
import static android.net.
NetworkTemplate
.MATCH_MOBILE_3G_LOWER;
23
import static android.net.
NetworkTemplate
.MATCH_MOBILE_4G;
24
import static android.net.
NetworkTemplate
.MATCH_WIFI;
25
import static android.net.
NetworkTemplate
.buildTemplateMobile3gLower;
26
import static android.net.
NetworkTemplate
.buildTemplateMobile4g;
27
import static android.net.
NetworkTemplate
.buildTemplateMobileAll;
32
import android.net.
NetworkTemplate
;
119
public boolean hasLimitedPolicy(
NetworkTemplate
template) {
124
public NetworkPolicy getOrCreatePolicy(
NetworkTemplate
template) {
133
public NetworkPolicy getPolicy(
NetworkTemplate
template)
[
all
...]
ChartDataLoader.java
29
import android.net.
NetworkTemplate
;
44
public static Bundle buildArgs(
NetworkTemplate
template, int[] uids) {
48
public static Bundle buildArgs(
NetworkTemplate
template, int[] uids, int fields) {
70
final
NetworkTemplate
template = mArgs.getParcelable(KEY_TEMPLATE);
83
private ChartData loadInBackground(
NetworkTemplate
template, int[] uids, int fields)
125
NetworkTemplate
template, int uid, int set, NetworkStatsHistory existing)
SummaryForAllUidLoader.java
23
import android.net.
NetworkTemplate
;
35
public static Bundle buildArgs(
NetworkTemplate
template, long start, long end) {
58
final
NetworkTemplate
template = mArgs.getParcelable(KEY_TEMPLATE);
/frameworks/base/tests/DataIdleTest/src/com/android/tests/dataidle/
DataIdleTest.java
21
import android.net.
NetworkTemplate
;
55
NetworkTemplate
template =
NetworkTemplate
.buildTemplateWifi();
64
NetworkTemplate
template =
NetworkTemplate
.buildTemplateMobileAll(subscriberId);
71
* @param template {link {@link
NetworkTemplate
} to match.
73
private void fetchStats(
NetworkTemplate
template) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/net/
NetworkOverLimitActivity.java
20
import static android.net.
NetworkTemplate
.MATCH_MOBILE_3G_LOWER;
21
import static android.net.
NetworkTemplate
.MATCH_MOBILE_4G;
22
import static android.net.
NetworkTemplate
.MATCH_MOBILE_ALL;
31
import android.net.
NetworkTemplate
;
41
* Notify user that a {@link
NetworkTemplate
} is over its
52
final
NetworkTemplate
template = getIntent().getParcelableExtra(EXTRA_NETWORK_TEMPLATE);
76
private void snoozePolicy(
NetworkTemplate
template) {
86
private static int getLimitedDialogTitleForTemplate(
NetworkTemplate
template) {
/frameworks/base/services/java/com/android/server/net/
NetworkPolicyManagerService.java
46
import static android.net.
NetworkTemplate
.MATCH_ETHERNET;
47
import static android.net.
NetworkTemplate
.MATCH_MOBILE_3G_LOWER;
48
import static android.net.
NetworkTemplate
.MATCH_MOBILE_4G;
49
import static android.net.
NetworkTemplate
.MATCH_MOBILE_ALL;
50
import static android.net.
NetworkTemplate
.MATCH_WIFI;
51
import static android.net.
NetworkTemplate
.buildTemplateMobileAll;
88
import android.net.
NetworkTemplate
;
172
private static final String ATTR_NETWORK_TEMPLATE = "
networkTemplate
";
212
private HashMap<
NetworkTemplate
, NetworkPolicy> mNetworkPolicy = Maps.newHashMap();
224
private HashSet<
NetworkTemplate
> mOverLimitNotified = Sets.newHashSet()
[
all
...]
NetworkStatsService.java
36
import static android.net.
NetworkTemplate
.buildTemplateMobileAll;
37
import static android.net.
NetworkTemplate
.buildTemplateWifi;
77
import android.net.
NetworkTemplate
;
369
public NetworkStatsHistory getHistoryForNetwork(
NetworkTemplate
template, int fields) {
374
private NetworkStatsHistory getHistoryForNetworkDev(
NetworkTemplate
template, int fields) {
378
private NetworkStatsHistory getHistoryForNetworkXt(
NetworkTemplate
template, int fields) {
382
private NetworkStatsHistory getHistoryForNetwork(
NetworkTemplate
template, int fields,
402
NetworkTemplate
template, int uid, int set, int tag, int fields) {
425
public NetworkStats getSummaryForNetwork(
NetworkTemplate
template, long start, long end) {
430
private NetworkStats getSummaryForNetworkDev(
NetworkTemplate
template, long start, long end)
[
all
...]
/frameworks/base/services/tests/servicestests/src/com/android/server/
NetworkStatsServiceTest.java
32
import static android.net.
NetworkTemplate
.buildTemplateMobileAll;
33
import static android.net.
NetworkTemplate
.buildTemplateWifi;
61
import android.net.
NetworkTemplate
;
91
private static
NetworkTemplate
sTemplateWifi = buildTemplateWifi();
92
private static
NetworkTemplate
sTemplateImsi1 = buildTemplateMobileAll(IMSI_1);
93
private static
NetworkTemplate
sTemplateImsi2 = buildTemplateMobileAll(IMSI_2);
753
private void assertNetworkTotal(
NetworkTemplate
template, long rxBytes, long rxPackets,
760
private void assertUidTotal(
NetworkTemplate
template, int uid, long rxBytes, long rxPackets,
765
private void assertUidTotal(
NetworkTemplate
template, int uid, int set, long rxBytes,
[
all
...]
NetworkPolicyManagerServiceTest.java
65
import android.net.
NetworkTemplate
;
103
private static
NetworkTemplate
sTemplateWifi =
NetworkTemplate
.buildTemplateWifi();
[
all
...]
/packages/apps/Settings/src/com/android/settings/
DataUsageSummary.java
29
import static android.net.
NetworkTemplate
.MATCH_MOBILE_3G_LOWER;
30
import static android.net.
NetworkTemplate
.MATCH_MOBILE_4G;
31
import static android.net.
NetworkTemplate
.MATCH_MOBILE_ALL;
32
import static android.net.
NetworkTemplate
.MATCH_WIFI;
33
import static android.net.
NetworkTemplate
.buildTemplateEthernet;
34
import static android.net.
NetworkTemplate
.buildTemplateMobile3gLower;
35
import static android.net.
NetworkTemplate
.buildTemplateMobile4g;
36
import static android.net.
NetworkTemplate
.buildTemplateMobileAll;
37
import static android.net.
NetworkTemplate
.buildTemplateWifi;
72
import android.net.
NetworkTemplate
;
[
all
...]
Completed in 147 milliseconds