Home | History | Annotate | Download | only in runtime

Lines Matching refs:runtime

43 #include "runtime.h"
93 Runtime* runtime = Runtime::Current();
94 CHECK(runtime->AttachCurrentThread("ThreadLifecycle test thread", true, nullptr, false));
97 runtime->DetachCurrentThread();
105 Runtime::Current()->GetRuntimeCallbacks()->AddThreadLifecycleCallback(&cb_);
108 Runtime::Current()->GetRuntimeCallbacks()->RemoveThreadLifecycleCallback(&cb_);
224 Runtime::Current()->GetRuntimeCallbacks()->AddClassLoadCallback(&cb_);
227 Runtime::Current()->GetRuntimeCallbacks()->RemoveClassLoadCallback(&cb_);
324 Runtime::Current()->GetRuntimeCallbacks()->AddRuntimeSigQuitCallback(&cb_);
327 Runtime::Current()->GetRuntimeCallbacks()->RemoveRuntimeSigQuitCallback(&cb_);
342 // The runtime needs to be started for the signal handler.
367 Runtime::Current()->GetRuntimeCallbacks()->AddRuntimePhaseCallback(&cb_);
370 Runtime::Current()->GetRuntimeCallbacks()->RemoveRuntimePhaseCallback(&cb_);
374 // Bypass RuntimeCallbacksTest::TearDown, as the runtime is already gone.
414 // Start the runtime.
427 // Delete the runtime.
439 Runtime::Current()->GetRuntimeCallbacks()->AddMonitorCallback(&cb_);
442 Runtime::Current()->GetRuntimeCallbacks()->RemoveMonitorCallback(&cb_);