Home
last modified time | relevance | path

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

/libcore/luni/src/test/java/libcore/libcore/io/
DMemoryTest.java35 VMRuntime runtime = VMRuntime.getRuntime(); in testSetIntArray() local
36 byte[] array = (byte[]) runtime.newNonMovableArray(byte.class, scale * values.length + 1); in testSetIntArray()
37 long base_ptr = runtime.addressOf(array); in testSetIntArray()
76 VMRuntime runtime = VMRuntime.getRuntime(); in testSetLongArray() local
77 byte[] array = (byte[]) runtime.newNonMovableArray(byte.class, scale * values.length + 1); in testSetLongArray()
78 long base_ptr = runtime.addressOf(array); in testSetLongArray()
114 VMRuntime runtime = VMRuntime.getRuntime(); in testSetShortArray() local
115 byte[] array = (byte[]) runtime.newNonMovableArray(byte.class, scale * values.length + 1); in testSetShortArray()
116 long base_ptr = runtime.addressOf(array); in testSetShortArray()
/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.java325 VMRuntime runtime = VMRuntime.getRuntime(); in registerNativeAllocation() local
329 runtime.notifyNativeAllocationsInternal(); in registerNativeAllocation()
331 runtime.notifyNativeAllocation(); in registerNativeAllocation()
334 runtime.registerNativeAllocation(size); in registerNativeAllocation()
/libcore/ojluni/src/main/java/java/lang/runtime/
Dpackage-info.java33 package java.lang.runtime;
DObjectMethods.java26 package java.lang.runtime;
/libcore/dalvik/src/main/java/dalvik/system/
DZygoteHooks.java130 final VMRuntime runtime = VMRuntime.getRuntime(); in gcAndFinalize() local
136 runtime.runFinalizationSync(); in gcAndFinalize()
/libcore/ojluni/annotations/sdk/nullability/java/lang/runtime/
DObjectMethods.annotated.java27 package java.lang.runtime;
/libcore/ojluni/src/main/java/java/lang/
DSystem.java1060 VMRuntime runtime = VMRuntime.getRuntime(); in initUnchangeableSystemProperties() local
1064 p.put("java.boot.class.path", runtime.bootClassPath()); in initUnchangeableSystemProperties()
1065 p.put("java.class.path", runtime.classPath()); in initUnchangeableSystemProperties()
1075 p.put("java.vm.version", runtime.vmVersion()); in initUnchangeableSystemProperties()
1101 parsePropertyAssignments(p, runtime.properties()); in initUnchangeableSystemProperties()
/libcore/ojluni/src/main/java/java/nio/
DDirectByteBuffer.java72 VMRuntime runtime = VMRuntime.getRuntime(); in MemoryRef() local
73 buffer = (byte[]) runtime.newNonMovableArray(byte.class, capacity + 7); in MemoryRef()
74 allocatedAddress = runtime.addressOf(buffer); in MemoryRef()
/libcore/
DNativeCode.bp57 "//art/runtime",
DJavaLibrary.bp377 // Files used to simulate the /system, runtime APEX and tzdata
1174 // constants. The annotations are source only and do not introduce any runtime
Dopenjdk_java_files.bp224 "ojluni/src/main/java/java/lang/runtime/ObjectMethods.java",
225 "ojluni/src/main/java/java/lang/runtime/package-info.java",
/libcore/api/
Dcurrent.txt5227 package java.lang.runtime {