Home
last modified time | relevance | path

Searched refs:setTime (Results 1 – 25 of 56) sorted by relevance

123

/frameworks/base/services/tests/servicestests/src/com/android/server/usage/
DAppTimeLimitControllerTests.java328 setTime(0L); in testAppUsageObserver_Accumulation()
332 setTime(TIME_10_MIN); in testAppUsageObserver_Accumulation()
341 setTime(TIME_10_MIN * 2); in testAppUsageObserver_Accumulation()
347 setTime(TIME_30_MIN); in testAppUsageObserver_Accumulation()
353 setTime(TIME_30_MIN + TIME_10_MIN); in testAppUsageObserver_Accumulation()
363 setTime(0L); in testUsageSessionObserver_Accumulation()
367 setTime(TIME_10_MIN); in testUsageSessionObserver_Accumulation()
376 setTime(TIME_10_MIN * 2); in testUsageSessionObserver_Accumulation()
382 setTime(TIME_30_MIN); in testUsageSessionObserver_Accumulation()
388 setTime(TIME_30_MIN + TIME_10_MIN); in testUsageSessionObserver_Accumulation()
[all …]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/
DWifiAwareMetricsTest.java103 setTime(0); in setUp()
116 setTime(5); in testEnableDisableUsageMetrics()
118 setTime(10); in testEnableDisableUsageMetrics()
120 setTime(11); in testEnableDisableUsageMetrics()
122 setTime(12); in testEnableDisableUsageMetrics()
125 setTime(14); in testEnableDisableUsageMetrics()
136 setTime(15); in testEnableDisableUsageMetrics()
139 setTime(17); in testEnableDisableUsageMetrics()
152 setTime(23); in testEnableDisableUsageMetrics()
177 setTime(5); in testEnableDisableAwareMetrics()
[all …]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/rtt/
DRttMetricsTest.java67 setTime(1); in setUp()
96 setTime(10); // delta = 9 in testRecordRequest()
98 setTime(20); // delta = 10 in testRecordRequest()
100 setTime(21); // delta = 1 in testRecordRequest()
102 setTime(1000); // delta = 979 in testRecordRequest()
104 setTime(5000); // delta = 4,000 in testRecordRequest()
106 setTime(1000000); // delta = 995,000 in testRecordRequest()
155 setTime(100); in testRecordRequest()
157 setTime(101); in testRecordRequest()
159 setTime(102); in testRecordRequest()
[all …]
/frameworks/base/core/jni/android/graphics/
DMovieImpl.cpp52 bool Movie::setTime(SkMSec time) in setTime() function in Movie
71 this->setTime(0); in bitmap()
DMovie.h48 bool setTime(SkMSec);
DMovie.cpp63 return J2Movie(env, movie)->setTime(ms) ? JNI_TRUE : JNI_FALSE; in movie_setTime()
/frameworks/base/tests/BackgroundDexOptServiceIntegrationTests/src/com/android/server/pm/
DBackgroundDexOptServiceIntegrationTests.java220 setTime(currentTime + futureMillis); in setTimeFutureMillis()
223 private static void setTime(long time) { in setTime() method in BackgroundDexOptServiceIntegrationTests
225 am.setTime(time); in setTime()
/frameworks/base/services/core/java/com/android/server/twilight/
DTwilightService.java295 ca.setTime(noon.getTimeInMillis()); in calculateTwilightState()
302 ca.setTime(noon.getTimeInMillis()); in calculateTwilightState()
306 ca.setTime(noon.getTimeInMillis()); in calculateTwilightState()
/frameworks/base/services/core/jni/
Dcom_android_server_AlarmManagerService.cpp84 int setTime(struct timeval *tv);
134 int AlarmImpl::setTime(struct timeval *tv) in setTime() function in android::AlarmImpl
215 int ret = impl->setTime(&tv); in android_server_AlarmManagerService_setKernelTime()
/frameworks/base/core/java/android/app/
DIAlarmManager.aidl37 boolean setTime(long millis); in setTime() method
DAlarmManager.java969 public void setTime(long millis) { in setTime() method in AlarmManager
971 mService.setTime(millis); in setTime()
/frameworks/base/core/java/android/os/health/
DTimerStat.java106 public void setTime(long time) { in setTime() method in TimerStat
/frameworks/base/services/core/java/com/android/server/content/
DSyncLogger.java190 mCachedDate.setTime(now); in logInner()
231 mCachedDate.setTime(now); in openLogLocked()
/frameworks/base/services/core/java/com/android/server/timedetector/
DTimeDetectorStrategyCallbackImpl.java102 mAlarmManager.setTime(newTimeMillis); in setSystemClock()
/frameworks/base/graphics/java/android/graphics/
DMovie.java47 public native boolean setTime(int relativeMilliseconds); in setTime() method in Movie
/frameworks/multidex/library/test/src/androidx/multidex/
DZipEntryReader.java87 entry.setTime(getTime(time, modDate)); in readEntry()
/frameworks/base/core/java/android/os/
DSystemClock.java162 return mgr.setTime(millis); in setCurrentTimeMillis()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DDateView.java111 mCurrentTime.setTime(System.currentTimeMillis()); in updateClock()
/frameworks/base/tools/locked_region_code_injection/src/lockedregioncodeinjection/
DMain.java78 newEntry.setTime(entry.getTime()); in main()
/frameworks/base/tests/DozeTest/src/com/android/dreams/dozetest/
DDozeTestDream.java147 mTime.setTime(now); in performTimeUpdate()
/frameworks/base/core/proto/android/service/
Dgraphicsstats.proto45 // Compatible with java.util.Date#setTime()
/frameworks/base/libs/hwui/protos/
Dgraphicsstats.proto40 // Compatible with java.util.Date#setTime()
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/
DTrackerEntry.java237 location.setTime(cursor.getLong(cursor.getColumnIndex(LOC_TIME))); in createEntry()
/frameworks/base/core/java/android/widget/
DCalendarView.java798 outDate.setTime(parsedDate); in parseDate()
/frameworks/multidex/library/src/androidx/multidex/
DMultiDexExtractor.java394 classesDex.setTime(dexFile.getTime()); in extract()

123