/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/apps/TV/common/src/com/android/tv/common/support/tvprovider/ |
D | TvContractCompatX.java | 84 long endTime) { in buildProgramsUriForChannel() argument 88 .appendQueryParameter(TvContractCompat.PARAM_END_TIME, String.valueOf(endTime)) in buildProgramsUriForChannel() 101 public static Uri buildProgramsUri(long startTime, long endTime) { in buildProgramsUri() argument 105 .appendQueryParameter(TvContractCompat.PARAM_END_TIME, String.valueOf(endTime)) in buildProgramsUri()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | Analytics.java | 169 public void setCallEndTime(long endTime) { in setCallEndTime() argument 220 public long endTime; // end time in milliseconds since the epoch. 0 if not yet set. field in Analytics.CallInfoImpl 251 endTime = 0; in CallInfoImpl() 262 this.endTime = other.endTime; in CallInfoImpl() 295 public void setCallEndTime(long endTime) { in setCallEndTime() argument 296 Log.d(TAG, "setting endTime for call " + callId + " to " + endTime); in setCallEndTime() 297 this.endTime = endTime; in setCallEndTime() 395 + " endTime: " + endTime + '\n' in toString() 461 long callDuration = (endTime == 0 || startTime == 0) ? 0 : endTime - startTime; in toProto()
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | AnalyticsTests.java | 109 assertEquals(0, callAnalytics.endTime); in testAnalyticsSingleCall() 121 assertTrue(callAnalytics.endTime > 0); in testAnalyticsSingleCall() 159 assertTrue(Math.abs((expectedAnalytics.endTime - expectedAnalytics.startTime) - in testAnalyticsDumping() 201 assertEquals(0, callAnalytics1.endTime); 202 assertEquals(0, callAnalytics2.endTime); 226 assertTrue(callAnalytics1.endTime > 0); 227 assertTrue(callAnalytics2.endTime > 0); 336 assertTrue(Math.abs((expectedAnalytics.endTime - expectedAnalytics.startTime) - in testAnalyticsDumpToProto()
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/util/ |
D | Wait.java | 21 long endTime = startTime + timeout; in atMost() local 22 Log.d("Wait", "atMost: " + startTime + " - " + endTime); in atMost() 23 while (SystemClock.uptimeMillis() < endTime) { in atMost()
|
/packages/apps/TV/tests/robotests/src/com/android/tv/dvr/ui/list/ |
D | DvrHistoryRowAdapterTest.java | 230 long id, long startTime, long endTime, int state) { in buildScheduledRecordingForTest() argument 232 ScheduledRecording.builder("fakeInput", 1, startTime, endTime) in buildScheduledRecordingForTest() 239 long id, long startTime, long endTime) { in buildRecordedProgramForTest() argument 245 .setEndTimeUtcMillis(endTime); in buildRecordedProgramForTest()
|
/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 | 129 long endTime = mProgram.getEndTimeUtcMillis(); in updateProgram() local 133 } else if (currTime >= endTime) { in updateProgram() 137 (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 | 596 long endTime) { in insertRecordedProgram() argument 601 values.put(RecordedPrograms.COLUMN_RECORDING_DURATION_MILLIS, endTime - startTime); in insertRecordedProgram() 605 values.put(RecordedPrograms.COLUMN_END_TIME_UTC_MILLIS, endTime); in insertRecordedProgram() 619 private void updateRecordedProgramStateFinished(long endTime, long totalBytes) { in updateRecordedProgramStateFinished() argument 622 values.put(RecordedPrograms.COLUMN_RECORDING_DURATION_MILLIS, endTime - mRecordStartTime); in updateRecordedProgramStateFinished() 623 values.put(RecordedPrograms.COLUMN_END_TIME_UTC_MILLIS, endTime); in updateRecordedProgramStateFinished()
|
D | TunerRecordingSessionWorkerExoV2.java | 599 long endTime) { in insertRecordedProgram() argument 604 values.put(RecordedPrograms.COLUMN_RECORDING_DURATION_MILLIS, endTime - startTime); in insertRecordedProgram() 608 values.put(RecordedPrograms.COLUMN_END_TIME_UTC_MILLIS, endTime); in insertRecordedProgram() 622 private void updateRecordedProgramStateFinished(long endTime, long totalBytes) { in updateRecordedProgramStateFinished() argument 625 values.put(RecordedPrograms.COLUMN_RECORDING_DURATION_MILLIS, endTime - mRecordStartTime); in updateRecordedProgramStateFinished() 626 values.put(RecordedPrograms.COLUMN_END_TIME_UTC_MILLIS, endTime); in updateRecordedProgramStateFinished()
|
/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/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 | 261 long endTime = System.currentTimeMillis() + (long) mTimeout * 1000; in proceedAndFinish() local 263 this, endTime); in proceedAndFinish() 265 BluetoothDiscoverableTimeoutReceiver.setDiscoverableAlarm(this, endTime); in proceedAndFinish()
|