Home
last modified time | relevance | path

Searched refs:mNativeHandle (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/core/java/android/app/
DNativeActivity.java75 private long mNativeHandle; field in NativeActivity
170 mNativeHandle = loadNativeCode(path, funcname, Looper.myQueue(), in onCreate()
176 if (mNativeHandle == 0) { in onCreate()
191 onSurfaceDestroyedNative(mNativeHandle); in onDestroy()
195 onInputQueueDestroyedNative(mNativeHandle, mCurInputQueue.getNativePtr()); in onDestroy()
198 unloadNativeCode(mNativeHandle); in onDestroy()
205 onPauseNative(mNativeHandle); in onPause()
211 onResumeNative(mNativeHandle); in onResume()
217 byte[] state = onSaveInstanceStateNative(mNativeHandle); in onSaveInstanceState()
226 onStartNative(mNativeHandle); in onStart()
[all …]
/frameworks/base/media/java/android/media/
DHwAudioSource.java38 private int mNativeHandle; field in HwAudioSource
134 mNativeHandle = AudioSystem.startAudioSource( in start()
144 return mNativeHandle != 0; in isPlaying()
152 if (mNativeHandle > 0) { in stop()
153 AudioSystem.stopAudioSource(mNativeHandle); in stop()
154 mNativeHandle = 0; in stop()
/frameworks/av/media/libmedia/
DOMXBuffer.cpp61 mNativeHandle(handle) { in OMXBuffer()
105 return parcel->writeNativeHandle(mNativeHandle->handle()); in writeToParcel()
163 mNativeHandle = handle; in readFromParcel()
181 mNativeHandle = std::move(source.mNativeHandle); in operator =()
/frameworks/base/core/java/android/os/
DSystemProperties.java356 private final long mNativeHandle; field in SystemProperties.Handle
362 return native_get(mNativeHandle); in get()
369 return native_get_int(mNativeHandle, def); in getInt()
376 return native_get_long(mNativeHandle, def); in getLong()
383 return native_get_boolean(mNativeHandle, def); in getBoolean()
387 mNativeHandle = nativeHandle; in Handle()
/frameworks/base/core/java/android/hardware/
DSensorDirectChannel.java195 mNativeHandle = id; in SensorDirectChannel()
203 return mNativeHandle; in getNativeHandle()
237 private final int mNativeHandle; field in SensorDirectChannel
/frameworks/base/media/java/android/media/midi/
DMidiDevice.java50 private long mNativeHandle; // accessed from native code field in MidiDevice
225 if (mNativeHandle != 0) { in close()
227 + Long.toHexString(mNativeHandle)); in close()
229 if (!mIsDeviceClosed && mNativeHandle == 0) { in close()
/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/
DOffloadHardwareInterfaceTest.java75 @Mock private NativeHandle mNativeHandle; field in OffloadHardwareInterfaceTest
98 return mNativeHandle; in createConntrackSocket()
230 when(mNativeHandle.getFileDescriptor()).thenReturn(writeSocket); in testNetlinkMessage()
232 mOffloadHw.sendNetlinkMessage(mNativeHandle, TEST_TYPE, TEST_FLAGS); in testNetlinkMessage()
/frameworks/av/media/libmedia/include/media/
DOMXBuffer.h134 sp<NativeHandle> mNativeHandle; variable
/frameworks/base/core/java/android/view/
DSurfaceControl.java262 private long mNativeHandle; field in SurfaceControl
510 mNativeHandle = mNativeObject != 0 ? nativeGetHandle(nativeObject) : 0; in assignNativeObject()
994 mNativeHandle = nativeGetHandle(mNativeObject); in SurfaceControl()
1068 return other.mNativeHandle == mNativeHandle; in isSameSurface()
1128 mNativeHandle = 0; in release()
/frameworks/av/media/libstagefright/omx/include/media/stagefright/omx/1.0/
DConversion.h471 t->nativeHandle = l.mNativeHandle->handle(); in wrapAs()
/frameworks/av/media/libstagefright/omx/
DOMXNodeInstance.cpp178 mNativeHandle = nativeHandle; in setNativeHandle()
191 sp<NativeHandle> mNativeHandle; member
1834 buffer, omxBuffer.mNativeHandle, flags, timestamp, fenceFd); in emptyBuffer()
/frameworks/av/media/libmedia/include/media/omx/1.0/
DConversion.h731 t->nativeHandle = l.mNativeHandle->handle(); in wrapAs()