Home
last modified time | relevance | path

Searched refs:getTime (Results 1 – 25 of 95) 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()
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/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.java119 config.setSubscriptionCreationTimeInMillis(format.parse("2016-02-01T10:00:00Z").getTime()); in createFullPasspointConfiguration()
121 format.parse("2016-03-01T10:00:00Z").getTime()); in createFullPasspointConfiguration()
124 config.setUsageLimitStartTimeInMillis(format.parse("2016-12-01T10:00:00Z").getTime()); in createFullPasspointConfiguration()
145 credential.setCreationTimeInMillis(format.parse("2016-01-01T10:00:00Z").getTime()); in createFullPasspointConfiguration()
146 credential.setExpirationTimeInMillis(format.parse("2016-02-01T10:00:00Z").getTime()); in createFullPasspointConfiguration()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DCarrierKeyDownloadMgrTest.java101 Date date = cal.getTime(); in testExpirationDate1Day()
104 String dateExpected = dt.format(expectedCal.getTime()); in testExpirationDate1Day()
124 Date date = cal.getTime(); in testExpirationDate7Day()
129 Date minExpirationDate = minExpirationCal.getTime(); in testExpirationDate7Day()
130 Date maxExpirationDate = maxExpirationCal.getTime(); in testExpirationDate7Day()
252 String dateExpected = dt.format(expectedCal.getTime()); in testDownloadComplete()
/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/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/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/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/packages/SettingsLib/tests/integ/src/com/android/settingslib/utils/
DZoneGetterTest.java95 mCalendar.getTime()); in getTimeZoneOffsetAndName_withTtsSpan()
107 mCalendar.getTime()); in testTimeZoneOffsetAndNameInner()
/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/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()
1001 public long getTime(int index) { in getTime() method in AutomaticBrightnessController.AmbientLightRingBuffer
1079 final long next = i + 1 < mCount ? getTime(i + 1) : SystemClock.uptimeMillis(); in toString()
1085 buf.append(next - getTime(i)); in toString()
/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.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.java232 final long startTime = buffer.getTime(0); in getWeights()
235 final float currentTime = (buffer.getTime(i) - startTime) / 1000.0f; in getWeights()
/frameworks/base/services/core/jni/
Dcom_android_server_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_AlarmManagerService_getNextAlarm()
/frameworks/base/core/java/android/security/keymaster/
DKeymasterDateArgument.java49 out.writeLong(date.getTime()); in writeValue()
/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/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/opt/telephony/src/java/com/android/internal/telephony/
DCarrierKeyDownloadManager.java234 if (minExpirationDate > imsiEncryptionInfo.getExpirationTime().getTime()) { in getExpirationDate()
235 minExpirationDate = imsiEncryptionInfo.getExpirationTime().getTime(); in getExpirationDate()
510 long timeToExpire = imsiDate.getTime() - System.currentTimeMillis(); in areCarrierKeysAbsentOrExpiring()
566 new Pair(cert.getPublicKey(), cert.getNotAfter().getTime()); in getKeyInformation()
/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()

1234