Home
last modified time | relevance | path

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

/libcore/metrictests/memory/apps/src/libcore/heapdumper/
DAbstractMetricInstrumentation.java85 Runtime runtime = Runtime.getRuntime(); in tryRemoveGarbage() local
87 runtime.gc(); in tryRemoveGarbage()
89 runtime.runFinalization(); in tryRemoveGarbage()
91 runtime.gc(); in tryRemoveGarbage()
/libcore/test-rules/src/main/java/libcore/junit/util/
DSwitchTargetSdkVersionRule.java136 Object runtime = runtimeInstanceGetter.invoke(null); in createStatement()
137 int oldTargetSdkVersion = (int) targetSdkVersionGetter.invoke(runtime); in createStatement()
138 targetSdkVersionSetter.invoke(runtime, targetSdkVersion); in createStatement()
142 targetSdkVersionSetter.invoke(runtime, oldTargetSdkVersion); in createStatement()
/libcore/luni/src/main/java/libcore/util/
DNativeAllocationRegistry.java316 VMRuntime runtime = VMRuntime.getRuntime(); in registerNativeAllocation() local
320 runtime.notifyNativeAllocationsInternal(); in registerNativeAllocation()
322 runtime.notifyNativeAllocation(); in registerNativeAllocation()
325 runtime.registerNativeAllocation(size); in registerNativeAllocation()
/libcore/dalvik/src/main/java/dalvik/system/
DZygoteHooks.java110 final VMRuntime runtime = VMRuntime.getRuntime(); in gcAndFinalize() local
116 runtime.runFinalizationSync(); in gcAndFinalize()
/libcore/ojluni/src/main/java/java/lang/
DSystem.java967 VMRuntime runtime = VMRuntime.getRuntime(); in initUnchangeableSystemProperties() local
971 p.put("java.boot.class.path", runtime.bootClassPath()); in initUnchangeableSystemProperties()
972 p.put("java.class.path", runtime.classPath()); in initUnchangeableSystemProperties()
981 p.put("java.vm.version", runtime.vmVersion()); in initUnchangeableSystemProperties()
1007 parsePropertyAssignments(p, runtime.properties()); in initUnchangeableSystemProperties()
/libcore/ojluni/src/main/java/java/nio/
DDirectByteBuffer.java69 VMRuntime runtime = VMRuntime.getRuntime(); in MemoryRef() local
70 buffer = (byte[]) runtime.newNonMovableArray(byte.class, capacity + 7); in MemoryRef()
71 allocatedAddress = runtime.addressOf(buffer); in MemoryRef()
/libcore/
DNativeCode.bp55 "//art/runtime",
DJavaLibrary.bp321 // Files used to simulate the /system, runtime APEX and tzdata
1152 // constants. The annotations are source only and do not introduce any runtime
/libcore/mmodules/core_platform_api/
DAndroid.bp53 // API annotations are available to the dex tools that enable enforcement of runtime