Lines Matching refs:param
80 * @param storage to use for recording the state of operations across restarts/reboots
101 * @param spec describing some or all scheduler options.
102 * @param options to update with parsed values.
108 for (String param : spec.split(" +")) {
109 if (param.length() == 0) continue;
110 if (param.startsWith("backoff=")) {
111 String[] pieces = param.substring(8).split("\\+");
124 } else if (param.startsWith("max=")) {
125 options.maxMoratoriumMillis = parseSeconds(param.substring(4));
126 } else if (param.startsWith("min=")) {
127 options.minTriggerMillis = parseSeconds(param.substring(4));
128 } else if (param.startsWith("period=")) {
129 options.periodicIntervalMillis = parseSeconds(param.substring(7));
131 options.periodicIntervalMillis = parseSeconds(param);
137 private static long parseSeconds(String param) throws NumberFormatException {
138 return (long) (Float.parseFloat(param) * 1000);
145 * @param options to use for this computation.
223 * @param name of SharedPreferences key
224 * @param max time to allow in result
241 * @param millis wall clock time ({@link System#currentTimeMillis()}) to
253 * @param millis wall clock time ({@link System#currentTimeMillis()})
267 * @param retryAfter moratorium time in HTTP format
290 * @param enabled if operations can be performed