Home
last modified time | relevance | path

Searched defs:ptr (Results 1 – 25 of 206) 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/cmds/statsd/src/external/
DResourceHealthManagerPuller.cpp77 auto ptr = make_shared<LogEvent>(android::util::REMAINING_BATTERY_CAPACITY, in PullInternal() local
83 auto ptr = make_shared<LogEvent>(android::util::FULL_BATTERY_CAPACITY, in PullInternal() local
89 auto ptr = make_shared<LogEvent>(android::util::BATTERY_VOLTAGE, wallClockTimestampNs, in PullInternal() local
95 auto ptr = make_shared<LogEvent>(android::util::BATTERY_LEVEL, wallClockTimestampNs, in PullInternal() local
101 auto ptr = make_shared<LogEvent>(android::util::BATTERY_CYCLE_COUNT, in PullInternal() local
/frameworks/base/core/jni/android/graphics/text/
DLineBreaker.cpp51 static inline minikin::android::StaticLayoutNative* toNative(jlong ptr) { in toNative()
101 static jint nGetLineCount(jlong ptr) { in nGetLineCount()
105 static jint nGetLineBreakOffset(jlong ptr, jint i) { in nGetLineBreakOffset()
109 static jfloat nGetLineWidth(jlong ptr, jint i) { in nGetLineWidth()
113 static jfloat nGetLineAscent(jlong ptr, jint i) { in nGetLineAscent()
117 static jfloat nGetLineDescent(jlong ptr, jint i) { in nGetLineDescent()
121 static jint nGetLineFlag(jlong ptr, jint i) { in nGetLineFlag()
125 static void nReleaseResult(jlong ptr) { in nReleaseResult()
DMeasuredText.cpp42 static inline minikin::MeasuredTextBuilder* toBuilder(jlong ptr) { in toBuilder()
46 static inline Paint* toPaint(jlong ptr) { in toPaint()
50 static inline minikin::MeasuredText* toMeasuredParagraph(jlong ptr) { in toMeasuredParagraph()
54 template<typename Ptr> static inline jlong toJLong(Ptr ptr) { in toJLong()
101 static jfloat nGetWidth(jlong ptr, jint start, jint end) { in nGetWidth()
110 static jfloat nGetCharWidthAt(jlong ptr, jint offset) { in nGetCharWidthAt()
115 static void nGetBounds(JNIEnv* env, jobject, jlong ptr, jcharArray javaText, jint start, jint end, in nGetBounds()
139 static jint nGetMemoryUsage(jlong ptr) { in nGetMemoryUsage()
/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/services/core/java/com/android/server/tv/
DUinputBridge.java36 private static native void nativeClose(long ptr); in nativeClose()
37 private static native void nativeClear(long ptr); in nativeClear()
38 private static native void nativeSendTimestamp(long ptr, long timestamp); in nativeSendTimestamp()
39 private static native void nativeSendKey(long ptr, int keyCode, boolean down); in nativeSendKey()
40 private static native void nativeSendPointerDown(long ptr, int pointerId, int x, int y); in nativeSendPointerDown()
41 private static native void nativeSendPointerUp(long ptr, int pointerId); in nativeSendPointerUp()
42 private static native void nativeSendPointerSync(long ptr); in nativeSendPointerSync()
/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, IBinder stopLayer, in nativeRegister()
101 private static native void nativeUnregister(long ptr); in nativeUnregister()
/frameworks/base/core/java/android/content/res/
DAssetManager.java1416 private static native void nativeDestroy(long ptr); in nativeDestroy()
1417 private static native void nativeSetApkAssets(long ptr, @NonNull ApkAssets[] apkAssets, in nativeSetApkAssets()
1419 private static native void nativeSetConfiguration(long ptr, int mcc, int mnc, in nativeSetConfiguration()
1425 long ptr); in nativeGetAssignedPackageIdentifiers()
1428 private static native @Nullable String[] nativeList(long ptr, @NonNull String path) in nativeList()
1430 private static native long nativeOpenAsset(long ptr, @NonNull String fileName, int accessMode); in nativeOpenAsset()
1431 private static native @Nullable ParcelFileDescriptor nativeOpenAssetFd(long ptr, in nativeOpenAssetFd()
1433 private static native long nativeOpenNonAsset(long ptr, int cookie, @NonNull String fileName, in nativeOpenNonAsset()
1435 private static native @Nullable ParcelFileDescriptor nativeOpenNonAssetFd(long ptr, int cookie, in nativeOpenNonAssetFd()
1437 private static native long nativeOpenXmlAsset(long ptr, int cookie, @NonNull String fileName); in nativeOpenXmlAsset()
[all …]
DApkAssets.java207 private static native void nativeDestroy(long ptr); in nativeDestroy()
208 private static native @NonNull String nativeGetAssetPath(long ptr); in nativeGetAssetPath()
209 private static native long nativeGetStringBlock(long ptr); in nativeGetStringBlock()
210 private static native boolean nativeIsUpToDate(long ptr); in nativeIsUpToDate()
211 private static native long nativeOpenXml(long ptr, @NonNull String fileName) throws IOException; in nativeOpenXml()
/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_content_res_ApkAssets.cpp94 static void NativeDestroy(JNIEnv* /*env*/, jclass /*clazz*/, jlong ptr) { in NativeDestroy()
98 static jstring NativeGetAssetPath(JNIEnv* env, jclass /*clazz*/, jlong ptr) { in NativeGetAssetPath()
103 static jlong NativeGetStringBlock(JNIEnv* /*env*/, jclass /*clazz*/, jlong ptr) { in NativeGetStringBlock()
108 static jboolean NativeIsUpToDate(JNIEnv* /*env*/, jclass /*clazz*/, jlong ptr) { in NativeIsUpToDate()
113 static jlong NativeOpenXml(JNIEnv* env, jclass /*clazz*/, jlong ptr, jstring file_name) { in NativeOpenXml()
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.cpp352 static Guarded<AssetManager2>& AssetManagerFromLong(jlong ptr) { in AssetManagerFromLong()
356 static jobject NativeGetOverlayableMap(JNIEnv* env, jclass /*clazz*/, jlong ptr, in NativeGetOverlayableMap()
457 static void NativeDestroy(JNIEnv* /*env*/, jclass /*clazz*/, jlong ptr) { in NativeDestroy()
461 static void NativeSetApkAssets(JNIEnv* env, jclass /*clazz*/, jlong ptr, in NativeSetApkAssets()
487 static void NativeSetConfiguration(JNIEnv* env, jclass /*clazz*/, jlong ptr, jint mcc, jint mnc, in NativeSetConfiguration()
536 static jobject NativeGetAssignedPackageIdentifiers(JNIEnv* env, jclass /*clazz*/, jlong ptr) { in NativeGetAssignedPackageIdentifiers()
561 static jobjectArray NativeList(JNIEnv* env, jclass /*clazz*/, jlong ptr, jstring path) { in NativeList()
600 static jlong NativeOpenAsset(JNIEnv* env, jclass /*clazz*/, jlong ptr, jstring asset_path, in NativeOpenAsset()
626 static jobject NativeOpenAssetFd(JNIEnv* env, jclass /*clazz*/, jlong ptr, jstring asset_path, in NativeOpenAssetFd()
645 static jlong NativeOpenNonAsset(JNIEnv* env, jclass /*clazz*/, jlong ptr, jint jcookie, in NativeOpenNonAsset()
[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()
/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_tv_TvUinputBridge.cpp198 static void nativeClose(JNIEnv* env, jclass clazz, jlong ptr) { in nativeClose()
203 static void nativeSendTimestamp(JNIEnv* env, jclass clazz, jlong ptr, jlong timestamp) { in nativeSendTimestamp()
210 static void nativeSendKey(JNIEnv* env, jclass clazz, jlong ptr, jint keyCode, jboolean down) { in nativeSendKey()
220 static void nativeSendPointerDown(JNIEnv* env, jclass clazz, jlong ptr, in nativeSendPointerDown()
236 static void nativeSendPointerUp(JNIEnv* env, jclass clazz, jlong ptr, in nativeSendPointerUp()
248 static void nativeSendPointerSync(JNIEnv* env, jclass clazz, jlong ptr) { in nativeSendPointerSync()
253 static void nativeClear(JNIEnv* env, jclass clazz, jlong ptr) { in nativeClear()
/frameworks/base/services/core/java/com/android/server/input/
DInputManagerService.java198 private static native void nativeStart(long ptr); in nativeStart()
199 private static native void nativeSetDisplayViewports(long ptr, in nativeSetDisplayViewports()
202 private static native int nativeGetScanCodeState(long ptr, in nativeGetScanCodeState()
204 private static native int nativeGetKeyCodeState(long ptr, in nativeGetKeyCodeState()
206 private static native int nativeGetSwitchState(long ptr, in nativeGetSwitchState()
208 private static native boolean nativeHasKeys(long ptr, in nativeHasKeys()
210 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