Home
last modified time | relevance | path

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

123456789

/frameworks/av/media/libstagefright/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()
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/core/java/android/content/res/
DAssetManager.java1486 private static native void nativeDestroy(long ptr); in nativeDestroy()
1487 private static native void nativeSetApkAssets(long ptr, @NonNull ApkAssets[] apkAssets, in nativeSetApkAssets()
1489 private static native void nativeSetConfiguration(long ptr, int mcc, int mnc, in nativeSetConfiguration()
1495 long ptr, boolean includeOverlays, boolean includeLoaders); in nativeGetAssignedPackageIdentifiers()
1498 private static native boolean nativeContainsAllocatedTable(long ptr); in nativeContainsAllocatedTable()
1499 private static native @Nullable String[] nativeList(long ptr, @NonNull String path) in nativeList()
1501 private static native long nativeOpenAsset(long ptr, @NonNull String fileName, int accessMode); in nativeOpenAsset()
1502 private static native @Nullable ParcelFileDescriptor nativeOpenAssetFd(long ptr, in nativeOpenAssetFd()
1504 private static native long nativeOpenNonAsset(long ptr, int cookie, @NonNull String fileName, in nativeOpenNonAsset()
1506 private static native @Nullable ParcelFileDescriptor nativeOpenNonAssetFd(long ptr, int cookie, in nativeOpenNonAssetFd()
[all …]
/frameworks/base/core/java/android/view/
DVelocityTracker.java42 private static native void nativeDispose(long ptr); in nativeDispose()
43 private static native void nativeClear(long ptr); in nativeClear()
44 private static native void nativeAddMovement(long ptr, MotionEvent event); in nativeAddMovement()
45 private static native void nativeComputeCurrentVelocity(long ptr, int units, float maxVelocity); in nativeComputeCurrentVelocity()
46 private static native float nativeGetXVelocity(long ptr, int id); in nativeGetXVelocity()
47 private static native float nativeGetYVelocity(long ptr, int id); in nativeGetYVelocity()
48 private static native boolean nativeGetEstimator(long ptr, int id, Estimator outEstimator); in nativeGetEstimator()
DSurfaceSession.java33 private static native void nativeDestroy(long ptr); in nativeDestroy()
34 private static native void nativeKill(long ptr); in nativeKill()
DCompositionSamplingListener.java98 private static native void nativeDestroy(long ptr); in nativeDestroy()
99 private static native void nativeRegister(long ptr, long stopLayerObject, in nativeRegister()
101 private static native void nativeUnregister(long ptr); in nativeUnregister()
/frameworks/base/graphics/java/android/graphics/
DBLASTBufferQueue.java31 private static native void nativeDestroy(long ptr); in nativeDestroy()
32 private static native Surface nativeGetSurface(long ptr); in nativeGetSurface()
33 private static native void nativeSetNextTransaction(long ptr, long transactionPtr); in nativeSetNextTransaction()
34 private static native void nativeUpdate(long ptr, long surfaceControl, long width, long height); in nativeUpdate()
/frameworks/base/core/jni/
Dandroid_view_KeyCharacterMap.cpp103 static void nativeWriteToParcel(JNIEnv* env, jobject clazz, jlong ptr, jobject parcelObj) { in nativeWriteToParcel()
112 static void nativeDispose(JNIEnv *env, jobject clazz, jlong ptr) { in nativeDispose()
117 static jchar nativeGetCharacter(JNIEnv *env, jobject clazz, jlong ptr, in nativeGetCharacter()
123 static jboolean nativeGetFallbackAction(JNIEnv *env, jobject clazz, jlong ptr, jint keyCode, in nativeGetFallbackAction()
138 static jchar nativeGetNumber(JNIEnv *env, jobject clazz, jlong ptr, jint keyCode) { in nativeGetNumber()
143 static jchar nativeGetMatch(JNIEnv *env, jobject clazz, jlong ptr, jint keyCode, in nativeGetMatch()
161 static jchar nativeGetDisplayLabel(JNIEnv *env, jobject clazz, jlong ptr, jint keyCode) { in nativeGetDisplayLabel()
166 static jint nativeGetKeyboardType(JNIEnv *env, jobject clazz, jlong ptr) { in nativeGetKeyboardType()
171 static jobjectArray nativeGetEvents(JNIEnv *env, jobject clazz, jlong ptr, in nativeGetEvents()
Dandroid_graphics_BLASTBufferQueue.cpp40 static void nativeDestroy(JNIEnv* env, jclass clazz, jlong ptr) { in nativeDestroy()
45 static jobject nativeGetSurface(JNIEnv* env, jclass clazz, jlong ptr) { in nativeGetSurface()
50 static void nativeSetNextTransaction(JNIEnv* env, jclass clazz, jlong ptr, jlong transactionPtr) { in nativeSetNextTransaction()
56 static void nativeUpdate(JNIEnv*env, jclass clazz, jlong ptr, jlong surfaceControl, jlong width, jl… in nativeUpdate()
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_util_AssetManager.cpp243 static Guarded<AssetManager2>& AssetManagerFromLong(jlong ptr) { in AssetManagerFromLong()
247 static jobject NativeGetOverlayableMap(JNIEnv* env, jclass /*clazz*/, jlong ptr, in NativeGetOverlayableMap()
293 static jstring NativeGetOverlayablesToString(JNIEnv* env, jclass /*clazz*/, jlong ptr, in NativeGetOverlayablesToString()
373 static void NativeDestroy(JNIEnv* /*env*/, jclass /*clazz*/, jlong ptr) { in NativeDestroy()
377 static void NativeSetApkAssets(JNIEnv* env, jclass /*clazz*/, jlong ptr, in NativeSetApkAssets()
403 static void NativeSetConfiguration(JNIEnv* env, jclass /*clazz*/, jlong ptr, jint mcc, jint mnc, in NativeSetConfiguration()
452 static jobject NativeGetAssignedPackageIdentifiers(JNIEnv* env, jclass /*clazz*/, jlong ptr, in NativeGetAssignedPackageIdentifiers()
484 static jboolean ContainsAllocatedTable(JNIEnv* env, jclass /*clazz*/, jlong ptr) { in ContainsAllocatedTable()
489 static jobjectArray NativeList(JNIEnv* env, jclass /*clazz*/, jlong ptr, jstring path) { in NativeList()
528 static jlong NativeOpenAsset(JNIEnv* env, jclass /*clazz*/, jlong ptr, jstring asset_path, in NativeOpenAsset()
[all …]
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_view_VelocityTracker.cpp151 static void android_view_VelocityTracker_nativeDispose(JNIEnv* env, jclass clazz, jlong ptr) { in android_view_VelocityTracker_nativeDispose()
156 static void android_view_VelocityTracker_nativeClear(JNIEnv* env, jclass clazz, jlong ptr) { in android_view_VelocityTracker_nativeClear()
161 static void android_view_VelocityTracker_nativeAddMovement(JNIEnv* env, jclass clazz, jlong ptr, in android_view_VelocityTracker_nativeAddMovement()
174 jlong ptr, jint units, jfloat maxVelocity) { in android_view_VelocityTracker_nativeComputeCurrentVelocity()
180 jlong ptr, jint id) { in android_view_VelocityTracker_nativeGetXVelocity()
188 jlong ptr, jint id) { in android_view_VelocityTracker_nativeGetYVelocity()
196 jlong ptr, jint id, jobject outEstimatorObj) { in android_view_VelocityTracker_nativeGetEstimator()
Dandroid_hardware_camera2_CameraMetadata.cpp180 static CameraMetadata* CameraMetadata_getPointerNoThrow(jlong ptr) { in CameraMetadata_getPointerNoThrow()
189 static CameraMetadata* CameraMetadata_getPointerThrow(JNIEnv *env, jlong ptr, in CameraMetadata_getPointerThrow()
223 static jboolean CameraMetadata_isEmpty(JNIEnv *env, jclass thiz, jlong ptr) { in CameraMetadata_isEmpty()
242 static jint CameraMetadata_getEntryCount(JNIEnv *env, jclass thiz, jlong ptr) { in CameraMetadata_getEntryCount()
253 static void CameraMetadata_close(JNIEnv *env, jclass thiz, jlong ptr) { in CameraMetadata_close()
262 static void CameraMetadata_swap(JNIEnv *env, jclass thiz, jlong ptr, jlong other) { in CameraMetadata_swap()
276 static jbyteArray CameraMetadata_readValues(JNIEnv *env, jclass thiz, jint tag, jlong ptr) { in CameraMetadata_readValues()
316 jlong ptr) { in CameraMetadata_writeValues()
389 static void CameraMetadata_dump(JNIEnv *env, jclass thiz, jlong ptr) { in CameraMetadata_dump()
485 static void CameraMetadata_readFromParcel(JNIEnv *env, jclass thiz, jobject parcel, jlong ptr) { in CameraMetadata_readFromParcel()
[all …]
/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/jni/
Dcom_android_server_input_InputManagerService.cpp1275 static void nativeStart(JNIEnv* env, jclass /* clazz */, jlong ptr) { in nativeStart()
1284 static void nativeSetDisplayViewports(JNIEnv* env, jclass /* clazz */, jlong ptr, in nativeSetDisplayViewports()
1291 jlong ptr, jint deviceId, jint sourceMask, jint scanCode) { in nativeGetScanCodeState()
1299 jlong ptr, jint deviceId, jint sourceMask, jint keyCode) { in nativeGetKeyCodeState()
1307 jlong ptr, jint deviceId, jint sourceMask, jint sw) { in nativeGetSwitchState()
1315 jlong ptr, jint deviceId, jint sourceMask, jintArray keyCodes, jbooleanArray outFlags) { in nativeHasKeys()
1353 jlong ptr, jobject inputChannelObj) { in nativeRegisterInputChannel()
1377 jlong ptr, jobject inputChannelObj, jint displayId, jboolean isGestureMonitor) { in nativeRegisterInputMonitor()
1403 jlong ptr, jobject inputChannelObj) { in nativeUnregisterInputChannel()
1423 static void nativePilferPointers(JNIEnv* env, jclass /* clazz */, jlong ptr, jobject tokenObj) { in nativePilferPointers()
[all …]
/frameworks/base/services/core/java/com/android/server/input/
DInputManagerService.java199 private static native void nativeStart(long ptr); in nativeStart()
200 private static native void nativeSetDisplayViewports(long ptr, in nativeSetDisplayViewports()
203 private static native int nativeGetScanCodeState(long ptr, in nativeGetScanCodeState()
205 private static native int nativeGetKeyCodeState(long ptr, in nativeGetKeyCodeState()
207 private static native int nativeGetSwitchState(long ptr, in nativeGetSwitchState()
209 private static native boolean nativeHasKeys(long ptr, in nativeHasKeys()
211 private static native void nativeRegisterInputChannel(long ptr, InputChannel inputChannel); in nativeRegisterInputChannel()
212 private static native void nativeRegisterInputMonitor(long ptr, InputChannel inputChannel, in nativeRegisterInputMonitor()
214 private static native void nativeUnregisterInputChannel(long ptr, InputChannel inputChannel); in nativeUnregisterInputChannel()
215 private static native void nativePilferPointers(long ptr, IBinder token); in nativePilferPointers()
[all …]
/frameworks/base/graphics/java/android/graphics/text/
DLineBreaker.java357 private Result(long ptr) { in Result()
524 private static native int nGetLineCount(long ptr); in nGetLineCount()
526 private static native int nGetLineBreakOffset(long ptr, int idx); in nGetLineBreakOffset()
528 private static native float nGetLineWidth(long ptr, int idx); in nGetLineWidth()
530 private static native float nGetLineAscent(long ptr, int idx); in nGetLineAscent()
532 private static native float nGetLineDescent(long ptr, int idx); in nGetLineDescent()
534 private static native int nGetLineFlag(long ptr, int idx); in nGetLineFlag()

123456789