Lines Matching defs:template
1658 // TODO: customize default limits based on network template
1712 private static final String EXTRA_TEMPLATE = "template";
1738 final NetworkTemplate template = getArguments().getParcelable(EXTRA_TEMPLATE);
1739 final int cycleDay = editor.getPolicyCycleDay(template);
1758 editor.setPolicyCycleDay(template, cycleDay, cycleTimezone);
1771 private static final String EXTRA_TEMPLATE = "template";
1797 final NetworkTemplate template = getArguments().getParcelable(EXTRA_TEMPLATE);
1798 final long warningBytes = editor.getPolicyWarningBytes(template);
1799 final long limitBytes = editor.getPolicyLimitBytes(template);
1821 editor.setPolicyWarningBytes(template, bytes);
1834 private static final String EXTRA_TEMPLATE = "template";
1860 final NetworkTemplate template = getArguments().getParcelable(EXTRA_TEMPLATE);
1861 final long warningBytes = editor.getPolicyWarningBytes(template);
1862 final long limitBytes = editor.getPolicyLimitBytes(template);
1884 editor.setPolicyLimitBytes(template, bytes);
2125 final NetworkTemplate template = intent.getParcelableExtra(EXTRA_NETWORK_TEMPLATE);
2126 if (template == null) return null;
2128 switch (template.getMatchRule()) {