Home
last modified time | relevance | path

Searched defs:millis (Results 1 – 25 of 80) sorted by relevance

1234

/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/util/time/
DFakeSystemClock.java70 public void setCurrentTimeMillis(long millis) { in setCurrentTimeMillis()
74 public void setElapsedRealtime(long millis) { in setElapsedRealtime()
85 public void advanceTime(long millis) { in advanceTime()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/util/io/
DFakeBasicFileAttributes.java82 public FakeBasicFileAttributes setLastModifiedTime(long millis) { in setLastModifiedTime()
87 public FakeBasicFileAttributes setLastAccessTime(long millis) { in setLastAccessTime()
92 public FakeBasicFileAttributes setCreationTime(long millis) { in setCreationTime()
/frameworks/base/core/java/android/os/
DDropBoxManager.java129 public Entry(@NonNull String tag, @CurrentTimeMillisLong long millis) { in Entry()
140 public Entry(@NonNull String tag, @CurrentTimeMillisLong long millis, in Entry()
156 public Entry(@NonNull String tag, @CurrentTimeMillisLong long millis, in Entry()
174 public Entry(@NonNull String tag, @CurrentTimeMillisLong long millis, in Entry()
192 public Entry(@NonNull String tag, @CurrentTimeMillisLong long millis, in Entry()
DBestClock.java46 public long millis() { in millis() method in BestClock
DSystemClock.java157 public static boolean setCurrentTimeMillis(long millis) { in setCurrentTimeMillis()
/frameworks/base/core/java/com/android/internal/os/
DIDropBoxManagerService.aidl39 DropBoxManager.Entry getNextEntry(String tag, long millis, String packageName); in getNextEntry()
41 DropBoxManager.Entry getNextEntryWithAttribution(String tag, long millis, String packageName, in getNextEntryWithAttribution()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/utils/
DStringUtil.java59 public static CharSequence formatElapsedTime(Context context, double millis, in formatElapsedTime()
137 public static CharSequence formatRelativeTime(Context context, double millis, in formatRelativeTime()
184 public static CharSequence formatRelativeTime(Context context, double millis, in formatRelativeTime()
/frameworks/base/core/tests/coretests/src/android/text/format/
DTimeTest.java216 long millis = local.toMillis(true /* ignore isDst */); in testNormalize1() local
261 long millis = local.toMillis(false /* use isDst */); in testNormalize1() local
547 long millis = time.normalize(true); in disableTestGetJulianDay() local
588 long millis = time.normalize(true); in disableTestSetJulianDay() local
/frameworks/base/services/core/java/com/android/server/power/
DAttentionDetector.java326 final long millis = DeviceConfig.getLong(NAMESPACE_ATTENTION_MANAGER_SERVICE, in getPreDimCheckDurationMillis() local
341 final long millis = DeviceConfig.getLong(NAMESPACE_ATTENTION_MANAGER_SERVICE, in getPostDimCheckDurationMillis() local
355 final long millis = DeviceConfig.getLong(NAMESPACE_ATTENTION_MANAGER_SERVICE, in getMaxExtensionMillis() local
/frameworks/base/core/java/android/text/format/
DDateUtils.java384 public static CharSequence formatDuration(long millis) { in formatDuration()
400 public static CharSequence formatDuration(long millis, int abbrev) { in formatDuration()
811 public static String formatDateTime(Context context, long millis, int flags) { in formatDateTime()
829 public static CharSequence getRelativeTimeSpanString(Context c, long millis, in getRelativeTimeSpanString()
882 public static CharSequence getRelativeTimeSpanString(Context c, long millis) { in getRelativeTimeSpanString()
DTime.java762 public void set(long millis) { in set()
954 long millis = time.toMillis(true); in isEpoch() local
979 public static int getJulianDay(long millis, long gmtoffSeconds) { in getJulianDay()
1014 long millis = (julianDay - EPOCH_JULIAN_DAY) * DateUtils.DAY_IN_MILLIS; in setJulianDay() local
1097 public void setTimeInMillis(long millis) { in setTimeInMillis()
/frameworks/libs/net/common/framework/com/android/net/module/util/
DBestClock.java51 public long millis() { in millis() method in BestClock
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DDropboxRateLimiterTest.java174 public void setOffsetMillis(long millis) { in setOffsetMillis()
/frameworks/ex/common/java/com/android/common/
DOperationScheduler.java241 public void setTriggerTimeMillis(long millis) { in setTriggerTimeMillis()
253 public void setMoratoriumTimeMillis(long millis) { in setMoratoriumTimeMillis()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/
DJobSchedulerService.java231 public abstract long millis(); in millis() method
/frameworks/base/location/java/android/location/
DLocationRequest.java380 public @NonNull LocationRequest setInterval(long millis) { in setInterval()
427 public @NonNull LocationRequest setFastestInterval(long millis) { in setFastestInterval()
449 public @NonNull LocationRequest setExpireAt(long millis) { in setExpireAt()
470 public @NonNull LocationRequest setExpireIn(long millis) { in setExpireIn()
/frameworks/base/services/core/java/com/android/server/notification/
DSystemConditionProviderService.java44 protected static String formatDuration(long millis) { in formatDuration()
/frameworks/base/core/java/android/util/
DTimeUtils.java270 int millis = (int)(duration%1000); in formatDurationLocked() local
405 public static String logTimeOfDay(long millis) { in logTimeOfDay()
416 public static String formatForLogging(long millis) { in formatForLogging()
/frameworks/base/core/java/android/content/rollback/
DIRollbackManager.aidl53 void blockRollbackManager(long millis); in blockRollbackManager()
DRollbackManager.java270 public void blockRollbackManager(long millis) { in blockRollbackManager()
/frameworks/native/services/inputflinger/dispatcher/
DLatencyAggregator.cpp62 std::string millis = server_configurable_flags:: in getSlowEventMinReportingLatency() local
70 std::string millis = server_configurable_flags:: in getSlowEventMinReportingInterval() local
/frameworks/base/services/core/jni/
Dcom_android_server_SystemClockTime.cpp94 jlong millis) { in com_android_server_SystemClockTime_setTime()
/frameworks/base/services/core/java/com/android/server/
DSystemClockTime.java173 private static native int setTime(long nativeData, @CurrentTimeMillisLong long millis); in setTime()
/frameworks/base/apex/jobscheduler/framework/java/android/app/
DIAlarmManager.aidl37 boolean setTime(long millis); in setTime()
/frameworks/base/libs/usb/tests/accessorytest/
Dhid.c41 static void milli_sleep(int millis) { in milli_sleep()

1234