Home
last modified time | relevance | path

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

123

/frameworks/base/services/tests/servicestests/src/com/android/server/usage/
DAppTimeLimitControllerTests.java348 setTime(0L); in testAppUsageObserver_Accumulation()
352 setTime(TIME_10_MIN); in testAppUsageObserver_Accumulation()
361 setTime(TIME_10_MIN * 2); in testAppUsageObserver_Accumulation()
367 setTime(TIME_30_MIN); in testAppUsageObserver_Accumulation()
373 setTime(TIME_30_MIN + TIME_10_MIN); in testAppUsageObserver_Accumulation()
383 setTime(0L); in testUsageSessionObserver_Accumulation()
387 setTime(TIME_10_MIN); in testUsageSessionObserver_Accumulation()
396 setTime(TIME_10_MIN * 2); in testUsageSessionObserver_Accumulation()
402 setTime(TIME_30_MIN); in testUsageSessionObserver_Accumulation()
408 setTime(TIME_30_MIN + TIME_10_MIN); in testUsageSessionObserver_Accumulation()
[all …]
/frameworks/base/libs/hwui/jni/
DMovieImpl.cpp52 bool Movie::setTime(SkMSec time) in setTime() function in Movie
71 this->setTime(0); in bitmap()
DMovie.h48 bool setTime(SkMSec);
/frameworks/base/tests/BackgroundDexOptServiceIntegrationTests/src/com/android/server/pm/
DBackgroundDexOptServiceIntegrationTests.java226 setTime(currentTime + futureMillis); in setTimeFutureMillis()
229 private static void setTime(long time) { in setTime() method in BackgroundDexOptServiceIntegrationTests
231 am.setTime(time); in setTime()
/frameworks/base/services/core/java/com/android/server/twilight/
DTwilightService.java293 ca.setTime(noon.getTimeInMillis()); in calculateTwilightState()
300 ca.setTime(noon.getTimeInMillis()); in calculateTwilightState()
304 ca.setTime(noon.getTimeInMillis()); in calculateTwilightState()
/frameworks/base/apex/jobscheduler/service/jni/
Dcom_android_server_alarm_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_alarm_AlarmManagerService_setKernelTime()
/frameworks/base/core/java/android/os/health/
DTimerStat.java106 public void setTime(long time) { in setTime() method in TimerStat
/frameworks/base/apex/jobscheduler/framework/java/android/app/
DIAlarmManager.aidl37 boolean setTime(long millis); in setTime() method
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DMobileRadioPowerCalculatorTest.java95 mStatsRule.setTime(12_000_000, 12_000_000); in testCounterBasedModel()
155 mStatsRule.setTime(12_000_000, 12_000_000); in testMeasuredEnergyBasedModel()
DIdlePowerCalculatorTest.java42 mStatsRule.setTime(3_000_000, 2_000_000); in testTimerBasedModel()
DScreenPowerCalculatorTest.java78 mStatsRule.setTime(120 * MINUTE_IN_US, 120 * MINUTE_IN_US); in testMeasuredEnergyBasedModel()
151 mStatsRule.setTime(120 * MINUTE_IN_US, 120 * MINUTE_IN_US); in testPowerProfileBasedModel()
DWakelockPowerCalculatorTest.java57 mStatsRule.setTime(10_000_000, 6_000_000); in testTimerBasedModel()
DBatteryUsageStatsProviderTest.java190 mStatsRule.setTime(10500, 0); in shouldUpdateStats()
193 mStatsRule.setTime(11500, 0); in shouldUpdateStats()
DBatteryStatsHistoryIteratorTest.java46 mStatsRule.setTime(1000, 1000); in testIterator()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/
DLocationUtils.java62 location.setTime(System.currentTimeMillis()); in createLocation()
/frameworks/base/services/core/java/com/android/server/content/
DSyncLogger.java190 mCachedDate.setTime(now); in logInner()
231 mCachedDate.setTime(now); in openLogLocked()
/frameworks/base/graphics/java/android/graphics/
DMovie.java47 public native boolean setTime(int relativeMilliseconds); in setTime() method in Movie
/frameworks/base/services/core/java/com/android/server/location/
DLocationShellCommand.java294 location.setTime(System.currentTimeMillis()); in handleSetTestProviderLocation()
321 location.setTime(Long.parseLong(getNextArgRequired())); in handleSetTestProviderLocation()
/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/tools/locked_region_code_injection/src/lockedregioncodeinjection/
DMain.java78 newEntry.setTime(entry.getTime()); in main()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DDateView.java121 mCurrentTime.setTime(System.currentTimeMillis()); in updateClock()
/frameworks/base/tests/DozeTest/src/com/android/dreams/dozetest/
DDozeTestDream.java146 mTime.setTime(now); in performTimeUpdate()
/frameworks/base/services/core/java/com/android/server/timedetector/
DEnvironmentImpl.java160 mAlarmManager.setTime(newTimeMillis); in setSystemClock()
/frameworks/base/libs/hwui/protos/
Dgraphicsstats.proto46 // Compatible with java.util.Date#setTime()

123