Searched refs:runtime (Results 1 - 9 of 9) sorted by relevance

/frameworks/base/cmds/app_process/
H A Dapp_main.cpp4 * Starts the interpreted runtime, then starts up the application.
143 AppRuntime runtime; local
153 int i = runtime.addVmArguments(argc, argv);
155 // Parse runtime arguments. Stop at first unrecognized option.
186 runtime.mParentDir = parentDir;
189 runtime.start("com.android.internal.os.ZygoteInit",
193 runtime.mClassName = className;
194 runtime.mArgC = argc - i;
195 runtime.mArgV = argv + i;
196 runtime
[all...]
/frameworks/base/core/java/com/android/internal/os/
H A DZygoteInit.java244 final VMRuntime runtime = VMRuntime.getRuntime();
260 float defaultUtilization = runtime.getTargetHeapUtilization();
261 runtime.setTargetHeapUtilization(0.8f);
265 runtime.runFinalizationSync();
292 runtime.runFinalizationSync();
317 runtime.setTargetHeapUtilization(defaultUtilization);
336 final VMRuntime runtime = VMRuntime.getRuntime();
341 runtime.runFinalizationSync();
350 int N = preloadDrawables(runtime, ar);
357 N = preloadColorStateLists(runtime, a
369 preloadColorStateLists(VMRuntime runtime, TypedArray ar) argument
392 preloadDrawables(VMRuntime runtime, TypedArray ar) argument
[all...]
/frameworks/base/cmds/system_server/library/
H A Dsystem_init.cpp37 * This class is used to kill this process when the runtime dies.
79 // And now start the Android runtime. We have to do this bit
80 // of nastiness because the Android runtime initialization requires
82 // All other servers should just start the Android runtime at
85 LOGI("System server: starting Android runtime.\n");
86 AndroidRuntime* runtime = AndroidRuntime::getRuntime(); local
89 JNIEnv* env = runtime->getJNIEnv();
/frameworks/base/test-runner/src/android/test/
H A DInstrumentationCoreTestRunner.java150 Runtime runtime = Runtime.getRuntime();
152 long total = runtime.totalMemory();
153 long free = runtime.freeMemory();
/frameworks/base/core/java/android/os/
H A DPerformanceCollector.java27 * memory usage information and measure runtime between calls to begin and end.
32 * measure runtime between calls to start and stop. These functions logically
81 * @param results memory and runtime metrics stored as key/value pairs,
104 * @param results runtime metrics of code block between calls to
315 * @return Memory and runtime metrics stored as key/value pairs. Values are
495 Runtime runtime = Runtime.getRuntime();
497 long dalvikMax = runtime.totalMemory() / 1024;
498 long dalvikFree = runtime.freeMemory() / 1024;
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/
H A DLoadTestsAutoTest.java176 Runtime runtime = Runtime.getRuntime();
177 long dalvikMax = runtime.totalMemory() / 1024;
178 long dalvikFree = runtime.freeMemory() / 1024;
/frameworks/compile/libbcc/runtime/make/platform/
H A Dclang_darwin.mk7 Description := Static runtime libraries for clang/Darwin.
/frameworks/base/core/tests/hosttests/src/android/content/pm/
H A DPackageManagerHostTestUtils.java494 Runtime runtime = Runtime.getRuntime();
495 Process process = runtime.exec("adb root"); // adb should be in the path
/frameworks/base/core/java/android/app/
H A DActivityThread.java841 Runtime runtime = Runtime.getRuntime();
843 long dalvikMax = runtime.totalMemory() / 1024;
844 long dalvikFree = runtime.freeMemory() / 1024;
3433 // we check the runtime type and act accordingly.

Completed in 228 milliseconds