HomeSort by relevance Sort by last modified time
    Searched defs:nativePtr (Results 1 - 13 of 13) sorted by null

  /libcore/luni/src/main/native/
libcore_util_NativeAllocationRegistry.cpp 25 void* nativePtr = reinterpret_cast<void*>(static_cast<uintptr_t>(ptr));
28 nativeFreeFunction(nativePtr);
  /libcore/luni/src/main/java/libcore/util/
NativeAllocationRegistry.java 55 * void f(void* nativePtr);
90 * automatically be called with <code>nativePtr</code> as its sole
92 * maintain copies of <code>nativePtr</code> outside
103 * @param nativePtr address of the native allocation
105 * @throws IllegalArgumentException if either referent or nativePtr is null.
109 * called with <code>nativePtr</code> as its
113 public Runnable registerNativeAllocation(Object referent, long nativePtr) {
117 if (nativePtr == 0) {
118 throw new IllegalArgumentException("nativePtr is null");
124 applyFreeFunction(freeFunction, nativePtr);
    [all...]
  /frameworks/base/core/java/android/text/
Hyphenator.java 59 private Hyphenator(long nativePtr, ByteBuffer b) {
60 mNativePtr = nativePtr;
122 long nativePtr = StaticLayout.nLoadHyphenator(buf, 0);
123 return new Hyphenator(nativePtr, buf);
  /libcore/luni/src/test/java/libcore/util/
NativeAllocationRegistryTest.java 124 long nativePtr = doNativeAllocation(size);
126 Runnable cleaner = registry.registerNativeAllocation(referent, nativePtr);
156 // nativePtr should not be null
  /frameworks/base/core/jni/
android_hardware_camera2_CameraMetadata.cpp 93 CameraMetadata* nativePtr = reinterpret_cast<CameraMetadata*>(env->GetLongField(thiz,
95 if (nativePtr == NULL) {
99 *metadata = *nativePtr;
  /frameworks/base/services/core/java/com/android/server/hdmi/
HdmiCecController.java 121 long nativePtr = nativeInit(controller, service.getServiceLooper().getQueue());
122 if (nativePtr == 0L) {
127 controller.init(nativePtr);
131 private void init(long nativePtr) {
134 mNativePtr = nativePtr;
  /frameworks/base/graphics/java/android/graphics/drawable/
AnimatedVectorDrawable.java     [all...]
  /external/robolectric/v3/runtime/
shadows-core-3.1-SNAPSHOT-16.jar 
shadows-core-3.1-SNAPSHOT-17.jar 
shadows-core-3.1-SNAPSHOT-18.jar 
shadows-core-3.1-SNAPSHOT-19.jar 
shadows-core-3.1-SNAPSHOT-21.jar 
shadows-core-3.1-SNAPSHOT-22.jar 

Completed in 719 milliseconds