Home
last modified time | relevance | path

Searched refs:mPtr (Results 1 – 19 of 19) sorted by relevance

/frameworks/native/include/utils/
DUniquePtr.h61 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/
DVelocityTracker.java52 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 …]
DKeyCharacterMap.java283 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 …]
DInputChannel.java49 private int mPtr; // used by native code field in InputChannel
/frameworks/base/media/java/android/media/
DRemoteDisplay.java41 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/
DMemoryLeakTrackUtil.cpp43 : 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/
DFileBackupHelperBase.java32 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/
DInputManagerService.java110 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/
Dandroid_os_MessageQueue.cpp29 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()
Dandroid_view_InputChannel.cpp36 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/
DMessageQueue.java37 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/
DrsdCore.h33 void * mPtr; member
DrsdRuntimeStubs.cpp564 while (syms->mPtr) { in rsdLookupRuntimeStub()
574 return sym->mPtr; in rsdLookupRuntimeStub()
DrsdRuntimeMath.cpp795 while (syms->mPtr) { in rsdLookupSymbolMath()
/frameworks/rs/driver/
DrsdCore.h33 void * mPtr; member
DrsdRuntimeStubs.cpp909 while (syms->mPtr) { in rsdLookupRuntimeStub()
919 return sym->mPtr; in rsdLookupRuntimeStub()
DrsdRuntimeMath.cpp538 while (syms->mPtr) { in rsdLookupSymbolMath()
/frameworks/support/renderscript/v8/rs_support/
DrsScriptC.h72 void * mPtr; member
/frameworks/rs/
DrsScriptC.h81 void * mPtr; member