Home
last modified time | relevance | path

Searched refs:getTime (Results 1 – 25 of 105) sorted by relevance

12345

/frameworks/base/core/java/android/service/notification/
DScheduleCalendar.java107 final long time = adjust ? getClosestActualTime(now, hr, min) : getTime(now, hr, min); in getNextTime()
110 return adjust ? getClosestActualTime(tomorrow, hr, min) : getTime(tomorrow, hr, min); in getNextTime()
115 private long getTime(long millis, int hour, int min) { in getTime() method in ScheduleCalendar
131 long end = getTime(time, mSchedule.endHour, mSchedule.endMinute); in isInSchedule()
146 long end = getTime(alarm, mSchedule.endHour, mSchedule.endMinute); in isAlarmInSchedule()
215 long resTime = getTime(refTime, hour, min); in getClosestActualTime()
230 return getTime(refTime, resHr, 0); in getClosestActualTime()
DSystemZenRules.java207 sb.append(dayFormat.format(cStart.getTime())); in getShortDaysSummary()
214 dayFormat.format(cStart.getTime()), in getShortDaysSummary()
215 dayFormat.format(cEnd.getTime()))); in getShortDaysSummary()
234 return DateFormat.getTimeFormat(context).format(c.getTime()); in timeString()
/frameworks/multidex/library/test/src/androidx/multidex/
DZipEntryReader.java87 entry.setTime(getTime(time, modDate)); in readEntry()
111 private static long getTime(int time, int modDate) { in getTime() method in ZipEntryReader
117 return cal.getTime().getTime(); in getTime()
DZipUtilTest.java101 Assert.assertEquals(refEntry.getTime(), checkEntry.getTime()); in testCrcRange()
/frameworks/base/telecomm/java/android/telecom/Logging/
DTimedEvent.java27 public abstract long getTime(); in getTime() method in TimedEvent
37 result.put(entry.getKey(), result.get(entry.getKey()) + entry.getTime()); in averageTimings()
40 result.put(entry.getKey(), (double) entry.getTime()); in averageTimings()
/frameworks/base/telecomm/java/android/telecom/
DTimedEvent.java27 public abstract long getTime(); in getTime() method in TimedEvent
37 result.put(entry.getKey(), result.get(entry.getKey()) + entry.getTime()); in averageTimings()
40 result.put(entry.getKey(), (double) entry.getTime()); in averageTimings()
/frameworks/base/services/core/java/com/android/server/location/eventlog/
DLocalEventLog.java201 consumer.acceptLog(it.getTime(), it.getLog()); in iterate()
224 if (it != null && (next == null || it.getTime() < next.getTime())) { in iterate()
233 consumer.acceptLog(next.getTime(), next.getLog()); in iterate()
312 public long getTime() { in getTime() method in LocalEventLog.LogIterator
/frameworks/ex/common/java/com/android/common/
DLegacyHttpDateTime.java98 timeOfDay = getTime(rfcMatcher.group(4)); in parse()
104 timeOfDay = getTime(ansicMatcher.group(3)); in parse()
205 private static TimeOfDay getTime(String timeString) { in getTime() method in LegacyHttpDateTime
/frameworks/base/services/core/java/com/android/server/display/utils/
DRollingBuffer.java85 public long getTime(int index) { in getTime() method in RollingBuffer
108 if (isEmpty() || getTime(0) >= minTime) { in truncate()
DAmbientFilter.java229 final long startTime = buffer.getTime(0); in getWeights()
232 final float currentTime = (buffer.getTime(i) - startTime) / 1000.0f; in getWeights()
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/utils/
DZoneGetterTest.java95 mCalendar.getTime()); in getTimeZoneOffsetAndName_withTtsSpan()
107 mCalendar.getTime()); in testTimeZoneOffsetAndNameInner()
/frameworks/base/apex/jobscheduler/service/jni/
Dcom_android_server_alarm_AlarmManagerService.cpp85 int getTime(int type, struct itimerspec *spec);
122 int AlarmImpl::getTime(int type, struct itimerspec *spec) in getTime() function in android::AlarmImpl
244 const int result = impl->getTime(type, &spec); in android_server_alarm_AlarmManagerService_getNextAlarm()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DCarrierKeyDownloadMgrTest.java138 Date date = cal.getTime(); in testExpirationDate1Day()
141 String dateExpected = dt.format(expectedCal.getTime()); in testExpirationDate1Day()
161 Date date = cal.getTime(); in testExpirationDate7Day()
166 Date minExpirationDate = minExpirationCal.getTime(); in testExpirationDate7Day()
167 Date maxExpirationDate = maxExpirationCal.getTime(); in testExpirationDate7Day()
338 String dateExpected = dt.format(expectedCal.getTime()); in testDownloadComplete()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/alarm/
DLazyAlarmStore.java125 final long start = mStatLogger.getTime(); in getNextWakeupDeliveryTime()
147 final long start = mStatLogger.getTime(); in getNextDeliveryTime()
252 long start = mStatLogger.getTime(); in getCount()
/frameworks/native/opengl/tests/gl_perf/
Dfill_common.cpp110 uint64_t getTime() { in getTime() function
118 gTime = getTime(); in startTimer()
123 uint64_t t2 = getTime(); in endTimer()
/frameworks/base/core/java/com/android/internal/util/
DStatLogger.java93 public long getTime() { in getTime() method in StatLogger
104 final long duration = getTime() - start; in logDurationStat()
/frameworks/base/tests/Codegen/src/com/android/codegentest/
DMyDateParcelling.java44 dest.writeLong(item.getTime()); in parcel()
/frameworks/base/keystore/java/android/security/keystore/
DParcelableKeyGenParameterSpec.java57 out.writeLong(date.getTime()); in writeOptionalDate()
88 out.writeLong(mSpec.getCertificateNotBefore().getTime()); in writeToParcel()
89 out.writeLong(mSpec.getCertificateNotAfter().getTime()); in writeToParcel()
/frameworks/base/core/java/android/security/keymaster/
DKeymasterDateArgument.java50 out.writeLong(date.getTime()); in writeValue()
/frameworks/base/core/java/android/os/health/
DTimerStat.java113 public long getTime() { in getTime() method in TimerStat
/frameworks/opt/net/ims/tests/src/com/android/ims/rcs/uce/presence/pidfparser/
DPidfParserTest.java116 assertEquals(mPidfTimestamp.toString(), presenceTuple1.getTime().toString()); in testConvertFromPidfToRcsContactUceCapability()
200 assertEquals(mPidfTimestamp, tuple.getTime()); in testConvertFromNewlineIncludedPidfToRcsContactUceCapability()
262 assertEquals(mPidfTimestamp.toString(), presenceTuple1.getTime().toString()); in testConvertToRcsContactUceCapabilityForMultipleTuples()
273 assertEquals(mPidfTimestamp.toString(), presenceTuple2.getTime().toString()); in testConvertToRcsContactUceCapabilityForMultipleTuples()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/wifi/
DTimestampedScoredNetworkTest.java49 long time = new Date().getTime(); in testUpdate()
/frameworks/base/services/core/java/com/android/server/display/
DAutomaticBrightnessController.java788 if (mAmbientLightRingBuffer.getTime(i + 1) <= horizonStartTime) { in calculateAmbientLux()
796 mAmbientLightRingBuffer.getTime(endIndex) + ", " + in calculateAmbientLux()
803 long eventTime = mAmbientLightRingBuffer.getTime(i); in calculateAmbientLux()
846 earliestValidTime = mAmbientLightRingBuffer.getTime(i); in nextAmbientLightBrighteningTransition()
859 earliestValidTime = mAmbientLightRingBuffer.getTime(i); in nextAmbientLightDarkeningTransition()
1472 public long getTime(int index) { in getTime() method in AutomaticBrightnessController.AmbientLightRingBuffer
1566 final long next = i + 1 < mCount ? getTime(i + 1) in toString()
1573 buf.append(next - getTime(i)); in toString()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/location/
DRecentLocationApps.java176 if (entry.isRunning() || entry.getTime() >= recentLocationCutoffTime) { in getRequestFromOps()
177 locationRequestFinishTime = entry.getTime() + entry.getDuration(); in getRequestFromOps()
/frameworks/opt/calendar/src/com/android/calendarcommon2/
DTime.java131 return mCalendar.getTimeZone().inDaylightTime(mCalendar.getTime()); in isInDst()
262 return sdf.format(mCalendar.getTime()); in format2445()
479 return sdf.format(mCalendar.getTime()); in format()

12345