/packages/providers/TvProvider/tests/src/com/android/providers/tv/ |
D | EpgDataCleanupServiceTests.java | 91 final long startTime; 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 100 this.startTime = startTime; in Program() 111 && Objects.equals(startTime, that.startTime) in equals() 117 return Objects.hash(id, startTime, endTime); in hashCode() 122 return "Program(id=" + id + ",start=" + startTime + ",end=" + endTime + ")"; in toString() 144 values.put(Programs.COLUMN_START_TIME_UTC_MILLIS, program.startTime); in insertPrograms() 183 values.put(WatchedPrograms.COLUMN_WATCH_START_TIME_UTC_MILLIS, program.startTime); 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/Settings/src/com/android/settings/fuelgauge/ |
D | BatteryInfo.java | 66 long startTime; in bindHistory() 71 public void onParsingStarted(long startTime, long endTime) { in bindHistory() 72 this.startTime = startTime; in bindHistory() 73 timePeriod = endTime - startTime; in bindHistory() 103 points = provider.getEnhancedBatteryPredictionCurve(context, startTime); in bindHistory() 159 final long startTime = System.currentTimeMillis(); in getBatteryInfo() local 161 BatteryUtils.logRuntime(LOG_TAG, "time for callback", startTime); in getBatteryInfo() 180 final long startTime = System.currentTimeMillis(); in getBatteryInfo() local 198 .logRuntime(LOG_TAG, "time for enhanced BatteryInfo", startTime); in getBatteryInfo() 209 BatteryUtils.logRuntime(LOG_TAG, "time for regular BatteryInfo", startTime); in getBatteryInfo() [all …]
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/ |
D | BatteryInfo.java | 64 long startTime; in bindHistory() 69 public void onParsingStarted(long startTime, long endTime) { in bindHistory() 70 this.startTime = startTime; in bindHistory() 71 timePeriod = endTime - startTime; in bindHistory() 101 points = provider.getEnhancedBatteryPredictionCurve(context, startTime); in bindHistory() 157 final long startTime = System.currentTimeMillis(); in getBatteryInfo() local 159 BatteryUtils.logRuntime(LOG_TAG, "time for callback", startTime); in getBatteryInfo() 178 final long startTime = System.currentTimeMillis(); in getBatteryInfo() local 195 .logRuntime(LOG_TAG, "time for enhanced BatteryInfo", startTime); in getBatteryInfo() 206 BatteryUtils.logRuntime(LOG_TAG, "time for regular BatteryInfo", startTime); in getBatteryInfo() [all …]
|
/packages/apps/TV/tests/robotests/src/com/android/tv/dvr/recorder/ |
D | SchedulerTest.java | 104 long startTime = now + TimeUnit.HOURS.toMillis(12); in testUpdate_nextIn12Hours() local 107 INPUT_ID, CHANNEL_ID, startTime, startTime + TimeUnit.HOURS.toMillis(1)); in testUpdate_nextIn12Hours() 112 eq(startTime - RecordingScheduler.MS_TO_WAKE_BEFORE_START), in testUpdate_nextIn12Hours() 119 eq(startTime - RecordingScheduler.MS_TO_WAKE_BEFORE_START), in testUpdate_nextIn12Hours() 126 long startTime = now + 3; in testStartsWithin() local 129 INPUT_ID, CHANNEL_ID, startTime, startTime + 100); in testStartsWithin()
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | CalendarController.java | 146 public Time startTime; field in CalendarController.EventInfo 349 info.startTime = new Time(Utils.getTimeZone(mContext, mUpdateTimezone)); in sendEventRelatedEventWithExtraWithTitleWithCalendarId() 350 info.startTime.set(startMillis); in sendEventRelatedEventWithExtraWithTitleWithCalendarId() 355 info.selectedTime = info.startTime; in sendEventRelatedEventWithExtraWithTitleWithCalendarId() 395 info.startTime = start; in sendEvent() 441 Log.d(TAG, "Start " + (event.startTime == null ? "null" : event.startTime.toString())); in sendEvent() 448 if (event.startTime != null) { in sendEvent() 449 startMillis = event.startTime.toMillis(false); in sendEvent() 462 mTime.set(event.startTime); in sendEvent() 474 event.startTime = mTime; in sendEvent() [all …]
|
D | Event.java | 130 public int startTime; // Start and end time are in minutes since midnight field in Event 167 e.startTime = startTime; in clone() 188 dest.startTime = startTime; in copyTo() 209 e.startTime = 0; in newInstance() 398 e.startTime = cEvents.getInt(PROJECTION_START_MINUTE_INDEX); in generateEventFromCursor() 548 Log.e("Cal", "+ startTime = " + startTime); in dump() 572 && (startTime != endTime || startDay != endDay)) { in intersects() 577 if (startDay == julianDay && startTime > endMinute) { in intersects()
|
D | EventGeometry.java | 61 int startTime = event.startTime; in computeEventRect() local 67 startTime = 0; in computeEventRect() 78 int startHour = startTime / 60; in computeEventRect() 88 event.top += (int) (startTime * cellMinuteHeight); in computeEventRect()
|
D | Utils.java | 906 event.startTime = 0; in createDNAStrands() 910 if (event.startTime > DAY_IN_MINUTES - minOtherMinutes) { in createDNAStrands() 911 event.startTime = DAY_IN_MINUTES - minOtherMinutes; in createDNAStrands() 927 event.endTime - event.startTime < minOtherMinutes) { in createDNAStrands() 930 if (event.startTime < WORK_DAY_START_MINUTES) { in createDNAStrands() 933 event.endTime = Math.min(event.startTime + minOtherMinutes, in createDNAStrands() 940 if (event.endTime - event.startTime < minOtherMinutes) { in createDNAStrands() 941 event.startTime = event.endTime - minOtherMinutes; in createDNAStrands() 954 int startMinute = (event.startDay - firstJulianDay) * DAY_IN_MINUTES + event.startTime; in createDNAStrands() 1163 lhs.startTime = event.startTime; in addNewSegment() [all …]
|
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/suggestions/ |
D | SuggestionService.java | 33 final long startTime = System.currentTimeMillis(); in onGetSuggestions() local 45 .logGetSuggestion(ids, endTime - startTime); in onGetSuggestions() 51 final long startTime = System.currentTimeMillis(); in onSuggestionDismissed() local 60 .logDismissSuggestion(id, endTime - startTime); in onSuggestionDismissed() 65 final long startTime = System.currentTimeMillis(); in onSuggestionLaunched() local 74 .logLaunchSuggestion(id, endTime - startTime); in onSuggestionLaunched()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/ |
D | UsageGraph.java | 117 final long startTime = System.currentTimeMillis(); in setMax() local 122 BatteryUtils.logRuntime(LOG_TAG, "setMax", startTime); in setMax() 144 final long startTime = System.currentTimeMillis(); in addPathAndUpdate() local 152 BatteryUtils.logRuntime(LOG_TAG, "addPathAndUpdate", startTime); in addPathAndUpdate() 164 final long startTime = System.currentTimeMillis(); in onSizeChanged() local 168 BatteryUtils.logRuntime(LOG_TAG, "onSizeChanged", startTime); in onSizeChanged() 178 final long startTime = System.currentTimeMillis(); in calculateLocalPaths() local 217 BatteryUtils.logRuntime(LOG_TAG, "calculateLocalPaths", startTime); in calculateLocalPaths() 244 final long startTime = System.currentTimeMillis(); in onDraw() local 268 BatteryUtils.logRuntime(LOG_TAG, "onDraw", startTime); in onDraw()
|
/packages/apps/Settings/src/com/android/settings/widget/ |
D | UsageGraph.java | 117 final long startTime = System.currentTimeMillis(); in setMax() local 122 BatteryUtils.logRuntime(LOG_TAG, "setMax", startTime); in setMax() 144 final long startTime = System.currentTimeMillis(); in addPathAndUpdate() local 152 BatteryUtils.logRuntime(LOG_TAG, "addPathAndUpdate", startTime); in addPathAndUpdate() 164 final long startTime = System.currentTimeMillis(); in onSizeChanged() local 168 BatteryUtils.logRuntime(LOG_TAG, "onSizeChanged", startTime); in onSizeChanged() 178 final long startTime = System.currentTimeMillis(); in calculateLocalPaths() local 217 BatteryUtils.logRuntime(LOG_TAG, "calculateLocalPaths", startTime); in calculateLocalPaths() 244 final long startTime = System.currentTimeMillis(); in onDraw() local 268 BatteryUtils.logRuntime(LOG_TAG, "onDraw", startTime); in onDraw()
|
/packages/apps/Dialer/java/com/android/dialer/metrics/ |
D | StubMetrics.java | 64 SystemClock.elapsedRealtime() - stubTimerEvent.startTime); in stopTimer() 69 long startTime = in stopUnnamedTimer() local 75 .startTime; in stopUnnamedTimer() 81 SystemClock.elapsedRealtime() - startTime); in stopUnnamedTimer() 105 final long startTime; field in StubMetrics.StubTimerEvent 108 this.startTime = SystemClock.elapsedRealtime(); in StubTimerEvent()
|
/packages/apps/TV/tests/input/src/com/android/tv/testinput/ |
D | TestTvInputService.java | 440 final long startTime = mStartTime; in onStopRecording() local 459 storeRecordedProgram(c, startTime, endTime); in onStopRecording() 472 startTime, in onStopRecording() argument 473 endTime - startTime < MAX_COMMAND_DELAY in onStopRecording() 474 ? startTime 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() 516 values.put(RecordedPrograms.COLUMN_START_TIME_UTC_MILLIS, startTime); in onStopRecording()
|
/packages/apps/Test/connectivity/PMC/src/com/android/pmc/ |
D | BleScanReceiver.java | 131 public void firstAlarm(int scanMode, int startTime, int scanTime, in firstAlarm() argument 137 mFirstScanTime = startTime; in firstAlarm() 145 long triggerTime = SystemClock.elapsedRealtime() + startTime * 1000; in firstAlarm() 255 int scanMode = -1, startTime = 0, scanTime = 0, noScanTime = 0; in onReceive() local 281 startTime = Integer.valueOf(str); in onReceive() 305 if (scanTime == 0 || startTime == 0 || scanMode == -1) { in onReceive() 309 mAlarmScanListener.firstAlarm(scanMode, startTime, in onReceive()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | Analytics.java | 166 public void setCallStartTime(long startTime) { in setCallStartTime() argument 219 public long startTime; // start time in milliseconds since the epoch. 0 if not yet set. field in Analytics.CallInfoImpl 250 startTime = 0; in CallInfoImpl() 261 this.startTime = other.startTime; in CallInfoImpl() 289 public void setCallStartTime(long startTime) { in setCallStartTime() argument 290 Log.d(TAG, "setting startTime for call " + callId + " to " + startTime); in setCallStartTime() 291 this.startTime = startTime; in setCallStartTime() 394 + " startTime: " + startTime + '\n' in toString() 458 startTime - startTime % ParcelableCallAnalytics.MILLIS_IN_5_MINUTES); in toProto() 461 long callDuration = (endTime == 0 || startTime == 0) ? 0 : endTime - startTime; in toProto()
|
/packages/apps/TV/src/com/android/tv/guide/ |
D | TimeListAdapter.java | 81 long startTime = mStartUtcMs + position * TIME_UNIT_MS; in onBindViewHolder() local 82 long endTime = startTime + TIME_UNIT_MS; in onBindViewHolder() 85 Date timeDate = new Date(startTime); in onBindViewHolder() 87 if (Utils.isInGivenDay(System.currentTimeMillis(), startTime)) { in onBindViewHolder() 95 lp.width = GuideUtils.convertMillisToPixel(startTime, endTime); in onBindViewHolder()
|
/packages/apps/TV/common/src/com/android/tv/common/support/tvprovider/ |
D | TvContractCompatX.java | 83 long startTime, in buildProgramsUriForChannel() argument 87 .appendQueryParameter(TvContractCompat.PARAM_START_TIME, String.valueOf(startTime)) in buildProgramsUriForChannel() 101 public static Uri buildProgramsUri(long startTime, long endTime) { in buildProgramsUri() argument 104 .appendQueryParameter(TvContractCompat.PARAM_START_TIME, String.valueOf(startTime)) in buildProgramsUri()
|
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/sitemap/ |
D | SiteMapManager.java | 59 final long startTime = System.currentTimeMillis(); in buildBreadCrumb() local 75 Log.d(TAG, "BreadCrumb timing: " + (System.currentTimeMillis() - startTime)); in buildBreadCrumb() 98 final long startTime = System.currentTimeMillis(); in init() local 116 Log.d(TAG, "Init timing: " + (System.currentTimeMillis() - startTime)); in init()
|
/packages/apps/Launcher3/tests/tapl/com/android/launcher3/tapl/ |
D | TestHelpers.java | 104 private static String checkCrash(Context context, String label, long startTime) { in checkCrash() argument 108 long timestamp = startTime; in checkCrash() 126 public static String getSystemHealthMessage(Context context, long startTime) { in getSystemHealthMessage() argument 141 final String crash = checkCrash(context, label, startTime); in getSystemHealthMessage()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/wifi/tether/ |
D | TetherServiceTest.java | 255 long startTime = SystemClock.uptimeMillis(); in waitForAppInactive() local 260 if ((SystemClock.uptimeMillis() - startTime) > PROVISION_TIMEOUT) { in waitForAppInactive() 268 long startTime = SystemClock.uptimeMillis(); in waitForProvisionRequest() local 274 if ((SystemClock.uptimeMillis() - startTime) > PROVISION_TIMEOUT) { in waitForProvisionRequest() 285 long startTime = SystemClock.uptimeMillis(); in waitForProvisionResponse() local 291 if ((SystemClock.uptimeMillis() - startTime) > PROVISION_TIMEOUT) { in waitForProvisionResponse()
|
/packages/apps/Settings/src/com/android/settings/applications/appinfo/ |
D | AppDataUsagePreferenceController.java | 118 long startTime = System.currentTimeMillis(); in getDataSummary() local 122 if (cycleStart < startTime) { in getDataSummary() 123 startTime = cycleStart; in getDataSummary() 131 DateUtils.formatDateTime(mContext, startTime, in getDataSummary()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/appinfo/ |
D | AppDataUsagePreferenceController.java | 118 long startTime = System.currentTimeMillis(); in getDataSummary() local 122 if (cycleStart < startTime) { in getDataSummary() 123 startTime = cycleStart; in getDataSummary() 131 DateUtils.formatDateTime(mContext, startTime, in getDataSummary()
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/util/ |
D | Wait.java | 20 final long startTime = SystemClock.uptimeMillis(); in atMost() local 21 long endTime = startTime + timeout; in atMost() 22 Log.d("Wait", "atMost: " + startTime + " - " + endTime); in atMost()
|
/packages/apps/Settings/src/com/android/settings/datausage/ |
D | ChartDataUsagePreference.java | 101 final long startTime = data.getStartTime(); in calcPoints() local 102 if (startTime > now) { in calcPoints() 111 points.put(toInt(startTime - mStart) - 1, -1); in calcPoints() 113 points.put(toInt(startTime - mStart + 1), (int) (totalData / RESOLUTION)); in calcPoints()
|