Home
last modified time | relevance | path

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

12345

/frameworks/base/core/java/android/service/notification/
DScheduleCalendar.java103 final long time = getTime(now, hr, min); in getNextTime()
107 private long getTime(long millis, int hour, int min) { in getTime() method in ScheduleCalendar
122 final long start = getTime(time, mSchedule.startHour, mSchedule.startMinute); in isInSchedule()
123 long end = getTime(time, mSchedule.endHour, mSchedule.endMinute); in isInSchedule()
137 final long start = getTime(alarm, mSchedule.startHour, mSchedule.startMinute); in isAlarmInSchedule()
138 long end = getTime(alarm, mSchedule.endHour, mSchedule.endMinute); in isAlarmInSchedule()
/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/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DCarrierKeyDownloadMgrTest.java102 Date date = cal.getTime(); in testExpirationDate1Day()
105 String dateExpected = dt.format(expectedCal.getTime()); in testExpirationDate1Day()
126 Date date = cal.getTime(); in testExpirationDate7Day()
131 Date minExpirationDate = minExpirationCal.getTime(); in testExpirationDate7Day()
132 Date maxExpirationDate = maxExpirationCal.getTime(); in testExpirationDate7Day()
267 String dateExpected = dt.format(expectedCal.getTime()); in testDownloadComplete()
/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/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/base/services/core/java/com/android/server/display/
DAutomaticBrightnessController.java587 if (mAmbientLightRingBuffer.getTime(i + 1) <= horizonStartTime) { in calculateAmbientLux()
595 mAmbientLightRingBuffer.getTime(endIndex) + ", " + in calculateAmbientLux()
602 long eventTime = mAmbientLightRingBuffer.getTime(i); in calculateAmbientLux()
645 earliestValidTime = mAmbientLightRingBuffer.getTime(i); in nextAmbientLightBrighteningTransition()
657 earliestValidTime = mAmbientLightRingBuffer.getTime(i); in nextAmbientLightDarkeningTransition()
1010 public long getTime(int index) { in getTime() method in AutomaticBrightnessController.AmbientLightRingBuffer
1088 final long next = i + 1 < mCount ? getTime(i + 1) : SystemClock.uptimeMillis(); in toString()
1094 buf.append(next - getTime(i)); in toString()
/frameworks/base/keystore/java/android/security/keystore/
DParcelableKeyGenParameterSpec.java53 out.writeLong(date.getTime()); in writeOptionalDate()
84 out.writeLong(mSpec.getCertificateNotBefore().getTime()); in writeToParcel()
85 out.writeLong(mSpec.getCertificateNotAfter().getTime()); in writeToParcel()
/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/core/java/android/security/keymaster/
DKeymasterDateArgument.java50 out.writeLong(date.getTime()); in writeValue()
/frameworks/base/apex/jobscheduler/service/jni/
Dcom_android_server_alarm_AlarmManagerService.cpp86 int getTime(int type, struct itimerspec *spec);
124 int AlarmImpl::getTime(int type, struct itimerspec *spec) in getTime() function in android::AlarmImpl
335 const int result = impl->getTime(type, &spec); in android_server_alarm_AlarmManagerService_getNextAlarm()
/frameworks/base/location/java/android/location/
DLocationTime.java39 public long getTime() { in getTime() method in LocationTime
/frameworks/opt/net/ims/tests/src/com/android/ims/rcs/uce/presence/pidfparser/
DPidfParserTest.java112 assertEquals(mPidfTimestamp.toString(), presenceTuple1.getTime().toString()); in testConvertFromPidfToRcsContactUceCapability()
192 assertEquals(mPidfTimestamp, tuple.getTime()); in testConvertFromNewlineIncludedPidfToRcsContactUceCapability()
251 assertEquals(mPidfTimestamp.toString(), presenceTuple1.getTime().toString()); in testConvertToRcsContactUceCapabilityForMultipleTuples()
262 assertEquals(mPidfTimestamp.toString(), presenceTuple2.getTime().toString()); in testConvertToRcsContactUceCapabilityForMultipleTuples()
/frameworks/opt/net/ims/tests/src/com/android/ims/rcs/uce/eab/
DEabControllerTest.java249 expiredDate.getTime().getTime() / 1000); in testCleanupInvalidDataInPresenceTable()
282 expiredDate.getTime().getTime() / 1000); in testCleanupInvalidDataInOptionTable()
/frameworks/base/core/java/android/os/health/
DTimerStat.java113 public long getTime() { in getTime() method in TimerStat
/frameworks/base/core/java/android/animation/
DAnimatorSet.java844 if (event.getTime() > currentPlayTime || event.getTime() == DURATION_INFINITE) {
877 if (event.getTime() > currentPlayTime
1267 if (event.getTime() >= currentPlayTime) {
1275 if (event.getTime() != DURATION_INFINITE && event.getTime() <= currentPlayTime) {
1535 mTotalDuration = mEvents.get(mEvents.size() - 1).getTime();
1551 long t1 = e1.getTime();
1552 long t2 = e2.getTime();
1898 long getTime() {
/frameworks/base/core/proto/android/os/
Dbatteryusagestats.proto32 // The session start timestamp in UTC milliseconds since January 1, 1970, per Date#getTime().
36 // The session end timestamp in UTC milliseconds since January 1, 1970, per Date#getTime().
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/wifi/
DTimestampedScoredNetworkTest.java49 long time = new Date().getTime(); in testUpdate()

12345