Home
last modified time | relevance | path

Searched refs:getTime (Results 1 – 25 of 104) 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()
/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/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DCarrierKeyDownloadMgrTest.java112 Date date = cal.getTime(); in testExpirationDate1Day()
115 String dateExpected = dt.format(expectedCal.getTime()); in testExpirationDate1Day()
135 Date date = cal.getTime(); in testExpirationDate7Day()
140 Date minExpirationDate = minExpirationCal.getTime(); in testExpirationDate7Day()
141 Date maxExpirationDate = maxExpirationCal.getTime(); in testExpirationDate7Day()
312 String dateExpected = dt.format(expectedCal.getTime()); in testDownloadComplete()
/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/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/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/base/tests/Codegen/src/com/android/codegentest/
DMyDateParcelling.java44 dest.writeLong(item.getTime()); in parcel()
/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/core/java/android/security/keymaster/
DKeymasterDateArgument.java50 out.writeLong(date.getTime()); in writeValue()
/frameworks/base/location/java/android/location/
DLocationTime.java39 public long getTime() { in getTime() method in LocationTime
/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/core/java/android/os/health/
DTimerStat.java113 public long getTime() { in getTime() method in TimerStat
/frameworks/base/services/core/java/com/android/server/display/
DAutomaticBrightnessController.java755 if (mAmbientLightRingBuffer.getTime(i + 1) <= horizonStartTime) { in calculateAmbientLux()
763 mAmbientLightRingBuffer.getTime(endIndex) + ", " + in calculateAmbientLux()
770 long eventTime = mAmbientLightRingBuffer.getTime(i); in calculateAmbientLux()
813 earliestValidTime = mAmbientLightRingBuffer.getTime(i); in nextAmbientLightBrighteningTransition()
825 earliestValidTime = mAmbientLightRingBuffer.getTime(i); in nextAmbientLightDarkeningTransition()
1278 public long getTime(int index) { in getTime() method in AutomaticBrightnessController.AmbientLightRingBuffer
1372 final long next = i + 1 < mCount ? getTime(i + 1) : mClock.uptimeMillis(); in toString()
1378 buf.append(next - getTime(i)); in toString()
/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/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/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()

12345