Home
last modified time | relevance | path

Searched refs:runtime (Results 1 – 9 of 9) 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.java293 VMRuntime runtime = VMRuntime.getRuntime(); in registerNativeAllocation() local
297 runtime.notifyNativeAllocationsInternal(); in registerNativeAllocation()
299 runtime.notifyNativeAllocation(); in registerNativeAllocation()
302 runtime.registerNativeAllocation(size); in registerNativeAllocation()
/libcore/dalvik/src/main/java/dalvik/system/
DZygoteHooks.java93 final VMRuntime runtime = VMRuntime.getRuntime(); in gcAndFinalize() local
99 runtime.runFinalizationSync(); in gcAndFinalize()
/libcore/ojluni/src/main/java/java/lang/
DSystem.java972 VMRuntime runtime = VMRuntime.getRuntime(); in initUnchangeableSystemProperties() local
976 p.put("java.boot.class.path", runtime.bootClassPath()); in initUnchangeableSystemProperties()
977 p.put("java.class.path", runtime.classPath()); in initUnchangeableSystemProperties()
986 p.put("java.vm.version", runtime.vmVersion()); in initUnchangeableSystemProperties()
1019 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/mmodules/core_platform_api/
DAndroid.bp177 // API annotations are available to the dex tools that enable enforcement of runtime
/libcore/
DJavaLibrary.bp301 // Files used to simulate the /system, runtime APEX and tzdata
1010 // constants. The annotations are source only and do not introduce any runtime