/packages/apps/DeskClock/src/com/android/deskclock/uidata/ |
D | PeriodicCallbackModel.java | 112 private void addPeriodicCallback(Runnable runnable, Period period, long offset) { in addPeriodicCallback() argument 113 final PeriodicRunnable periodicRunnable = new PeriodicRunnable(runnable, period, offset); in addPeriodicCallback() 141 static long getDelay(long now, Period period, long offset) { in getDelay() argument 144 switch (period) { in getDelay() 171 throw new IllegalArgumentException("unexpected period: " + period); in getDelay() 192 public PeriodicRunnable(Runnable delegate, Period period, long offset) { in PeriodicRunnable() argument 194 mPeriod = period; in PeriodicRunnable()
|
D | PeriodicCallbackModel.kt | 96 private fun addPeriodicCallback(runnable: Runnable, period: Period, offset: Long) { in addPeriodicCallback() 97 val periodicRunnable = PeriodicRunnable(runnable, period, offset) in addPeriodicCallback() 175 fun getDelay(now: Long, period: Period, offset: Long): Long { in getDelay() 178 return when (period) { in getDelay()
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
D | BatteryActiveView.java | 55 float period = mProvider.getPeriod(); in onDraw() local 57 drawColor(canvas, array.keyAt(i), array.keyAt(i + 1), array.valueAt(i), period); in onDraw() 61 private void drawColor(Canvas canvas, int start, int end, int color, float period) { in drawColor() argument 66 canvas.drawRect(start / period * getWidth(), 0, end / period * getWidth(), getHeight(), in drawColor()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/ |
D | BatteryActiveView.java | 55 float period = mProvider.getPeriod(); in onDraw() local 57 drawColor(canvas, array.keyAt(i), array.keyAt(i + 1), array.valueAt(i), period); in onDraw() 61 private void drawColor(Canvas canvas, int start, int end, int color, float period) { in drawColor() argument 66 canvas.drawRect(start / period * getWidth(), 0, end / period * getWidth(), getHeight(), in drawColor()
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/ |
D | TestTimer.java | 94 public void schedule(TimerTask task, Date firstTime, long period) { in schedule() argument 105 public void schedule(TimerTask task, long delay, long period) { in schedule() argument 110 public void scheduleAtFixedRate(TimerTask task, Date firstTime, long period) { in scheduleAtFixedRate() argument 115 public void scheduleAtFixedRate(TimerTask task, long delay, long period) { in scheduleAtFixedRate() argument
|
D | TestScheduledExecutorService.java | 132 public ScheduledFuture<?> scheduleAtFixedRate(Runnable command, long initialDelay, long period, in scheduleAtFixedRate() argument
|
/packages/apps/TV/src/com/android/tv/util/ |
D | AsyncDbTask.java | 402 Executor executor, Context context, long channelId, @Nullable Range<Long> period) { in LoadProgramsForChannelTask() argument 406 period == null in LoadProgramsForChannelTask() 409 channelId, period.getLower(), period.getUpper()), in LoadProgramsForChannelTask() 414 mPeriod = period; in LoadProgramsForChannelTask()
|
/packages/apps/TV/src/com/android/tv/ |
D | TimeShiftManager.java | 939 Range<Long> period = Range.create(fetchStartTimeMs, fetchEndTimeMs); in onRecordTimeRangeChanged() local 940 mProgramLoadQueue.add(period); in onRecordTimeRangeChanged() 990 private boolean addPlaceholderPrograms(Range<Long> period) { in addPlaceholderPrograms() argument 991 return addPlaceholderPrograms(period.getLower(), period.getUpper()); in addPlaceholderPrograms() 1228 LoadProgramsForCurrentChannelTask(Range<Long> period) { in LoadProgramsForCurrentChannelTask() argument 1233 period); in LoadProgramsForCurrentChannelTask() local
|
/packages/apps/TV/tests/common/src/com/android/tv/testing/dvr/ |
D | DvrDataManagerInMemoryImpl.java | 112 Range<Long> period, @RecordingState int state) { in getScheduledRecordings() argument 116 if (r.isOverLapping(period) && r.getState() == state) { in getScheduledRecordings()
|
/packages/apps/Settings/src/com/android/settings/datausage/ |
D | WifiDataUsageSummaryPreferenceController.java | 61 info.period, /* isSingleWifi */ true); in updateState()
|
D | DataUsagePreference.java | 64 usageInfo.period)); in setTemplate()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datausage/ |
D | WifiDataUsageSummaryPreferenceController.java | 62 info.period, /* isSingleWifi */ true); in updateState()
|
D | DataUsagePreference.java | 64 usageInfo.period)); in setTemplate()
|
D | DataUsageSummaryPreferenceController.java | 209 info.period, /* isSingleWifi */ false); in updateState()
|
/packages/apps/Settings/src/com/android/settings/network/telephony/ |
D | DataUsagePreferenceController.java | 80 mDataUsageInfo.period)); in updateState()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/datausage/ |
D | DataUsageSummaryPreferenceControllerTest.java | 348 verify(mSummaryPreference).setWifiMode(true /* isWifiMode */, info.period /* usagePeriod */, in testSummaryUpdate_noSim_shouldSetWifiMode() 431 info.period = PERIOD; in createTestDataUsageInfo()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/telephony/ |
D | DataUsagePreferenceController.java | 81 mDataUsageInfo.period)); in updateState()
|
/packages/apps/ManagedProvisioning/proto/ |
D | devicepolicy.proto | 34 // A parameter specifying a time period in milliseconds.
|
/packages/apps/TV/src/com/android/tv/dvr/data/ |
D | ScheduledRecording.java | 1002 public boolean isOverLapping(Range<Long> period) { in isOverLapping() argument 1003 return mStartTimeMs < period.getUpper() && mEndTimeMs > period.getLower(); in isOverLapping()
|
/packages/apps/TV/src/com/android/tv/dvr/ |
D | DvrDataManager.java | 95 List<ScheduledRecording> getScheduledRecordings(Range<Long> period, @RecordingState int state); in getScheduledRecordings() argument
|
D | DvrScheduleManager.java | 914 for (Range<Long> period : periods) { in getConflictingSchedulesInfo() 915 if (schedule.isOverLapping(period)) { in getConflictingSchedulesInfo()
|
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/ |
D | StopwatchFragment.kt | 532 val period = (if (stopwatch.isPaused) { in <lambda>() constant 538 val delay: Long = max(0, startTime + period - endTime).toLong() in <lambda>()
|
D | StopwatchFragment.java | 559 final long period = stopwatch.isPaused() in run() 563 final long delay = Math.max(0, startTime + period - endTime); in run()
|
/packages/apps/Contacts/src/com/android/contacts/util/concurrent/ |
D | ContactsExecutors.java | 129 long period, TimeUnit unit) { in scheduleAtFixedRate() argument
|
/packages/apps/Dialer/java/com/android/voicemail/impl/transcribe/grpc/ |
D | voicemail_transcription.proto | 32 // Transcription was successful, but the expiration period has passed, which
|