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

/frameworks/base/cmds/app_process/
H A Dapp_main.cpp4 * Starts the interpreted runtime, then starts up the application.
177 AppRuntime runtime; local
187 int i = runtime.addVmArguments(argc, argv);
189 // Parse runtime arguments. Stop at first unrecognized option.
220 runtime.mParentDir = parentDir;
223 runtime.start("com.android.internal.os.ZygoteInit",
227 runtime.mClassName = className;
228 runtime.mArgC = argc - i;
229 runtime.mArgV = argv + i;
230 runtime
[all...]
H A DAndroid.mk19 # Build a variant of app_process binary linked with ASan runtime.
/frameworks/base/core/java/com/android/internal/os/
H A DZygoteInit.java256 final VMRuntime runtime = VMRuntime.getRuntime();
272 float defaultUtilization = runtime.getTargetHeapUtilization();
273 runtime.setTargetHeapUtilization(0.8f);
277 runtime.runFinalizationSync();
304 runtime.runFinalizationSync();
331 runtime.setTargetHeapUtilization(defaultUtilization);
334 runtime.preloadDexCaches();
353 final VMRuntime runtime = VMRuntime.getRuntime();
358 runtime.runFinalizationSync();
367 int N = preloadDrawables(runtime, a
388 preloadColorStateLists(VMRuntime runtime, TypedArray ar) argument
416 preloadDrawables(VMRuntime runtime, TypedArray ar) argument
[all...]
/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/wilhelm/src/
H A DAndroid.mk52 # enable assert() to do runtime checking
54 # or -DNDEBUG for no runtime checking
/frameworks/base/core/java/com/android/internal/app/
H A DProcessStats.java1049 String runtime = SystemProperties.get("persist.sys.dalvik.vm.lib",
1051 if (!Objects.equals(runtime, mRuntime)) {
1054 mRuntime = runtime;
/frameworks/base/core/java/android/app/
H A DActivityThread.java908 Runtime runtime = Runtime.getRuntime();
910 long dalvikMax = runtime.totalMemory() / 1024;
911 long dalvikFree = runtime.freeMemory() / 1024;
3803 // we check the runtime type and act accordingly.

Completed in 556 milliseconds