/frameworks/av/media/libnblog/ |
D | Entry.cpp | 49 : mPtr(nullptr) in EntryIterator() 54 : mPtr(entry) in EntryIterator() 59 : mPtr(other.mPtr) in EntryIterator() 65 return *(entry*) mPtr; in operator *() 70 return (entry*) mPtr; in operator ->() 75 mPtr += mPtr[offsetof(entry, length)] + Entry::kOverhead; in operator ++() 81 mPtr -= mPtr[Entry::kPreviousLengthOffset] + Entry::kOverhead; in operator --() 99 return mPtr != other.mPtr; in operator !=() 104 return mPtr - other.mPtr; in operator -() 109 return mPtr[offsetof(entry, length)] == mPtr[mPtr[offsetof(entry, length)] + in hasConsistentLength() [all …]
|
/frameworks/base/core/java/android/view/ |
D | VelocityTracker.java | 38 private long mPtr; field in VelocityTracker 92 mPtr = nativeInitialize(strategy); in VelocityTracker() 99 if (mPtr != 0) { in finalize() 100 nativeDispose(mPtr); in finalize() 101 mPtr = 0; in finalize() 112 nativeClear(mPtr); in clear() 128 nativeAddMovement(mPtr, event); in addMovement() 138 nativeComputeCurrentVelocity(mPtr, units, Float.MAX_VALUE); in computeCurrentVelocity() 155 nativeComputeCurrentVelocity(mPtr, units, maxVelocity); in computeCurrentVelocity() 165 return nativeGetXVelocity(mPtr, ACTIVE_POINTER_ID); in getXVelocity() [all …]
|
D | KeyCharacterMap.java | 285 private long mPtr; field in KeyCharacterMap 304 mPtr = nativeReadFromParcel(in); in KeyCharacterMap() 305 if (mPtr == 0) { in KeyCharacterMap() 313 mPtr = ptr; in KeyCharacterMap() 318 if (mPtr != 0) { in finalize() 319 nativeDispose(mPtr); in finalize() 320 mPtr = 0; in finalize() 369 char ch = nativeGetCharacter(mPtr, keyCode, metaState); in get() 399 if (nativeGetFallbackAction(mPtr, keyCode, metaState, action)) { in getFallbackAction() 429 return nativeGetNumber(mPtr, keyCode); in getNumber() [all …]
|
D | InputQueue.java | 42 private long mPtr; field in InputQueue 52 mPtr = nativeInit(new WeakReference<InputQueue>(this), Looper.myQueue()); in InputQueue() 80 if (mPtr != 0) { in dispose() 81 nativeDispose(mPtr); in dispose() 82 mPtr = 0; in dispose() 88 return mPtr; in getNativePtr() 97 id = nativeSendKeyEvent(mPtr, (KeyEvent) e, predispatch); in sendInputEvent() 99 id = nativeSendMotionEvent(mPtr, (MotionEvent) e); in sendInputEvent()
|
D | InputChannel.java | 53 private long mPtr; // used by native code field in InputChannel
|
/frameworks/base/services/core/java/com/android/server/tv/ |
D | UinputBridge.java | 31 private long mPtr; field in UinputBridge 55 mPtr = nativeOpen(name, token.toString(), width, height, maxPointers); in UinputBridge() 56 if (mPtr == 0) { in UinputBridge() 78 if (mPtr != 0) { in close() 80 nativeClose(mPtr); in close() 82 mPtr = 0; in close() 98 nativeSendTimestamp(mPtr, timestamp); in sendTimestamp() 104 nativeSendKey(mPtr, keyCode, true /*down*/); in sendKeyDown() 110 nativeSendKey(mPtr, keyCode, false /*down*/); in sendKeyUp() 116 nativeSendPointerDown(mPtr, pointerId, x, y); in sendPointerDown() [all …]
|
D | TvInputHal.java | 68 private long mPtr = 0; field in TvInputHal 81 mPtr = nativeOpen(mHandler.getLooper().getQueue()); in init() 87 if (mPtr == 0) { in addOrUpdateStream() 94 if (nativeAddOrUpdateStream(mPtr, deviceId, streamConfig.getStreamId(), surface) == 0) { in addOrUpdateStream() 104 if (mPtr == 0) { in removeStream() 111 if (nativeRemoveStream(mPtr, deviceId, streamConfig.getStreamId()) == 0) { in removeStream() 121 if (mPtr != 0L) { in close() 122 nativeClose(mPtr); in close() 129 mStreamConfigs.put(deviceId, nativeGetStreamConfigs(mPtr, deviceId, generation)); in retrieveStreamConfigsLocked()
|
/frameworks/base/core/jni/hwbinder/ |
D | EphemeralStorage.cpp | 41 item.mPtr = new hidl_string[size]; in allocStringArray() 44 return static_cast<hidl_string *>(item.mPtr); in allocStringArray() 51 item.mPtr = malloc(size); in allocTemporaryStorage() 54 return item.mPtr; in allocTemporaryStorage() 65 item.mPtr = (void *)val; in allocTemporaryString() 79 item.mPtr = native_handle_create(numFds, numInts); in allocTemporaryNativeHandle() 82 return static_cast<native_handle_t*>(item.mPtr); in allocTemporaryNativeHandle() 95 item.mPtr = (void *)val; \ 118 (Type *)item.mPtr, \ in DEFINE_ALLOC_VECTOR_METHODS() 133 delete[] static_cast<hidl_string *>(item.mPtr); [all …]
|
D | EphemeralStorage.h | 72 void *mPtr; member
|
/frameworks/native/services/sensorservice/ |
D | RingBuffer.h | 64 T* mPtr; 90 const T* mPtr; 178 mPtr{ptr}, mSize{size}, mPos{pos}, mCtr{ctr} {} in iterator() 195 iterator tmp{mPtr, mSize, mPos, mCtr}; 202 return (mPtr + mPos) == (rhs.mPtr + rhs.mPos); 207 return (mPtr + mPos) != (rhs.mPtr + rhs.mPos); 212 return *(mPtr + mPos); 217 return mPtr + mPos; 222 mPtr{ptr}, mSize{size}, mPos{pos}, mCtr{ctr} {} in const_iterator() 239 const_iterator tmp{mPtr, mSize, mPos, mCtr}; [all …]
|
/frameworks/av/media/libmedia/include/media/ |
D | RingBuffer.h | 64 T* mPtr; 90 const T* mPtr; 178 mPtr{ptr}, mSize{size}, mPos{pos}, mCtr{ctr} {} in iterator() 195 iterator tmp{mPtr, mSize, mPos, mCtr}; 202 return (mPtr + mPos) == (rhs.mPtr + rhs.mPos); 207 return (mPtr + mPos) != (rhs.mPtr + rhs.mPos); 212 return *(mPtr + mPos); 217 return mPtr + mPos; 222 mPtr{ptr}, mSize{size}, mPos{pos}, mCtr{ctr} {} in const_iterator() 239 const_iterator tmp{mPtr, mSize, mPos, mCtr}; [all …]
|
/frameworks/base/media/java/android/media/ |
D | RemoteDisplay.java | 43 private long mPtr; field in RemoteDisplay 98 nativePause(mPtr); in pause() 102 nativeResume(mPtr); in resume() 106 if (mPtr != 0) { in dispose() 115 nativeDispose(mPtr); in dispose() 116 mPtr = 0; in dispose() 121 mPtr = nativeListen(iface, mOpPackageName); in startListening() 122 if (mPtr == 0) { in startListening()
|
/frameworks/base/graphics/java/android/graphics/text/ |
D | LineBreaker.java | 355 private final long mPtr; field in LineBreaker.Result 358 mPtr = ptr; in Result() 359 sRegistry.registerNativeAllocation(this, mPtr); in Result() 368 return nGetLineCount(mPtr); in getLineCount() 378 return nGetLineBreakOffset(mPtr, lineIndex); in getLineBreakOffset() 388 return nGetLineWidth(mPtr, lineIndex); in getLineWidth() 398 return nGetLineAscent(mPtr, lineIndex); in getLineAscent() 408 return nGetLineDescent(mPtr, lineIndex); in getLineDescent() 418 return (nGetLineFlag(mPtr, lineIndex) & TAB_MASK) != 0; in hasLineTab() 431 return (nGetLineFlag(mPtr, lineIndex) & START_HYPHEN_MASK) >> START_HYPHEN_BITS_SHIFT; in getStartLineHyphenEdit() [all …]
|
/frameworks/base/cmds/hid/src/com/android/commands/hid/ |
D | Device.java | 100 private long mPtr; field in Device.DeviceHandler 112 mPtr = nativeOpenDevice((String) args.arg1, args.argi1, args.argi2, args.argi3, in handleMessage() 117 if (mPtr != 0) { in handleMessage() 118 nativeSendReport(mPtr, (byte[]) msg.obj); in handleMessage() 124 if (mPtr != 0) { in handleMessage() 125 nativeSendGetFeatureReportReply(mPtr, msg.arg1, (byte[]) msg.obj); in handleMessage() 131 if (mPtr != 0) { in handleMessage() 132 nativeCloseDevice(mPtr); in handleMessage() 134 mPtr = 0; in handleMessage()
|
/frameworks/base/libs/hwui/ |
D | SkiaCanvas.h | 176 PaintCoW(const SkPaint& that) : mPtr(&that) {} in PaintCoW() 177 PaintCoW(const SkPaint* ptr) : mPtr(ptr) {} in PaintCoW() 184 if (!mPtr) { in writeable() 187 mStorage.emplace(*mPtr); in writeable() 189 mPtr = &*mStorage; in writeable() 193 operator const SkPaint*() const { return mPtr; } 194 const SkPaint* operator->() const { assert(mPtr); return mPtr; } 195 const SkPaint& operator*() const { assert(mPtr); return *mPtr; } 196 explicit operator bool() { return mPtr != nullptr; } 198 const SkPaint* mPtr;
|
/frameworks/base/core/java/android/app/backup/ |
D | FileBackupHelperBase.java | 33 long mPtr; field in FileBackupHelperBase 38 mPtr = ctor(); in FileBackupHelperBase() 44 dtor(mPtr); in finalize() 92 result = writeFile_native(mPtr, f.getAbsolutePath(), in.mData.mBackupReader); in writeFile() 107 int result = writeSnapshot_native(mPtr, fd.getFileDescriptor()); in writeNewStateDescription()
|
/frameworks/base/services/core/java/com/android/server/input/ |
D | InputManagerService.java | 142 private final long mPtr; field in InputManagerService 331 mPtr = nativeInit(this, mContext, mHandler.getLooper().getQueue()); in InputManagerService() 351 nativeStart(mPtr); in start() 418 nativeReloadKeyboardLayouts(mPtr); in reloadKeyboardLayouts() 425 nativeReloadDeviceAliases(mPtr); in reloadDeviceAliases() 429 nativeSetDisplayViewports(mPtr, viewports.toArray(new DisplayViewport[0])); in setDisplayViewportsInternal() 442 return nativeGetKeyCodeState(mPtr, deviceId, sourceMask, keyCode); in getKeyCodeState() 455 return nativeGetScanCodeState(mPtr, deviceId, sourceMask, scanCode); in getScanCodeState() 468 return nativeGetSwitchState(mPtr, deviceId, sourceMask, switchCode); in getSwitchState() 493 return nativeHasKeys(mPtr, deviceId, sourceMask, keyCodes, keyExists); in hasKeys() [all …]
|
/frameworks/av/media/libnblog/include/media/nblog/ |
D | Entry.h | 114 return *reinterpret_cast<const T *>(mPtr + offsetof(entry, data)); 123 memcpy(&payload, mPtr + offsetof(entry, data), sizeof(payload)); in payload() 129 return mPtr; 133 const uint8_t *mPtr; // Should not be nullptr except for dummy initialization
|
/frameworks/base/core/java/android/os/ |
D | MessageQueue.java | 51 private long mPtr; // used by native code field in MessageQueue 79 mPtr = nativeInit(); in MessageQueue() 94 if (mPtr != 0) { in dispose() 95 nativeDestroy(mPtr); in dispose() 96 mPtr = 0; in dispose() 168 return !mQuitting && nativeIsPolling(mPtr); in isPollingLocked() 260 nativeSetFileDescriptorEvents(mPtr, fdNum, events); in updateOnFileDescriptorEventListenerLocked() 264 nativeSetFileDescriptorEvents(mPtr, fdNum, 0); in updateOnFileDescriptorEventListenerLocked() 323 final long ptr = mPtr; in next() 443 nativeWake(mPtr); in quit() [all …]
|
/frameworks/base/core/jni/ |
D | android_view_InputChannel.cpp | 38 jfieldID mPtr; // native object attached to the DVM InputChannel member 86 jlong longPtr = env->GetLongField(inputChannelObj, gInputChannelClassInfo.mPtr); in android_view_InputChannel_getNativeInputChannel() 92 env->SetLongField(inputChannelObj, gInputChannelClassInfo.mPtr, in android_view_InputChannel_setNativeInputChannel() 300 gInputChannelClassInfo.mPtr = GetFieldIDOrDie(env, gInputChannelClassInfo.clazz, "mPtr", "J"); in register_android_view_InputChannel()
|
D | android_os_MessageQueue.cpp | 31 jfieldID mPtr; // native object attached to the DVM MessageQueue member 168 jlong ptr = env->GetLongField(messageQueueObj, gMessageQueueClassInfo.mPtr); in android_os_MessageQueue_getMessageQueue() 228 gMessageQueueClassInfo.mPtr = GetFieldIDOrDie(env, clazz, "mPtr", "J"); in register_android_os_MessageQueue()
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 4260 Landroid/app/backup/FileBackupHelperBase;->mPtr:J 39667 Landroid/media/RemoteDisplay;->mPtr:J 75087 Landroid/view/InputQueue;->mPtr:J 75668 Landroid/view/KeyCharacterMap;->mPtr:J 77613 Landroid/view/VelocityTracker;->mPtr:J
|