Home
last modified time | relevance | path

Searched refs:mNativeObject (Results 1 – 17 of 17) sorted by relevance

/frameworks/base/graphics/java/android/graphics/
DBLASTBufferQueue.java29 public long mNativeObject; // BLASTBufferQueue* field in BLASTBufferQueue
61 mNativeObject = nativeCreate(name, updateDestinationFrame); in BLASTBufferQueue()
65 nativeDestroy(mNativeObject); in destroy()
66 mNativeObject = 0; in destroy()
73 return nativeGetSurface(mNativeObject, false /* includeSurfaceControlHandle */); in createSurface()
81 return nativeGetSurface(mNativeObject, true /* includeSurfaceControlHandle */); in createSurfaceWithHandle()
97 nativeSyncNextTransaction(mNativeObject, callback, acquireSingleBuffer); in syncNextTransaction()
117 nativeStopContinuousSyncTransaction(mNativeObject); in stopContinuousSyncTransaction()
128 nativeUpdate(mNativeObject, sc.mNativeObject, width, height, format); in update()
134 if (mNativeObject != 0) { in finalize()
[all …]
DGraphicBuffer.java60 private final long mNativeObject; field in GraphicBuffer
97 mNativeObject = nativeObject; in GraphicBuffer()
181 if (nLockCanvas(mNativeObject, mCanvas, dirty)) { in lockCanvas()
206 nUnlockCanvasAndPost(mNativeObject, mCanvas); in unlockCanvasAndPost()
221 nDestroyGraphicBuffer(mNativeObject); in destroy()
242 if (!mDestroyed) nDestroyGraphicBuffer(mNativeObject); in finalize()
274 nWriteGraphicBufferToParcel(mNativeObject, dest); in writeToParcel()
DHardwareRenderer.java324 nSetSurfaceControl(mNativeProxy, surfaceControl != null ? surfaceControl.mNativeObject : 0); in setSurfaceControl()
/frameworks/base/core/java/com/android/internal/os/
DLongArrayMultiStateCounter.java70 final long mNativeObject; field in LongArrayMultiStateCounter.LongArrayContainer
75 mNativeObject = native_init(length); in LongArrayContainer()
76 sRegistry.registerNativeAllocation(this, mNativeObject); in LongArrayContainer()
87 native_setValues(mNativeObject, array); in setValues()
98 native_getValues(mNativeObject, array); in getValues()
132 final long mNativeObject; field in LongArrayMultiStateCounter
138 mNativeObject = native_init(stateCount, arrayLength); in LongArrayMultiStateCounter()
139 sRegistry.registerNativeAllocation(this, mNativeObject); in LongArrayMultiStateCounter()
143 mNativeObject = native_initFromParcel(in); in LongArrayMultiStateCounter()
144 sRegistry.registerNativeAllocation(this, mNativeObject); in LongArrayMultiStateCounter()
[all …]
DLongMultiStateCounter.java68 final long mNativeObject; field in LongMultiStateCounter
73 mNativeObject = native_init(stateCount); in LongMultiStateCounter()
74 sRegistry.registerNativeAllocation(this, mNativeObject); in LongMultiStateCounter()
78 mNativeObject = native_initFromParcel(in); in LongMultiStateCounter()
79 sRegistry.registerNativeAllocation(this, mNativeObject); in LongMultiStateCounter()
81 mStateCount = native_getStateCount(mNativeObject); in LongMultiStateCounter()
93 native_setEnabled(mNativeObject, enabled, timestampMs); in setEnabled()
108 native_setState(mNativeObject, state, timestampMs); in setState()
119 return native_updateValue(mNativeObject, value, timestampMs); in updateValue()
126 native_incrementValue(mNativeObject, count, timestampMs); in incrementValue()
[all …]
DKernelSingleUidTimeReader.java279 return addDeltaFromBpf(uid, counter.mNativeObject, timestampMs, in addDelta()
280 deltaOut != null ? deltaOut.mNativeObject : 0); in addDelta()
296 return addDeltaForTest(uid, counter.mNativeObject, timestampMs, timeInFreqDataNanos, in addDeltaForTest()
297 deltaOut != null ? deltaOut.mNativeObject : 0); in addDeltaForTest()
/frameworks/base/core/java/android/view/
DSurface.java132 long mNativeObject; // package scope only for SurfaceControl access field in Surface
329 if (mNativeObject != 0) { in release()
330 nativeRelease(mNativeObject); in release()
345 if (mNativeObject != 0) { in destroy()
346 nativeDestroy(mNativeObject); in destroy()
372 if (mNativeObject == 0) return false; in isValid()
373 return nativeIsValid(mNativeObject); in isValid()
400 return nativeGetNextFrameNumber(mNativeObject); in getNextFrameNumber()
413 return nativeIsConsumerRunningBehind(mNativeObject); in isConsumerRunningBehind()
427 return new Point(nativeGetWidth(mNativeObject), nativeGetHeight(mNativeObject)); in getDefaultSize()
[all …]
DSurfaceControl.java448 public long mNativeObject; field in SurfaceControl
716 if (mNativeObject != 0) { in assignNativeObject()
722 mNativeObject = nativeObject; in assignNativeObject()
723 mNativeHandle = mNativeObject != 0 ? nativeGetHandle(nativeObject) : 0; in assignNativeObject()
734 assignNativeObject(nativeCopyFromSurfaceControl(other.mNativeObject), callsite); in copyFrom()
1112 mNativeLayer = builder.mLayer.mNativeObject; in LayerCaptureArgs()
1116 mNativeExcludeLayers[i] = builder.mExcludeLayers[i].mNativeObject; in LayerCaptureArgs()
1562 mNativeObject = nativeCreate(session, name, w, h, format, flags, in SurfaceControl()
1563 parent != null ? parent.mNativeObject : 0, metaParcel); in SurfaceControl()
1567 if (mNativeObject == 0) { in SurfaceControl()
[all …]
DCompositionSamplingListener.java72 long nativeStopLayerObject = stopLayer != null ? stopLayer.mNativeObject : 0; in register()
/frameworks/base/media/java/android/media/
DMediaMuxer.java320 private long mNativeObject; field in MediaMuxer
385 mNativeObject = nativeSetup(fd, format); in setUpMediaMuxer()
410 nativeSetOrientationHint(mNativeObject, degrees); in setOrientationHint()
445 if (mState == MUXER_STATE_INITIALIZED && mNativeObject != 0) { in setLocation()
446 nativeSetLocation(mNativeObject, latitudex10000, longitudex10000); in setLocation()
461 if (mNativeObject == 0) { in start()
465 nativeStart(mNativeObject); in start()
481 nativeStop(mNativeObject); in stop()
499 if (mNativeObject != 0) { in finalize()
500 nativeRelease(mNativeObject); in finalize()
[all …]
/frameworks/base/core/java/android/hardware/
DHardwareBuffer.java111 private long mNativeObject; field in HardwareBuffer
266 mNativeObject = nativeObject; in HardwareBuffer()
271 mCleaner = registry.registerNativeAllocation(this, mNativeObject); in HardwareBuffer()
293 return nGetWidth(mNativeObject); in getWidth()
304 return nGetHeight(mNativeObject); in getHeight()
316 return nGetFormat(mNativeObject); in getFormat()
327 return nGetLayers(mNativeObject); in getLayers()
338 return nGetUsage(mNativeObject); in getUsage()
352 mNativeObject = 0; in close()
368 return mNativeObject == 0; in isClosed()
[all …]
/frameworks/base/core/jni/
Dandroid_hardware_HardwareBuffer.cpp56 jfieldID mNativeObject; member
218 env->GetLongField(hardwareBufferObj, gHardwareBufferClassInfo.mNativeObject)); in android_hardware_HardwareBuffer_getNativeHardwareBuffer()
230 env->GetLongField(hardwareBufferObj, gHardwareBufferClassInfo.mNativeObject)); in android_hardware_HardwareBuffer_getNativeGraphicBuffer()
307 gHardwareBufferClassInfo.mNativeObject = GetFieldIDOrDie(env, in register_android_hardware_HardwareBuffer()
Dandroid_hardware_input_InputWindowHandle.cpp47 jfieldID mNativeObject; member
197 jlong mNativeObject = env->GetLongField(strongSurfaceCtrl, in updateInfo() local
198 gInputWindowHandleClassInfo.touchableRegionSurfaceControl.mNativeObject); in updateInfo()
199 if (mNativeObject) { in updateInfo()
200 auto ctrl = reinterpret_cast<SurfaceControl *>(mNativeObject); in updateInfo()
452 GET_FIELD_ID(gInputWindowHandleClassInfo.touchableRegionSurfaceControl.mNativeObject, in register_android_view_InputWindowHandle()
Dandroid_graphics_GraphicBuffer.cpp57 jfieldID mNativeObject; member
235 jlong nativeObject = env->GetLongField(obj, gGraphicBufferClassInfo.mNativeObject); in android_graphics_GraphicBuffer_getNativeGraphicsBuffer()
294 gGraphicBufferClassInfo.mNativeObject = GetFieldIDOrDie(env, gGraphicBufferClassInfo.mClass, in register_android_graphics_GraphicBuffer()
Dandroid_view_Surface.cpp58 jfieldID mNativeObject; member
107 env->GetLongField(surfaceObj, gSurfaceClassInfo.mNativeObject)); in android_view_Surface_getSurface()
495 gSurfaceClassInfo.mNativeObject = GetFieldIDOrDie(env, in register_android_view_Surface()
/frameworks/base/services/core/java/com/android/server/input/
DInputManagerService.java3213 return sc.mNativeObject; in getParentSurfaceForPointers()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt62004 Landroid/view/SurfaceControl$Transaction;->mNativeObject:J
62056 Landroid/view/SurfaceControl;->mNativeObject:J