Home
last modified time | relevance | path

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

/frameworks/av/services/audioflinger/timing/
DMonotonicFrameCounter.cpp26 int64_t newFrameCount, int64_t newTime) { in updateAndGetMonotonicFrameCount() argument
27 if (newFrameCount < 0 || newTime < 0) { in updateAndGetMonotonicFrameCount()
DMonotonicFrameCounter.h46 int64_t updateAndGetMonotonicFrameCount(int64_t newFrameCount, int64_t newTime);
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DKernelCpuUidUserSysTimeReaderTest.java270 long[][] newTime = new long[original.length][original[0].length]; in increaseTime() local
273 newTime[i][j] = original[i][j] + mRand.nextInt(1000) * 1000 + 1000; in increaseTime()
276 return newTime; in increaseTime()
DKernelCpuUidClusterTimeReaderTest.java284 long[][] newTime = new long[original.length][original[0].length]; in increaseTime() local
287 newTime[i][j] = original[i][j] + mRand.nextInt(10000) * 1000 + 1000; in increaseTime()
290 return newTime; in increaseTime()
DKernelCpuUidActiveTimeReaderTest.java276 long[][] newTime = new long[original.length][original[0].length]; in increaseTime() local
279 newTime[i][j] = original[i][j] + mRand.nextInt(10000) * 1000 + 1000; in increaseTime()
282 return newTime; in increaseTime()
DKernelCpuUidFreqTimeReaderTest.java308 long[][] newTime = new long[original.length][original[0].length]; in increaseTime() local
311 newTime[i][j] = original[i][j] + mRand.nextInt(10000) * 10 + 10; in increaseTime()
314 return newTime; in increaseTime()
/frameworks/base/services/core/java/com/android/server/timedetector/
DTimeDetectorStrategyImpl.java1038 @Origin int origin, @NonNull UnixEpochTime newTime,
1070 long newSystemClockMillis = newTime.at(elapsedRealtimeMillis).getUnixEpochTimeMillis();
1082 + " newTime=" + newTime
1097 mLastAutoSystemClockTimeSet = newTime;
1108 + " newTime=" + newTime
1124 + " newTime=" + newTime
/frameworks/av/media/mtp/
DMtpServer.cpp1278 struct timespec newTime[2]; in doSendObject() local
1279 newTime[0].tv_nsec = UTIME_NOW; in doSendObject()
1280 newTime[1].tv_sec = mSendObjectModifiedTime; in doSendObject()
1281 newTime[1].tv_nsec = 0; in doSendObject()
1282 if (futimens(mfr.fd, newTime) < 0) { in doSendObject()
/frameworks/base/services/core/java/com/android/server/
DUiModeManagerService.java1071 LocalTime newTime = LocalTime.ofNanoOfDay(time * 1000); in setCustomNightModeStart() local
1072 if (newTime == null) return; in setCustomNightModeStart()
1073 mCustomAutoNightModeStartMilliseconds = newTime; in setCustomNightModeStart()
1101 LocalTime newTime = LocalTime.ofNanoOfDay(time * 1000); in setCustomNightModeEnd() local
1102 if (newTime == null) return; in setCustomNightModeEnd()
1103 mCustomAutoNightModeEndMilliseconds = newTime; in setCustomNightModeEnd()
/frameworks/base/services/usage/java/com/android/server/usage/
DUsageStatsDatabase.java710 final long newTime = files.keyAt(i) + timeDiffMillis; in onTimeChanged() local
711 if (newTime < 0) { in onTimeChanged()
721 String newName = Long.toString(newTime); in onTimeChanged()
DUserUsageStatsService.java266 private void onTimeChanged(long oldTime, long newTime) { in onTimeChanged() argument
269 mDatabase.onTimeChanged(newTime - oldTime); in onTimeChanged()
270 loadActiveStats(newTime); in onTimeChanged()
/frameworks/base/services/tests/powerservicetests/src/com/android/server/power/
DPowerManagerServiceTest.java2868 final long newTime = timeToAdvance * 2; in testUserActivityOnDeviceStateChange() local
2870 assertThat(mService.wasDeviceIdleForInternal(newTime - 1)).isTrue(); in testUserActivityOnDeviceStateChange()
2871 assertThat(mService.wasDeviceIdleForInternal(newTime)).isFalse(); in testUserActivityOnDeviceStateChange()