/packages/providers/TvProvider/tests/src/com/android/providers/tv/ |
D | EpgDataCleanupServiceTests.java | 92 final long endTime; field in EpgDataCleanupServiceTests.Program 94 Program(long startTime, long endTime) { in Program() argument 95 this(-1, startTime, endTime); in Program() 98 Program(long id, long startTime, long endTime) { in Program() argument 101 this.endTime = endTime; in Program() 112 && Objects.equals(endTime, that.endTime); in equals() 117 return Objects.hash(id, startTime, endTime); in hashCode() 122 return "Program(id=" + id + ",start=" + startTime + ",end=" + endTime + ")"; in toString() 145 values.put(Programs.COLUMN_END_TIME_UTC_MILLIS, program.endTime); in insertPrograms() 184 values.put(WatchedPrograms.COLUMN_WATCH_END_TIME_UTC_MILLIS, program.endTime); in insertWatchedPrograms()
|
/packages/apps/TV/tests/common/src/com/android/tv/testing/dvr/ |
D | RecordingTestUtils.java | 28 long id, String inputId, long channelId, long startTime, long endTime) { in createTestRecordingWithIdAndPeriod() argument 29 return ScheduledRecording.builder(inputId, channelId, startTime, endTime) in createTestRecordingWithIdAndPeriod() 36 String inputId, long channelId, long startTime, long endTime) { in createTestRecordingWithPeriod() argument 38 ScheduledRecording.ID_NOT_SET, inputId, channelId, startTime, endTime); in createTestRecordingWithPeriod() 42 long channelId, long priority, long startTime, long endTime) { in createTestRecordingWithPriorityAndPeriod() argument 43 return ScheduledRecording.builder(INPUT_ID, CHANNEL_ID, startTime, endTime) in createTestRecordingWithPriorityAndPeriod() 50 long id, long channelId, long priority, long startTime, long endTime) { in createTestRecordingWithIdAndPriorityAndPeriod() argument 51 return ScheduledRecording.builder(INPUT_ID, CHANNEL_ID, startTime, endTime) in createTestRecordingWithIdAndPriorityAndPeriod()
|
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/suggestions/ |
D | SuggestionService.java | 42 final long endTime = System.currentTimeMillis(); in onGetSuggestions() local 45 .logGetSuggestion(ids, endTime - startTime); in onGetSuggestions() 54 final long endTime = System.currentTimeMillis(); in onSuggestionDismissed() local 60 .logDismissSuggestion(id, endTime - startTime); in onSuggestionDismissed() 68 final long endTime = System.currentTimeMillis(); in onSuggestionLaunched() local 74 .logLaunchSuggestion(id, endTime - startTime); in onSuggestionLaunched()
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | Event.java | 131 public int endTime; field in Event 168 e.endTime = endTime; in clone() 189 dest.endTime = endTime; in copyTo() 210 e.endTime = 0; in newInstance() 402 e.endTime = cEvents.getInt(PROJECTION_END_MINUTE_INDEX); in generateEventFromCursor() 549 Log.e("Cal", "+ endTime = " + endTime); in dump() 565 if (endTime < startMinute) { in intersects() 571 if (endTime == startMinute in intersects() 572 && (startTime != endTime || startDay != endDay)) { in intersects()
|
D | EventGeometry.java | 62 int endTime = event.endTime; in computeEventRect() local 73 endTime = DayView.MINUTES_PER_DAY; in computeEventRect() 79 int endHour = endTime / 60; in computeEventRect() 84 if (endHour * 60 == endTime) in computeEventRect() 92 event.bottom += (int) (endTime * cellMinuteHeight); in computeEventRect()
|
D | CalendarController.java | 147 public Time endTime; field in CalendarController.EventInfo 357 info.endTime = new Time(Utils.getTimeZone(mContext, mUpdateTimezone)); in sendEventRelatedEventWithExtraWithTitleWithCalendarId() 358 info.endTime.set(endMillis); in sendEventRelatedEventWithExtraWithTitleWithCalendarId() 397 info.endTime = end; in sendEvent() 442 Log.d(TAG, "End " + (event.endTime == null ? "null" : event.endTime.toString())); in sendEvent() 461 || (event.endTime != null && mtimeMillis > event.endTime.toMillis(false))) { in sendEvent() 478 Log.d(TAG, "End " + (event.endTime == null ? "null" : event.endTime.toString())); in sendEvent() 704 builder.append(eventInfo.endTime); in eventInfoToString()
|
D | Utils.java | 915 event.endTime = DAY_IN_MINUTES - 1; in createDNAStrands() 919 if (event.endTime < minOtherMinutes) { in createDNAStrands() 920 event.endTime = minOtherMinutes; in createDNAStrands() 927 event.endTime - event.startTime < minOtherMinutes) { in createDNAStrands() 933 event.endTime = Math.min(event.startTime + minOtherMinutes, in createDNAStrands() 936 } else if (event.endTime > WORK_DAY_END_MINUTES) { in createDNAStrands() 938 event.endTime = Math.min(event.endTime + minOtherMinutes, DAY_IN_MINUTES - 1); in createDNAStrands() 940 if (event.endTime - event.startTime < minOtherMinutes) { in createDNAStrands() 941 event.startTime = event.endTime - minOtherMinutes; in createDNAStrands() 956 + event.endTime, startMinute + minMinutes); in createDNAStrands() [all …]
|
/packages/apps/TV/tests/input/src/com/android/tv/testinput/ |
D | TestTvInputService.java | 441 final long endTime = mEndTime; in onStopRecording() local 459 storeRecordedProgram(c, startTime, endTime); in onStopRecording() 473 endTime - startTime < MAX_COMMAND_DELAY in onStopRecording() 475 : endTime - MAX_COMMAND_DELAY), in onStopRecording() 481 storeRecordedProgram(c, startTime, endTime); in onStopRecording() 487 storeRecordedProgram(null, startTime, endTime); in onStopRecording() 491 private void storeRecordedProgram(Cursor c, long startTime, long endTime) { in onStopRecording() argument 496 RecordedPrograms.COLUMN_RECORDING_DURATION_MILLIS, endTime - startTime); in onStopRecording() 517 values.put(RecordedPrograms.COLUMN_END_TIME_UTC_MILLIS, endTime); in onStopRecording()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | Analytics.java | 166 public void setCallEndTime(long endTime) { in setCallEndTime() argument 216 public long endTime; // end time in milliseconds since the epoch. 0 if not yet set. field in Analytics.CallInfoImpl 247 endTime = 0; in CallInfoImpl() 258 this.endTime = other.endTime; in CallInfoImpl() 291 public void setCallEndTime(long endTime) { in setCallEndTime() argument 292 Log.d(TAG, "setting endTime for call " + callId + " to " + endTime); in setCallEndTime() 293 this.endTime = endTime; in setCallEndTime() 388 + " endTime: " + endTime + '\n' in toString() 454 long callDuration = (endTime == 0 || startTime == 0) ? 0 : endTime - startTime; in toProto()
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | AnalyticsTests.java | 99 assertEquals(0, callAnalytics.endTime); in testAnalyticsSingleCall() 111 assertTrue(callAnalytics.endTime > 0); in testAnalyticsSingleCall() 149 assertTrue(Math.abs((expectedAnalytics.endTime - expectedAnalytics.startTime) - in testAnalyticsDumping() 191 assertEquals(0, callAnalytics1.endTime); 192 assertEquals(0, callAnalytics2.endTime); 216 assertTrue(callAnalytics1.endTime > 0); 217 assertTrue(callAnalytics2.endTime > 0); 324 assertTrue(Math.abs((expectedAnalytics.endTime - expectedAnalytics.startTime) - in testAnalyticsDumpToProto()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/datausage/ |
D | DataUsageListTest.java | 151 final long endTime = 1521676800000L; in startAppDataUsage_shouldAddCyclesInfoToLaunchArguments() local 155 .setEndTime(endTime); in startAppDataUsage_shouldAddCyclesInfoToLaunchArguments() 168 assertThat(arguments.getLong(AppDataUsage.ARG_SELECTED_CYCLE)).isEqualTo(endTime); in startAppDataUsage_shouldAddCyclesInfoToLaunchArguments() 172 assertThat(cycles.get(0)).isEqualTo(endTime); in startAppDataUsage_shouldAddCyclesInfoToLaunchArguments()
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | VideoUtils.java | 240 double endTime = endMs / 1000; in trimUsingMp4Parser() local 260 endTime = correctTimeToSyncSample(track, endTime, true); in trimUsingMp4Parser() 281 if (currentTime <= endTime) { in trimUsingMp4Parser()
|
/packages/apps/TV/src/com/android/tv/menu/ |
D | ChannelCardView.java | 127 long endTime = mProgram.getEndTimeUtcMillis(); in updateProgram() local 131 } else if (currTime >= endTime) { in updateProgram() 135 (int) (100 * (currTime - startTime) / (endTime - startTime))); in updateProgram()
|
/packages/apps/Calendar/tests/src/com/android/calendar/ |
D | UtilsTests.java | 214 Event buildTestEvent(int startTime, int endTime, boolean allDay, int startDay, int endDay) { in buildTestEvent() argument 217 e.endTime = endTime; in buildTestEvent() 222 e.endMillis = e.endDay * 1000L * 3600L * 24L + e.endTime * 60L * 1000L; in buildTestEvent()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/tvinput/ |
D | TunerRecordingSessionWorker.java | 582 long endTime) { in insertRecordedProgram() argument 587 values.put(RecordedPrograms.COLUMN_RECORDING_DURATION_MILLIS, endTime - startTime); in insertRecordedProgram() 591 values.put(RecordedPrograms.COLUMN_END_TIME_UTC_MILLIS, endTime); in insertRecordedProgram() 605 private void updateRecordedProgram(RecordedProgramState state, long endTime, long totalBytes) { in updateRecordedProgram() argument 613 RecordedPrograms.COLUMN_RECORDING_DURATION_MILLIS, endTime - mRecordStartTime); in updateRecordedProgram() 614 values.put(RecordedPrograms.COLUMN_END_TIME_UTC_MILLIS, endTime); in updateRecordedProgram()
|
/packages/apps/ThemePicker/robolectric_tests/src/com/android/customization/testutils/ |
D | Wait.java | 35 long endTime = SystemClock.uptimeMillis() + timeout; in atMost() local 36 while (SystemClock.uptimeMillis() < endTime) { in atMost()
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/util/ |
D | Wait.java | 19 long endTime = SystemClock.uptimeMillis() + timeout; in atMost() local 20 while (SystemClock.uptimeMillis() < endTime) { in atMost()
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/ |
D | HighUsageDataParser.java | 48 public void onParsingStarted(long startTime, long endTime) { in onParsingStarted() argument 49 mEndTimeMs = endTime; in onParsingStarted()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/batterytip/ |
D | HighUsageDataParser.java | 48 public void onParsingStarted(long startTime, long endTime) { in onParsingStarted() argument 49 mEndTimeMs = endTime; in onParsingStarted()
|
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/query/ |
D | SearchQueryTask.java | 61 final long endTime = System.currentTimeMillis(); in call() local 63 .logEvent(getQueryWorkerId(), endTime - startTime); in call()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/bluetooth/ |
D | RequestPermissionActivity.java | 261 long endTime = System.currentTimeMillis() + (long) mTimeout * 1000; in proceedAndFinish() local 263 this, endTime); in proceedAndFinish() 265 BluetoothDiscoverableTimeoutReceiver.setDiscoverableAlarm(this, endTime); in proceedAndFinish()
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | RequestPermissionActivity.java | 265 long endTime = System.currentTimeMillis() + (long) mTimeout * 1000; in proceedAndFinish() local 267 this, endTime); in proceedAndFinish() 269 BluetoothDiscoverableTimeoutReceiver.setDiscoverableAlarm(this, endTime); in proceedAndFinish()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/ |
D | BatteryFlagParser.java | 45 public void onParsingStarted(long startTime, long endTime) { in onParsingStarted() argument 46 mLength = endTime - startTime; in onParsingStarted()
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
D | BatteryFlagParser.java | 45 public void onParsingStarted(long startTime, long endTime) { in onParsingStarted() argument 46 mLength = endTime - startTime; in onParsingStarted()
|
/packages/apps/Settings/src/com/android/settings/notification/ |
D | ZenModeSettingsFooterPreferenceController.java | 163 long endTime = mZenModeConfigWrapper.parseAutomaticRuleEndTime( in getDefaultPolicyFooter() local 165 if (endTime > latestEndTime) { in getDefaultPolicyFooter() 166 latestEndTime = endTime; in getDefaultPolicyFooter()
|