Home
last modified time | relevance | path

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

1234

/frameworks/base/core/java/android/service/notification/
DScheduleCalendar.java110 final long time = getTime(now, hr, min); in getNextTime()
114 private long getTime(long millis, int hour, int min) { in getTime() method in ScheduleCalendar
129 final long start = getTime(time, mSchedule.startHour, mSchedule.startMinute); in isInSchedule()
130 long end = getTime(time, mSchedule.endHour, mSchedule.endMinute); in isInSchedule()
144 final long start = getTime(alarm, mSchedule.startHour, mSchedule.startMinute); in isAlarmInSchedule()
145 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()
/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/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointXmlUtilsTest.java89 config.setSubscriptionCreationTimeInMillis(format.parse("2016-02-01T10:00:00Z").getTime()); in createFullPasspointConfiguration()
91 format.parse("2016-03-01T10:00:00Z").getTime()); in createFullPasspointConfiguration()
94 config.setUsageLimitStartTimeInMillis(format.parse("2016-12-01T10:00:00Z").getTime()); in createFullPasspointConfiguration()
115 credential.setCreationTimeInMillis(format.parse("2016-01-01T10:00:00Z").getTime()); in createFullPasspointConfiguration()
116 credential.setExpirationTimeInMillis(format.parse("2016-02-01T10:00:00Z").getTime()); in createFullPasspointConfiguration()
DPasspointConfigUserStoreDataTest.java118 config.setSubscriptionCreationTimeInMillis(format.parse("2016-02-01T10:00:00Z").getTime()); in createFullPasspointConfiguration()
120 format.parse("2016-03-01T10:00:00Z").getTime()); in createFullPasspointConfiguration()
123 config.setUsageLimitStartTimeInMillis(format.parse("2016-12-01T10:00:00Z").getTime()); in createFullPasspointConfiguration()
144 credential.setCreationTimeInMillis(format.parse("2016-01-01T10:00:00Z").getTime()); in createFullPasspointConfiguration()
145 credential.setExpirationTimeInMillis(format.parse("2016-02-01T10:00:00Z").getTime()); in createFullPasspointConfiguration()
/frameworks/base/wifi/tests/src/android/net/wifi/hotspot2/omadm/
DPpsMoParserTest.java115 config.setSubscriptionCreationTimeInMillis(format.parse("2016-02-01T10:00:00Z").getTime()); in generateConfigurationFromPPSMOTree()
116 … config.setSubscriptionExpirationTimeInMillis(format.parse("2016-03-01T10:00:00Z").getTime()); in generateConfigurationFromPPSMOTree()
119 config.setUsageLimitStartTimeInMillis(format.parse("2016-12-01T10:00:00Z").getTime()); in generateConfigurationFromPPSMOTree()
140 credential.setCreationTimeInMillis(format.parse("2016-01-01T10:00:00Z").getTime()); in generateConfigurationFromPPSMOTree()
141 credential.setExpirationTimeInMillis(format.parse("2016-02-01T10:00:00Z").getTime()); in generateConfigurationFromPPSMOTree()
/frameworks/base/core/java/com/android/internal/http/
DHttpDateTime.java100 timeOfDay = getTime(rfcMatcher.group(4)); in parse()
106 timeOfDay = getTime(ansicMatcher.group(3)); in parse()
208 private static TimeOfDay getTime(String timeString) { in getTime() method in HttpDateTime
/frameworks/ex/common/java/com/android/common/
DLegacyHttpDateTime.java98 timeOfDay = getTime(rfcMatcher.group(4)); in parse()
104 timeOfDay = getTime(ansicMatcher.group(3)); in parse()
206 private static TimeOfDay getTime(String timeString) { in getTime() method in LegacyHttpDateTime
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DCarrierKeyDownloadMgrTest.java120 Date date = cal.getTime(); in testExpirationDate1Day()
123 String dateExpected = dt.format(expectedCal.getTime()); in testExpirationDate1Day()
143 Date date = cal.getTime(); in testExpirationDate7Day()
148 Date minExpirationDate = minExpirationCal.getTime(); in testExpirationDate7Day()
149 Date maxExpirationDate = maxExpirationCal.getTime(); in testExpirationDate7Day()
277 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()
/frameworks/base/cmds/statsd/tools/loadtest/src/com/android/statsd/loadtest/
DBatteryStatsParser.java61 Long time = getTime(lineMatcher.group(1)); in parseLine()
76 private Long getTime(String group) { in getTime() method in BatteryStatsParser
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/utils/
DZoneGetterTest.java95 mCalendar.getTime()); in getTimeZoneOffsetAndName_withTtsSpan()
107 mCalendar.getTime()); in testTimeZoneOffsetAndNameInner()
/frameworks/opt/gamesdk/src/swappy/
DSwappy.cpp557 if (!mPipelineMode && averageFrameTime.getTime(true) <= upperBound) { in swapSlower()
567 if (mPipelineModeAutoMode && averageFrameTime.getTime(false) < newBound) { in swapSlower()
588 if (!mPipelineModeAutoMode || averageFrameTime.getTime(false) > newBound) { in swapFaster()
618 auto div_result = ::div((averageFrameTime.getTime(true) + FRAME_HYSTERESIS).count(), in updateSwapInterval()
632 if (averageFrameTime.getTime(mPipelineMode) > upperBound) { in updateSwapInterval()
636 (averageFrameTime.getTime(true) < lowerBound)) { in updateSwapInterval()
640 averageFrameTime.getTime(false) < upperBound - FRAME_HYSTERESIS) { in updateSwapInterval()
/frameworks/base/services/core/java/com/android/server/display/
DAutomaticBrightnessController.java566 if (mAmbientLightRingBuffer.getTime(i + 1) <= horizonStartTime) { in calculateAmbientLux()
574 mAmbientLightRingBuffer.getTime(endIndex) + ", " + in calculateAmbientLux()
581 long eventTime = mAmbientLightRingBuffer.getTime(i); in calculateAmbientLux()
624 earliestValidTime = mAmbientLightRingBuffer.getTime(i); in nextAmbientLightBrighteningTransition()
636 earliestValidTime = mAmbientLightRingBuffer.getTime(i); in nextAmbientLightDarkeningTransition()
977 public long getTime(int index) { in getTime() method in AutomaticBrightnessController.AmbientLightRingBuffer
1055 final long next = i + 1 < mCount ? getTime(i + 1) : SystemClock.uptimeMillis(); in toString()
1061 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/base/core/java/com/android/internal/util/
DStatLogger.java85 public long getTime() { in getTime() method in StatLogger
96 final long duration = getTime() - start; in logDurationStat()
/frameworks/base/services/core/java/com/android/server/display/whitebalance/
DAmbientFilter.java231 final long startTime = buffer.getTime(0); in getWeights()
234 final float currentTime = (buffer.getTime(i) - startTime) / 1000.0f; in getWeights()
/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/android/security/keymaster/
DKeymasterDateArgument.java48 out.writeLong(date.getTime()); in writeValue()
/frameworks/base/location/java/android/location/
DLocationTime.java39 public long getTime() { in getTime() method in LocationTime
/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/services/core/jni/
Dcom_android_server_AlarmManagerService.cpp84 int getTime(int type, struct itimerspec *spec);
122 int AlarmImpl::getTime(int type, struct itimerspec *spec) in getTime() function in android::AlarmImpl
400 const int result = impl->getTime(type, &spec); in android_server_AlarmManagerService_getNextAlarm()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/wifi/
DTimestampedScoredNetworkTest.java49 long time = new Date().getTime(); in testUpdate()

1234