Searched defs:mPtr (Results 1 - 18 of 18) sorted by relevance

/frameworks/base/core/jni/hwbinder/
H A DEphemeralStorage.h69 void *mPtr; member in struct:android::EphemeralStorage::Item
/frameworks/rs/rsov/driver/
H A DrsovAllocation.h43 char *getHostPtr() const { return mPtr; }
48 char *mPtr; // Host pointer to mmapped device memory for the Buffer member in class:android::renderscript::rsov::RSoVBuffer
/frameworks/av/include/media/
H A DRingBuffer.h64 T* mPtr; member in class:android::final::iterator
90 const T* mPtr; member in class:android::final::const_iterator
178 mPtr{ptr}, mSize{size}, mPos{pos}, mCtr{ctr} {}
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
[all...]
/frameworks/av/media/libmedia/include/media/
H A DRingBuffer.h64 T* mPtr; member in class:android::final::iterator
90 const T* mPtr; member in class:android::final::const_iterator
178 mPtr{ptr}, mSize{size}, mPos{pos}, mCtr{ctr} {}
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
[all...]
/frameworks/base/core/java/android/app/backup/
H A DFileBackupHelperBase.java32 long mPtr; field in class:FileBackupHelperBase
37 mPtr = ctor();
43 dtor(mPtr);
91 result = writeFile_native(mPtr, f.getAbsolutePath(), in.mData.mBackupReader);
105 int result = writeSnapshot_native(mPtr, fd.getFileDescriptor());
/frameworks/base/core/java/android/view/
H A DInputChannel.java49 private long mPtr; // used by native code field in class:InputChannel
H A DInputQueue.java41 private long mPtr; field in class:InputQueue
51 mPtr = nativeInit(new WeakReference<InputQueue>(this), Looper.myQueue());
79 if (mPtr != 0) {
80 nativeDispose(mPtr);
81 mPtr = 0;
87 return mPtr;
96 id = nativeSendKeyEvent(mPtr, (KeyEvent) e, predispatch);
98 id = nativeSendMotionEvent(mPtr, (MotionEvent) e);
H A DVelocityTracker.java37 private long mPtr; field in class:VelocityTracker
90 mPtr = nativeInitialize(strategy);
97 if (mPtr != 0) {
98 nativeDispose(mPtr);
99 mPtr = 0;
110 nativeClear(mPtr);
126 nativeAddMovement(mPtr, event);
136 nativeComputeCurrentVelocity(mPtr, units, Float.MAX_VALUE);
153 nativeComputeCurrentVelocity(mPtr, units, maxVelocity);
163 return nativeGetXVelocity(mPtr, ACTIVE_POINTER_I
[all...]
H A DKeyCharacterMap.java284 private long mPtr; field in class:KeyCharacterMap
303 mPtr = nativeReadFromParcel(in);
304 if (mPtr == 0) {
311 mPtr = ptr;
316 if (mPtr != 0) {
317 nativeDispose(mPtr);
318 mPtr = 0;
367 char ch = nativeGetCharacter(mPtr, keyCode, metaState);
397 if (nativeGetFallbackAction(mPtr, keyCode, metaState, action)) {
427 return nativeGetNumber(mPtr, keyCod
[all...]
/frameworks/base/media/java/android/media/
H A DRemoteDisplay.java42 private long mPtr; field in class:RemoteDisplay
96 nativePause(mPtr);
100 nativeResume(mPtr);
104 if (mPtr != 0) {
113 nativeDispose(mPtr);
114 mPtr = 0;
119 mPtr = nativeListen(iface, mOpPackageName);
120 if (mPtr == 0) {
/frameworks/base/services/core/java/com/android/server/tv/
H A DUinputBridge.java31 private long mPtr; field in class:UinputBridge
55 mPtr = nativeOpen(name, token.toString(), width, height, maxPointers);
56 if (mPtr == 0) {
78 if (mPtr != 0) {
80 nativeClose(mPtr);
82 mPtr = 0;
98 nativeSendTimestamp(mPtr, timestamp);
104 nativeSendKey(mPtr, keyCode, true /*down*/);
110 nativeSendKey(mPtr, keyCode, false /*down*/);
116 nativeSendPointerDown(mPtr, pointerI
[all...]
H A DTvInputHal.java68 private long mPtr = 0; field in class:TvInputHal
81 mPtr = nativeOpen(mHandler.getLooper().getQueue());
87 if (mPtr == 0) {
94 if (nativeAddOrUpdateStream(mPtr, deviceId, streamConfig.getStreamId(), surface) == 0) {
104 if (mPtr == 0) {
111 if (nativeRemoveStream(mPtr, deviceId, streamConfig.getStreamId()) == 0) {
121 if (mPtr != 0L) {
122 nativeClose(mPtr);
129 mStreamConfigs.put(deviceId, nativeGetStreamConfigs(mPtr, deviceId, generation));
/frameworks/native/services/sensorservice/
H A DRingBuffer.h64 T* mPtr; member in class:android::SensorServiceUtil::final::iterator
90 const T* mPtr; member in class:android::SensorServiceUtil::final::const_iterator
178 mPtr{ptr}, mSize{size}, mPos{pos}, mCtr{ctr} {}
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
[all...]
/frameworks/base/cmds/hid/src/com/android/commands/hid/
H A DDevice.java93 private long mPtr; field in class:Device.DeviceHandler
105 mPtr = nativeOpenDevice((String) args.arg1, args.argi1, args.argi2, args.argi3,
110 if (mPtr != 0) {
111 nativeSendReport(mPtr, (byte[]) msg.obj);
117 if (mPtr != 0) {
118 nativeCloseDevice(mPtr);
120 mPtr = 0;
/frameworks/base/core/jni/
H A Dandroid_os_MessageQueue.cpp31 jfieldID mPtr; // native object attached to the DVM MessageQueue member in struct:android::__anon888
168 jlong ptr = env->GetLongField(messageQueueObj, gMessageQueueClassInfo.mPtr);
228 gMessageQueueClassInfo.mPtr = GetFieldIDOrDie(env, clazz, "mPtr", "J");
H A Dandroid_view_InputChannel.cpp38 jfieldID mPtr; // native object attached to the DVM InputChannel member in struct:android::__anon895
86 jlong longPtr = env->GetLongField(inputChannelObj, gInputChannelClassInfo.mPtr);
92 env->SetLongField(inputChannelObj, gInputChannelClassInfo.mPtr,
288 gInputChannelClassInfo.mPtr = GetFieldIDOrDie(env, gInputChannelClassInfo.clazz, "mPtr", "J");
/frameworks/base/core/java/android/os/
H A DMessageQueue.java48 private long mPtr; // used by native code field in class:MessageQueue
72 mPtr = nativeInit();
87 if (mPtr != 0) {
88 nativeDestroy(mPtr);
89 mPtr = 0;
160 // We can assume mPtr != 0 when mQuitting is false.
161 return !mQuitting && nativeIsPolling(mPtr);
253 nativeSetFileDescriptorEvents(mPtr, fdNum, events);
257 nativeSetFileDescriptorEvents(mPtr, fdNum, 0);
314 final long ptr = mPtr;
[all...]
/frameworks/base/services/core/java/com/android/server/input/
H A DInputManagerService.java137 private final long mPtr; field in class:InputManagerService
322 mPtr = nativeInit(this, mContext, mHandler.getLooper().getQueue());
342 nativeStart(mPtr);
406 nativeReloadKeyboardLayouts(mPtr);
413 nativeReloadDeviceAliases(mPtr);
429 nativeSetVirtualDisplayViewports(mPtr,
434 nativeSetDisplayViewport(mPtr, viewportType,
453 return nativeGetKeyCodeState(mPtr, deviceId, sourceMask, keyCode);
466 return nativeGetScanCodeState(mPtr, deviceId, sourceMask, scanCode);
479 return nativeGetSwitchState(mPtr, deviceI
[all...]

Completed in 436 milliseconds