Home
last modified time | relevance | path

Searched defs:ptr (Results 1 – 25 of 231) sorted by relevance

12345678910

/frameworks/av/media/codecs/m4v_h263/dec/src/
Dget_pred_outside.cpp257 uint8 *ptr; in GetPredOutside() local
280 ptr = pred; in GetPredOutside() local
285 ptr = pred + 8; in GetPredOutside() local
290 ptr = pred + (8 << 4); in GetPredOutside() local
295 ptr = pred + (((ypos >> 1) + 8) << 4) + (xpos >> 1) + 8; in GetPredOutside() local
336 ptr = pred + (8 << 4); in GetPredOutside() local
341 ptr = pred + (8 << 4) + 8; in GetPredOutside() local
346 ptr = pred ; in GetPredOutside() local
350 ptr = pred + 8 + (((ypos >> 1) - (height - 8)) << 4) + (xpos >> 1); in GetPredOutside() local
436 ptr = pred + 8; in GetPredOutside() local
[all …]
/frameworks/av/media/libstagefright/foundation/
DByteUtils.cpp24 uint16_t U16_AT(const uint8_t *ptr) { in U16_AT()
28 uint32_t U32_AT(const uint8_t *ptr) { in U32_AT()
32 uint64_t U64_AT(const uint8_t *ptr) { in U64_AT()
36 uint16_t U16LE_AT(const uint8_t *ptr) { in U16LE_AT()
40 uint32_t U32LE_AT(const uint8_t *ptr) { in U32LE_AT()
44 uint64_t U64LE_AT(const uint8_t *ptr) { in U64LE_AT()
/frameworks/rs/driver/runtime/
Drs_core.c44 extern int32_t __attribute__((overloadable)) rsAtomicCas(volatile int32_t *ptr, int32_t expectedVal… in rsAtomicCas()
48 extern uint32_t __attribute__((overloadable)) rsAtomicCas(volatile uint32_t *ptr, uint32_t expected… in rsAtomicCas()
52 extern int32_t __attribute__((overloadable)) rsAtomicInc(volatile int32_t *ptr) { in rsAtomicInc()
56 extern int32_t __attribute__((overloadable)) rsAtomicInc(volatile uint32_t *ptr) { in rsAtomicInc()
60 extern int32_t __attribute__((overloadable)) rsAtomicDec(volatile int32_t *ptr) { in rsAtomicDec()
64 extern int32_t __attribute__((overloadable)) rsAtomicDec(volatile uint32_t *ptr) { in rsAtomicDec()
68 extern int32_t __attribute__((overloadable)) rsAtomicAdd(volatile int32_t *ptr, int32_t value) { in rsAtomicAdd()
72 extern int32_t __attribute__((overloadable)) rsAtomicAdd(volatile uint32_t *ptr, uint32_t value) { in rsAtomicAdd()
76 extern int32_t __attribute__((overloadable)) rsAtomicSub(volatile int32_t *ptr, int32_t value) { in rsAtomicSub()
80 extern int32_t __attribute__((overloadable)) rsAtomicSub(volatile uint32_t *ptr, uint32_t value) { in rsAtomicSub()
[all …]
/frameworks/base/libs/hwui/jni/text/
DLineBreaker.cpp51 static inline minikin::android::StaticLayoutNative* toNative(jlong ptr) { in toNative()
101 static jint nGetLineCount(CRITICAL_JNI_PARAMS_COMMA jlong ptr) { in nGetLineCount()
105 static jint nGetLineBreakOffset(CRITICAL_JNI_PARAMS_COMMA jlong ptr, jint i) { in nGetLineBreakOffset()
109 static jfloat nGetLineWidth(CRITICAL_JNI_PARAMS_COMMA jlong ptr, jint i) { in nGetLineWidth()
113 static jfloat nGetLineAscent(CRITICAL_JNI_PARAMS_COMMA jlong ptr, jint i) { in nGetLineAscent()
117 static jfloat nGetLineDescent(CRITICAL_JNI_PARAMS_COMMA jlong ptr, jint i) { in nGetLineDescent()
121 static jint nGetLineFlag(CRITICAL_JNI_PARAMS_COMMA jlong ptr, jint i) { in nGetLineFlag()
125 static void nReleaseResult(jlong ptr) { in nReleaseResult()
DTextShaper.cpp45 static void releaseLayout(jlong ptr) { in releaseLayout()
70 std::unique_ptr<LayoutWrapper> ptr = std::make_unique<LayoutWrapper>( in shapeTextRun() local
109 static jint TextShaper_Result_getGlyphCount(CRITICAL_JNI_PARAMS_COMMA jlong ptr) { in TextShaper_Result_getGlyphCount()
115 static jfloat TextShaper_Result_getTotalAdvance(CRITICAL_JNI_PARAMS_COMMA jlong ptr) { in TextShaper_Result_getTotalAdvance()
121 static jfloat TextShaper_Result_getAscent(CRITICAL_JNI_PARAMS_COMMA jlong ptr) { in TextShaper_Result_getAscent()
127 static jfloat TextShaper_Result_getDescent(CRITICAL_JNI_PARAMS_COMMA jlong ptr) { in TextShaper_Result_getDescent()
133 static jint TextShaper_Result_getGlyphId(CRITICAL_JNI_PARAMS_COMMA jlong ptr, jint i) { in TextShaper_Result_getGlyphId()
139 static jfloat TextShaper_Result_getX(CRITICAL_JNI_PARAMS_COMMA jlong ptr, jint i) { in TextShaper_Result_getX()
145 static jfloat TextShaper_Result_getY(CRITICAL_JNI_PARAMS_COMMA jlong ptr, jint i) { in TextShaper_Result_getY()
151 static jlong TextShaper_Result_getFont(CRITICAL_JNI_PARAMS_COMMA jlong ptr, jint i) { in TextShaper_Result_getFont()
DMeasuredText.cpp41 static inline minikin::MeasuredTextBuilder* toBuilder(jlong ptr) { in toBuilder()
45 static inline Paint* toPaint(jlong ptr) { in toPaint()
49 static inline minikin::MeasuredText* toMeasuredParagraph(jlong ptr) { in toMeasuredParagraph()
53 template<typename Ptr> static inline jlong toJLong(Ptr ptr) { in toJLong()
100 static jfloat nGetWidth(CRITICAL_JNI_PARAMS_COMMA jlong ptr, jint start, jint end) { in nGetWidth()
109 static jfloat nGetCharWidthAt(CRITICAL_JNI_PARAMS_COMMA jlong ptr, jint offset) { in nGetCharWidthAt()
114 static void nGetBounds(JNIEnv* env, jobject, jlong ptr, jcharArray javaText, jint start, jint end, in nGetBounds()
138 static jint nGetMemoryUsage(CRITICAL_JNI_PARAMS_COMMA jlong ptr) { in nGetMemoryUsage()
/frameworks/base/services/core/java/com/android/server/tv/
DUinputBridge.java35 private static native void nativeClose(long ptr); in nativeClose()
36 private static native void nativeClear(long ptr); in nativeClear()
37 private static native void nativeSendKey(long ptr, int keyCode, boolean down); in nativeSendKey()
38 private static native void nativeSendPointerDown(long ptr, int pointerId, int x, int y); in nativeSendPointerDown()
39 private static native void nativeSendPointerUp(long ptr, int pointerId); in nativeSendPointerUp()
40 private static native void nativeSendPointerSync(long ptr); in nativeSendPointerSync()
50 private static native void nativeSendGamepadKey(long ptr, int keyCode, boolean down); in nativeSendGamepadKey()
65 private static native void nativeSendGamepadAxisValue(long ptr, int axis, float value); in nativeSendGamepadAxisValue()
87 private UinputBridge(IBinder token, long ptr) { in UinputBridge()
99 long ptr = nativeGamepadOpen(name, token.toString()); in openGamepad() local
/frameworks/base/core/java/com/android/internal/util/
DVirtualRefBasePtr.java26 public VirtualRefBasePtr(long ptr) { in VirtualRefBasePtr()
51 private static native void nIncStrong(long ptr); in nIncStrong()
52 private static native void nDecStrong(long ptr); in nDecStrong()
/frameworks/base/graphics/java/android/graphics/
DBLASTBufferQueue.java32 private static native void nativeDestroy(long ptr); in nativeDestroy()
33 private static native Surface nativeGetSurface(long ptr, boolean includeSurfaceControlHandle); in nativeGetSurface()
34 private static native void nativeSetNextTransaction(long ptr, long transactionPtr); in nativeSetNextTransaction()
35 private static native void nativeUpdate(long ptr, long surfaceControl, long width, long height, in nativeUpdate()
37 private static native void nativeFlushShadowQueue(long ptr); in nativeFlushShadowQueue()
38 private static native void nativeMergeWithNextTransaction(long ptr, long transactionPtr, in nativeMergeWithNextTransaction()
40 private static native void nativeSetTransactionCompleteCallback(long ptr, long frameNumber, in nativeSetTransactionCompleteCallback()
/frameworks/base/core/java/android/content/res/
DAssetManager.java1521 private static native void nativeDestroy(long ptr); in nativeDestroy()
1522 private static native void nativeSetApkAssets(long ptr, @NonNull ApkAssets[] apkAssets, in nativeSetApkAssets()
1524 private static native void nativeSetConfiguration(long ptr, int mcc, int mnc, in nativeSetConfiguration()
1530 long ptr, boolean includeOverlays, boolean includeLoaders); in nativeGetAssignedPackageIdentifiers()
1533 private static native boolean nativeContainsAllocatedTable(long ptr); in nativeContainsAllocatedTable()
1534 private static native @Nullable String[] nativeList(long ptr, @NonNull String path) in nativeList()
1536 private static native long nativeOpenAsset(long ptr, @NonNull String fileName, int accessMode); in nativeOpenAsset()
1537 private static native @Nullable ParcelFileDescriptor nativeOpenAssetFd(long ptr, in nativeOpenAssetFd()
1539 private static native long nativeOpenNonAsset(long ptr, int cookie, @NonNull String fileName, in nativeOpenNonAsset()
1541 private static native @Nullable ParcelFileDescriptor nativeOpenNonAssetFd(long ptr, int cookie, in nativeOpenNonAssetFd()
[all …]
/frameworks/base/core/java/android/view/
DSurfaceControlFpsListener.java91 private static native void nativeDestroy(long ptr); in nativeDestroy()
92 private static native void nativeRegister(long ptr, int taskId); in nativeRegister()
93 private static native void nativeUnregister(long ptr); in nativeUnregister()
DTunnelModeEnabledListener.java95 private static native void nativeDestroy(long ptr); in nativeDestroy()
96 private static native void nativeRegister(long ptr); in nativeRegister()
97 private static native void nativeUnregister(long ptr); in nativeUnregister()
DVelocityTracker.java179 private static native void nativeDispose(long ptr); in nativeDispose()
180 private static native void nativeClear(long ptr); in nativeClear()
181 private static native void nativeAddMovement(long ptr, MotionEvent event); in nativeAddMovement()
182 private static native void nativeComputeCurrentVelocity(long ptr, int units, float maxVelocity); in nativeComputeCurrentVelocity()
183 private static native float nativeGetXVelocity(long ptr, int id); in nativeGetXVelocity()
184 private static native float nativeGetYVelocity(long ptr, int id); in nativeGetYVelocity()
185 private static native boolean nativeGetEstimator(long ptr, int id, Estimator outEstimator); in nativeGetEstimator()
/frameworks/base/core/jni/
Dandroid_graphics_BLASTBufferQueue.cpp89 static void nativeDestroy(JNIEnv* env, jclass clazz, jlong ptr) { in nativeDestroy()
94 static jobject nativeGetSurface(JNIEnv* env, jclass clazz, jlong ptr, in nativeGetSurface()
101 static void nativeSetNextTransaction(JNIEnv* env, jclass clazz, jlong ptr, jlong transactionPtr) { in nativeSetNextTransaction()
107 static void nativeUpdate(JNIEnv* env, jclass clazz, jlong ptr, jlong surfaceControl, jlong width, in nativeUpdate()
115 static void nativeFlushShadowQueue(JNIEnv* env, jclass clazz, jlong ptr) { in nativeFlushShadowQueue()
120 static void nativeMergeWithNextTransaction(JNIEnv*, jclass clazz, jlong ptr, jlong transactionPtr, in nativeMergeWithNextTransaction()
127 static void nativeSetTransactionCompleteCallback(JNIEnv* env, jclass clazz, jlong ptr, in nativeSetTransactionCompleteCallback()
Dandroid_util_AssetManager.cpp157 static Guarded<AssetManager2>& AssetManagerFromLong(jlong ptr) { in AssetManagerFromLong()
161 static jobject NativeGetOverlayableMap(JNIEnv* env, jclass /*clazz*/, jlong ptr, in NativeGetOverlayableMap()
207 static jstring NativeGetOverlayablesToString(JNIEnv* env, jclass /*clazz*/, jlong ptr, in NativeGetOverlayablesToString()
287 static void NativeDestroy(JNIEnv* /*env*/, jclass /*clazz*/, jlong ptr) { in NativeDestroy()
291 static void NativeSetApkAssets(JNIEnv* env, jclass /*clazz*/, jlong ptr, in NativeSetApkAssets()
319 static void NativeSetConfiguration(JNIEnv* env, jclass /*clazz*/, jlong ptr, jint mcc, jint mnc, in NativeSetConfiguration()
368 static jobject NativeGetAssignedPackageIdentifiers(JNIEnv* env, jclass /*clazz*/, jlong ptr, in NativeGetAssignedPackageIdentifiers()
400 static jboolean ContainsAllocatedTable(JNIEnv* env, jclass /*clazz*/, jlong ptr) { in ContainsAllocatedTable()
405 static jobjectArray NativeList(JNIEnv* env, jclass /*clazz*/, jlong ptr, jstring path) { in NativeList()
444 static jlong NativeOpenAsset(JNIEnv* env, jclass /*clazz*/, jlong ptr, jstring asset_path, in NativeOpenAsset()
[all …]
Dcom_android_internal_os_FuseAppLoop.cpp121 void com_android_internal_os_FuseAppLoop_delete(JNIEnv* env, jobject self, jlong ptr) { in com_android_internal_os_FuseAppLoop_delete()
125 void com_android_internal_os_FuseAppLoop_start(JNIEnv* env, jobject self, jlong ptr) { in com_android_internal_os_FuseAppLoop_start()
131 JNIEnv* env, jobject self, jlong ptr, jlong unique, jint result) { in com_android_internal_os_FuseAppLoop_replySimple()
138 JNIEnv* env, jobject self, jlong ptr, jlong unique, jlong fh) { in com_android_internal_os_FuseAppLoop_replyOpen()
145 JNIEnv* env, jobject self, jlong ptr, jlong unique, jlong inode, jlong size) { in com_android_internal_os_FuseAppLoop_replyLookup()
152 JNIEnv* env, jobject self, jlong ptr, jlong unique, jlong inode, jlong size) { in com_android_internal_os_FuseAppLoop_replyGetAttr()
160 JNIEnv* env, jobject self, jlong ptr, jlong unique, jint size) { in com_android_internal_os_FuseAppLoop_replyWrite()
167 JNIEnv* env, jobject self, jlong ptr, jlong unique, jint size, jbyteArray data) { in com_android_internal_os_FuseAppLoop_replyRead()
Dandroid_view_KeyCharacterMap.cpp106 static void nativeWriteToParcel(JNIEnv* env, jobject clazz, jlong ptr, jobject parcelObj) { in nativeWriteToParcel()
121 static void nativeDispose(JNIEnv *env, jobject clazz, jlong ptr) { in nativeDispose()
127 static jchar nativeGetCharacter(JNIEnv *env, jobject clazz, jlong ptr, in nativeGetCharacter()
136 static jboolean nativeGetFallbackAction(JNIEnv *env, jobject clazz, jlong ptr, jint keyCode, in nativeGetFallbackAction()
155 static jchar nativeGetNumber(JNIEnv *env, jobject clazz, jlong ptr, jint keyCode) { in nativeGetNumber()
164 static jchar nativeGetMatch(JNIEnv *env, jobject clazz, jlong ptr, jint keyCode, in nativeGetMatch()
184 static jchar nativeGetDisplayLabel(JNIEnv *env, jobject clazz, jlong ptr, jint keyCode) { in nativeGetDisplayLabel()
193 static jint nativeGetKeyboardType(JNIEnv *env, jobject clazz, jlong ptr) { in nativeGetKeyboardType()
201 static jobjectArray nativeGetEvents(JNIEnv *env, jobject clazz, jlong ptr, in nativeGetEvents()
Dandroid_os_MessageQueue.cpp168 jlong ptr = env->GetLongField(messageQueueObj, gMessageQueueClassInfo.mPtr); in android_os_MessageQueue_getMessageQueue() local
183 static void android_os_MessageQueue_nativeDestroy(JNIEnv* env, jclass clazz, jlong ptr) { in android_os_MessageQueue_nativeDestroy()
189 jlong ptr, jint timeoutMillis) { in android_os_MessageQueue_nativePollOnce()
194 static void android_os_MessageQueue_nativeWake(JNIEnv* env, jclass clazz, jlong ptr) { in android_os_MessageQueue_nativeWake()
199 static jboolean android_os_MessageQueue_nativeIsPolling(JNIEnv* env, jclass clazz, jlong ptr) { in android_os_MessageQueue_nativeIsPolling()
205 jlong ptr, jint fd, jint events) { in android_os_MessageQueue_nativeSetFileDescriptorEvents()
Dandroid_hardware_camera2_CameraMetadata.cpp183 static CameraMetadata* CameraMetadata_getPointerNoThrow(jlong ptr) { in CameraMetadata_getPointerNoThrow()
192 static CameraMetadata* CameraMetadata_getPointerThrow(JNIEnv *env, jlong ptr, in CameraMetadata_getPointerThrow()
226 static jboolean CameraMetadata_isEmpty(JNIEnv *env, jclass thiz, jlong ptr) { in CameraMetadata_isEmpty()
245 static jint CameraMetadata_getEntryCount(JNIEnv *env, jclass thiz, jlong ptr) { in CameraMetadata_getEntryCount()
302 static jlong CameraMetadata_getBufferSize(JNIEnv *env, jclass thiz, jlong ptr) { in CameraMetadata_getBufferSize()
313 static void CameraMetadata_close(JNIEnv *env, jclass thiz, jlong ptr) { in CameraMetadata_close()
322 static void CameraMetadata_swap(JNIEnv *env, jclass thiz, jlong ptr, jlong other) { in CameraMetadata_swap()
336 static jbyteArray CameraMetadata_readValues(JNIEnv *env, jclass thiz, jint tag, jlong ptr) { in CameraMetadata_readValues()
376 jlong ptr) { in CameraMetadata_writeValues()
449 static void CameraMetadata_dump(JNIEnv *env, jclass thiz, jlong ptr) { in CameraMetadata_dump()
[all …]
Dandroid_view_VelocityTracker.cpp152 static void android_view_VelocityTracker_nativeDispose(JNIEnv* env, jclass clazz, jlong ptr) { in android_view_VelocityTracker_nativeDispose()
157 static void android_view_VelocityTracker_nativeClear(JNIEnv* env, jclass clazz, jlong ptr) { in android_view_VelocityTracker_nativeClear()
162 static void android_view_VelocityTracker_nativeAddMovement(JNIEnv* env, jclass clazz, jlong ptr, in android_view_VelocityTracker_nativeAddMovement()
175 jlong ptr, jint units, jfloat maxVelocity) { in android_view_VelocityTracker_nativeComputeCurrentVelocity()
181 jlong ptr, jint id) { in android_view_VelocityTracker_nativeGetXVelocity()
189 jlong ptr, jint id) { in android_view_VelocityTracker_nativeGetYVelocity()
197 jlong ptr, jint id, jobject outEstimatorObj) { in android_view_VelocityTracker_nativeGetEstimator()
/frameworks/layoutlib/bridge/src/com/android/internal/util/
DVirtualRefBasePtr_Delegate.java37 /*package*/ static synchronized void nIncStrong(long ptr) { in nIncStrong()
43 /*package*/ static synchronized void nDecStrong(long ptr) { in nDecStrong()
/frameworks/base/libs/hwui/
DPropertyValuesHolder.h90 GroupPropertyValuesHolder(VectorDrawable::Group* ptr, int propertyId, float startValue, in GroupPropertyValuesHolder()
104 FullPathColorPropertyValuesHolder(VectorDrawable::FullPath* ptr, int propertyId, in FullPathColorPropertyValuesHolder()
121 FullPathPropertyValuesHolder(VectorDrawable::FullPath* ptr, int propertyId, float startValue, in FullPathPropertyValuesHolder()
137 PathDataPropertyValuesHolder(VectorDrawable::Path* ptr, PathData* startValue, in PathDataPropertyValuesHolder()
/frameworks/layoutlib/bridge/src/android/graphics/text/
DLineBreaker_Delegate.java145 /*package*/ static int nGetLineCount(long ptr) { in nGetLineCount()
151 /*package*/ static int nGetLineBreakOffset(long ptr, int idx) { in nGetLineBreakOffset()
157 /*package*/ static float nGetLineWidth(long ptr, int idx) { in nGetLineWidth()
163 /*package*/ static float nGetLineAscent(long ptr, int idx) { in nGetLineAscent()
169 /*package*/ static float nGetLineDescent(long ptr, int idx) { in nGetLineDescent()
175 /*package*/ static int nGetLineFlag(long ptr, int idx) { in nGetLineFlag()
/frameworks/base/services/core/java/com/android/server/input/
DInputManagerService.java282 private static native void nativeStart(long ptr); in nativeStart()
283 private static native void nativeSetDisplayViewports(long ptr, in nativeSetDisplayViewports()
286 private static native int nativeGetScanCodeState(long ptr, in nativeGetScanCodeState()
288 private static native int nativeGetKeyCodeState(long ptr, in nativeGetKeyCodeState()
290 private static native int nativeGetSwitchState(long ptr, in nativeGetSwitchState()
292 private static native boolean nativeHasKeys(long ptr, in nativeHasKeys()
294 private static native InputChannel nativeCreateInputChannel(long ptr, String name); in nativeCreateInputChannel()
295 private static native InputChannel nativeCreateInputMonitor(long ptr, int displayId, in nativeCreateInputMonitor()
297 private static native void nativeRemoveInputChannel(long ptr, IBinder connectionToken); in nativeRemoveInputChannel()
298 private static native void nativePilferPointers(long ptr, IBinder token); in nativePilferPointers()
[all …]
/frameworks/base/services/core/jni/
Dcom_android_server_input_InputManagerService.cpp1502 static void nativeStart(JNIEnv* env, jclass /* clazz */, jlong ptr) { in nativeStart()
1511 static void nativeSetDisplayViewports(JNIEnv* env, jclass /* clazz */, jlong ptr, in nativeSetDisplayViewports()
1518 jlong ptr, jint deviceId, jint sourceMask, jint scanCode) { in nativeGetScanCodeState()
1526 jlong ptr, jint deviceId, jint sourceMask, jint keyCode) { in nativeGetKeyCodeState()
1534 jlong ptr, jint deviceId, jint sourceMask, jint sw) { in nativeGetSwitchState()
1542 jlong ptr, jint deviceId, jint sourceMask, jintArray keyCodes, jbooleanArray outFlags) { in nativeHasKeys()
1576 static jobject nativeCreateInputChannel(JNIEnv* env, jclass /* clazz */, jlong ptr, in nativeCreateInputChannel()
1603 static jobject nativeCreateInputMonitor(JNIEnv* env, jclass /* clazz */, jlong ptr, jint displayId, in nativeCreateInputMonitor()
1634 static void nativeRemoveInputChannel(JNIEnv* env, jclass /* clazz */, jlong ptr, jobject tokenObj) { in nativeRemoveInputChannel()
1646 static void nativePilferPointers(JNIEnv* env, jclass /* clazz */, jlong ptr, jobject tokenObj) { in nativePilferPointers()
[all …]

12345678910