Home
last modified time | relevance | path

Searched refs:millis (Results 1 – 21 of 21) sorted by relevance

/art/test/002-sleep/src/
DMain.java3 int millis = 1000; in main() local
6 millis = Integer.parseInt(args[1]); in main()
9 System.out.println("Sleeping " + millis + " msec..."); in main()
12 Thread.sleep(millis); in main()
14 long offBy = Math.abs(elapsed - millis); in main()
/art/test/1903-suspend-self/src/art/
DTest1903.java43 public static void waitFor(long millis) { in waitFor() argument
45 lock.wait(millis); in waitFor()
/art/test/1907-suspend-list-self-twice/src/art/
DTest1907.java24 public static void waitFor(long millis) { in waitFor() argument
26 lock.wait(millis); in waitFor()
/art/test/1906-suspend-list-me-first/src/art/
DTest1906.java25 public static void waitFor(long millis) { in waitFor() argument
27 lock.wait(millis); in waitFor()
/art/test/1904-double-suspend/src/art/
DTest1904.java36 public static void waitFor(long millis) { in waitFor() argument
38 lock.wait(millis); in waitFor()
/art/test/1902-suspend/src/art/
DTest1902.java36 public static void waitFor(long millis) { in waitFor() argument
38 lock.wait(millis); in waitFor()
/art/runtime/
Dmonitor_test.cc67 CreateTask(MonitorTest* monitor_test, uint64_t initial_sleep, int64_t millis, bool expected) : in CreateTask() argument
68 monitor_test_(monitor_test), initial_sleep_(initial_sleep), millis_(millis), in CreateTask()
141 UseTask(MonitorTest* monitor_test, uint64_t initial_sleep, int64_t millis, bool expected) : in UseTask() argument
142 monitor_test_(monitor_test), initial_sleep_(initial_sleep), millis_(millis), in UseTask()
180 InterruptTask(MonitorTest* monitor_test, uint64_t initial_sleep, uint64_t millis) : in InterruptTask() argument
181 monitor_test_(monitor_test), initial_sleep_(initial_sleep), millis_(millis) {} in InterruptTask()
Druntime_callbacks_test.cc477 void ObjectWaitStart(Handle<mirror::Object> obj, [[maybe_unused]] int64_t millis) override in ObjectWaitStart()
Druntime.cc776 uint64_t millis = 0; in WaitUntilSingleThreaded() local
797 if (millis == 0) { in WaitUntilSingleThreaded()
798 millis = MilliTime(); in WaitUntilSingleThreaded()
810 LOG(FATAL) << "Failed to reach single-threaded state: wait_time = " << MilliTime() - millis; in WaitUntilSingleThreaded()
/art/test/923-monitors/
Dmonitors.cc69 JNIEnv* env, [[maybe_unused]] jclass Main_klass, jlong l, jlong millis) { in Java_art_Test923_rawMonitorWait() argument
70 jvmtiError result = jvmti_env->RawMonitorWait(LongToMonitor(l), millis); in Java_art_Test923_rawMonitorWait()
/art/test/1931-monitor-events/src/art/
DTest1931.java205 final long millis = 60l * 60l * 1000l; in testTimedWait() local
206 Monitors.LockController controller1 = new Monitors.LockController(lk, millis); in testTimedWait()
226 final long millis = 10l * 1000l; in testTimedWaitTimeout() local
227 Monitors.LockController controller1 = new Monitors.LockController(lk, millis); in testTimedWaitTimeout()
/art/test/923-monitors/src/art/
DTest923.java229 private static void rawWait(long id, long millis) { in rawWait() argument
232 rawMonitorWait(id, millis); in rawWait()
295 private static native void rawMonitorWait(long id, long millis); in rawMonitorWait() argument
/art/openjdkjvmti/
Dti_monitor.h52 static jvmtiError RawMonitorWait(jvmtiEnv* env, jrawMonitorID monitor, jlong millis);
Dti_monitor.cc299 jlong millis) { in RawMonitorWait() argument
309 bool result = (millis > 0) in RawMonitorWait()
310 ? monitor->Wait(self, static_cast<uint64_t>(millis)) in RawMonitorWait()
DOpenjdkJvmTi.cc963 static jvmtiError RawMonitorWait(jvmtiEnv* env, jrawMonitorID monitor, jlong millis) { in RawMonitorWait() argument
965 return MonitorUtil::RawMonitorWait(env, monitor, millis); in RawMonitorWait()
/art/runtime/gc/
Dreference_processor.cc110 uint64_t millis = MilliTime() - start_millis; in GetReferent() local
112 if (millis > kReportMillis) { in GetReferent()
113 LOG(WARNING) << "Weak pointer dereference blocked for " << millis << " milliseconds."; in GetReferent()
/art/openjdkjvm/
DOpenjdkJvm.cc397 jlong millis) { in JVM_Sleep() argument
401 art::Thread::Current(), lock.Ptr(), millis, 0, true, art::ThreadState::kSleeping); in JVM_Sleep()
/art/libartservice/service/java/com/android/server/art/
DUtils.java477 public static void sleep(long millis) { in sleep() argument
479 Thread.sleep(millis); in sleep()
/art/openjdkjvmti/include/
Djvmti.h1196 jlong millis);
2372 jlong millis) { in RawMonitorWait()
2373 return functions->RawMonitorWait(this, monitor, millis); in RawMonitorWait()
/art/build/boot/hiddenapi/
Dhiddenapi-max-target-o-low-priority.txt9211 Ljava/util/logging/LogRecord;->millis:J
/art/build/boot/
Dboot-image-profile.txt4422 HSPLjava/time/Clock$SystemClock;->millis()J