/frameworks/av/media/codecs/m4v_h263/dec/src/ |
D | get_pred_outside.cpp | 116 *((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/codecs/amrwb/enc/src/ |
D | pred_lt4.c | 60 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/ |
D | ByteUtils.cpp | 24 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/rs/driver/runtime/ |
D | rs_core.c | 44 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/ |
D | MPEG2TSWriter.cpp | 195 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/libs/hwui/jni/text/ |
D | LineBreaker.cpp | 51 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(CRITICAL_JNI_PARAMS_COMMA jlong ptr) { in nGetLineCount() argument 102 return reinterpret_cast<minikin::LineBreakResult*>(ptr)->breakPoints.size(); in nGetLineCount() 105 static jint nGetLineBreakOffset(CRITICAL_JNI_PARAMS_COMMA jlong ptr, jint i) { in nGetLineBreakOffset() argument 106 return reinterpret_cast<minikin::LineBreakResult*>(ptr)->breakPoints[i]; in nGetLineBreakOffset() 109 static jfloat nGetLineWidth(CRITICAL_JNI_PARAMS_COMMA jlong ptr, jint i) { in nGetLineWidth() argument 110 return reinterpret_cast<minikin::LineBreakResult*>(ptr)->widths[i]; in nGetLineWidth() 113 static jfloat nGetLineAscent(CRITICAL_JNI_PARAMS_COMMA jlong ptr, jint i) { in nGetLineAscent() argument 114 return reinterpret_cast<minikin::LineBreakResult*>(ptr)->ascents[i]; in nGetLineAscent() [all …]
|
D | TextShaper.cpp | 45 static void releaseLayout(jlong ptr) { in releaseLayout() argument 46 delete reinterpret_cast<LayoutWrapper*>(ptr); in releaseLayout() 70 std::unique_ptr<LayoutWrapper> ptr = std::make_unique<LayoutWrapper>( in shapeTextRun() local 74 return reinterpret_cast<jlong>(ptr.release()); in shapeTextRun() 109 static jint TextShaper_Result_getGlyphCount(CRITICAL_JNI_PARAMS_COMMA jlong ptr) { in TextShaper_Result_getGlyphCount() argument 110 const LayoutWrapper* layout = reinterpret_cast<LayoutWrapper*>(ptr); in TextShaper_Result_getGlyphCount() 115 static jfloat TextShaper_Result_getTotalAdvance(CRITICAL_JNI_PARAMS_COMMA jlong ptr) { in TextShaper_Result_getTotalAdvance() argument 116 const LayoutWrapper* layout = reinterpret_cast<LayoutWrapper*>(ptr); in TextShaper_Result_getTotalAdvance() 121 static jfloat TextShaper_Result_getAscent(CRITICAL_JNI_PARAMS_COMMA jlong ptr) { in TextShaper_Result_getAscent() argument 122 const LayoutWrapper* layout = reinterpret_cast<LayoutWrapper*>(ptr); in TextShaper_Result_getAscent() [all …]
|
D | MeasuredText.cpp | 41 static inline minikin::MeasuredTextBuilder* toBuilder(jlong ptr) { in toBuilder() argument 42 return reinterpret_cast<minikin::MeasuredTextBuilder*>(ptr); in toBuilder() 45 static inline Paint* toPaint(jlong ptr) { in toPaint() argument 46 return reinterpret_cast<Paint*>(ptr); in toPaint() 49 static inline minikin::MeasuredText* toMeasuredParagraph(jlong ptr) { in toMeasuredParagraph() argument 50 return reinterpret_cast<minikin::MeasuredText*>(ptr); in toMeasuredParagraph() 53 template<typename Ptr> static inline jlong toJLong(Ptr ptr) { in toJLong() argument 54 return reinterpret_cast<jlong>(ptr); in toJLong() 100 static jfloat nGetWidth(CRITICAL_JNI_PARAMS_COMMA jlong ptr, jint start, jint end) { in nGetWidth() argument 101 minikin::MeasuredText* mt = toMeasuredParagraph(ptr); in nGetWidth() [all …]
|
/frameworks/base/core/jni/ |
D | com_android_internal_os_FuseAppLoop.cpp | 121 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 …]
|
D | android_graphics_BLASTBufferQueue.cpp | 89 static void nativeDestroy(JNIEnv* env, jclass clazz, jlong ptr) { in nativeDestroy() argument 90 sp<BLASTBufferQueue> queue = reinterpret_cast<BLASTBufferQueue*>(ptr); in nativeDestroy() 94 static jobject nativeGetSurface(JNIEnv* env, jclass clazz, jlong ptr, in nativeGetSurface() argument 96 sp<BLASTBufferQueue> queue = reinterpret_cast<BLASTBufferQueue*>(ptr); in nativeGetSurface() 101 static void nativeSetNextTransaction(JNIEnv* env, jclass clazz, jlong ptr, jlong transactionPtr) { in nativeSetNextTransaction() argument 102 sp<BLASTBufferQueue> queue = reinterpret_cast<BLASTBufferQueue*>(ptr); in nativeSetNextTransaction() 107 static void nativeUpdate(JNIEnv* env, jclass clazz, jlong ptr, jlong surfaceControl, jlong width, in nativeUpdate() argument 109 sp<BLASTBufferQueue> queue = reinterpret_cast<BLASTBufferQueue*>(ptr); in nativeUpdate() 115 static void nativeFlushShadowQueue(JNIEnv* env, jclass clazz, jlong ptr) { in nativeFlushShadowQueue() argument 116 sp<BLASTBufferQueue> queue = reinterpret_cast<BLASTBufferQueue*>(ptr); in nativeFlushShadowQueue() [all …]
|
D | android_hardware_input_InputApplicationHandle.cpp | 31 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<std::shared_ptr<NativeInputApplicationHandle>*>(ptr); in android_view_InputApplicationHandle_getHandle() 98 env->SetLongField(inputApplicationHandleObj, gInputApplicationHandleClassInfo.ptr, in android_view_InputApplicationHandle_getHandle() 109 jlong ptr = env->GetLongField(obj, gInputApplicationHandleClassInfo.ptr); in android_view_InputApplicationHandle_nativeDispose() local 110 if (ptr) { in android_view_InputApplicationHandle_nativeDispose() 111 env->SetLongField(obj, gInputApplicationHandleClassInfo.ptr, 0); in android_view_InputApplicationHandle_nativeDispose() 114 reinterpret_cast<std::shared_ptr<NativeInputApplicationHandle>*>(ptr); in android_view_InputApplicationHandle_nativeDispose() 143 GET_FIELD_ID(gInputApplicationHandleClassInfo.ptr, clazz, in register_android_view_InputApplicationHandle()
|
D | android_view_KeyCharacterMap.cpp | 106 static void nativeWriteToParcel(JNIEnv* env, jobject clazz, jlong ptr, jobject parcelObj) { in nativeWriteToParcel() argument 107 NativeKeyCharacterMap* map = reinterpret_cast<NativeKeyCharacterMap*>(ptr); in nativeWriteToParcel() 121 static void nativeDispose(JNIEnv *env, jobject clazz, jlong ptr) { in nativeDispose() argument 122 NativeKeyCharacterMap* map = reinterpret_cast<NativeKeyCharacterMap*>(ptr); in nativeDispose() 127 static jchar nativeGetCharacter(JNIEnv *env, jobject clazz, jlong ptr, in nativeGetCharacter() argument 129 NativeKeyCharacterMap* map = reinterpret_cast<NativeKeyCharacterMap*>(ptr); in nativeGetCharacter() 136 static jboolean nativeGetFallbackAction(JNIEnv *env, jobject clazz, jlong ptr, jint keyCode, in nativeGetFallbackAction() argument 138 NativeKeyCharacterMap* map = reinterpret_cast<NativeKeyCharacterMap*>(ptr); in nativeGetFallbackAction() 155 static jchar nativeGetNumber(JNIEnv *env, jobject clazz, jlong ptr, jint keyCode) { in nativeGetNumber() argument 156 NativeKeyCharacterMap* map = reinterpret_cast<NativeKeyCharacterMap*>(ptr); in nativeGetNumber() [all …]
|
D | android_view_VelocityTracker.cpp | 152 static void android_view_VelocityTracker_nativeDispose(JNIEnv* env, jclass clazz, jlong ptr) { in android_view_VelocityTracker_nativeDispose() argument 153 VelocityTrackerState* state = reinterpret_cast<VelocityTrackerState*>(ptr); in android_view_VelocityTracker_nativeDispose() 157 static void android_view_VelocityTracker_nativeClear(JNIEnv* env, jclass clazz, jlong ptr) { in android_view_VelocityTracker_nativeClear() argument 158 VelocityTrackerState* state = reinterpret_cast<VelocityTrackerState*>(ptr); in android_view_VelocityTracker_nativeClear() 162 static void android_view_VelocityTracker_nativeAddMovement(JNIEnv* env, jclass clazz, jlong ptr, in android_view_VelocityTracker_nativeAddMovement() argument 170 VelocityTrackerState* state = reinterpret_cast<VelocityTrackerState*>(ptr); in android_view_VelocityTracker_nativeAddMovement() 175 jlong ptr, jint units, jfloat maxVelocity) { in android_view_VelocityTracker_nativeComputeCurrentVelocity() argument 176 VelocityTrackerState* state = reinterpret_cast<VelocityTrackerState*>(ptr); in android_view_VelocityTracker_nativeComputeCurrentVelocity() 181 jlong ptr, jint id) { in android_view_VelocityTracker_nativeGetXVelocity() argument 182 VelocityTrackerState* state = reinterpret_cast<VelocityTrackerState*>(ptr); in android_view_VelocityTracker_nativeGetXVelocity() [all …]
|
D | android_util_AssetManager.cpp | 157 static Guarded<AssetManager2>& AssetManagerFromLong(jlong ptr) { in AssetManagerFromLong() argument 158 return *AssetManagerForNdkAssetManager(reinterpret_cast<AAssetManager*>(ptr)); in AssetManagerFromLong() 161 static jobject NativeGetOverlayableMap(JNIEnv* env, jclass /*clazz*/, jlong ptr, in NativeGetOverlayableMap() argument 163 ScopedLock<AssetManager2> assetmanager(AssetManagerFromLong(ptr)); in NativeGetOverlayableMap() 207 static jstring NativeGetOverlayablesToString(JNIEnv* env, jclass /*clazz*/, jlong ptr, in NativeGetOverlayablesToString() argument 209 ScopedLock<AssetManager2> assetmanager(AssetManagerFromLong(ptr)); in NativeGetOverlayablesToString() 287 static void NativeDestroy(JNIEnv* /*env*/, jclass /*clazz*/, jlong ptr) { in NativeDestroy() argument 288 delete reinterpret_cast<GuardedAssetManager*>(ptr); in NativeDestroy() 291 static void NativeSetApkAssets(JNIEnv* env, jclass /*clazz*/, jlong ptr, in NativeSetApkAssets() argument 315 ScopedLock<AssetManager2> assetmanager(AssetManagerFromLong(ptr)); in NativeSetApkAssets() [all …]
|
D | android_os_MessageQueue.cpp | 168 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 …]
|
D | android_hardware_camera2_CameraMetadata.cpp | 166 static void CameraMetadata_setVendorId(JNIEnv* env, jclass thiz, jlong ptr, 168 static jobject CameraMetadata_getAllVendorKeys(JNIEnv* env, jclass thiz, jlong ptr, 172 static jint CameraMetadata_getTagFromKeyLocal(JNIEnv *env, jclass thiz, jlong ptr, 175 static jint CameraMetadata_getTypeFromTagLocal(JNIEnv *env, jclass thiz, jlong ptr, jint tag); 183 static CameraMetadata* CameraMetadata_getPointerNoThrow(jlong ptr) { in CameraMetadata_getPointerNoThrow() argument 184 auto metadata = CameraMetadata_getSharedPtr(ptr); in CameraMetadata_getPointerNoThrow() 192 static CameraMetadata* CameraMetadata_getPointerThrow(JNIEnv *env, jlong ptr, in CameraMetadata_getPointerThrow() argument 194 CameraMetadata* metadata = CameraMetadata_getPointerNoThrow(ptr); in CameraMetadata_getPointerThrow() 226 static jboolean CameraMetadata_isEmpty(JNIEnv *env, jclass thiz, jlong ptr) { in CameraMetadata_isEmpty() argument 229 CameraMetadata* metadata = CameraMetadata_getPointerThrow(env, ptr); in CameraMetadata_isEmpty() [all …]
|
/frameworks/layoutlib/bridge/src/com/android/internal/util/ |
D | VirtualRefBasePtr_Delegate.java | 37 /*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/base/services/core/java/com/android/server/tv/ |
D | UinputBridge.java | 35 private static native void nativeClose(long ptr); in nativeClose() argument 36 private static native void nativeClear(long ptr); in nativeClear() argument 37 private static native void nativeSendKey(long ptr, int keyCode, boolean down); in nativeSendKey() argument 38 private static native void nativeSendPointerDown(long ptr, int pointerId, int x, int y); in nativeSendPointerDown() argument 39 private static native void nativeSendPointerUp(long ptr, int pointerId); in nativeSendPointerUp() argument 40 private static native void nativeSendPointerSync(long ptr); in nativeSendPointerSync() argument 50 private static native void nativeSendGamepadKey(long ptr, int keyCode, boolean down); in nativeSendGamepadKey() argument 65 private static native void nativeSendGamepadAxisValue(long ptr, int axis, float value); in nativeSendGamepadAxisValue() argument 87 private UinputBridge(IBinder token, long ptr) { in UinputBridge() argument 88 mPtr = ptr; in UinputBridge() [all …]
|
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/ |
D | ByteUtils.h | 40 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/media/libstagefright/mpeg2ts/ |
D | ESQueue.cpp | 117 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/1.0/vts/ |
D | allocator.cpp | 135 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/drm/mediacas/plugins/clearkey/ |
D | ecm_generator.cpp | 68 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/ |
D | com_android_server_input_InputManagerService.cpp | 1502 static void nativeStart(JNIEnv* env, jclass /* clazz */, jlong ptr) { in nativeStart() argument 1503 NativeInputManager* im = reinterpret_cast<NativeInputManager*>(ptr); in nativeStart() 1511 static void nativeSetDisplayViewports(JNIEnv* env, jclass /* clazz */, jlong ptr, in nativeSetDisplayViewports() argument 1513 NativeInputManager* im = reinterpret_cast<NativeInputManager*>(ptr); in nativeSetDisplayViewports() 1518 jlong ptr, jint deviceId, jint sourceMask, jint scanCode) { in nativeGetScanCodeState() argument 1519 NativeInputManager* im = reinterpret_cast<NativeInputManager*>(ptr); in nativeGetScanCodeState() 1526 jlong ptr, jint deviceId, jint sourceMask, jint keyCode) { in nativeGetKeyCodeState() argument 1527 NativeInputManager* im = reinterpret_cast<NativeInputManager*>(ptr); in nativeGetKeyCodeState() 1534 jlong ptr, jint deviceId, jint sourceMask, jint sw) { in nativeGetSwitchState() argument 1535 NativeInputManager* im = reinterpret_cast<NativeInputManager*>(ptr); in nativeGetSwitchState() [all …]
|
/frameworks/av/media/bufferpool/2.0/tests/ |
D | allocator.cpp | 153 BufferPoolAllocation *ptr = new BufferPoolAllocation(ashmemAlloc->handle()); in allocate() local 154 if (ptr) { in allocate() 155 *alloc = std::shared_ptr<BufferPoolAllocation>(ptr, AllocationDtor(ashmemAlloc)); in allocate() 160 delete ptr; in allocate() 187 unsigned char *ptr = (unsigned char *)mmap( in Fill() local 190 if (ptr != MAP_FAILED) { in Fill() 192 ptr[i] = val; in Fill() 194 munmap(ptr, o->size()); in Fill() 205 unsigned char *ptr = (unsigned char *)mmap( in Verify() local 208 if (ptr != MAP_FAILED) { in Verify() [all …]
|
/frameworks/base/graphics/java/android/graphics/ |
D | BLASTBufferQueue.java | 32 private static native void nativeDestroy(long ptr); in nativeDestroy() argument 33 private static native Surface nativeGetSurface(long ptr, boolean includeSurfaceControlHandle); in nativeGetSurface() argument 34 private static native void nativeSetNextTransaction(long ptr, long transactionPtr); in nativeSetNextTransaction() argument 35 private static native void nativeUpdate(long ptr, long surfaceControl, long width, long height, in nativeUpdate() argument 37 private static native void nativeFlushShadowQueue(long ptr); in nativeFlushShadowQueue() argument 38 private static native void nativeMergeWithNextTransaction(long ptr, long transactionPtr, in nativeMergeWithNextTransaction() argument 40 private static native void nativeSetTransactionCompleteCallback(long ptr, long frameNumber, in nativeSetTransactionCompleteCallback() argument
|