/frameworks/base/services/common_time/ |
D | common_time_config_service.cpp | 76 status_t CommonTimeConfigService::getMasterAnnounceInterval(int *interval) { in getMasterAnnounceInterval() argument 77 return mTimeServer.getMasterAnnounceInterval(interval); in getMasterAnnounceInterval() 80 status_t CommonTimeConfigService::setMasterAnnounceInterval(int interval) { in setMasterAnnounceInterval() argument 81 return mTimeServer.setMasterAnnounceInterval(interval); in setMasterAnnounceInterval() 84 status_t CommonTimeConfigService::getClientSyncInterval(int *interval) { in getClientSyncInterval() argument 85 return mTimeServer.getClientSyncInterval(interval); in getClientSyncInterval() 88 status_t CommonTimeConfigService::setClientSyncInterval(int interval) { in setClientSyncInterval() argument 89 return mTimeServer.setClientSyncInterval(interval); in setClientSyncInterval()
|
D | common_time_server_api.cpp | 167 status_t CommonTimeServer::getMasterAnnounceInterval(int *interval) { in getMasterAnnounceInterval() argument 169 *interval = mMasterAnnounceIntervalMs; in getMasterAnnounceInterval() 173 status_t CommonTimeServer::setMasterAnnounceInterval(int interval) { in setMasterAnnounceInterval() argument 176 if (interval > (6 *3600000)) // Max interval is once every 6 hrs in setMasterAnnounceInterval() 179 if (interval < 500) // Min interval is once per 0.5 seconds in setMasterAnnounceInterval() 182 mMasterAnnounceIntervalMs = interval; in setMasterAnnounceInterval() 186 (pendingTimeout > interval)) { in setMasterAnnounceInterval() 195 status_t CommonTimeServer::getClientSyncInterval(int *interval) { in getClientSyncInterval() argument 197 *interval = mSyncRequestIntervalMs; in getClientSyncInterval() 201 status_t CommonTimeServer::setClientSyncInterval(int interval) { in setClientSyncInterval() argument [all …]
|
D | common_time_config_service.h | 41 virtual status_t getMasterAnnounceInterval(int *interval); 42 virtual status_t setMasterAnnounceInterval(int interval); 43 virtual status_t getClientSyncInterval(int *interval); 44 virtual status_t setClientSyncInterval(int interval);
|
D | common_time_server.h | 67 status_t getMasterAnnounceInterval(int *interval); 68 status_t setMasterAnnounceInterval(int interval); 69 status_t getClientSyncInterval(int *interval); 70 status_t setClientSyncInterval(int interval);
|
/frameworks/av/media/common_time/ |
D | ICommonTimeConfig.cpp | 186 virtual status_t getMasterAnnounceInterval(int *interval) { in getMasterAnnounceInterval() argument 195 *interval = reply.readInt32(); in getMasterAnnounceInterval() 202 virtual status_t setMasterAnnounceInterval(int interval) { in setMasterAnnounceInterval() argument 205 data.writeInt32(interval); in setMasterAnnounceInterval() 216 virtual status_t getClientSyncInterval(int *interval) { in getClientSyncInterval() argument 225 *interval = reply.readInt32(); in getClientSyncInterval() 232 virtual status_t setClientSyncInterval(int interval) { in setClientSyncInterval() argument 235 data.writeInt32(interval); in setClientSyncInterval() 424 int interval; in onTransact() local 425 status_t status = getMasterAnnounceInterval(&interval); in onTransact() [all …]
|
/frameworks/base/core/java/android/hardware/usb/ |
D | UsbEndpoint.java | 44 public UsbEndpoint(int address, int attributes, int maxPacketSize, int interval) { in UsbEndpoint() argument 48 mInterval = interval; in UsbEndpoint() 143 int interval = in.readInt(); 144 return new UsbEndpoint(address, attributes, maxPacketSize, interval);
|
/frameworks/base/location/java/com/android/internal/location/ |
D | ProviderRequest.java | 33 public long interval = Long.MAX_VALUE; field in ProviderRequest 52 request.interval = in.readLong(); 73 parcel.writeLong(interval); in writeToParcel() 87 TimeUtils.formatDuration(interval, s); in toString()
|
/frameworks/av/include/common_time/ |
D | ICommonTimeConfig.h | 46 virtual status_t getMasterAnnounceInterval(int *interval) = 0; 47 virtual status_t setMasterAnnounceInterval(int interval) = 0; 48 virtual status_t getClientSyncInterval(int *interval) = 0; 49 virtual status_t setClientSyncInterval(int interval) = 0;
|
/frameworks/opt/net/voip/src/java/com/android/server/sip/ |
D | SipWakeupTimer.java | 97 int interval = (int) (e.mLastTriggerTime + e.mMaxPeriod in recalculatePeriods() local 99 interval = interval / minPeriod * minPeriod; in recalculatePeriods() 100 e.mTriggerTime = minTriggerTime + interval; in recalculatePeriods() 126 int interval = event.mMaxPeriod; in insertEvent() local 127 interval -= (int) (firstEvent.mTriggerTime - now); in insertEvent() 128 interval = interval / minPeriod * minPeriod; in insertEvent() 129 event.mTriggerTime = firstEvent.mTriggerTime + interval; in insertEvent()
|
D | SipService.java | 754 int interval = NAT_MEASUREMENT_RETRY_INTERVAL; in restartLater() local 756 mTimer.set(interval * 1000, this); in restartLater() 810 private void startKeepAliveProcess(int interval) { in startKeepAliveProcess() argument 811 if (SAR_DBG) log("startKeepAliveProcess: interval=" + interval); in startKeepAliveProcess() 818 mKeepAliveSession.startKeepAliveProcess(interval, this); in startKeepAliveProcess() 820 loge("startKeepAliveProcess: interval=" + interval, e); in startKeepAliveProcess() 837 int interval = getKeepAliveInterval(); in onResponse() local 841 + interval + ", past success count=" in onResponse() 844 if (interval > DEFAULT_KEEPALIVE_INTERVAL) { in onResponse() 846 mSession.getLocalProfile(), interval); in onResponse() local [all …]
|
/frameworks/base/core/java/android/os/ |
D | CommonTimeConfig.java | 251 public int setMasterAnnounceInterval(int interval) { in setMasterAnnounceInterval() argument 254 return mUtils.transactSetInt(METHOD_SET_MASTER_ANNOUNCE_INTERVAL, interval); in setMasterAnnounceInterval() 278 public int setClientSyncInterval(int interval) { in setClientSyncInterval() argument 281 return mUtils.transactSetInt(METHOD_SET_CLIENT_SYNC_INTERVAL, interval); in setClientSyncInterval()
|
/frameworks/opt/calendar/src/com/android/calendarcommon2/ |
D | EventRecurrence.java | 54 public int interval; field in EventRecurrence 361 if (this.interval != 0) { in toString() 363 s.append(this.interval); in toString() 483 interval == er.interval && in equals() 515 freq = count = interval = bysecondCount = byminuteCount = byhourCount = in resetFields() 765 er.interval = parseIntRange(value, Integer.MIN_VALUE, Integer.MAX_VALUE, true); in parsePart() 766 if (er.interval < 1) { in parsePart() 768 er.interval = 1; in parsePart()
|
/frameworks/base/core/java/android/ddm/ |
D | DdmHandleProfiling.java | 204 int interval = in.getInt(); in handleSPSS() local 207 + ", flags=" + flags + ", interval=" + interval); in handleSPSS() 211 Debug.startMethodTracingDdms(bufferSize, flags, true, interval); in handleSPSS()
|
/frameworks/base/tools/layoutlib/bridge/src/libcore/icu/ |
D | DateIntervalFormat_Delegate.java | 50 DateInterval interval = new DateInterval(fromDate, toDate); in formatDateInterval() local 53 delegate.mFormat.format(interval, sb, pos); in formatDateInterval()
|
/frameworks/base/docs/html/training/efficient-downloads/ |
D | regular_updates.jd | 58 long interval = AlarmManager.INTERVAL_HOUR; 59 long start = System.currentTimeMillis() + interval; 61 alarmManager.setInexactRepeating(alarmType, start, interval, pi);</pre> 93 <pre>private void retryIn(long interval) { 97 retryIn(interval*2 < MAX_RETRY_INTERVAL ? 98 interval*2 : MAX_RETRY_INTERVAL);
|
/frameworks/native/libs/gui/ |
D | Surface.cpp | 89 int Surface::hook_setSwapInterval(ANativeWindow* window, int interval) { in hook_setSwapInterval() argument 91 return c->setSwapInterval(interval); in hook_setSwapInterval() 161 int Surface::setSwapInterval(int interval) { in setSwapInterval() argument 167 if (interval < minSwapInterval) in setSwapInterval() 168 interval = minSwapInterval; in setSwapInterval() 170 if (interval > maxSwapInterval) in setSwapInterval() 171 interval = maxSwapInterval; in setSwapInterval() 173 mSwapIntervalZero = (interval == 0); in setSwapInterval()
|
/frameworks/ex/common/java/com/android/common/ |
D | GoogleLogTags.logtags | 78 # interval_and_nt contains both the heartbeat interval and the network type, It's represented as 79 # (networkType << 16) + interval 80 # interval is in seconds; network type can be 0 (mobile) or 1 (wifi); ip is the host ip addr.
|
/frameworks/base/services/tests/servicestests/src/com/android/server/location/ |
D | LocationBasedCountryDetectorTest.java | 347 long interval = 1000; in waitForTimerReset() local 350 Thread.sleep(interval); in waitForTimerReset() 368 long interval = 1000; in waitForQueryThreadLaunched() local 371 Thread.sleep(interval); in waitForQueryThreadLaunched()
|
/frameworks/base/core/java/android/app/ |
D | IAlarmManager.aidl | 30 long interval, in PendingIntent operation, in WorkSource workSource); in set() argument
|
/frameworks/base/location/lib/java/com/android/location/provider/ |
D | ProviderRequestUnbundled.java | 45 return mRequest.interval; in getInterval()
|
/frameworks/native/include/gui/ |
D | Surface.h | 98 static int hook_setSwapInterval(ANativeWindow* window, int interval); 131 virtual int setSwapInterval(int interval);
|
/frameworks/opt/calendar/tests/src/com/android/calendarcommon2/ |
D | EventRecurrenceTest.java | 719 int freq, String until, int count, int interval, in verifyRecurType() argument 729 || eventRecurrence.interval != interval in verifyRecurType() 738 System.out.println(" interval=" + interval); in verifyRecurType() 770 System.out.println(" interval=" + er.interval); in print()
|
/frameworks/base/services/java/com/android/server/usb/ |
D | UsbHostManager.java | 134 int interval = endpointValues[eval++]; in usbDeviceAdded() local 136 maxPacketSize, interval); in usbDeviceAdded()
|
/frameworks/base/services/java/com/android/server/ |
D | AlarmManagerService.java | 334 static long maxTriggerTime(long now, long triggerAtTime, long interval) { in maxTriggerTime() argument 339 long futurity = (interval == 0) in maxTriggerTime() 341 : interval; in maxTriggerTime() 512 public void set(int type, long triggerAtTime, long windowLength, long interval, in set() argument 520 set(type, triggerAtTime, windowLength, interval, operation, false, workSource); in set() 523 public void set(int type, long triggerAtTime, long windowLength, long interval, in set() argument 556 maxElapsed = maxTriggerTime(nowElapsed, triggerElapsed, interval); in set() 566 + " interval=" + interval + " standalone=" + isStandalone); in set() 569 interval, operation, isStandalone, true, workSource); in set() 574 long maxWhen, long interval, PendingIntent operation, boolean isStandalone, in setImplLocked() argument [all …]
|
/frameworks/native/include/ui/ |
D | FramebufferNativeWindow.h | 68 static int setSwapInterval(ANativeWindow* window, int interval);
|