Home
last modified time | relevance | path

Searched refs:ptr (Results 1 – 25 of 286) sorted by relevance

12345678910>>...12

/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
Dget_pred_outside.cpp116 *((uint32*)ptr) = temp; \
117 *((uint32*)(ptr+4)) = temp; \
118 *((uint32*)(ptr+=16)) = temp; \
119 *((uint32*)(ptr+4)) = temp; \
120 *((uint32*)(ptr+=16)) = temp; \
121 *((uint32*)(ptr+4)) = temp; \
122 *((uint32*)(ptr+=16)) = temp; \
123 *((uint32*)(ptr+4)) = temp; \
124 *((uint32*)(ptr+=16)) = temp; \
125 *((uint32*)(ptr+4)) = temp; \
[all …]
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
Dpred_lt4.c60 Word16 *ptr, *ptr1; in Pred_lt4() local
76 ptr = ptr2; in Pred_lt4()
78 L_sum = vo_mult32((*ptr1++), (*ptr++)); in Pred_lt4()
79 L_sum += vo_mult32((*ptr1++), (*ptr++)); in Pred_lt4()
80 L_sum += vo_mult32((*ptr1++), (*ptr++)); in Pred_lt4()
81 L_sum += vo_mult32((*ptr1++), (*ptr++)); in Pred_lt4()
82 L_sum += vo_mult32((*ptr1++), (*ptr++)); in Pred_lt4()
83 L_sum += vo_mult32((*ptr1++), (*ptr++)); in Pred_lt4()
84 L_sum += vo_mult32((*ptr1++), (*ptr++)); in Pred_lt4()
85 L_sum += vo_mult32((*ptr1++), (*ptr++)); in Pred_lt4()
[all …]
/frameworks/av/media/libstagefright/foundation/
DByteUtils.cpp24 uint16_t U16_AT(const uint8_t *ptr) { in U16_AT() argument
25 return ptr[0] << 8 | ptr[1]; in U16_AT()
28 uint32_t U32_AT(const uint8_t *ptr) { in U32_AT() argument
29 return ptr[0] << 24 | ptr[1] << 16 | ptr[2] << 8 | ptr[3]; in U32_AT()
32 uint64_t U64_AT(const uint8_t *ptr) { in U64_AT() argument
33 return ((uint64_t)U32_AT(ptr)) << 32 | U32_AT(ptr + 4); in U64_AT()
36 uint16_t U16LE_AT(const uint8_t *ptr) { in U16LE_AT() argument
37 return ptr[0] | (ptr[1] << 8); in U16LE_AT()
40 uint32_t U32LE_AT(const uint8_t *ptr) { in U32LE_AT() argument
41 return ptr[3] << 24 | ptr[2] << 16 | ptr[1] << 8 | ptr[0]; in U32LE_AT()
[all …]
/frameworks/base/cmds/statsd/src/external/
DResourceHealthManagerPuller.cpp77 auto ptr = make_shared<LogEvent>(android::util::REMAINING_BATTERY_CAPACITY, in PullInternal() local
79 ptr->write(v.legacy.batteryChargeCounter); in PullInternal()
80 ptr->init(); in PullInternal()
81 data->push_back(ptr); in PullInternal()
83 auto ptr = make_shared<LogEvent>(android::util::FULL_BATTERY_CAPACITY, in PullInternal() local
85 ptr->write(v.legacy.batteryFullCharge); in PullInternal()
86 ptr->init(); in PullInternal()
87 data->push_back(ptr); in PullInternal()
89 auto ptr = make_shared<LogEvent>(android::util::BATTERY_VOLTAGE, wallClockTimestampNs, in PullInternal() local
91 ptr->write(v.legacy.batteryVoltage); in PullInternal()
[all …]
/frameworks/rs/driver/runtime/
Drs_core.c44 extern int32_t __attribute__((overloadable)) rsAtomicCas(volatile int32_t *ptr, int32_t expectedVal… in rsAtomicCas() argument
45 return __sync_val_compare_and_swap(ptr, expectedValue, newValue); in rsAtomicCas()
48 extern uint32_t __attribute__((overloadable)) rsAtomicCas(volatile uint32_t *ptr, uint32_t expected… in rsAtomicCas() argument
49 return __sync_val_compare_and_swap(ptr, expectedValue, newValue); in rsAtomicCas()
52 extern int32_t __attribute__((overloadable)) rsAtomicInc(volatile int32_t *ptr) { in rsAtomicInc() argument
53 return __sync_fetch_and_add(ptr, 1); in rsAtomicInc()
56 extern int32_t __attribute__((overloadable)) rsAtomicInc(volatile uint32_t *ptr) { in rsAtomicInc() argument
57 return __sync_fetch_and_add(ptr, 1); in rsAtomicInc()
60 extern int32_t __attribute__((overloadable)) rsAtomicDec(volatile int32_t *ptr) { in rsAtomicDec() argument
61 return __sync_fetch_and_sub(ptr, 1); in rsAtomicDec()
[all …]
/frameworks/av/media/libstagefright/
DMPEG2TSWriter.cpp195 const uint8_t *ptr = (const uint8_t *)data; in extractCodecSpecificData() local
197 size_t numSeqParameterSets = ptr[5] & 31; in extractCodecSpecificData()
199 ptr += 6; in extractCodecSpecificData()
204 size_t length = U16_AT(ptr); in extractCodecSpecificData()
206 ptr += 2; in extractCodecSpecificData()
213 memcpy(out->data() + out->size() + 4, ptr, length); in extractCodecSpecificData()
216 ptr += length; in extractCodecSpecificData()
221 size_t numPictureParameterSets = *ptr; in extractCodecSpecificData()
222 ++ptr; in extractCodecSpecificData()
227 size_t length = U16_AT(ptr); in extractCodecSpecificData()
[all …]
/frameworks/base/core/jni/android/graphics/text/
DLineBreaker.cpp51 static inline minikin::android::StaticLayoutNative* toNative(jlong ptr) { in toNative() argument
52 return reinterpret_cast<minikin::android::StaticLayoutNative*>(ptr); in toNative()
101 static jint nGetLineCount(jlong ptr) { in nGetLineCount() argument
102 return reinterpret_cast<minikin::LineBreakResult*>(ptr)->breakPoints.size(); in nGetLineCount()
105 static jint nGetLineBreakOffset(jlong ptr, jint i) { in nGetLineBreakOffset() argument
106 return reinterpret_cast<minikin::LineBreakResult*>(ptr)->breakPoints[i]; in nGetLineBreakOffset()
109 static jfloat nGetLineWidth(jlong ptr, jint i) { in nGetLineWidth() argument
110 return reinterpret_cast<minikin::LineBreakResult*>(ptr)->widths[i]; in nGetLineWidth()
113 static jfloat nGetLineAscent(jlong ptr, jint i) { in nGetLineAscent() argument
114 return reinterpret_cast<minikin::LineBreakResult*>(ptr)->ascents[i]; in nGetLineAscent()
[all …]
DMeasuredText.cpp42 static inline minikin::MeasuredTextBuilder* toBuilder(jlong ptr) { in toBuilder() argument
43 return reinterpret_cast<minikin::MeasuredTextBuilder*>(ptr); in toBuilder()
46 static inline Paint* toPaint(jlong ptr) { in toPaint() argument
47 return reinterpret_cast<Paint*>(ptr); in toPaint()
50 static inline minikin::MeasuredText* toMeasuredParagraph(jlong ptr) { in toMeasuredParagraph() argument
51 return reinterpret_cast<minikin::MeasuredText*>(ptr); in toMeasuredParagraph()
54 template<typename Ptr> static inline jlong toJLong(Ptr ptr) { in toJLong() argument
55 return reinterpret_cast<jlong>(ptr); in toJLong()
101 static jfloat nGetWidth(jlong ptr, jint start, jint end) { in nGetWidth() argument
102 minikin::MeasuredText* mt = toMeasuredParagraph(ptr); in nGetWidth()
[all …]
/frameworks/base/core/jni/
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() argument
122 delete reinterpret_cast<fuse::FuseAppLoop*>(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() argument
127 reinterpret_cast<fuse::FuseAppLoop*>(ptr)->Start(&callback); 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() argument
132 if (!reinterpret_cast<fuse::FuseAppLoop*>(ptr)->ReplySimple(unique, result)) { in com_android_internal_os_FuseAppLoop_replySimple()
133 reinterpret_cast<fuse::FuseAppLoop*>(ptr)->Break(); 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() argument
139 if (!reinterpret_cast<fuse::FuseAppLoop*>(ptr)->ReplyOpen(unique, fh)) { in com_android_internal_os_FuseAppLoop_replyOpen()
140 reinterpret_cast<fuse::FuseAppLoop*>(ptr)->Break(); in com_android_internal_os_FuseAppLoop_replyOpen()
[all …]
Dandroid_hardware_input_InputApplicationHandle.cpp31 jfieldID ptr; member
91 jlong ptr = env->GetLongField(inputApplicationHandleObj, gInputApplicationHandleClassInfo.ptr); in android_view_InputApplicationHandle_getHandle() local
93 if (ptr) { in android_view_InputApplicationHandle_getHandle()
94 handle = reinterpret_cast<NativeInputApplicationHandle*>(ptr); in android_view_InputApplicationHandle_getHandle()
99 env->SetLongField(inputApplicationHandleObj, gInputApplicationHandleClassInfo.ptr, in android_view_InputApplicationHandle_getHandle()
111 jlong ptr = env->GetLongField(obj, gInputApplicationHandleClassInfo.ptr); in android_view_InputApplicationHandle_nativeDispose() local
112 if (ptr) { in android_view_InputApplicationHandle_nativeDispose()
113 env->SetLongField(obj, gInputApplicationHandleClassInfo.ptr, 0); in android_view_InputApplicationHandle_nativeDispose()
115 NativeInputApplicationHandle* handle = reinterpret_cast<NativeInputApplicationHandle*>(ptr); in android_view_InputApplicationHandle_nativeDispose()
144 GET_FIELD_ID(gInputApplicationHandleClassInfo.ptr, clazz, in register_android_view_InputApplicationHandle()
Dandroid_view_KeyCharacterMap.cpp103 static void nativeWriteToParcel(JNIEnv* env, jobject clazz, jlong ptr, jobject parcelObj) { in nativeWriteToParcel() argument
104 NativeKeyCharacterMap* map = reinterpret_cast<NativeKeyCharacterMap*>(ptr); in nativeWriteToParcel()
112 static void nativeDispose(JNIEnv *env, jobject clazz, jlong ptr) { in nativeDispose() argument
113 NativeKeyCharacterMap* map = reinterpret_cast<NativeKeyCharacterMap*>(ptr); in nativeDispose()
117 static jchar nativeGetCharacter(JNIEnv *env, jobject clazz, jlong ptr, in nativeGetCharacter() argument
119 NativeKeyCharacterMap* map = reinterpret_cast<NativeKeyCharacterMap*>(ptr); in nativeGetCharacter()
123 static jboolean nativeGetFallbackAction(JNIEnv *env, jobject clazz, jlong ptr, jint keyCode, in nativeGetFallbackAction() argument
125 NativeKeyCharacterMap* map = reinterpret_cast<NativeKeyCharacterMap*>(ptr); in nativeGetFallbackAction()
138 static jchar nativeGetNumber(JNIEnv *env, jobject clazz, jlong ptr, jint keyCode) { in nativeGetNumber() argument
139 NativeKeyCharacterMap* map = reinterpret_cast<NativeKeyCharacterMap*>(ptr); in nativeGetNumber()
[all …]
Dandroid_view_VelocityTracker.cpp151 static void android_view_VelocityTracker_nativeDispose(JNIEnv* env, jclass clazz, jlong ptr) { in android_view_VelocityTracker_nativeDispose() argument
152 VelocityTrackerState* state = reinterpret_cast<VelocityTrackerState*>(ptr); in android_view_VelocityTracker_nativeDispose()
156 static void android_view_VelocityTracker_nativeClear(JNIEnv* env, jclass clazz, jlong ptr) { in android_view_VelocityTracker_nativeClear() argument
157 VelocityTrackerState* state = reinterpret_cast<VelocityTrackerState*>(ptr); in android_view_VelocityTracker_nativeClear()
161 static void android_view_VelocityTracker_nativeAddMovement(JNIEnv* env, jclass clazz, jlong ptr, in android_view_VelocityTracker_nativeAddMovement() argument
169 VelocityTrackerState* state = reinterpret_cast<VelocityTrackerState*>(ptr); in android_view_VelocityTracker_nativeAddMovement()
174 jlong ptr, jint units, jfloat maxVelocity) { in android_view_VelocityTracker_nativeComputeCurrentVelocity() argument
175 VelocityTrackerState* state = reinterpret_cast<VelocityTrackerState*>(ptr); in android_view_VelocityTracker_nativeComputeCurrentVelocity()
180 jlong ptr, jint id) { in android_view_VelocityTracker_nativeGetXVelocity() argument
181 VelocityTrackerState* state = reinterpret_cast<VelocityTrackerState*>(ptr); in android_view_VelocityTracker_nativeGetXVelocity()
[all …]
Dandroid_os_MessageQueue.cpp168 jlong ptr = env->GetLongField(messageQueueObj, gMessageQueueClassInfo.mPtr); in android_os_MessageQueue_getMessageQueue() local
169 return reinterpret_cast<NativeMessageQueue*>(ptr); in android_os_MessageQueue_getMessageQueue()
183 static void android_os_MessageQueue_nativeDestroy(JNIEnv* env, jclass clazz, jlong ptr) { in android_os_MessageQueue_nativeDestroy() argument
184 NativeMessageQueue* nativeMessageQueue = reinterpret_cast<NativeMessageQueue*>(ptr); in android_os_MessageQueue_nativeDestroy()
189 jlong ptr, jint timeoutMillis) { in android_os_MessageQueue_nativePollOnce() argument
190 NativeMessageQueue* nativeMessageQueue = reinterpret_cast<NativeMessageQueue*>(ptr); in android_os_MessageQueue_nativePollOnce()
194 static void android_os_MessageQueue_nativeWake(JNIEnv* env, jclass clazz, jlong ptr) { in android_os_MessageQueue_nativeWake() argument
195 NativeMessageQueue* nativeMessageQueue = reinterpret_cast<NativeMessageQueue*>(ptr); in android_os_MessageQueue_nativeWake()
199 static jboolean android_os_MessageQueue_nativeIsPolling(JNIEnv* env, jclass clazz, jlong ptr) { in android_os_MessageQueue_nativeIsPolling() argument
200 NativeMessageQueue* nativeMessageQueue = reinterpret_cast<NativeMessageQueue*>(ptr); in android_os_MessageQueue_nativeIsPolling()
[all …]
Dandroid_content_res_ApkAssets.cpp94 static void NativeDestroy(JNIEnv* /*env*/, jclass /*clazz*/, jlong ptr) { in NativeDestroy() argument
95 delete reinterpret_cast<ApkAssets*>(ptr); in NativeDestroy()
98 static jstring NativeGetAssetPath(JNIEnv* env, jclass /*clazz*/, jlong ptr) { in NativeGetAssetPath() argument
99 const ApkAssets* apk_assets = reinterpret_cast<const ApkAssets*>(ptr); in NativeGetAssetPath()
103 static jlong NativeGetStringBlock(JNIEnv* /*env*/, jclass /*clazz*/, jlong ptr) { in NativeGetStringBlock() argument
104 const ApkAssets* apk_assets = reinterpret_cast<const ApkAssets*>(ptr); in NativeGetStringBlock()
108 static jboolean NativeIsUpToDate(JNIEnv* /*env*/, jclass /*clazz*/, jlong ptr) { in NativeIsUpToDate() argument
109 const ApkAssets* apk_assets = reinterpret_cast<const ApkAssets*>(ptr); in NativeIsUpToDate()
113 static jlong NativeOpenXml(JNIEnv* env, jclass /*clazz*/, jlong ptr, jstring file_name) { in NativeOpenXml() argument
119 const ApkAssets* apk_assets = reinterpret_cast<const ApkAssets*>(ptr); in NativeOpenXml()
Dandroid_util_AssetManager.cpp352 static Guarded<AssetManager2>& AssetManagerFromLong(jlong ptr) { in AssetManagerFromLong() argument
353 return *AssetManagerForNdkAssetManager(reinterpret_cast<AAssetManager*>(ptr)); in AssetManagerFromLong()
356 static jobject NativeGetOverlayableMap(JNIEnv* env, jclass /*clazz*/, jlong ptr, in NativeGetOverlayableMap() argument
358 ScopedLock<AssetManager2> assetmanager(AssetManagerFromLong(ptr)); in NativeGetOverlayableMap()
457 static void NativeDestroy(JNIEnv* /*env*/, jclass /*clazz*/, jlong ptr) { in NativeDestroy() argument
458 delete reinterpret_cast<GuardedAssetManager*>(ptr); in NativeDestroy()
461 static void NativeSetApkAssets(JNIEnv* env, jclass /*clazz*/, jlong ptr, in NativeSetApkAssets() argument
483 ScopedLock<AssetManager2> assetmanager(AssetManagerFromLong(ptr)); in NativeSetApkAssets()
487 static void NativeSetConfiguration(JNIEnv* env, jclass /*clazz*/, jlong ptr, jint mcc, jint mnc, in NativeSetConfiguration() argument
532 ScopedLock<AssetManager2> assetmanager(AssetManagerFromLong(ptr)); in NativeSetConfiguration()
[all …]
/frameworks/layoutlib/bridge/src/com/android/internal/util/
DVirtualRefBasePtr_Delegate.java37 /*package*/ static synchronized void nIncStrong(long ptr) { in nIncStrong() argument
38 long counter = sRefCount.get(ptr); in nIncStrong()
39 sRefCount.put(ptr, ++counter); in nIncStrong()
43 /*package*/ static synchronized void nDecStrong(long ptr) { in nDecStrong() argument
44 long counter = sRefCount.get(ptr); in nDecStrong()
47 sRefCount.put(ptr, --counter); in nDecStrong()
49 sRefCount.delete(ptr); in nDecStrong()
50 sManager.removeJavaReferenceFor(ptr); in nDecStrong()
/frameworks/av/media/libstagefright/mpeg2ts/
DESQueue.cpp117 const uint8_t *ptr, size_t size, sp<MetaData> *metaData) { in parseAC3SyncFrame() argument
143 ABitReader bits(ptr, size); in parseAC3SyncFrame()
224 const uint8_t *ptr, size_t size, sp<MetaData> *metaData) { in parseEAC3SyncFrame() argument
229 ABitReader bits(ptr, size); in parseEAC3SyncFrame()
300 const uint8_t *ptr, size_t size, unsigned &frameSize, sp<MetaData> *metaData) { in parseAC4SyncFrame() argument
307 ABitReader bits(ptr, size); in parseAC4SyncFrame()
365 static status_t IsSeeminglyValidAC4Header(const uint8_t *ptr, size_t size, unsigned &frameSize) { in IsSeeminglyValidAC4Header() argument
366 return parseAC4SyncFrame(ptr, size, frameSize, NULL); in IsSeeminglyValidAC4Header()
370 const uint8_t *ptr, size_t size, size_t *frameLength) { in IsSeeminglyValidADTSHeader() argument
376 if (ptr[0] != 0xff || (ptr[1] >> 4) != 0x0f) { in IsSeeminglyValidADTSHeader()
[all …]
/frameworks/av/media/bufferpool/2.0/tests/
Dallocator.cpp135 BufferPoolAllocation *ptr = new BufferPoolAllocation(ashmemAlloc->handle()); in allocate() local
136 if (ptr) { in allocate()
137 *alloc = std::shared_ptr<BufferPoolAllocation>(ptr, AllocationDtor(ashmemAlloc)); in allocate()
142 delete ptr; in allocate()
169 unsigned char *ptr = (unsigned char *)mmap( in Fill() local
172 if (ptr != MAP_FAILED) { in Fill()
174 ptr[i] = val; in Fill()
176 munmap(ptr, o->size()); in Fill()
187 unsigned char *ptr = (unsigned char *)mmap( in Verify() local
190 if (ptr != MAP_FAILED) { in Verify()
[all …]
/frameworks/av/media/bufferpool/1.0/vts/
Dallocator.cpp135 BufferPoolAllocation *ptr = new BufferPoolAllocation(ashmemAlloc->handle()); in allocate() local
136 if (ptr) { in allocate()
137 *alloc = std::shared_ptr<BufferPoolAllocation>(ptr, AllocationDtor(ashmemAlloc)); in allocate()
142 delete ptr; in allocate()
169 unsigned char *ptr = (unsigned char *)mmap( in Fill() local
172 if (ptr != MAP_FAILED) { in Fill()
174 ptr[i] = val; in Fill()
176 munmap(ptr, o->size()); in Fill()
187 unsigned char *ptr = (unsigned char *)mmap( in Verify() local
190 if (ptr != MAP_FAILED) { in Verify()
[all …]
/frameworks/base/cmds/statsd/src/
Dhash.cpp30 inline uint32_t DecodeFixed32(const char *ptr) { in DecodeFixed32() argument
31 return ((static_cast<uint32_t>(static_cast<unsigned char>(ptr[0]))) | in DecodeFixed32()
32 (static_cast<uint32_t>(static_cast<unsigned char>(ptr[1])) << 8) | in DecodeFixed32()
33 (static_cast<uint32_t>(static_cast<unsigned char>(ptr[2])) << 16) | in DecodeFixed32()
34 (static_cast<uint32_t>(static_cast<unsigned char>(ptr[3])) << 24)); in DecodeFixed32()
37 inline uint64_t DecodeFixed64(const char* ptr) { in DecodeFixed64() argument
38 uint64_t lo = DecodeFixed32(ptr); in DecodeFixed64()
39 uint64_t hi = DecodeFixed32(ptr + 4); in DecodeFixed64()
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/
DByteUtils.h40 uint16_t U16_AT(const uint8_t *ptr);
41 uint32_t U32_AT(const uint8_t *ptr);
42 uint64_t U64_AT(const uint8_t *ptr);
44 uint16_t U16LE_AT(const uint8_t *ptr);
45 uint32_t U32LE_AT(const uint8_t *ptr);
46 uint64_t U64LE_AT(const uint8_t *ptr);
/frameworks/av/drm/mediacas/plugins/clearkey/
Decm_generator.cpp68 const uint8_t* ptr = ecm->data() + kEcmClearFieldsSize; in DecodeECM() local
70 memcpy((*content_key)->data(), ptr, kContentKeyByteSize); in DecodeECM()
85 const uint8_t* ptr = ecm->data(); in DecodeECMClearFields() local
86 default_fields->old_version = LoadNext32(&ptr); in DecodeECMClearFields()
87 default_fields->clear_lead = LoadNext32(&ptr); in DecodeECMClearFields()
88 default_fields->system_id = LoadNext32(&ptr); in DecodeECMClearFields()
96 asset->set_id(LoadNext32(&ptr)); in DecodeECMClearFields()
/frameworks/base/services/core/jni/
Dcom_android_server_input_InputManagerService.cpp1312 static void nativeStart(JNIEnv* env, jclass /* clazz */, jlong ptr) { in nativeStart() argument
1313 NativeInputManager* im = reinterpret_cast<NativeInputManager*>(ptr); in nativeStart()
1321 static void nativeSetDisplayViewports(JNIEnv* env, jclass /* clazz */, jlong ptr, in nativeSetDisplayViewports() argument
1323 NativeInputManager* im = reinterpret_cast<NativeInputManager*>(ptr); in nativeSetDisplayViewports()
1328 jlong ptr, jint deviceId, jint sourceMask, jint scanCode) { in nativeGetScanCodeState() argument
1329 NativeInputManager* im = reinterpret_cast<NativeInputManager*>(ptr); in nativeGetScanCodeState()
1336 jlong ptr, jint deviceId, jint sourceMask, jint keyCode) { in nativeGetKeyCodeState() argument
1337 NativeInputManager* im = reinterpret_cast<NativeInputManager*>(ptr); in nativeGetKeyCodeState()
1344 jlong ptr, jint deviceId, jint sourceMask, jint sw) { in nativeGetSwitchState() argument
1345 NativeInputManager* im = reinterpret_cast<NativeInputManager*>(ptr); in nativeGetSwitchState()
[all …]
Dcom_android_server_tv_TvUinputBridge.cpp198 static void nativeClose(JNIEnv* env, jclass clazz, jlong ptr) { in nativeClose() argument
199 NativeConnection* connection = reinterpret_cast<NativeConnection*>(ptr); in nativeClose()
203 static void nativeSendTimestamp(JNIEnv* env, jclass clazz, jlong ptr, jlong timestamp) { in nativeSendTimestamp() argument
204 NativeConnection* connection = reinterpret_cast<NativeConnection*>(ptr); in nativeSendTimestamp()
210 static void nativeSendKey(JNIEnv* env, jclass clazz, jlong ptr, jint keyCode, jboolean down) { in nativeSendKey() argument
212 NativeConnection* connection = reinterpret_cast<NativeConnection*>(ptr); in nativeSendKey()
220 static void nativeSendPointerDown(JNIEnv* env, jclass clazz, jlong ptr, in nativeSendPointerDown() argument
222 NativeConnection* connection = reinterpret_cast<NativeConnection*>(ptr); in nativeSendPointerDown()
236 static void nativeSendPointerUp(JNIEnv* env, jclass clazz, jlong ptr, in nativeSendPointerUp() argument
238 NativeConnection* connection = reinterpret_cast<NativeConnection*>(ptr); in nativeSendPointerUp()
[all …]
/frameworks/base/core/java/android/content/res/
DAssetManager.java1416 private static native void nativeDestroy(long ptr); in nativeDestroy() argument
1417 private static native void nativeSetApkAssets(long ptr, @NonNull ApkAssets[] apkAssets, in nativeSetApkAssets() argument
1419 private static native void nativeSetConfiguration(long ptr, int mcc, int mnc, in nativeSetConfiguration() argument
1425 long ptr); in nativeGetAssignedPackageIdentifiers() argument
1428 private static native @Nullable String[] nativeList(long ptr, @NonNull String path) in nativeList() argument
1430 private static native long nativeOpenAsset(long ptr, @NonNull String fileName, int accessMode); in nativeOpenAsset() argument
1431 private static native @Nullable ParcelFileDescriptor nativeOpenAssetFd(long ptr, in nativeOpenAssetFd() argument
1433 private static native long nativeOpenNonAsset(long ptr, int cookie, @NonNull String fileName, in nativeOpenNonAsset() argument
1435 private static native @Nullable ParcelFileDescriptor nativeOpenNonAssetFd(long ptr, int cookie, in nativeOpenNonAssetFd() argument
1437 private static native long nativeOpenXmlAsset(long ptr, int cookie, @NonNull String fileName); in nativeOpenXmlAsset() argument
[all …]

12345678910>>...12