/frameworks/base/core/java/android/bluetooth/le/ |
D | PeriodicAdvertisingParameters.java | 33 private final int interval; field in PeriodicAdvertisingParameters 35 private PeriodicAdvertisingParameters(boolean includeTxPower, int interval) { in PeriodicAdvertisingParameters() argument 37 this.interval = interval; in PeriodicAdvertisingParameters() 42 interval = in.readInt(); in PeriodicAdvertisingParameters() 54 public int getInterval() { return interval; } in getInterval() 64 dest.writeInt(interval); in writeToParcel() 83 private int interval = INTERVAL_MAX; field in PeriodicAdvertisingParameters.Builder 100 public Builder setInterval(int interval) { in setInterval() argument 101 if (interval < INTERVAL_MIN || interval > INTERVAL_MAX) { in setInterval() 105 this.interval = interval; in setInterval() [all …]
|
D | AdvertisingSetParameters.java | 107 private final int interval; field in AdvertisingSetParameters 113 int interval, int txPowerLevel) { in AdvertisingSetParameters() argument 121 this.interval = interval; in AdvertisingSetParameters() 133 interval = in.readInt(); in AdvertisingSetParameters() 175 public int getInterval() { return interval; } in getInterval() 190 + ", interval=" + interval in toString() 208 dest.writeInt(interval); in writeToParcel() 237 private int interval = INTERVAL_LOW; field in AdvertisingSetParameters.Builder 359 public Builder setInterval(int interval) { in setInterval() argument 360 if (interval < INTERVAL_MIN || interval > INTERVAL_MAX) { in setInterval() [all …]
|
/frameworks/base/libs/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 | 169 status_t CommonTimeServer::getMasterAnnounceInterval(int *interval) { in getMasterAnnounceInterval() argument 171 *interval = mMasterAnnounceIntervalMs; in getMasterAnnounceInterval() 175 status_t CommonTimeServer::setMasterAnnounceInterval(int interval) { in setMasterAnnounceInterval() argument 178 if (interval > (6 *3600000)) // Max interval is once every 6 hrs in setMasterAnnounceInterval() 181 if (interval < 500) // Min interval is once per 0.5 seconds in setMasterAnnounceInterval() 184 mMasterAnnounceIntervalMs = interval; in setMasterAnnounceInterval() 188 (pendingTimeout > interval)) { in setMasterAnnounceInterval() 197 status_t CommonTimeServer::getClientSyncInterval(int *interval) { in getClientSyncInterval() argument 199 *interval = mSyncRequestIntervalMs; in getClientSyncInterval() 203 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/rs/tests/lldb/tests/harness/ |
D | util_timer.py | 25 def __init__(self, interval, callback): argument 36 if not isinstance(interval, (int, float)): 38 '{0}'.format(type(interval))) 45 self._interval = interval
|
/frameworks/base/core/java/android/hardware/usb/ |
D | UsbEndpoint.java | 43 public UsbEndpoint(int address, int attributes, int maxPacketSize, int interval) { in UsbEndpoint() argument 47 mInterval = interval; in UsbEndpoint() 142 int interval = in.readInt(); 143 return new UsbEndpoint(address, attributes, maxPacketSize, interval);
|
/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/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/base/wifi/java/android/net/wifi/aware/ |
D | ConfigRequest.java | 321 public Builder setDiscoveryWindowInterval(int band, int interval) { in setDiscoveryWindowInterval() argument 325 if ((band == NAN_BAND_24GHZ && (interval < 1 || interval > 5)) in setDiscoveryWindowInterval() 326 || (band == NAN_BAND_5GHZ && (interval < 0 || interval > 5))) { in setDiscoveryWindowInterval() 331 mDiscoveryWindowInterval[band] = interval; in setDiscoveryWindowInterval()
|
/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/ |
D | NekoService.java | 116 long interval = intervalMinutes * MINUTES; in registerJob() local 117 long jitter = (long)(INTERVAL_JITTER_FRAC * interval); in registerJob() 118 interval += (long)(Math.random() * (2 * jitter)) - jitter; in registerJob() 121 .setPeriodic(interval, INTERVAL_FLEX) in registerJob() 124 Log.v(TAG, "A cat will visit in " + interval + "ms: " + String.valueOf(jobInfo)); in registerJob() 131 .setContentTitle(String.format("Job scheduled in %d min", (interval / MINUTES))) in registerJob()
|
/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 | 780 int interval = NAT_MEASUREMENT_RETRY_INTERVAL; in restartLater() local 782 mTimer.set(interval * 1000, this); in restartLater() 837 private void startKeepAliveProcess(int interval) { in startKeepAliveProcess() argument 838 if (SAR_DBG) log("startKeepAliveProcess: interval=" + interval); in startKeepAliveProcess() 845 mKeepAliveSession.startKeepAliveProcess(interval, this); in startKeepAliveProcess() 847 loge("startKeepAliveProcess: interval=" + interval, e); in startKeepAliveProcess() 864 int interval = getKeepAliveInterval(); in onResponse() local 868 + interval + ", past success count=" in onResponse() 871 if (interval > DEFAULT_KEEPALIVE_INTERVAL) { in onResponse() 873 mSession.getLocalProfile(), interval); in onResponse() local [all …]
|
/frameworks/av/include/media/ |
D | Interpolator.h | 95 const S interval = high->first - low->first; in findY() local 99 const S t = (x - low->first) / interval; in findY() 133 sec = (high->second - low->second) / interval; in findY() 173 const S t = (x - low->first) / interval; in findY() 177 m0 *= interval; in findY() 178 m1 *= interval; in findY() 193 return h00 * low->second + (h10 * m0 + h11 * m1) * interval + h01 * high->second; in findY()
|
/frameworks/base/core/java/android/os/ |
D | CommonTimeConfig.java | 250 public int setMasterAnnounceInterval(int interval) { in setMasterAnnounceInterval() argument 253 return mUtils.transactSetInt(METHOD_SET_MASTER_ANNOUNCE_INTERVAL, interval); in setMasterAnnounceInterval() 277 public int setClientSyncInterval(int interval) { in setClientSyncInterval() argument 280 return mUtils.transactSetInt(METHOD_SET_CLIENT_SYNC_INTERVAL, interval); in setClientSyncInterval()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/display/ |
D | DisplayDensityUtils.java | 121 final float interval = (1 - minScale) / numSmaller; in DisplayDensityUtils() local 124 final int density = ((int) (defaultDensity * (1 - (i + 1) * interval))) & ~1; in DisplayDensityUtils() 142 final float interval = (maxScale - 1) / numLarger; in DisplayDensityUtils() local 145 final int density = ((int) (defaultDensity * (1 + (i + 1) * interval))) & ~1; in DisplayDensityUtils()
|
/frameworks/native/libs/gui/tests/ |
D | Surface_test.cpp | 935 EXPECT_EQ(initialCompositorTiming.interval, compositeInterval); in TEST_F() 1000 nsecs_t interval = 1000; in TEST_F() local 1005 timestamp, phase, interval)); in TEST_F() 1010 timestamp, phase, interval)); in TEST_F() 1015 timestamp, phase, interval)); in TEST_F() 1020 timestamp, phase, interval)); in TEST_F() 1025 timestamp, phase, interval)); in TEST_F() 1030 timestamp, phase, interval)); in TEST_F() 1035 timestamp, phase, interval)); in TEST_F() 1042 nsecs_t interval = 4000; in TEST_F() local [all …]
|
/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/app/ |
D | ProfilerInfo.java | 45 public ProfilerInfo(String filename, ParcelFileDescriptor fd, int interval, boolean autoStop, in ProfilerInfo() argument 49 samplingInterval = interval; in ProfilerInfo()
|
/frameworks/support/samples/SupportLeanbackDemos/src/com/example/android/leanback/ |
D | PlaybackSeekDiskDataProvider.java | 37 PlaybackSeekDiskDataProvider(long duration, long interval, String pathPattern) { in PlaybackSeekDiskDataProvider() argument 39 int size = (int) (duration / interval) + 1; in PlaybackSeekDiskDataProvider()
|
D | PlaybackSeekDataProviderSample.java | 31 PlaybackSeekDataProviderSample(long duration, long interval) { in PlaybackSeekDataProviderSample() argument 32 int size = (int) (duration / interval) + 1; in PlaybackSeekDataProviderSample()
|
/frameworks/base/core/java/android/ddm/ |
D | DdmHandleProfiling.java | 202 int interval = in.getInt(); in handleSPSS() local 205 + ", flags=" + flags + ", interval=" + interval); in handleSPSS() 209 Debug.startMethodTracingDdms(bufferSize, flags, true, interval); in handleSPSS()
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
D | UserUsageStatsService.java | 485 for (int interval = 0; interval < mCurrentStats.length; interval++) { in dump() 487 pw.print(intervalToString(interval)); in dump() 489 printIntervalStats(pw, mCurrentStats[interval], true); in dump() 597 private static String intervalToString(int interval) { in intervalToString() argument 598 switch (interval) { in intervalToString()
|