/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 | 175 public Bucket querySummaryForDevice(NetworkTemplate template, in querySummaryForDevice() 210 NetworkTemplate template; in querySummaryForDevice() local 243 NetworkTemplate template; in querySummaryForUser() local 280 NetworkTemplate template; in querySummary() local 292 public NetworkStats querySummary(NetworkTemplate template, long startTime, in querySummary() 313 public NetworkStats queryDetailsForUid(NetworkTemplate template, in queryDetailsForUid() 360 NetworkTemplate template; in queryDetailsForUidTagState() local 367 public NetworkStats queryDetailsForUidTagState(NetworkTemplate template, in queryDetailsForUidTagState() 410 NetworkTemplate template; in queryDetails() local 425 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/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/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 | 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 | 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 | 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()
|
D | SetupWizardLayout.java | 58 public SetupWizardLayout(Context context, int template) { in SetupWizardLayout() 62 public SetupWizardLayout(Context context, int template, int containerId) { in SetupWizardLayout() 168 protected View onInflateTemplate(LayoutInflater inflater, int template) { in onInflateTemplate()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkStatsManagerInternal.java | 25 public abstract long getNetworkTotalBytes(NetworkTemplate template, long start, long end); in getNetworkTotalBytes() 28 public abstract NetworkStats getNetworkUidBytes(NetworkTemplate template, long start, long end); in getNetworkUidBytes()
|
D | NetworkPolicyManagerService.java | 1257 private @Nullable ApplicationInfo findRapidBlame(NetworkTemplate template, in findRapidBlame() 1302 private int findRelevantSubIdNL(NetworkTemplate template) { in findRelevantSubIdNL() 1322 private void notifyOverLimitNL(NetworkTemplate template) { in notifyOverLimitNL() 1324 mContext.startActivity(buildNetworkOverLimitIntent(mContext.getResources(), template)); in notifyOverLimitNL() local 1330 private void notifyUnderLimitNL(NetworkTemplate template) { in notifyUnderLimitNL() 1541 final NetworkTemplate template = mNetworkPolicy.keyAt(i); in maybeUpdateMobilePolicyCycleAL() local 2065 final NetworkTemplate template = mNetworkPolicy.keyAt(i); in ensureActiveMobilePolicyAL() local 2098 final NetworkTemplate template = buildTemplateMobileAll(subscriberId); in buildDefaultMobilePolicy() local 2269 final NetworkTemplate template = new NetworkTemplate(networkTemplate, in readPolicyAL() local 2457 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()
|