Home
last modified time | relevance | path

Searched defs:template (Results 1 – 25 of 46) sorted by relevance

12

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DNetworkPolicyEditor.java96 public boolean hasLimitedPolicy(NetworkTemplate template) { in hasLimitedPolicy()
101 public NetworkPolicy getOrCreatePolicy(NetworkTemplate template) { in getOrCreatePolicy()
110 public NetworkPolicy getPolicy(NetworkTemplate template) { in getPolicy()
119 public NetworkPolicy getPolicyMaybeUnquoted(NetworkTemplate template) { in getPolicyMaybeUnquoted()
129 private static NetworkPolicy buildDefaultPolicy(NetworkTemplate template) { in buildDefaultPolicy()
151 public int getPolicyCycleDay(NetworkTemplate template) { in getPolicyCycleDay()
156 public void setPolicyCycleDay(NetworkTemplate template, int cycleDay, String cycleTimezone) { in setPolicyCycleDay()
165 public long getPolicyWarningBytes(NetworkTemplate template) { in getPolicyWarningBytes()
170 private void setPolicyWarningBytesInner(NetworkTemplate template, long warningBytes) { in setPolicyWarningBytesInner()
178 public void setPolicyWarningBytes(NetworkTemplate template, long warningBytes) { in setPolicyWarningBytes()
[all …]
/frameworks/base/core/java/android/net/
DINetworkStatsSession.aidl27 NetworkStats getDeviceSummaryForNetwork(in NetworkTemplate template, long start, long end); in getDeviceSummaryForNetwork()
30 NetworkStats getSummaryForNetwork(in NetworkTemplate template, long start, long end); in getSummaryForNetwork()
32 NetworkStatsHistory getHistoryForNetwork(in NetworkTemplate template, int fields); in getHistoryForNetwork()
35 …NetworkStats getSummaryForAllUid(in NetworkTemplate template, long start, long end, boolean includ… in getSummaryForAllUid()
37 …NetworkStatsHistory getHistoryForUid(in NetworkTemplate template, int uid, int set, int tag, int f… in getHistoryForUid()
39 …NetworkStatsHistory getHistoryIntervalForUid(in NetworkTemplate template, int uid, int set, int ta… in getHistoryIntervalForUid()
DDataUsageRequest.java47 public final NetworkTemplate template; field in DataUsageRequest
54 public DataUsageRequest(int requestId, NetworkTemplate template, long thresholdInBytes) { in DataUsageRequest()
DNetworkPolicy.java48 public NetworkTemplate template; field in NetworkPolicy
61 public NetworkPolicy(NetworkTemplate template, int cycleDay, String cycleTimezone, in NetworkPolicy()
67 public NetworkPolicy(NetworkTemplate template, int cycleDay, String cycleTimezone, in NetworkPolicy()
229 NetworkTemplate template = NetworkTemplate.getNetworkTemplateFromBackup(in); in getNetworkPolicyFromBackup() local
DINetworkStatsService.aidl42 long getNetworkTotalBytes(in NetworkTemplate template, long start, long end); in getNetworkTotalBytes()
/frameworks/base/packages/SystemUI/src/com/android/systemui/net/
DNetworkOverLimitActivity.java52 final NetworkTemplate template = getIntent().getParcelableExtra(EXTRA_NETWORK_TEMPLATE); in onCreate() local
76 private void snoozePolicy(NetworkTemplate template) { in snoozePolicy()
86 private static int getLimitedDialogTitleForTemplate(NetworkTemplate template) { in getLimitedDialogTitleForTemplate()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/
DChartDataLoader.java47 public static Bundle buildArgs(NetworkTemplate template, AppItem app) { in buildArgs()
51 public static Bundle buildArgs(NetworkTemplate template, AppItem app, int fields) { in buildArgs()
73 final NetworkTemplate template = mArgs.getParcelable(KEY_TEMPLATE); in loadInBackground() local
86 private ChartData loadInBackground(NetworkTemplate template, AppItem app, int fields) in loadInBackground()
133 NetworkTemplate template, int uid, int set, NetworkStatsHistory existing) in collectHistoryForUid()
DSummaryForAllUidLoader.java35 public static Bundle buildArgs(NetworkTemplate template, long start, long end) { in buildArgs()
57 final NetworkTemplate template = mArgs.getParcelable(KEY_TEMPLATE); in loadInBackground() local
DDataUsageController.java122 NetworkTemplate template = NetworkTemplate.buildTemplateMobileAll(subscriberId); in getDataUsageInfo() local
129 NetworkTemplate template = NetworkTemplate.buildTemplateWifiWildcard(); in getWifiDataUsageInfo() local
133 public DataUsageInfo getDataUsageInfo(NetworkTemplate template) { in getDataUsageInfo()
193 private NetworkPolicy findNetworkPolicy(NetworkTemplate template) { in findNetworkPolicy()
/frameworks/base/core/java/android/app/usage/
DNetworkStatsManager.java130 NetworkTemplate template; in querySummaryForDevice() local
168 NetworkTemplate template; in querySummaryForUser() local
205 NetworkTemplate template; in querySummary() local
258 NetworkTemplate template; in queryDetailsForUidTag() local
299 NetworkTemplate template; in queryDetails() local
358 NetworkTemplate template = createTemplate(networkType, subscriberId); in registerUsageCallback() local
413 NetworkTemplate template = null; in createTemplate() local
/frameworks/base/tests/DataIdleTest/src/com/android/tests/dataidle/
DDataIdleTest.java56 NetworkTemplate template = NetworkTemplate.buildTemplateWifiWildcard(); in testWifiIdle() local
65 NetworkTemplate template = NetworkTemplate.buildTemplateMobileAll(subscriberId); in testMobile() local
74 private void fetchStats(NetworkTemplate template) { in fetchStats()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/
DTemplateLayout.java55 public TemplateLayout(Context context, int template, int containerId) { in TemplateLayout()
73 private void init(int template, int containerId, AttributeSet attrs, int defStyleAttr) { in init()
158 protected View onInflateTemplate(LayoutInflater inflater, @LayoutRes int template) { in onInflateTemplate()
181 @LayoutRes int template) { in inflateTemplate()
DGlifListLayout.java52 public GlifListLayout(Context context, int template) { in GlifListLayout()
56 public GlifListLayout(Context context, int template, int containerId) { in GlifListLayout()
88 protected View onInflateTemplate(LayoutInflater inflater, int template) { in onInflateTemplate()
DSetupWizardListLayout.java44 public SetupWizardListLayout(Context context, int template) { in SetupWizardListLayout()
48 public SetupWizardListLayout(Context context, int template, int containerId) { in SetupWizardListLayout()
74 protected View onInflateTemplate(LayoutInflater inflater, int template) { in onInflateTemplate()
DGlifLayout.java84 public GlifLayout(Context context, int template) { in GlifLayout()
88 public GlifLayout(Context context, int template, int containerId) { in GlifLayout()
146 protected View onInflateTemplate(LayoutInflater inflater, @LayoutRes int template) { in onInflateTemplate()
DSetupWizardLayout.java59 public SetupWizardLayout(Context context, int template) { in SetupWizardLayout()
63 public SetupWizardLayout(Context context, int template, int containerId) { in SetupWizardLayout()
171 protected View onInflateTemplate(LayoutInflater inflater, int template) { in onInflateTemplate()
/frameworks/opt/setupwizard/library/full-support/src/com/android/setupwizardlib/
DGlifRecyclerLayout.java47 public GlifRecyclerLayout(Context context, int template) { in GlifRecyclerLayout()
51 public GlifRecyclerLayout(Context context, int template, int containerId) { in GlifRecyclerLayout()
83 protected View onInflateTemplate(LayoutInflater inflater, int template) { in onInflateTemplate()
DSetupWizardPreferenceLayout.java71 public SetupWizardPreferenceLayout(Context context, int template, int containerId) { in SetupWizardPreferenceLayout()
100 protected View onInflateTemplate(LayoutInflater inflater, int template) { in onInflateTemplate()
DGlifPreferenceLayout.java72 public GlifPreferenceLayout(Context context, int template, int containerId) { in GlifPreferenceLayout()
101 protected View onInflateTemplate(LayoutInflater inflater, int template) { in onInflateTemplate()
DSetupWizardRecyclerLayout.java50 public SetupWizardRecyclerLayout(Context context, int template, int containerId) { in SetupWizardRecyclerLayout()
111 protected View onInflateTemplate(LayoutInflater inflater, int template) { in onInflateTemplate()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkStatsService.java523 public NetworkStats getDeviceSummaryForNetwork(NetworkTemplate template, long start, in createSession()
547 NetworkTemplate template, long start, long end) { in createSession()
553 public NetworkStatsHistory getHistoryForNetwork(NetworkTemplate template, int fields) { in createSession()
560 NetworkTemplate template, long start, long end, boolean includeTags) { in createSession()
580 NetworkTemplate template, int uid, int set, int tag, int fields) { in createSession()
593 NetworkTemplate template, int uid, int set, int tag, int fields, in createSession()
626 NetworkTemplate template, long start, long end, in internalGetSummaryForNetwork()
637 private NetworkStatsHistory internalGetHistoryForNetwork(NetworkTemplate template, int fields, in internalGetHistoryForNetwork()
645 public long getNetworkTotalBytes(NetworkTemplate template, long start, long end) { in getNetworkTotalBytes()
1169 NetworkTemplate template; in performSampleLocked() local
DNetworkStatsCollection.java169 NetworkTemplate template, int uid, int set, int tag, int fields, in getHistory()
180 NetworkTemplate template, int uid, int set, int tag, int fields, long start, long end, in getHistory()
191 NetworkTemplate template, int uid, int set, int tag, int fields, long start, long end, in getHistory()
219 public NetworkStats getSummary(NetworkTemplate template, long start, long end, in getSummary()
228 public NetworkStats getSummary(NetworkTemplate template, long start, long end, in getSummary()
636 private static boolean templateMatches(NetworkTemplate template, NetworkIdentitySet identSet) { in templateMatches()
DNetworkPolicyManagerService.java1029 static NetworkPolicy newWifiPolicy(NetworkTemplate template, boolean metered) { in newWifiPolicy()
1109 private boolean isTemplateRelevant(NetworkTemplate template) { in isTemplateRelevant()
1134 private void notifyOverLimitNL(NetworkTemplate template) { in notifyOverLimitNL()
1136 mContext.startActivity(buildNetworkOverLimitIntent(mContext.getResources(), template)); in notifyOverLimitNL() local
1141 private void notifyUnderLimitNL(NetworkTemplate template) { in notifyUnderLimitNL()
1327 final NetworkTemplate template = mNetworkPolicy.keyAt(i); in maybeUpdateMobilePolicyCycleNL() local
1754 final NetworkTemplate template = mNetworkPolicy.keyAt(i); in ensureActiveMobilePolicyAL() local
1801 final NetworkTemplate template = buildTemplateMobileAll(subscriberId); in buildDefaultMobilePolicy() local
1899 final NetworkTemplate template = new NetworkTemplate(networkTemplate, in readPolicyAL() local
2010 final NetworkTemplate template = policy.template; in writePolicyAL() local
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/net/
DNetworkStatsCollectionTest.java239 NetworkTemplate template, long rxBytes, long rxPackets, long txBytes, long txPackets, in assertSummaryTotal()
248 NetworkTemplate template, long rxBytes, long rxPackets, long txBytes, long txPackets) { in assertSummaryTotalIncludingTags()
DNetworkStatsServiceTest.java960 private void assertNetworkTotal(NetworkTemplate template, long rxBytes, long rxPackets, in assertNetworkTotal()
966 private void assertNetworkTotal(NetworkTemplate template, long start, long end, long rxBytes, in assertNetworkTotal()
978 private void assertUidTotal(NetworkTemplate template, int uid, long rxBytes, long rxPackets, in assertUidTotal()
984 private void assertUidTotal(NetworkTemplate template, int uid, int set, int metered, in assertUidTotal()

12