Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DNetworkPolicyEditor.java99 public boolean hasLimitedPolicy(NetworkTemplate template) { in hasLimitedPolicy()
104 public NetworkPolicy getOrCreatePolicy(NetworkTemplate template) { in getOrCreatePolicy()
113 public NetworkPolicy getPolicy(NetworkTemplate template) { in getPolicy()
122 public NetworkPolicy getPolicyMaybeUnquoted(NetworkTemplate template) { in getPolicyMaybeUnquoted()
132 private static NetworkPolicy buildDefaultPolicy(NetworkTemplate template) { in buildDefaultPolicy()
151 public int getPolicyCycleDay(NetworkTemplate template) { in getPolicyCycleDay()
161 public void setPolicyCycleDay(NetworkTemplate template, int cycleDay, String cycleTimezone) { in setPolicyCycleDay()
169 public long getPolicyWarningBytes(NetworkTemplate template) { in getPolicyWarningBytes()
174 private void setPolicyWarningBytesInner(NetworkTemplate template, long warningBytes) { in setPolicyWarningBytesInner()
182 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()
DNetworkPolicy.java52 public NetworkTemplate template; field in NetworkPolicy
73 public NetworkPolicy(NetworkTemplate template, int cycleDay, String cycleTimezone, in NetworkPolicy()
80 public NetworkPolicy(NetworkTemplate template, int cycleDay, String cycleTimezone, in NetworkPolicy()
88 public NetworkPolicy(NetworkTemplate template, RecurrenceRule cycleRule, long warningBytes, in NetworkPolicy()
95 public NetworkPolicy(NetworkTemplate template, RecurrenceRule cycleRule, long warningBytes, in NetworkPolicy()
264 final NetworkTemplate template = NetworkTemplate.getNetworkTemplateFromBackup(in); in getNetworkPolicyFromBackup() local
DDataUsageRequest.java47 public final NetworkTemplate template; field in DataUsageRequest
54 public DataUsageRequest(int requestId, NetworkTemplate template, long thresholdInBytes) { in DataUsageRequest()
/frameworks/base/packages/SystemUI/src/com/android/systemui/net/
DNetworkOverLimitActivity.java50 final NetworkTemplate template = getIntent().getParcelableExtra(EXTRA_NETWORK_TEMPLATE); in onCreate() local
74 private void snoozePolicy(NetworkTemplate template) { in snoozePolicy()
84 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.java116 NetworkTemplate template = NetworkTemplate.buildTemplateMobileAll(subscriberId); in getDataUsageInfo() local
123 NetworkTemplate template = NetworkTemplate.buildTemplateWifiWildcard(); in getWifiDataUsageInfo() local
127 public DataUsageInfo getDataUsageInfo(NetworkTemplate template) { in getDataUsageInfo()
179 private NetworkPolicy findNetworkPolicy(NetworkTemplate template) { in findNetworkPolicy()
/frameworks/base/cmds/statsd/tools/loadtest/src/com/android/statsd/loadtest/
DConfigFactory.java171 private void addEventMetric(EventMetric template, int suffix, StatsdConfig.Builder config) { in addEventMetric()
190 private void addCountMetric(CountMetric template, int suffix, TimeUnit bucket, in addCountMetric()
211 private void addDurationMetric(DurationMetric template, int suffix, TimeUnit bucket, in addDurationMetric()
232 private void addGaugeMetric(GaugeMetric template, int suffix, TimeUnit bucket, in addGaugeMetric()
253 private void addValueMetric(ValueMetric template, int suffix, TimeUnit bucket, in addValueMetric()
274 private void addPredicate(Predicate template, int suffix, StatsdConfig.Builder config) { in addPredicate()
301 private void addMatcher(AtomMatcher template, int suffix, StatsdConfig.Builder config) { in addMatcher()
/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/base/core/java/android/app/usage/
DNetworkStatsManager.java166 public Bucket querySummaryForDevice(NetworkTemplate template, in querySummaryForDevice()
201 NetworkTemplate template; in querySummaryForDevice() local
234 NetworkTemplate template; in querySummaryForUser() local
271 NetworkTemplate template; in querySummary() local
338 NetworkTemplate template; in queryDetailsForUidTagState() local
381 NetworkTemplate template; in queryDetails() local
396 public void registerUsageCallback(NetworkTemplate template, int networkType, in registerUsageCallback()
454 NetworkTemplate template = createTemplate(networkType, subscriberId); in registerUsageCallback() local
500 final NetworkTemplate template; in createTemplate() local
/frameworks/base/core/java/android/service/autofill/
DInternalTransformation.java50 abstract void apply(@NonNull ValueFinder finder, @NonNull RemoteViews template, in apply()
64 public static boolean batchApply(@NonNull ValueFinder finder, @NonNull RemoteViews template, in batchApply()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkStatsManagerInternal.java24 public abstract long getNetworkTotalBytes(NetworkTemplate template, long start, long end); in getNetworkTotalBytes()
27 public abstract NetworkStats getNetworkUidBytes(NetworkTemplate template, long start, long end); in getNetworkUidBytes()
DNetworkStatsService.java597 NetworkTemplate template, long start, long end) { in openSessionInternal()
604 NetworkTemplate template, long start, long end) { in openSessionInternal()
610 public NetworkStatsHistory getHistoryForNetwork(NetworkTemplate template, int fields) { in openSessionInternal()
617 NetworkTemplate template, long start, long end, boolean includeTags) { in openSessionInternal()
636 NetworkTemplate template, int uid, int set, int tag, int fields) { in openSessionInternal()
649 NetworkTemplate template, int uid, int set, int tag, int fields, in openSessionInternal()
682 private SubscriptionPlan resolveSubscriptionPlan(NetworkTemplate template, int flags) { in resolveSubscriptionPlan()
703 private NetworkStats internalGetSummaryForNetwork(NetworkTemplate template, int flags, in internalGetSummaryForNetwork()
724 private NetworkStatsHistory internalGetHistoryForNetwork(NetworkTemplate template, in internalGetHistoryForNetwork()
736 private long getNetworkTotalBytes(NetworkTemplate template, long start, long end) { in getNetworkTotalBytes()
[all …]
DNetworkPolicyManagerService.java1222 private @Nullable ApplicationInfo findRapidBlame(NetworkTemplate template, in findRapidBlame()
1266 private int findRelevantSubIdNL(NetworkTemplate template) { in findRelevantSubIdNL()
1285 private void notifyOverLimitNL(NetworkTemplate template) { in notifyOverLimitNL()
1287 mContext.startActivity(buildNetworkOverLimitIntent(mContext.getResources(), template)); in notifyOverLimitNL() local
1292 private void notifyUnderLimitNL(NetworkTemplate template) { in notifyUnderLimitNL()
1470 final NetworkTemplate template = mNetworkPolicy.keyAt(i); in maybeUpdateMobilePolicyCycleAL() local
1982 final NetworkTemplate template = mNetworkPolicy.keyAt(i); in ensureActiveMobilePolicyAL() local
2015 final NetworkTemplate template = buildTemplateMobileAll(subscriberId); in buildDefaultMobilePolicy() local
2184 final NetworkTemplate template = new NetworkTemplate(networkTemplate, in readPolicyAL() local
2370 final NetworkTemplate template = policy.template; in writePolicyAL() local
[all …]
/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()
160 protected View onInflateTemplate(LayoutInflater inflater, @LayoutRes int template) { in onInflateTemplate()
183 @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.java86 public GlifLayout(Context context, int template) { in GlifLayout()
90 public GlifLayout(Context context, int template, int containerId) { in GlifLayout()
159 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/recyclerview/src/com/android/setupwizardlib/
DSetupWizardPreferenceLayout.java70 public SetupWizardPreferenceLayout(Context context, int template, int containerId) { in SetupWizardPreferenceLayout()
99 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()
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()
DSetupWizardRecyclerLayout.java50 public SetupWizardRecyclerLayout(Context context, int template, int containerId) { in SetupWizardRecyclerLayout()
111 protected View onInflateTemplate(LayoutInflater inflater, int template) { in onInflateTemplate()
/frameworks/base/tests/net/java/android/app/usage/
DNetworkStatsManagerTest.java114 NetworkTemplate template = inv.getArgument(0); in testQueryDetails() local
125 NetworkTemplate template = inv.getArgument(0); in testQueryDetails() local

12