/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
D | NetworkPolicyEditor.java | 99 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/ |
D | INetworkStatsSession.aidl | 27 NetworkStats getDeviceSummaryForNetwork(in NetworkTemplate template, long start, long end); in getDeviceSummaryForNetwork() 31 NetworkStats getSummaryForNetwork(in NetworkTemplate template, long start, long end); in getSummaryForNetwork() 34 NetworkStatsHistory getHistoryForNetwork(in NetworkTemplate template, int fields); in getHistoryForNetwork() 38 …NetworkStats getSummaryForAllUid(in NetworkTemplate template, long start, long end, boolean includ… in getSummaryForAllUid() 41 …NetworkStatsHistory getHistoryForUid(in NetworkTemplate template, int uid, int set, int tag, int f… in getHistoryForUid() 43 …NetworkStatsHistory getHistoryIntervalForUid(in NetworkTemplate template, int uid, int set, int ta… in getHistoryIntervalForUid()
|
D | NetworkPolicy.java | 54 public NetworkTemplate template; field in NetworkPolicy 79 public NetworkPolicy(NetworkTemplate template, int cycleDay, String cycleTimezone, in NetworkPolicy() 87 public NetworkPolicy(NetworkTemplate template, int cycleDay, String cycleTimezone, in NetworkPolicy() 95 public NetworkPolicy(NetworkTemplate template, RecurrenceRule cycleRule, long warningBytes, in NetworkPolicy() 102 public NetworkPolicy(NetworkTemplate template, RecurrenceRule cycleRule, long warningBytes, in NetworkPolicy() 276 final NetworkTemplate template = NetworkTemplate.getNetworkTemplateFromBackup(in); in getNetworkPolicyFromBackup() local
|
D | DataUsageRequest.java | 47 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/ |
D | NetworkOverLimitActivity.java | 50 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/ |
D | ChartDataLoader.java | 50 public static Bundle buildArgs(NetworkTemplate template, AppItem app) { in buildArgs() 54 public static Bundle buildArgs(NetworkTemplate template, AppItem app, int fields) { in buildArgs() 76 final NetworkTemplate template = mArgs.getParcelable(KEY_TEMPLATE); in loadInBackground() local 89 private ChartData loadInBackground(NetworkTemplate template, AppItem app, int fields) in loadInBackground() 136 NetworkTemplate template, int uid, int set, NetworkStatsHistory existing) in collectHistoryForUid()
|
D | DataUsageController.java | 113 NetworkTemplate template = DataUsageUtils.getMobileTemplate(mContext, mSubscriptionId); in getDataUsageInfo() local 119 NetworkTemplate template = NetworkTemplate.buildTemplateWifiWildcard(); in getWifiDataUsageInfo() local 123 public DataUsageInfo getDataUsageInfo(NetworkTemplate template) { in getDataUsageInfo() 166 public long getHistoricalUsageLevel(NetworkTemplate template) { in getHistoricalUsageLevel() 170 private long getUsageLevel(NetworkTemplate template, long start, long end) { in getUsageLevel() 183 private NetworkPolicy findNetworkPolicy(NetworkTemplate template) { in findNetworkPolicy()
|
D | SummaryForAllUidLoader.java | 41 public static Bundle buildArgs(NetworkTemplate template, long start, long end) { in buildArgs() 63 final NetworkTemplate template = mArgs.getParcelable(KEY_TEMPLATE); in loadInBackground() local
|
/frameworks/base/core/java/android/app/usage/ |
D | NetworkStatsManager.java | 168 public Bucket querySummaryForDevice(NetworkTemplate template, in querySummaryForDevice() 203 NetworkTemplate template; in querySummaryForDevice() local 236 NetworkTemplate template; in querySummaryForUser() local 273 NetworkTemplate template; in querySummary() local 285 public NetworkStats querySummary(NetworkTemplate template, long startTime, in querySummary() 306 public NetworkStats queryDetailsForUid(NetworkTemplate template, in queryDetailsForUid() 353 NetworkTemplate template; in queryDetailsForUidTagState() local 360 public NetworkStats queryDetailsForUidTagState(NetworkTemplate template, in queryDetailsForUidTagState() 403 NetworkTemplate template; in queryDetails() local 418 public void registerUsageCallback(NetworkTemplate template, int networkType, in registerUsageCallback() [all …]
|
/frameworks/base/cmds/statsd/tools/loadtest/src/com/android/statsd/loadtest/ |
D | ConfigFactory.java | 171 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/ |
D | DataIdleTest.java | 56 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/ |
D | TemplateLayout.java | 53 public TemplateLayout(Context context, int template, int containerId) { in TemplateLayout() 71 private void init(int template, int containerId, AttributeSet attrs, int defStyleAttr) { in init() 166 LayoutInflater inflater, @StyleRes int fallbackTheme, @LayoutRes int template) { in inflateTemplate() 187 protected View onInflateTemplate(LayoutInflater inflater, @LayoutRes int template) { in onInflateTemplate()
|
D | SetupWizardListLayout.java | 41 public SetupWizardListLayout(Context context, int template) { in SetupWizardListLayout() 45 public SetupWizardListLayout(Context context, int template, int containerId) { in SetupWizardListLayout() 71 protected View onInflateTemplate(LayoutInflater inflater, int template) { in onInflateTemplate()
|
D | GlifListLayout.java | 45 public GlifListLayout(Context context, int template) { in GlifListLayout() 49 public GlifListLayout(Context context, int template, int containerId) { in GlifListLayout() 81 protected View onInflateTemplate(LayoutInflater inflater, int template) { in onInflateTemplate()
|
D | GlifLayout.java | 83 public GlifLayout(Context context, int template) { in GlifLayout() 87 public GlifLayout(Context context, int template, int containerId) { in GlifLayout() 155 protected View onInflateTemplate(LayoutInflater inflater, @LayoutRes int template) { in onInflateTemplate()
|
/frameworks/base/core/java/android/service/autofill/ |
D | InternalTransformation.java | 48 abstract void apply(@NonNull ValueFinder finder, @NonNull RemoteViews template, in apply() 60 public static boolean batchApply(@NonNull ValueFinder finder, @NonNull RemoteViews template, in batchApply()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkStatsManagerInternal.java | 24 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()
|
D | NetworkStatsService.java | 616 NetworkTemplate template, long start, long end) { in openSessionInternal() 623 NetworkTemplate template, long start, long end) { in openSessionInternal() 629 public NetworkStatsHistory getHistoryForNetwork(NetworkTemplate template, int fields) { in openSessionInternal() 636 NetworkTemplate template, long start, long end, boolean includeTags) { in openSessionInternal() 655 NetworkTemplate template, int uid, int set, int tag, int fields) { in openSessionInternal() 668 NetworkTemplate template, int uid, int set, int tag, int fields, in openSessionInternal() 701 private SubscriptionPlan resolveSubscriptionPlan(NetworkTemplate template, int flags) { in resolveSubscriptionPlan() 722 private NetworkStats internalGetSummaryForNetwork(NetworkTemplate template, int flags, in internalGetSummaryForNetwork() 743 private NetworkStatsHistory internalGetHistoryForNetwork(NetworkTemplate template, in internalGetHistoryForNetwork() 755 private long getNetworkTotalBytes(NetworkTemplate template, long start, long end) { in getNetworkTotalBytes() [all …]
|
D | NetworkPolicyManagerService.java | 1250 private @Nullable ApplicationInfo findRapidBlame(NetworkTemplate template, in findRapidBlame() 1295 private int findRelevantSubIdNL(NetworkTemplate template) { in findRelevantSubIdNL() 1315 private void notifyOverLimitNL(NetworkTemplate template) { in notifyOverLimitNL() 1317 mContext.startActivity(buildNetworkOverLimitIntent(mContext.getResources(), template)); in notifyOverLimitNL() local 1323 private void notifyUnderLimitNL(NetworkTemplate template) { in notifyUnderLimitNL() 1529 final NetworkTemplate template = mNetworkPolicy.keyAt(i); in maybeUpdateMobilePolicyCycleAL() local 2046 final NetworkTemplate template = mNetworkPolicy.keyAt(i); in ensureActiveMobilePolicyAL() local 2079 final NetworkTemplate template = buildTemplateMobileAll(subscriberId); in buildDefaultMobilePolicy() local 2250 final NetworkTemplate template = new NetworkTemplate(networkTemplate, in readPolicyAL() local 2438 final NetworkTemplate template = policy.template; in writePolicyAL() local [all …]
|
/frameworks/opt/setupwizard/library/recyclerview/src/com/android/setupwizardlib/ |
D | GlifPreferenceLayout.java | 72 public GlifPreferenceLayout(Context context, int template, int containerId) { in GlifPreferenceLayout() 99 protected View onInflateTemplate(LayoutInflater inflater, int template) { in onInflateTemplate()
|
D | SetupWizardPreferenceLayout.java | 71 public SetupWizardPreferenceLayout(Context context, int template, int containerId) { in SetupWizardPreferenceLayout() 98 protected View onInflateTemplate(LayoutInflater inflater, int template) { in onInflateTemplate()
|
D | GlifRecyclerLayout.java | 46 public GlifRecyclerLayout(Context context, int template) { in GlifRecyclerLayout() 50 public GlifRecyclerLayout(Context context, int template, int containerId) { in GlifRecyclerLayout() 82 protected View onInflateTemplate(LayoutInflater inflater, int template) { in onInflateTemplate()
|
D | SetupWizardRecyclerLayout.java | 47 public SetupWizardRecyclerLayout(Context context, int template, int containerId) { in SetupWizardRecyclerLayout() 101 protected View onInflateTemplate(LayoutInflater inflater, int template) { in onInflateTemplate()
|
/frameworks/base/tests/net/java/android/app/usage/ |
D | NetworkStatsManagerTest.java | 114 NetworkTemplate template = inv.getArgument(0); in testQueryDetails() local 125 NetworkTemplate template = inv.getArgument(0); in testQueryDetails() local
|
/frameworks/base/apct-tests/perftests/utils/src/android/perftests/utils/ |
D | ShellHelper.java | 37 public static String runShellCommand(@NonNull String template, Object...args) { in runShellCommand()
|