HomeSort by relevance Sort by last modified time
    Searched refs:NetworkTemplate (Results 1 - 25 of 42) sorted by null

1 2

  /frameworks/base/core/java/android/net/
NetworkTemplate.aidl 19 parcelable NetworkTemplate;
INetworkStatsSession.aidl 21 import android.net.NetworkTemplate;
27 NetworkStats getDeviceSummaryForNetwork(in NetworkTemplate template, long start, long end);
30 NetworkStats getSummaryForNetwork(in NetworkTemplate template, long start, long end);
32 NetworkStatsHistory getHistoryForNetwork(in NetworkTemplate template, int fields);
35 NetworkStats getSummaryForAllUid(in NetworkTemplate template, long start, long end, boolean includeTags);
37 NetworkStatsHistory getHistoryForUid(in NetworkTemplate template, int uid, int set, int tag, int fields);
39 NetworkStatsHistory getHistoryIntervalForUid(in NetworkTemplate template, int uid, int set, int tag, int fields, long start, long end);
NetworkTemplate.java 54 public class NetworkTemplate implements Parcelable {
83 public static NetworkTemplate buildTemplateMobileAll(String subscriberId) {
84 return new NetworkTemplate(MATCH_MOBILE_ALL, subscriberId, null);
92 public static NetworkTemplate buildTemplateMobile3gLower(String subscriberId) {
93 return new NetworkTemplate(MATCH_MOBILE_3G_LOWER, subscriberId, null);
101 public static NetworkTemplate buildTemplateMobile4g(String subscriberId) {
102 return new NetworkTemplate(MATCH_MOBILE_4G, subscriberId, null);
109 public static NetworkTemplate buildTemplateMobileWildcard() {
110 return new NetworkTemplate(MATCH_MOBILE_WILDCARD, null, null);
117 public static NetworkTemplate buildTemplateWifiWildcard()
    [all...]
DataUsageRequest.java 19 import android.net.NetworkTemplate;
45 * {@link NetworkTemplate} describing the network to monitor.
47 public final NetworkTemplate template;
54 public DataUsageRequest(int requestId, NetworkTemplate template, long thresholdInBytes) {
77 NetworkTemplate template = in.readParcelable(null);
93 + ", networkTemplate=" + template
INetworkPolicyManager.aidl 23 import android.net.NetworkTemplate;
49 void snoozeLimit(in NetworkTemplate template);
INetworkStatsService.aidl 23 import android.net.NetworkTemplate;
42 long getNetworkTotalBytes(in NetworkTemplate template, long start, long end);
NetworkPolicy.java 32 * Policy for networks matching a {@link NetworkTemplate}, including usage cycle
48 public NetworkTemplate template;
61 public NetworkPolicy(NetworkTemplate template, int cycleDay, String cycleTimezone,
67 public NetworkPolicy(NetworkTemplate template, int cycleDay, String cycleTimezone,
70 this.template = checkNotNull(template, "missing NetworkTemplate");
229 NetworkTemplate template = NetworkTemplate.getNetworkTemplateFromBackup(in);
  /packages/apps/Settings/src/com/android/settings/datausage/
DataUsageEditController.java 17 import android.net.NetworkTemplate;
30 * @return NetworkTemplate to get the currently set values of the data warning and usage limits.
32 NetworkTemplate getNetworkTemplate();
NetworkRestrictionsPreference.java 18 import android.net.NetworkTemplate;
29 public void setTemplate(NetworkTemplate template, int subId,
TemplatePreferenceCategory.java 18 import android.net.NetworkTemplate;
25 private NetworkTemplate mTemplate;
33 public void setTemplate(NetworkTemplate template, int subId,
TemplatePreference.java 19 import android.net.NetworkTemplate;
29 void setTemplate(NetworkTemplate template, int subId, NetworkServices services);
DataUsagePreference.java 19 import android.net.NetworkTemplate;
33 private NetworkTemplate mTemplate;
41 public void setTemplate(NetworkTemplate template, int subId,
BillingCyclePreference.java 20 import android.net.NetworkTemplate;
33 private NetworkTemplate mTemplate;
55 public void setTemplate(NetworkTemplate template, int subId,
DataUsageMeteredSettings.java 22 import android.net.NetworkTemplate;
109 final NetworkTemplate template = NetworkTemplate.buildTemplateMobileAll(
119 final NetworkTemplate template = NetworkTemplate.buildTemplateWifi(networkId);
126 private final NetworkTemplate mTemplate;
129 public MeteredPreference(Context context, NetworkTemplate template) {
DataUsageSummary.java 25 import android.net.NetworkTemplate;
85 private NetworkTemplate mDefaultTemplate;
191 category.setTemplate(NetworkTemplate.buildTemplateWifiWildcard(), 0, services);
199 category.setTemplate(NetworkTemplate.buildTemplateEthernet(), 0, services);
215 private NetworkTemplate getNetworkTemplate(int subscriptionId) {
216 NetworkTemplate mobileAll = NetworkTemplate.buildTemplateMobileAll(
218 return NetworkTemplate.normalize(mobileAll,
301 public NetworkTemplate getNetworkTemplate() {
326 NetworkTemplate.buildTemplateEthernet(), Long.MIN_VALUE, Long.MAX_VALUE
    [all...]
  /frameworks/base/packages/SettingsLib/src/com/android/settingslib/
NetworkPolicyEditor.java 23 import static android.net.NetworkTemplate.MATCH_WIFI;
28 import android.net.NetworkTemplate;
96 public boolean hasLimitedPolicy(NetworkTemplate template) {
101 public NetworkPolicy getOrCreatePolicy(NetworkTemplate template) {
110 public NetworkPolicy getPolicy(NetworkTemplate template) {
119 public NetworkPolicy getPolicyMaybeUnquoted(NetworkTemplate template) {
129 private static NetworkPolicy buildDefaultPolicy(NetworkTemplate template) {
151 public int getPolicyCycleDay(NetworkTemplate template) {
156 public void setPolicyCycleDay(NetworkTemplate template, int cycleDay, String cycleTimezone) {
165 public long getPolicyWarningBytes(NetworkTemplate template)
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/net/
NetworkOverLimitActivity.java 26 import android.net.NetworkTemplate;
36 import static android.net.NetworkTemplate.MATCH_MOBILE_3G_LOWER;
37 import static android.net.NetworkTemplate.MATCH_MOBILE_4G;
38 import static android.net.NetworkTemplate.MATCH_MOBILE_ALL;
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/tests/DataIdleTest/src/com/android/tests/dataidle/
DataIdleTest.java 23 import android.net.NetworkTemplate;
56 NetworkTemplate template = NetworkTemplate.buildTemplateWifiWildcard();
65 NetworkTemplate template = NetworkTemplate.buildTemplateMobileAll(subscriberId);
72 * @param template {@link NetworkTemplate} to match.
74 private void fetchStats(NetworkTemplate template) {
  /frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/
SummaryForAllUidLoader.java 23 import android.net.NetworkTemplate;
35 public static Bundle buildArgs(NetworkTemplate template, long start, long end) {
57 final NetworkTemplate template = mArgs.getParcelable(KEY_TEMPLATE);
ChartDataLoader.java 30 import android.net.NetworkTemplate;
47 public static Bundle buildArgs(NetworkTemplate template, AppItem app) {
51 public static Bundle buildArgs(NetworkTemplate template, AppItem app, int fields) {
73 final NetworkTemplate template = mArgs.getParcelable(KEY_TEMPLATE);
86 private ChartData loadInBackground(NetworkTemplate template, AppItem app, int fields)
133 NetworkTemplate template, int uid, int set, NetworkStatsHistory existing)
DataUsageController.java 26 import android.net.NetworkTemplate;
122 NetworkTemplate template = NetworkTemplate.buildTemplateMobileAll(subscriberId);
123 template = NetworkTemplate.normalize(template, mTelephonyManager.getMergedSubscriberIds());
129 NetworkTemplate template = NetworkTemplate.buildTemplateWifiWildcard();
133 public DataUsageInfo getDataUsageInfo(NetworkTemplate template) {
193 private NetworkPolicy findNetworkPolicy(NetworkTemplate template) {
  /frameworks/base/core/java/android/app/usage/
NetworkStatsManager.java 28 import android.net.NetworkTemplate;
130 NetworkTemplate template;
168 NetworkTemplate template;
205 NetworkTemplate template;
258 NetworkTemplate template;
299 NetworkTemplate template;
358 NetworkTemplate template = createTemplate(networkType, subscriberId);
412 private static NetworkTemplate createTemplate(int networkType, String subscriberId) {
413 NetworkTemplate template = null;
416 template = NetworkTemplate.buildTemplateMobileAll(subscriberId)
    [all...]
  /frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/utils/
NetworkPolicyEditorTest.java 21 import android.net.NetworkTemplate;
39 private NetworkTemplate mNetworkTemplate;
44 mNetworkTemplate = NetworkTemplate.buildTemplateMobileAll("123456789123456");
  /packages/apps/Settings/tests/robotests/src/com/android/settings/datausage/
DataUsageInfoControllerTest.java 4 import android.net.NetworkTemplate;
80 NetworkTemplate template = new NetworkTemplate(NetworkTemplate.MATCH_WIFI_WILDCARD,
  /packages/apps/Settings/src/com/android/settings/
SettingsDumpService.java 22 import android.net.NetworkTemplate;
95 NetworkTemplate mobileAll = NetworkTemplate.buildTemplateMobileAll(
104 obj.put("wifi", dumpDataUsage(NetworkTemplate.buildTemplateWifiWildcard(), controller));
107 obj.put("ethernet", dumpDataUsage(NetworkTemplate.buildTemplateEthernet(), controller));
112 private JSONObject dumpDataUsage(NetworkTemplate template, DataUsageController controller)

Completed in 5098 milliseconds

1 2