Searched defs:interval (Results 1 - 25 of 27) sorted by relevance

12

/frameworks/base/location/java/com/android/internal/location/
H A DProviderRequest.java32 /** The smallest requested interval */
33 public long interval = Long.MAX_VALUE; field in class:ProviderRequest
39 * is a high power slow interval request and a
40 * low power fast interval request.
52 request.interval = in.readLong();
73 parcel.writeLong(interval);
86 s.append(" interval=");
87 TimeUtils.formatDuration(interval, s);
/frameworks/base/core/java/android/app/
H A DProfilerInfo.java36 /* Indicates sample profiling when nonzero, interval in microseconds. */
42 public ProfilerInfo(String filename, ParcelFileDescriptor fd, int interval, boolean autoStop) { argument
45 samplingInterval = interval;
/frameworks/base/core/java/android/hardware/usb/
H A DUsbEndpoint.java43 public UsbEndpoint(int address, int attributes, int maxPacketSize, int interval) { argument
47 mInterval = interval;
122 * Returns the endpoint's interval field.
124 * @return the endpoint's interval
142 int interval = in.readInt();
143 return new UsbEndpoint(address, attributes, maxPacketSize, interval);
/frameworks/base/libs/common_time/
H A Dcommon_time_config_service.cpp76 status_t CommonTimeConfigService::getMasterAnnounceInterval(int *interval) { argument
77 return mTimeServer.getMasterAnnounceInterval(interval);
80 status_t CommonTimeConfigService::setMasterAnnounceInterval(int interval) { argument
81 return mTimeServer.setMasterAnnounceInterval(interval);
84 status_t CommonTimeConfigService::getClientSyncInterval(int *interval) { argument
85 return mTimeServer.getClientSyncInterval(interval);
88 status_t CommonTimeConfigService::setClientSyncInterval(int interval) { argument
89 return mTimeServer.setClientSyncInterval(interval);
H A Dcommon_time_server_api.cpp169 status_t CommonTimeServer::getMasterAnnounceInterval(int *interval) { argument
171 *interval = mMasterAnnounceIntervalMs;
175 status_t CommonTimeServer::setMasterAnnounceInterval(int interval) { argument
178 if (interval > (6 *3600000)) // Max interval is once every 6 hrs
181 if (interval < 500) // Min interval is once per 0.5 seconds
184 mMasterAnnounceIntervalMs = interval;
188 (pendingTimeout > interval)) {
197 status_t CommonTimeServer::getClientSyncInterval(int *interval) { argument
203 setClientSyncInterval(int interval) argument
[all...]
/frameworks/av/media/common_time/
H A DICommonTimeConfig.cpp186 virtual status_t getMasterAnnounceInterval(int *interval) { argument
195 *interval = reply.readInt32();
202 virtual status_t setMasterAnnounceInterval(int interval) { argument
205 data.writeInt32(interval);
216 virtual status_t getClientSyncInterval(int *interval) { argument
225 *interval = reply.readInt32();
232 virtual status_t setClientSyncInterval(int interval) { argument
235 data.writeInt32(interval);
424 int interval; local
425 status_t status = getMasterAnnounceInterval(&interval);
435 int interval = data.readInt32(); local
443 int interval; local
454 int interval = data.readInt32(); local
[all...]
/frameworks/base/libs/hwui/debug/
H A Dnullegl.cpp113 EGLBoolean eglSwapInterval(EGLDisplay dpy, EGLint interval) { argument
/frameworks/base/services/core/java/com/android/server/
H A DNetworkTimeUpdateService.java51 * interval and then resets to checking on longer intervals.
91 // Try-again polling interval, in case the network request failed
231 * Cancel old alarm and starts a new one for the specified interval.
233 * @param interval when to trigger the alarm, starting from now.
235 private void resetAlarm(long interval) { argument
238 long next = now + interval;
H A DAlarmManagerService.java219 // Minimum alarm recurrence interval
706 // Apply a heuristic to { recurrence interval, futurity of the trigger time } to
708 static long maxTriggerTime(long now, long triggerAtTime, long interval) { argument
709 // Current heuristic: batchable window is 75% of either the recurrence interval
711 // with a minimum delay/interval of 10 seconds, under which we will simply not
713 long futurity = (interval == 0)
715 : interval;
1013 void setImpl(int type, long triggerAtTime, long windowLength, long interval, argument
1034 // Sanity check the recurrence interval. This will catch people who supply
1037 if (interval >
1085 setImplLocked(int type, long when, long whenElapsed, long windowLength, long maxWhen, long interval, PendingIntent operation, IAlarmListener directReceiver, String listenerTag, int flags, boolean doValidate, WorkSource workSource, AlarmManager.AlarmClockInfo alarmClock, int callingUid, String callingPackage) argument
[all...]
/frameworks/base/services/core/java/com/android/server/connectivity/
H A DKeepaliveTracker.java102 KeepalivePacketData packet, int interval) {
110 mInterval = interval;
131 .append(" interval=" + mInterval)
101 KeepaliveInfo(Messenger messenger, IBinder binder, NetworkAgentInfo nai, KeepalivePacketData packet, int interval) argument
/frameworks/base/services/usb/java/com/android/server/usb/
H A DUsbHostManager.java200 private void addUsbEndpoint(int address, int attributes, int maxPacketSize, int interval) { argument
201 mNewEndpoints.add(new UsbEndpoint(address, attributes, maxPacketSize, interval));
/frameworks/opt/calendar/tests/src/com/android/calendarcommon2/
H A DEventRecurrenceTest.java42 /* int interval */ 0,
63 /* int interval */ 0,
84 /* int interval */ 0,
105 /* int interval */ 0,
126 /* int interval */ 0,
147 /* int interval */ 0,
168 /* int interval */ 0,
190 /* int interval */ 0,
212 /* int interval */ 0,
234 /* int interval */ 500
718 verifyRecurType(String recur, int freq, String until, int count, int interval, int[] bysecond, int[] byminute, int[] byhour, int[] byday, int[] bydayNum, int[] bymonthday, int[] byyearday, int[] byweekno, int[] bymonth, int[] bysetpos, int wkst) argument
[all...]
/frameworks/base/core/java/android/os/
H A DCommonTimeConfig.java246 * @param interval The time (in milliseconds) between master announcements.
250 public int setMasterAnnounceInterval(int interval) { argument
253 return mUtils.transactSetInt(METHOD_SET_MASTER_ANNOUNCE_INTERVAL, interval);
273 * @param interval The time (in milliseconds) between time sync requests.
277 public int setClientSyncInterval(int interval) { argument
280 return mUtils.transactSetInt(METHOD_SET_CLIENT_SYNC_INTERVAL, interval);
/frameworks/base/services/usage/java/com/android/server/usage/
H A DUserUsageStatsService.java427 ") for interval " + intervalType);
435 currentTimeMillis + ") for interval " + intervalType);
476 for (int interval = 0; interval < mCurrentStats.length; interval++) {
478 pw.print(intervalToString(interval));
480 printIntervalStats(pw, mCurrentStats[interval], true);
558 private static String intervalToString(int interval) { argument
559 switch (interval) {
/frameworks/av/media/libmediaplayerservice/
H A DMediaPlayerService.h57 static const int interval; member in class:android::Antagonizer
H A DMediaPlayerService.cpp1334 const int Antagonizer::interval = 10000; // 10 msecs member in class:android::Antagonizer
1359 usleep(interval);
/frameworks/av/services/camera/libcameraservice/device1/
H A DCameraHardwareInterface.h743 static int __set_swap_interval(struct preview_stream_ops *w, int interval) argument
747 hw->mPreviewSwapInterval = interval;
748 return a->setSwapInterval(a, interval);
/frameworks/base/core/jni/
H A Dandroid_opengl_EGL14.cpp964 /* EGLBoolean eglSwapInterval ( EGLDisplay dpy, EGLint interval ) */
967 (JNIEnv *_env, jobject _this, jobject dpy, jint interval) {
973 (EGLint)interval
966 android_eglSwapInterval(JNIEnv *_env, jobject _this, jobject dpy, jint interval) argument
/frameworks/opt/calendar/src/com/android/calendarcommon2/
H A DEventRecurrence.java54 public int interval; field in class:EventRecurrence
361 if (this.interval != 0) {
363 s.append(this.interval);
483 interval == er.interval &&
515 freq = count = interval = bysecondCount = byminuteCount = byhourCount =
765 er.interval = parseIntRange(value, Integer.MIN_VALUE, Integer.MAX_VALUE, true);
766 if (er.interval < 1) {
768 er.interval = 1;
/frameworks/base/wifi/java/android/net/wifi/
H A DRttManager.java402 * valid only if numberBurst > 1, interval between burst(100ms).
406 public int interval; field in class:RttManager.RttParams
512 dest.writeInt(params.interval);
543 params[i].interval = in.readInt();
/frameworks/native/libs/gui/
H A DSurface.cpp136 int Surface::hook_setSwapInterval(ANativeWindow* window, int interval) { argument
138 return c->setSwapInterval(interval);
213 int Surface::setSwapInterval(int interval) { argument
216 // interval is silently clamped to minimum and maximum implementation
219 if (interval < minSwapInterval)
220 interval = minSwapInterval;
222 if (interval > maxSwapInterval)
223 interval = maxSwapInterval;
225 mSwapIntervalZero = (interval == 0);
/frameworks/native/opengl/libs/EGL/
H A DeglApi.cpp535 // the EGL spec requires that a new EGLSurface default to swap interval
1255 EGLBoolean eglSwapInterval(EGLDisplay dpy, EGLint interval) argument
1265 res = cnx->egl.eglSwapInterval(dp->disp.dpy, interval);
/frameworks/opt/net/voip/src/java/com/android/server/sip/
H A DSipService.java388 log(" reset min interval to " + minInterval);
660 // Don't start measurement if the interval is too small
662 if (SKAI_DBG) log("start: measurement aborted; interval=[" +
668 if (SKAI_DBG) log("start: interval=" + mInterval);
704 if (SKAI_DBG) log("restart: interval=" + mInterval);
725 // update the interval, since the current interval is good to
737 // Since the rport is changed, shorten the interval.
745 // measurement with min interval=DEFAULT_KEEPALIVE_INTERVAL
753 // calculate the new interval an
837 startKeepAliveProcess(int interval) argument
[all...]
H A DSipSessionGroup.java1492 // @param interval in seconds
1493 public void startKeepAliveProcess(int interval, argument
1496 startKeepAliveProcess(interval, mLocalProfile, callback);
1501 // @param interval in seconds
1502 public void startKeepAliveProcess(int interval, SipProfile peerProfile, argument
1512 mSipKeepAlive.start(interval, callback);
1536 // @param interval in seconds
1537 void start(int interval, KeepAliveProcessCallback callback) { argument
1540 mInterval = interval;
1542 mWakeupTimer.set(interval * 100
[all...]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DWifiNative.java1176 public boolean p2pExtListen(boolean enable, int period, int interval) { argument
1177 if (enable && interval < period) {
1181 + (enable ? (" " + period + " " + interval) : ""));

Completed in 844 milliseconds

12