Home
last modified time | relevance | path

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

/frameworks/base/graphics/java/android/graphics/
DBLASTBufferQueue.java30 public long mNativeObject; // BLASTBufferQueue* field in BLASTBufferQueue
63 mNativeObject = nativeCreate(name, updateDestinationFrame); in BLASTBufferQueue()
67 nativeDestroy(mNativeObject); in destroy()
68 mNativeObject = 0; in destroy()
75 return nativeGetSurface(mNativeObject, false /* includeSurfaceControlHandle */); in createSurface()
83 return nativeGetSurface(mNativeObject, true /* includeSurfaceControlHandle */); in createSurfaceWithHandle()
99 return nativeSyncNextTransaction(mNativeObject, callback, acquireSingleBuffer); in syncNextTransaction()
119 nativeStopContinuousSyncTransaction(mNativeObject); in stopContinuousSyncTransaction()
127 nativeClearSyncTransaction(mNativeObject); in clearSyncTransaction()
138 nativeUpdate(mNativeObject, sc.mNativeObject, width, height, format); in update()
[all …]
DGraphicBuffer.java60 private 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()
222 mNativeObject = 0; in destroy()
275 nWriteGraphicBufferToParcel(mNativeObject, dest); in writeToParcel()
DHardwareRenderer.java353 nSetSurfaceControl(mNativeProxy, surfaceControl != null ? surfaceControl.mNativeObject : 0); in setSurfaceControl()
/frameworks/base/core/java/android/view/
DSurfaceControl.java485 public long mNativeObject; field in SurfaceControl
808 if (mNativeObject != 0) { in assignNativeObject()
815 mNativeObject = nativeObject; in assignNativeObject()
816 mNativeHandle = mNativeObject != 0 ? nativeGetHandle(nativeObject) : 0; in assignNativeObject()
817 if (sDebugUsageAfterRelease && mNativeObject == 0) { in assignNativeObject()
838 assignNativeObject(nativeCopyFromSurfaceControl(other.mNativeObject), callsite); in copyFrom()
1313 parent != null ? parent.mNativeObject : 0, metaParcel); in SurfaceControl()
1379 if (mNativeObject == 0) { in writeToParcel()
1384 nativeWriteToParcel(mNativeObject, dest); in writeToParcel()
1562 if (mNativeObject != 0) { in release()
[all …]
DSurface.java138 long mNativeObject; // package scope only for SurfaceControl access field in Surface
415 if (mNativeObject != 0) { in release()
416 nativeRelease(mNativeObject); in release()
431 if (mNativeObject != 0) { in destroy()
432 nativeDestroy(mNativeObject); in destroy()
458 if (mNativeObject == 0) return false; in isValid()
459 return nativeIsValid(mNativeObject); in isValid()
486 return nativeGetNextFrameNumber(mNativeObject); in getNextFrameNumber()
499 return nativeIsConsumerRunningBehind(mNativeObject); in isConsumerRunningBehind()
513 return new Point(nativeGetWidth(mNativeObject), nativeGetHeight(mNativeObject)); in getDefaultSize()
[all …]
DCompositionSamplingListener.java72 long nativeStopLayerObject = stopLayer != null ? stopLayer.mNativeObject : 0; in register()
/frameworks/base/core/java/com/android/internal/os/
DLongArrayMultiStateCounter.java75 final long mNativeObject; field in LongArrayMultiStateCounter.LongArrayContainer
80 mNativeObject = native_init(length); in LongArrayContainer()
94 sRegistry.registerNativeAllocation(this, mNativeObject); in registerNativeAllocation()
109 native_setValues(mNativeObject, array); in setValues()
120 native_getValues(mNativeObject, array); in getValues()
132 return native_combineValues(mNativeObject, array, indexMap); in combineValues()
168 final long mNativeObject; field in LongArrayMultiStateCounter
174 mNativeObject = native_init(stateCount, arrayLength); in LongArrayMultiStateCounter()
189 sRegistry.registerNativeAllocation(this, mNativeObject); in registerNativeAllocation()
197 mNativeObject = native_initFromParcel(in); in LongArrayMultiStateCounter()
[all …]
DLongMultiStateCounter.java69 final long mNativeObject; field in LongMultiStateCounter
74 mNativeObject = native_init(stateCount); in LongMultiStateCounter()
79 mNativeObject = native_initFromParcel(in); in LongMultiStateCounter()
82 mStateCount = native_getStateCount(mNativeObject); in LongMultiStateCounter()
95 sRegistry.registerNativeAllocation(this, mNativeObject); in registerNativeAllocation()
111 native_setEnabled(mNativeObject, enabled, timestampMs); in setEnabled()
126 native_setState(mNativeObject, state, timestampMs); in setState()
137 return native_updateValue(mNativeObject, value, timestampMs); in updateValue()
144 native_incrementValue(mNativeObject, count, timestampMs); in incrementValue()
151 native_addCount(mNativeObject, count); in addCount()
[all …]
DKernelSingleUidTimeReader.java278 return addDeltaFromBpf(uid, counter.mNativeObject, timestampMs, in addDelta()
279 deltaOut != null ? deltaOut.mNativeObject : 0); in addDelta()
295 return addDeltaForTest(uid, counter.mNativeObject, timestampMs, timeInFreqDataNanos, in addDeltaForTest()
296 deltaOut != null ? deltaOut.mNativeObject : 0); in addDeltaForTest()
/frameworks/base/media/java/android/media/
DMediaMuxer.java320 private long mNativeObject; field in MediaMuxer
388 mNativeObject = nativeSetup(fd, format); in setUpMediaMuxer()
413 nativeSetOrientationHint(mNativeObject, degrees); in setOrientationHint()
448 if (mState == MUXER_STATE_INITIALIZED && mNativeObject != 0) { in setLocation()
449 nativeSetLocation(mNativeObject, latitudex10000, longitudex10000); in setLocation()
464 if (mNativeObject == 0) { in start()
468 nativeStart(mNativeObject); in start()
484 nativeStop(mNativeObject); in stop()
502 if (mNativeObject != 0) { in finalize()
503 nativeRelease(mNativeObject); in finalize()
[all …]
/frameworks/base/core/java/android/window/
DInputTransferToken.java71 public final long mNativeObject; field in InputTransferToken
74 mNativeObject = nativeObject; in InputTransferToken()
96 return nativeGetBinderToken(mNativeObject); in getToken()
116 nativeWriteToParcel(mNativeObject, dest); in writeToParcel()
134 return Objects.hash(nativeGetBinderTokenRef(mNativeObject)); in hashCode()
145 if (other.mNativeObject == mNativeObject) return true; in equals()
146 return nativeEquals(mNativeObject, other.mNativeObject); in equals()
DScreenCapture.java67 return nativeCaptureDisplay(captureArgs, captureListener.mNativeObject); in captureDisplay()
139 int status = nativeCaptureLayers(captureArgs, syncScreenCapture.mNativeObject, in captureLayers()
177 return nativeCaptureLayers(captureArgs, captureListener.mNativeObject, false /* sync */); in captureLayers()
343 nativeExcludeLayers[index] = mExcludeLayers[index].mNativeObject; in getNativeExcludeLayers()
609 mNativeLayer = builder.mLayer.mNativeObject; in LayerCaptureArgs()
680 final long mNativeObject; field in ScreenCapture.ScreenCaptureListener
689 mNativeObject = nativeCreateScreenCaptureListener(consumer); in ScreenCaptureListener()
690 sRegistry.registerNativeAllocation(this, mNativeObject); in ScreenCaptureListener()
695 mNativeObject = nativeReadListenerFromParcel(in); in ScreenCaptureListener()
696 sRegistry.registerNativeAllocation(this, mNativeObject); in ScreenCaptureListener()
[all …]
/frameworks/base/core/java/android/hardware/
DOverlayProperties.java47 private long mNativeObject; field in OverlayProperties
57 mNativeObject = nativeObject; in OverlayProperties()
82 if (mNativeObject == 0) { in isCombinationSupported()
86 return nIsCombinationSupported(mNativeObject, dataspace, format); in isCombinationSupported()
98 if (mNativeObject == 0) { in isMixedColorSpacesSupported()
101 return nSupportMixedColorSpaces(mNativeObject); in isMixedColorSpacesSupported()
113 if (mNativeObject == 0) { in writeToParcel()
118 nWriteOverlayPropertiesToParcel(mNativeObject, dest); in writeToParcel()
DHardwareBuffer.java137 private long mNativeObject; field in HardwareBuffer
286 mNativeObject = nativeObject; in HardwareBuffer()
291 mCleaner = registry.registerNativeAllocation(this, mNativeObject); in HardwareBuffer()
310 return nGetWidth(mNativeObject); in getWidth()
318 return nGetHeight(mNativeObject); in getHeight()
327 return nGetFormat(mNativeObject); in getFormat()
335 return nGetLayers(mNativeObject); in getLayers()
343 return nGetUsage(mNativeObject); in getUsage()
361 return nGetId(mNativeObject); in getId()
382 mNativeObject = 0; in close()
[all …]
/frameworks/base/core/jni/
Dandroid_window_InputTransferToken.cpp31 jfieldID mNativeObject; member
84 gInputTransferTokenClassInfo.mNativeObject)); in android_window_InputTransferToken_getNativeInputTransferToken()
133 gInputTransferTokenClassInfo.mNativeObject = in register_android_window_InputTransferToken()
Dandroid_hardware_input_InputWindowHandle.cpp48 jfieldID mNativeObject; member
194 jlong mNativeObject = env->GetLongField(strongSurfaceCtrl, in updateInfo() local
195 gInputWindowHandleClassInfo.touchableRegionSurfaceControl.mNativeObject); in updateInfo()
196 if (mNativeObject) { in updateInfo()
197 auto ctrl = reinterpret_cast<SurfaceControl *>(mNativeObject); in updateInfo()
462 GET_FIELD_ID(gInputWindowHandleClassInfo.touchableRegionSurfaceControl.mNativeObject, in register_android_view_InputWindowHandle()
Dandroid_hardware_HardwareBuffer.cpp56 jfieldID mNativeObject; member
223 env->GetLongField(hardwareBufferObj, gHardwareBufferClassInfo.mNativeObject)); in android_hardware_HardwareBuffer_getNativeHardwareBuffer()
303 gHardwareBufferClassInfo.mNativeObject = GetFieldIDOrDie(env, in register_android_hardware_HardwareBuffer()
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.cpp62 jfieldID mNativeObject; member
113 env->GetLongField(surfaceObj, gSurfaceClassInfo.mNativeObject)); in android_view_Surface_getSurface()
514 gSurfaceClassInfo.mNativeObject = GetFieldIDOrDie(env, in register_android_view_Surface()
Dandroid_view_SurfaceControl.cpp258 jfieldID mNativeObject; member
263 jfieldID mNativeObject; member
2216 env->GetLongField(surfaceControlObj, gSurfaceControlClassInfo.mNativeObject)); in android_view_SurfaceControl_getNativeSurfaceControl()
2226 env->SetLongField(surfaceControlObj, gSurfaceControlClassInfo.mNativeObject, in android_view_SurfaceControl_getJavaSurfaceControl()
2241 env->GetLongField(surfaceTransactionObj, gTransactionClassInfo.mNativeObject)); in android_view_SurfaceTransaction_getNativeSurfaceTransaction()
2724 gSurfaceControlClassInfo.mNativeObject = in register_android_view_SurfaceControl()
2735 gTransactionClassInfo.mNativeObject = in register_android_view_SurfaceControl()
/frameworks/base/services/core/java/com/android/server/wm/
DBLASTSyncEngine.java263 onCommitted(merged.mNativeObject != 0 in finishNow()
DAccessibilityController.java1408 if (mBlastBufferQueue.mNativeObject == 0) { in drawOrRemoveIfNeeded()
/frameworks/base/services/core/java/com/android/server/input/
DInputManagerService.java2624 return sc.mNativeObject; in getParentSurfaceForPointers()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt61361 Landroid/view/SurfaceControl$Transaction;->mNativeObject:J
61413 Landroid/view/SurfaceControl;->mNativeObject:J