Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/timedetector/
DSimpleTimeDetectorStrategy.java193 TimestampedValue<Long> newTime, boolean sendNetworkBroadcast, in adjustAndSetDeviceSystemClock() argument
197 long newSystemClockMillis = TimeDetectorStrategy.getTimeAt(newTime, elapsedRealtimeMillis); in adjustAndSetDeviceSystemClock()
207 + " newTime=" + newTime in adjustAndSetDeviceSystemClock()
214 Slog.d(TAG, "Setting system clock using time=" + newTime in adjustAndSetDeviceSystemClock()
221 mLastSystemClockTimeSet = newTime; in adjustAndSetDeviceSystemClock()
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DKernelCpuUidUserSysTimeReaderTest.java231 long[][] newTime = new long[original.length][original[0].length]; in increaseTime() local
234 newTime[i][j] = original[i][j] + mRand.nextInt(1000) * 1000 + 1000; in increaseTime()
237 return newTime; in increaseTime()
DKernelCpuUidActiveTimeReaderTest.java230 long[][] newTime = new long[original.length][original[0].length]; in increaseTime() local
233 newTime[i][j] = original[i][j] + mRand.nextInt(10000) * 1000 + 1000; in increaseTime()
236 return newTime; in increaseTime()
DKernelCpuUidClusterTimeReaderTest.java238 long[][] newTime = new long[original.length][original[0].length]; in increaseTime() local
241 newTime[i][j] = original[i][j] + mRand.nextInt(10000) * 1000 + 1000; in increaseTime()
244 return newTime; in increaseTime()
DKernelCpuUidFreqTimeReaderTest.java319 long[][] newTime = new long[original.length][original[0].length]; in increaseTime() local
322 newTime[i][j] = original[i][j] + mRand.nextInt(10000) * 10 + 10; in increaseTime()
325 return newTime; in increaseTime()
/frameworks/av/media/mtp/
DMtpServer.cpp1230 struct timespec newTime[2]; in doSendObject() local
1231 newTime[0].tv_nsec = UTIME_NOW; in doSendObject()
1232 newTime[1].tv_sec = mSendObjectModifiedTime; in doSendObject()
1233 newTime[1].tv_nsec = 0; in doSendObject()
1234 if (futimens(mfr.fd, newTime) < 0) { in doSendObject()
/frameworks/base/services/usage/java/com/android/server/usage/
DUserUsageStatsService.java159 void onTimeChanged(long oldTime, long newTime) { in onTimeChanged() argument
161 mDatabase.onTimeChanged(newTime - oldTime); in onTimeChanged()
162 loadActiveStats(newTime); in onTimeChanged()
DUsageStatsDatabase.java523 final long newTime = files.keyAt(i) + timeDiffMillis; in onTimeChanged() local
524 if (newTime < 0) { in onTimeChanged()
534 String newName = Long.toString(newTime); in onTimeChanged()