/packages/apps/Settings/src/com/android/settings/net/ |
H A D | NetworkPolicyEditor.java | 107 public boolean hasLimitedPolicy(NetworkTemplate template) { argument 108 final NetworkPolicy policy = getPolicy(template); 112 public NetworkPolicy getOrCreatePolicy(NetworkTemplate template) { argument 113 NetworkPolicy policy = getPolicy(template); 115 policy = buildDefaultPolicy(template); 121 public NetworkPolicy getPolicy(NetworkTemplate template) { argument 123 if (policy.template.equals(template)) { 130 public NetworkPolicy getPolicyMaybeUnquoted(NetworkTemplate template) { argument 131 NetworkPolicy policy = getPolicy(template); 140 buildDefaultPolicy(NetworkTemplate template) argument 162 getPolicyCycleDay(NetworkTemplate template) argument 167 setPolicyCycleDay(NetworkTemplate template, int cycleDay, String cycleTimezone) argument 176 getPolicyWarningBytes(NetworkTemplate template) argument 181 setPolicyWarningBytes(NetworkTemplate template, long warningBytes) argument 189 getPolicyLimitBytes(NetworkTemplate template) argument 194 setPolicyLimitBytes(NetworkTemplate template, long limitBytes) argument 202 getPolicyMetered(NetworkTemplate template) argument 211 setPolicyMetered(NetworkTemplate template, boolean metered) argument 356 buildUnquotedNetworkTemplate(NetworkTemplate template) argument [all...] |
H A D | ChartDataLoader.java | 40 private static final String KEY_TEMPLATE = "template"; 47 public static Bundle buildArgs(NetworkTemplate template, AppItem app) { argument 48 return buildArgs(template, app, FIELD_RX_BYTES | FIELD_TX_BYTES); 51 public static Bundle buildArgs(NetworkTemplate template, AppItem app, int fields) { argument 53 args.putParcelable(KEY_TEMPLATE, template); 73 final NetworkTemplate template = mArgs.getParcelable(KEY_TEMPLATE); 78 return loadInBackground(template, app, fields); 86 private ChartData loadInBackground(NetworkTemplate template, AppItem app, int fields) argument 89 data.network = mSession.getHistoryForNetwork(template, fields); 92 // load stats for current uid and template 132 collectHistoryForUid( NetworkTemplate template, int uid, int set, NetworkStatsHistory existing) argument [all...] |
H A D | SummaryForAllUidLoader.java | 28 private static final String KEY_TEMPLATE = "template"; 35 public static Bundle buildArgs(NetworkTemplate template, long start, long end) { argument 37 args.putParcelable(KEY_TEMPLATE, template); 57 final NetworkTemplate template = mArgs.getParcelable(KEY_TEMPLATE); 62 return mSession.getSummaryForAllUid(template, start, end, false);
|
H A D | DataUsageMeteredSettings.java | 103 final NetworkTemplate template = NetworkTemplate.buildTemplateMobileAll( 105 final MeteredPreference pref = new MeteredPreference(context, template); 112 final NetworkTemplate template = NetworkTemplate.buildTemplateWifi(networkId); 113 final MeteredPreference pref = new MeteredPreference(context, template); 122 public MeteredPreference(Context context, NetworkTemplate template) { argument 124 mTemplate = template; 129 final NetworkPolicy policy = mPolicyEditor.getPolicyMaybeUnquoted(template);
|
/packages/apps/OMA-DM/engine/dmlib/api/native/ |
H A D | dmvector.h | 26 \brief Contains DMVector and DMMap template classes definition 28 The dmvector.hpp header file contains DMVector and DMMap template classes definition. \n 29 <b>DMVector</b> template class is simple Collection Class without overhead of STL or QT\n 31 <b>DMMap</b> template class is simple Collection Class without overhead of STL or QT\n 32 DMMap template class is similar to Java's HashMap. Potentially can be slow, especially with \n 96 * DMVector template class is similar to Java's ArrayList 102 template<class type> 288 * DMMap template class is similar to Java's HashMap 296 template<class Key, class Value> 492 template<clas [all...] |
/packages/apps/OMA-DM/engine/xpl/hdr/ |
H A D | dmvector.h | 26 \brief Contains DMVector and DMMap template classes definition 28 The dmvector.hpp header file contains DMVector and DMMap template classes definition. 29 <b>DMVector</b> template class is simple Collection Class without overhead of STL or QT 31 <b>DMMap</b> template class is simple Collection Class without overhead of STL or QT 32 DMMap template class is similar to Java's HashMap. Potentially can be slow, especially with 97 * DMVector template class is similar to Java's ArrayList 103 template<class type> 289 * DMMap template class is similar to Java's HashMap 297 template<class Key, class Value> 493 template<clas [all...] |
/packages/apps/Browser/src/com/android/browser/homepages/ |
H A D | Template.java | 41 Template template = sCachedTemplates.get(id);
42 if (template == null) {
43 template = new Template(context, id);
44 sCachedTemplates.put(id, template);
47 return template.copy();
171 private Template(Context context, String template) {
argument 173 template = replaceConsts(context, template);
174 parseTemplate(context, template);
185 void parseTemplate(Context context, String template) {
argument 236 replaceConsts(Context context, String template) argument [all...] |
/packages/apps/Email/src/com/android/email/activity/setup/ |
H A D | AccountSetupFragment.java | 75 * @param contentLayout Resource ID of the main content layout to insert into the template 81 final View template = inflater.inflate(R.layout.account_setup_template, container, false); 83 TextView headlineView = UiUtilities.getView(template, R.id.headline); 92 (ViewGroup) template.findViewById(R.id.setup_fragment_content); 95 mNextButton = UiUtilities.getView(template, R.id.next); 97 mPreviousButton = UiUtilities.getView(template, R.id.previous); 99 return template;
|
/packages/apps/Gallery2/jni/filters/ |
H A D | kmeans.h | 25 template <typename T, typename N> 39 template <typename T, typename N> 47 template <typename T, typename N> 55 template <typename T, typename N> 70 template <typename T, typename N> 87 template <typename T> 122 template <typename T, typename N> 140 template <typename T, typename N> 178 template <typename T, typename N> 208 template <typenam [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
H A D | AbstractHtmlTemplates.java | 87 throw new Resources.NotFoundException("Unable to open template id=" 92 protected void append(String template, Object... args) { argument 93 mFormatter.format(template, args);
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/ |
H A D | dictionary_structure_with_buffer_policy_factory.h | 43 template<class DictConstants, class DictBuffers, class DictBuffersPtr, class StructurePolicy> 52 template<class DictConstants, class DictBuffers, class DictBuffersPtr, class StructurePolicy>
|
/packages/apps/UnifiedEmail/src/com/android/mail/lib/base/ |
H A D | Preconditions.java | 90 * @param errorMessageTemplate a template for the exception message should the 92 * placeholder in the template with an argument. These are matched by 97 * template. Arguments are converted to strings using 145 * @param errorMessageTemplate a template for the exception message should the 147 * placeholder in the template with an argument. These are matched by 152 * template. Arguments are converted to strings using 204 * @param errorMessageTemplate a template for the exception message should the 206 * placeholder in the template with an argument. These are matched by 211 * template. Arguments are converted to strings using 388 * Substitutes each {@code %s} in {@code template} wit 399 format(String template, Object... args) argument [all...] |
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/base/ |
H A D | Preconditions.java | 90 * @param errorMessageTemplate a template for the exception message should the 92 * placeholder in the template with an argument. These are matched by 97 * template. Arguments are converted to strings using 145 * @param errorMessageTemplate a template for the exception message should the 147 * placeholder in the template with an argument. These are matched by 152 * template. Arguments are converted to strings using 204 * @param errorMessageTemplate a template for the exception message should the 206 * placeholder in the template with an argument. These are matched by 211 * template. Arguments are converted to strings using 388 * Substitutes each {@code %s} in {@code template} wit 399 format(String template, Object... args) argument [all...] |
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/utils/ |
H A D | dict_file_writing_utils.h | 54 template<class DictConstants, class DictBuffers, class DictBuffersPtr>
|
/packages/apps/Settings/src/com/android/settings/applications/ |
H A D | AppOpsCategory.java | 60 public AppOpsCategory(AppOpsState.OpsTemplate template) { argument 62 args.putParcelable("template", template); 124 public AppListLoader(Context context, AppOpsState state, AppOpsState.OpsTemplate template) { argument 127 mTemplate = template; 351 AppOpsState.OpsTemplate template = null; 353 template = (AppOpsState.OpsTemplate)fargs.getParcelable("template"); 355 return new AppListLoader(getActivity(), mState, template);
|
/packages/apps/OMA-DM/engine/javaplugin/nativelib/src/ |
H A D | DmtJavaItem.h | 26 template <class T> class DmtJavaItem
|
/packages/apps/Tag/src/com/android/apps/tag/record/ |
H A D | VCardRecord.java | 93 CharSequence template = activity.getResources().getText(R.string.import_vcard); 94 String description = TextUtils.expandTemplate(template, getDisplayName()).toString(); 101 CharSequence template = context.getResources().getText(R.string.vcard_title); 102 return TextUtils.expandTemplate(template, getDisplayName()).toString();
|
/packages/inputmethods/LatinIME/native/jni/src/utils/ |
H A D | int_array_view.h | 59 template <int N>
|
/packages/inputmethods/LatinIME/tools/make-keyboard-text/src/com/android/inputmethod/keyboard/tools/ |
H A D | MoreKeysResources.java | 108 throw new RuntimeException("Can't find java template " + JAVA_TEMPLATE); 111 throw new RuntimeException("Found multiple java template " + JAVA_TEMPLATE); 113 final String template = list.get(0); 114 final String javaPackage = template.substring(0, template.lastIndexOf('/')); 127 lnr = new LineNumberReader(new InputStreamReader(JarUtils.openResource(template)));
|
/packages/apps/Music/src/com/android/music/ |
H A D | CreatePlaylist.java | 130 String template = getString(R.string.new_playlist_name_template); 147 suggestedname = String.format(template, num++); 161 suggestedname = String.format(template, num++);
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/ |
H A D | VendorPolicyLoader.java | 235 * @param email user-specified data used to replace template values 249 * @param email user-specified data used to replace template values 262 * Replaces all parameterized values in the given template. The values replaced are 265 private String expandTemplate(String template, String email, String user) { argument 266 String returnString = template;
|
/packages/apps/Settings/src/com/android/settings/ |
H A D | DataUsageSummary.java | 1801 // TODO: customize default limits based on network template 1855 private static final String EXTRA_TEMPLATE = "template"; 1881 final NetworkTemplate template = getArguments().getParcelable(EXTRA_TEMPLATE); 1882 final int cycleDay = editor.getPolicyCycleDay(template); 1901 editor.setPolicyCycleDay(template, cycleDay, cycleTimezone); 1914 private static final String EXTRA_TEMPLATE = "template"; 1940 final NetworkTemplate template = getArguments().getParcelable(EXTRA_TEMPLATE); 1941 final long warningBytes = editor.getPolicyWarningBytes(template); 1942 final long limitBytes = editor.getPolicyLimitBytes(template); 1964 editor.setPolicyWarningBytes(template, byte [all...] |
/packages/inputmethods/LatinIME/native/jni/src/ |
H A D | defines.h | 42 template <typename T, int N>
|
/packages/apps/Settings/src/com/android/settings/widget/ |
H A D | ChartSweepView.java | 258 final CharSequence template = getResources().getText(mLabelTemplateRes); 265 mLabelTemplate = new SpannableStringBuilder(template);
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
H A D | TextCandidatesViewManager.java | 880 TextView template = mViewCandidateTemplate; 881 textLength += template.getPaddingLeft() + template.getPaddingRight();
|