Home
last modified time | relevance | path

Searched refs:newTime (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/services/core/java/com/android/server/timedetector/
DTimeDetectorStrategyImpl.java705 @Origin int origin, @NonNull TimestampedValue<Long> newTime, @NonNull String cause) { in setSystemClockUnderWakeLock() argument
732 long newSystemClockMillis = TimeDetectorStrategy.getTimeAt(newTime, elapsedRealtimeMillis); in setSystemClockUnderWakeLock()
743 + " newTime=" + newTime in setSystemClockUnderWakeLock()
752 String logMsg = "Set system clock using time=" + newTime in setSystemClockUnderWakeLock()
765 mLastAutoSystemClockTimeSet = newTime; in setSystemClockUnderWakeLock()
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DKernelCpuUidActiveTimeReaderTest.java269 long[][] newTime = new long[original.length][original[0].length]; in increaseTime() local
272 newTime[i][j] = original[i][j] + mRand.nextInt(10000) * 1000 + 1000; in increaseTime()
275 return newTime; in increaseTime()
DKernelCpuUidUserSysTimeReaderTest.java259 long[][] newTime = new long[original.length][original[0].length]; in increaseTime() local
262 newTime[i][j] = original[i][j] + mRand.nextInt(1000) * 1000 + 1000; in increaseTime()
265 return newTime; in increaseTime()
DKernelCpuUidClusterTimeReaderTest.java277 long[][] newTime = new long[original.length][original[0].length]; in increaseTime() local
280 newTime[i][j] = original[i][j] + mRand.nextInt(10000) * 1000 + 1000; in increaseTime()
283 return newTime; in increaseTime()
DKernelCpuUidFreqTimeReaderTest.java363 long[][] newTime = new long[original.length][original[0].length]; in increaseTime() local
366 newTime[i][j] = original[i][j] + mRand.nextInt(10000) * 10 + 10; in increaseTime()
369 return newTime; in increaseTime()
/frameworks/av/media/mtp/
DMtpServer.cpp1274 struct timespec newTime[2]; in doSendObject() local
1275 newTime[0].tv_nsec = UTIME_NOW; in doSendObject()
1276 newTime[1].tv_sec = mSendObjectModifiedTime; in doSendObject()
1277 newTime[1].tv_nsec = 0; in doSendObject()
1278 if (futimens(mfr.fd, newTime) < 0) { in doSendObject()
/frameworks/base/services/core/java/com/android/server/
DUiModeManagerService.java869 LocalTime newTime = LocalTime.ofNanoOfDay(time * 1000);
870 if (newTime == null) return;
871 mCustomAutoNightModeStartMilliseconds = newTime;
897 LocalTime newTime = LocalTime.ofNanoOfDay(time * 1000);
898 if (newTime == null) return;
899 mCustomAutoNightModeEndMilliseconds = newTime;
/frameworks/base/services/usage/java/com/android/server/usage/
DUsageStatsDatabase.java696 final long newTime = files.keyAt(i) + timeDiffMillis; in onTimeChanged() local
697 if (newTime < 0) { in onTimeChanged()
707 String newName = Long.toString(newTime); in onTimeChanged()
DUserUsageStatsService.java238 private void onTimeChanged(long oldTime, long newTime) { in onTimeChanged() argument
240 mDatabase.onTimeChanged(newTime - oldTime); in onTimeChanged()
241 loadActiveStats(newTime); in onTimeChanged()