/frameworks/av/services/audioflinger/timing/ |
D | MonotonicFrameCounter.cpp | 26 int64_t newFrameCount, int64_t newTime) { in updateAndGetMonotonicFrameCount() argument 27 if (newFrameCount < 0 || newTime < 0) { in updateAndGetMonotonicFrameCount()
|
D | MonotonicFrameCounter.h | 46 int64_t updateAndGetMonotonicFrameCount(int64_t newFrameCount, int64_t newTime);
|
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | KernelCpuUidUserSysTimeReaderTest.java | 270 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()
|
D | KernelCpuUidClusterTimeReaderTest.java | 284 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()
|
D | KernelCpuUidActiveTimeReaderTest.java | 276 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()
|
D | KernelCpuUidFreqTimeReaderTest.java | 308 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/ |
D | TimeDetectorStrategyImpl.java | 1038 @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/ |
D | MtpServer.cpp | 1278 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/ |
D | UiModeManagerService.java | 1071 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/ |
D | UsageStatsDatabase.java | 710 final long newTime = files.keyAt(i) + timeDiffMillis; in onTimeChanged() local 711 if (newTime < 0) { in onTimeChanged() 721 String newName = Long.toString(newTime); in onTimeChanged()
|
D | UserUsageStatsService.java | 266 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/ |
D | PowerManagerServiceTest.java | 2868 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()
|