/packages/apps/DeskClock/src/com/android/deskclock/uidata/ |
D | PeriodicCallbackModel.java | 109 private void addPeriodicCallback(Runnable runnable, Period period, long offset) { in addPeriodicCallback() argument 110 final PeriodicRunnable periodicRunnable = new PeriodicRunnable(runnable, period, offset); in addPeriodicCallback() 138 static long getDelay(long now, Period period, long offset) { in getDelay() argument 141 switch (period) { in getDelay() 168 throw new IllegalArgumentException("unexpected period: " + period); in getDelay() 189 public PeriodicRunnable(Runnable delegate, Period period, long offset) { in PeriodicRunnable() argument 191 mPeriod = period; in PeriodicRunnable()
|
/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/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/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/UnifiedEmail/src/org/apache/commons/io/filefilter/ |
D | AbstractFileFilter.java | 63 int period = name.lastIndexOf('.'); in toString() local 64 return (period > 0 ? name.substring(period + 1) : name); in toString()
|
/packages/apps/TV/src/com/android/tv/util/ |
D | AsyncDbTask.java | 388 Executor executor, Context context, long channelId, @Nullable Range<Long> period) { in LoadProgramsForChannelTask() argument 392 period == null in LoadProgramsForChannelTask() 395 channelId, period.getLower(), period.getUpper()), in LoadProgramsForChannelTask() 400 mPeriod = period; in LoadProgramsForChannelTask()
|
/packages/apps/TV/src/com/android/tv/ |
D | TimeShiftManager.java | 936 Range<Long> period = Range.create(fetchStartTimeMs, fetchEndTimeMs); in onRecordTimeRangeChanged() local 937 mProgramLoadQueue.add(period); in onRecordTimeRangeChanged() 987 private boolean addDummyPrograms(Range<Long> period) { in addDummyPrograms() argument 988 return addDummyPrograms(period.getLower(), period.getUpper()); in addDummyPrograms() 1225 LoadProgramsForCurrentChannelTask(Range<Long> period) { in LoadProgramsForCurrentChannelTask() argument 1230 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/wifi/tether/ |
D | TetherService.java | 312 int period = getResourceForDefaultDataSubId().getInteger( in scheduleAlarm() local 314 long periodMs = period * MS_PER_HOUR; in scheduleAlarm()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/tether/ |
D | TetherService.java | 298 int period = getResourceForDefaultDataSubId().getInteger( in scheduleAlarm() local 300 long periodMs = period * MS_PER_HOUR; in scheduleAlarm()
|
/packages/apps/TV/src/com/android/tv/dvr/data/ |
D | ScheduledRecording.java | 874 public boolean isOverLapping(Range<Long> period) { in isOverLapping() argument 875 return mStartTimeMs < period.getUpper() && mEndTimeMs > period.getLower(); in isOverLapping()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/wifi/tether/ |
D | TetherServiceTest.java | 193 long period = TEST_CHECK_PERIOD * MS_PER_HOUR; in testScheduleRechecks() local 195 eq(period), mPiCaptor.capture()); in testScheduleRechecks()
|
/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()
|
/packages/services/Telephony/src/com/android/phone/ |
D | DataUsagePreference.java | 58 Formatter.formatFileSize(activity, usageInfo.usageLevel), usageInfo.period)); in initialize()
|
/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/apps/ManagedProvisioning/proto/ |
D | devicepolicy.proto | 34 // A parameter specifying a time period in milliseconds.
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/telephony/ |
D | DataUsagePreferenceController.java | 81 mDataUsageInfo.period)); in updateState()
|
/packages/apps/TV/src/com/android/tv/dvr/ |
D | DvrDataManager.java | 95 List<ScheduledRecording> getScheduledRecordings(Range<Long> period, @RecordingState int state); in getScheduledRecordings() argument
|
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/ |
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
|