/frameworks/base/core/java/android/net/ |
NetworkTemplate.aidl | 19 parcelable NetworkTemplate;
|
INetworkStatsSession.aidl | 21 import android.net.NetworkTemplate; 27 NetworkStats getSummaryForNetwork(in NetworkTemplate template, long start, long end); 29 NetworkStatsHistory getHistoryForNetwork(in NetworkTemplate template, int fields); 32 NetworkStats getSummaryForAllUid(in NetworkTemplate template, long start, long end, boolean includeTags); 34 NetworkStatsHistory getHistoryForUid(in NetworkTemplate template, int uid, int set, int tag, int fields);
|
NetworkTemplate.java | 49 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...] |
INetworkStatsService.aidl | 22 import android.net.NetworkTemplate; 31 long getNetworkTotalBytes(in NetworkTemplate template, long start, long end);
|
INetworkPolicyManager.aidl | 23 import android.net.NetworkTemplate; 51 void snoozeLimit(in NetworkTemplate template);
|
NetworkPolicy.java | 27 * Policy for networks matching a {@link NetworkTemplate}, including usage cycle 38 public NetworkTemplate template; 51 public NetworkPolicy(NetworkTemplate template, int cycleDay, String cycleTimezone, 57 public NetworkPolicy(NetworkTemplate template, int cycleDay, String cycleTimezone, 60 this.template = checkNotNull(template, "missing NetworkTemplate");
|
/packages/apps/Settings/src/com/android/settings/net/ |
NetworkPolicyEditor.java | 23 import static android.net.NetworkTemplate.MATCH_WIFI; 28 import android.net.NetworkTemplate; 94 public boolean hasLimitedPolicy(NetworkTemplate template) { 99 public NetworkPolicy getOrCreatePolicy(NetworkTemplate template) { 108 public NetworkPolicy getPolicy(NetworkTemplate template) { 117 public NetworkPolicy getPolicyMaybeUnquoted(NetworkTemplate template) { 127 private static NetworkPolicy buildDefaultPolicy(NetworkTemplate template) { 149 public int getPolicyCycleDay(NetworkTemplate template) { 154 public void setPolicyCycleDay(NetworkTemplate template, int cycleDay, String cycleTimezone) { 163 public long getPolicyWarningBytes(NetworkTemplate template) [all...] |
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)
|
DataUsageMeteredSettings.java | 28 import android.net.NetworkTemplate; 103 final NetworkTemplate template = NetworkTemplate.buildTemplateMobileAll( 112 final NetworkTemplate template = NetworkTemplate.buildTemplateWifi(networkId); 119 private final NetworkTemplate mTemplate; 122 public MeteredPreference(Context context, 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/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/services/tests/servicestests/src/com/android/server/net/ |
NetworkStatsCollectionTest.java | 22 import static android.net.NetworkTemplate.buildTemplateMobileAll; 28 import android.net.NetworkTemplate; 59 NetworkTemplate.forceAllNetworkTypes(); 173 NetworkTemplate template, long rxBytes, long rxPackets, long txBytes, long txPackets) { 180 NetworkTemplate template, long rxBytes, long rxPackets, long txBytes, long txPackets) {
|
/frameworks/base/services/core/java/com/android/server/net/ |
NetworkStatsCollection.java | 32 import android.net.NetworkTemplate; 139 NetworkTemplate template, int uid, int set, int tag, int fields) { 148 NetworkTemplate template, int uid, int set, int tag, int fields, long start, long end) { 167 public NetworkStats getSummary(NetworkTemplate template, long start, long end) { 492 dumpCheckin(pw, start, end, NetworkTemplate.buildTemplateMobileWildcard(), "cell"); 493 dumpCheckin(pw, start, end, NetworkTemplate.buildTemplateWifiWildcard(), "wifi"); 494 dumpCheckin(pw, start, end, NetworkTemplate.buildTemplateEthernet(), "eth"); 495 dumpCheckin(pw, start, end, NetworkTemplate.buildTemplateBluetooth(), "bt"); 500 * together all matching {@link NetworkTemplate} under a single prefix. 502 private void dumpCheckin(PrintWriter pw, long start, long end, NetworkTemplate groupTemplate [all...] |
NetworkPolicyManagerService.java | 49 import static android.net.NetworkTemplate.MATCH_ETHERNET; 50 import static android.net.NetworkTemplate.MATCH_MOBILE_3G_LOWER; 51 import static android.net.NetworkTemplate.MATCH_MOBILE_4G; 52 import static android.net.NetworkTemplate.MATCH_MOBILE_ALL; 53 import static android.net.NetworkTemplate.MATCH_WIFI; 54 import static android.net.NetworkTemplate.buildTemplateMobileAll; 105 import android.net.NetworkTemplate; 206 private static final String ATTR_NETWORK_TEMPLATE = "networkTemplate"; 258 final ArrayMap<NetworkTemplate, NetworkPolicy> mNetworkPolicy = new ArrayMap<>(); 276 private final ArraySet<NetworkTemplate> mOverLimitNotified = new ArraySet<>() [all...] |
NetworkStatsService.java | 36 import static android.net.NetworkTemplate.buildTemplateMobileWildcard; 37 import static android.net.NetworkTemplate.buildTemplateWifiWildcard; 86 import android.net.NetworkTemplate; 461 NetworkTemplate template, long start, long end) { 466 public NetworkStatsHistory getHistoryForNetwork(NetworkTemplate template, int fields) { 472 NetworkTemplate template, long start, long end, boolean includeTags) { 484 NetworkTemplate template, int uid, int set, int tag, int fields) { 505 NetworkTemplate template, long start, long end) { 515 private NetworkStatsHistory internalGetHistoryForNetwork(NetworkTemplate template, int fields) { 522 public long getNetworkTotalBytes(NetworkTemplate template, long start, long end) [all...] |
NetworkStatsRecorder.java | 27 import android.net.NetworkTemplate; 117 public NetworkStats.Entry getTotalSinceBootLocked(NetworkTemplate template) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
MobileDataControllerImpl.java | 33 import android.net.NetworkTemplate; 116 NetworkTemplate template = NetworkTemplate.buildTemplateMobileAll(subscriberId); 117 template = NetworkTemplate.normalize(template, mTelephonyManager.getMergedSubscriberIds()); 173 private NetworkPolicy findNetworkPolicy(NetworkTemplate template) {
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
NetworkStatsServiceTest.java | 32 import static android.net.NetworkTemplate.buildTemplateMobileAll; 33 import static android.net.NetworkTemplate.buildTemplateWifiWildcard; 63 import android.net.NetworkTemplate; 98 private static NetworkTemplate sTemplateWifi = buildTemplateWifiWildcard(); 99 private static NetworkTemplate sTemplateImsi1 = buildTemplateMobileAll(IMSI_1); 100 private static NetworkTemplate sTemplateImsi2 = buildTemplateMobileAll(IMSI_2); [all...] |
NetworkPolicyManagerServiceTest.java | 68 import android.net.NetworkTemplate; 109 private static NetworkTemplate sTemplateWifi = NetworkTemplate.buildTemplateWifi(TEST_SSID); [all...] |
/packages/apps/Settings/src/com/android/settings/ |
DataUsageSummary.java | 30 import static android.net.NetworkTemplate.MATCH_MOBILE_3G_LOWER; 31 import static android.net.NetworkTemplate.MATCH_MOBILE_4G; 32 import static android.net.NetworkTemplate.MATCH_MOBILE_ALL; 33 import static android.net.NetworkTemplate.MATCH_WIFI; 34 import static android.net.NetworkTemplate.buildTemplateEthernet; 35 import static android.net.NetworkTemplate.buildTemplateMobile3gLower; 36 import static android.net.NetworkTemplate.buildTemplateMobile4g; 37 import static android.net.NetworkTemplate.buildTemplateMobileAll; 38 import static android.net.NetworkTemplate.buildTemplateWifiWildcard; 79 import android.net.NetworkTemplate; [all...] |
/external/chromium_org/third_party/android_platform/webview/ |
frameworks.jar | |