/frameworks/native/include/utils/ |
D | UniquePtr.h | 61 explicit UniquePtr(T* ptr = NULL) : mPtr(ptr) { 69 T& operator*() const { return *mPtr; } 70 T* operator->() const { return mPtr; } 71 T* get() const { return mPtr; } 76 T* result = mPtr; 77 mPtr = NULL; 85 if (ptr != mPtr) { 86 D()(mPtr); 87 mPtr = ptr; 93 T* mPtr; [all …]
|
/frameworks/base/core/java/android/view/ |
D | VelocityTracker.java | 52 private int mPtr; field in VelocityTracker 134 mPtr = nativeInitialize(strategy); in VelocityTracker() 141 if (mPtr != 0) { in finalize() 142 nativeDispose(mPtr); in finalize() 143 mPtr = 0; in finalize() 154 nativeClear(mPtr); in clear() 170 nativeAddMovement(mPtr, event); in addMovement() 180 nativeComputeCurrentVelocity(mPtr, units, Float.MAX_VALUE); in computeCurrentVelocity() 197 nativeComputeCurrentVelocity(mPtr, units, maxVelocity); in computeCurrentVelocity() 207 return nativeGetXVelocity(mPtr, ACTIVE_POINTER_ID); in getXVelocity() [all …]
|
D | KeyCharacterMap.java | 283 private int mPtr; field in KeyCharacterMap 302 mPtr = nativeReadFromParcel(in); in KeyCharacterMap() 303 if (mPtr == 0) { in KeyCharacterMap() 310 mPtr = ptr; in KeyCharacterMap() 315 if (mPtr != 0) { in finalize() 316 nativeDispose(mPtr); in finalize() 317 mPtr = 0; in finalize() 366 char ch = nativeGetCharacter(mPtr, keyCode, metaState); in get() 396 if (nativeGetFallbackAction(mPtr, keyCode, metaState, action)) { in getFallbackAction() 426 return nativeGetNumber(mPtr, keyCode); in getNumber() [all …]
|
D | InputChannel.java | 49 private int mPtr; // used by native code field in InputChannel
|
/frameworks/base/media/java/android/media/ |
D | RemoteDisplay.java | 41 private int mPtr; field in RemoteDisplay 91 if (mPtr != 0) { in dispose() 100 nativeDispose(mPtr); in dispose() 101 mPtr = 0; in dispose() 106 mPtr = nativeListen(iface); in startListening() 107 if (mPtr == 0) { in startListening()
|
/frameworks/av/media/libmedia/ |
D | MemoryLeakTrackUtil.cpp | 43 : mPtr((char *)malloc(MAX_SIZE)) { in MyString8() 44 *mPtr = '\0'; in MyString8() 48 free(mPtr); in ~MyString8() 52 strcat(mPtr, s); in append() 56 return mPtr; in string() 60 return strlen(mPtr); in size() 64 char *mPtr; member
|
/frameworks/base/core/java/android/app/backup/ |
D | FileBackupHelperBase.java | 32 int mPtr; field in FileBackupHelperBase 37 mPtr = ctor(); in FileBackupHelperBase() 43 dtor(mPtr); in finalize() 91 result = writeFile_native(mPtr, f.getAbsolutePath(), in.mData.mBackupReader); in writeFile() 105 int result = writeSnapshot_native(mPtr, fd.getFileDescriptor()); in writeNewStateDescription()
|
/frameworks/base/services/java/com/android/server/input/ |
D | InputManagerService.java | 110 private final int mPtr; field in InputManagerService 252 mPtr = nativeInit(this, mContext, mHandler.getLooper().getQueue()); in InputManagerService() 265 nativeStart(mPtr); in start() 321 nativeReloadKeyboardLayouts(mPtr); in reloadKeyboardLayouts() 328 nativeReloadDeviceAliases(mPtr); in reloadDeviceAliases() 346 nativeSetDisplayViewport(mPtr, external, in setDisplayViewport() 365 return nativeGetKeyCodeState(mPtr, deviceId, sourceMask, keyCode); in getKeyCodeState() 378 return nativeGetScanCodeState(mPtr, deviceId, sourceMask, scanCode); in getScanCodeState() 391 return nativeGetSwitchState(mPtr, deviceId, sourceMask, switchCode); in getSwitchState() 416 return nativeHasKeys(mPtr, deviceId, sourceMask, keyCodes, keyExists); in hasKeys() [all …]
|
/frameworks/base/core/jni/ |
D | android_os_MessageQueue.cpp | 29 jfieldID mPtr; // native object attached to the DVM MessageQueue member 114 jint intPtr = env->GetIntField(messageQueueObj, gMessageQueueClassInfo.mPtr); in android_os_MessageQueue_getNativeMessageQueue() 120 env->SetIntField(messageQueueObj, gMessageQueueClassInfo.mPtr, in android_os_MessageQueue_setNativeMessageQueue() 191 GET_FIELD_ID(gMessageQueueClassInfo.mPtr, clazz, in register_android_os_MessageQueue()
|
D | android_view_InputChannel.cpp | 36 jfieldID mPtr; // native object attached to the DVM InputChannel member 84 jint intPtr = env->GetIntField(inputChannelObj, gInputChannelClassInfo.mPtr); in android_view_InputChannel_getNativeInputChannel() 90 env->SetIntField(inputChannelObj, gInputChannelClassInfo.mPtr, in android_view_InputChannel_setNativeInputChannel() 287 GET_FIELD_ID(gInputChannelClassInfo.mPtr, gInputChannelClassInfo.clazz, in register_android_view_InputChannel()
|
/frameworks/base/core/java/android/os/ |
D | MessageQueue.java | 37 private int mPtr; // used by native code field in MessageQueue 125 nativePollOnce(mPtr, nextPollTimeoutMillis); in next() 224 nativeWake(mPtr); in quit() 279 nativeWake(mPtr); in removeSyncBarrier() 328 nativeWake(mPtr); in enqueueMessage()
|
/frameworks/support/renderscript/v8/rs_support/driver/ |
D | rsdCore.h | 33 void * mPtr; member
|
D | rsdRuntimeStubs.cpp | 564 while (syms->mPtr) { in rsdLookupRuntimeStub() 574 return sym->mPtr; in rsdLookupRuntimeStub()
|
D | rsdRuntimeMath.cpp | 795 while (syms->mPtr) { in rsdLookupSymbolMath()
|
/frameworks/rs/driver/ |
D | rsdCore.h | 33 void * mPtr; member
|
D | rsdRuntimeStubs.cpp | 909 while (syms->mPtr) { in rsdLookupRuntimeStub() 919 return sym->mPtr; in rsdLookupRuntimeStub()
|
D | rsdRuntimeMath.cpp | 538 while (syms->mPtr) { in rsdLookupSymbolMath()
|
/frameworks/support/renderscript/v8/rs_support/ |
D | rsScriptC.h | 72 void * mPtr; member
|
/frameworks/rs/ |
D | rsScriptC.h | 81 void * mPtr; member
|