Home
last modified time | relevance | path

Searched refs:mNativeContext (Results 1 – 25 of 31) sorted by relevance

12

/frameworks/base/core/java/android/hardware/camera2/legacy/
DPerfMeasurement.java58 private final long mNativeContext; field in PerfMeasurement
94 mNativeContext = nativeCreateContext(DEFAULT_MAX_QUERIES); in PerfMeasurement()
106 mNativeContext = nativeCreateContext(maxQueries); in PerfMeasurement()
161 nativeStartGlTimer(mNativeContext); in startTimer()
180 nativeStopGlTimer(mNativeContext); in stopTimer()
228 long duration = nativeGetNextGlDuration(mNativeContext); in getNextGlDuration()
245 nativeDeleteContext(mNativeContext); in finalize()
/frameworks/base/media/java/android/media/
DImageWriter.java84 private long mNativeContext; field in ImageWriter
136 mNativeContext = nativeInit(new WeakReference<ImageWriter>(this), surface, maxImages); in ImageWriter()
234 nativeDequeueInputImage(mNativeContext, newImage); in dequeueInputImage()
334 nativeQueueInputImage(mNativeContext, image, image.getTimestamp(), crop.left, crop.top, in queueInputImage()
452 nativeClose(mNativeContext); in close()
453 mNativeContext = 0; in close()
520 nativeAttachAndQueueImage(mNativeContext, image.getNativeContext(), image.getFormat(), in attachAndQueueInputImage()
606 cancelImage(mNativeContext, image); in abortImage()
DMediaCrypto.java107 private long mNativeContext; field in MediaCrypto
DToneGenerator.java896 private long mNativeContext; // accessed by native methods field in ToneGenerator
DMediaRecorder.java86 private long mNativeContext; field in MediaRecorder
1116 if (mMediaRecorder.mNativeContext == 0) { in handleMessage()
DMediaMetadataRetriever.java46 private long mNativeContext; field in MediaMetadataRetriever
DMediaDrm.java132 private long mNativeContext; field in MediaDrm
517 if (mMediaDrm.mNativeContext == 0) {
DMediaSync.java205 private long mNativeContext; field in MediaSync
DMediaExtractor.java596 private long mNativeContext;
DSoundPool.java125 private long mNativeContext; // accessed by native methods field in SoundPool
DMediaHTTPConnection.java415 private long mNativeContext; field in MediaHTTPConnection
DImageReader.java663 private long mNativeContext; field in ImageReader
/frameworks/base/media/jni/soundpool/
Dandroid_media_SoundPool.cpp31 jfieldID mNativeContext; member
36 return (SoundPool*)env->GetLongField(thiz, fields.mNativeContext); in MusterSoundPool()
201 env->SetLongField(thiz, fields.mNativeContext, (jlong) ap); in android_media_SoundPool_native_setup()
228 env->SetLongField(thiz, fields.mNativeContext, 0); in android_media_SoundPool_release()
315 fields.mNativeContext = env->GetFieldID(clazz, "mNativeContext", "J"); in JNI_OnLoad()
316 if (fields.mNativeContext == NULL) { in JNI_OnLoad()
/frameworks/base/core/java/android/hardware/radio/
DRadioModule.java35 private long mNativeContext = 0; field in RadioModule
55 return mNativeContext != 0; in initCheck()
/frameworks/base/media/java/android/mtp/
DMtpServer.java25 private long mNativeContext; // accessed by native methods field in MtpServer
DMtpDevice.java384 private long mNativeContext; field in MtpDevice
/frameworks/base/media/jni/
Dandroid_media_ImageReader.cpp56 jfieldID mNativeContext; member
226 (env->GetLongField(thiz, gImageReaderClassInfo.mNativeContext)); in ImageReader_getContext()
253 env->SetLongField(thiz, gImageReaderClassInfo.mNativeContext, in ImageReader_setNativeContext()
308 gImageReaderClassInfo.mNativeContext = env->GetFieldID( in ImageReader_classInit()
310 LOG_ALWAYS_FATAL_IF(gImageReaderClassInfo.mNativeContext == NULL, in ImageReader_classInit()
/frameworks/base/core/java/android/hardware/
DSerialPort.java34 private int mNativeContext; field in SerialPort
/frameworks/base/core/java/android/hardware/usb/
DUsbRequest.java40 private long mNativeContext; field in UsbRequest
DUsbDeviceConnection.java39 private long mNativeContext; field in UsbDeviceConnection
/frameworks/base/core/java/android/hardware/soundtrigger/
DSoundTriggerModule.java31 private long mNativeContext; field in SoundTriggerModule
/frameworks/base/core/jni/
Dandroid_hardware_Radio.cpp47 jfieldID mNativeContext; member
143 Radio* const radio = (Radio*)env->GetLongField(thiz, gModuleFields.mNativeContext); in getRadio()
150 sp<Radio> old = (Radio*)env->GetLongField(thiz, gModuleFields.mNativeContext); in setRadio()
157 env->SetLongField(thiz, gModuleFields.mNativeContext, (jlong)module.get()); in setRadio()
877 gModuleFields.mNativeContext = GetFieldIDOrDie(env, moduleClass, "mNativeContext", "J"); in register_android_hardware_Radio()
Dandroid_hardware_SoundTrigger.cpp52 jfieldID mNativeContext; member
364 gModuleFields.mNativeContext); in getSoundTrigger()
372 gModuleFields.mNativeContext); in setSoundTrigger()
379 env->SetLongField(thiz, gModuleFields.mNativeContext, (jlong)module.get()); in setSoundTrigger()
839 gModuleFields.mNativeContext = GetFieldIDOrDie(env, moduleClass, "mNativeContext", "J"); in register_android_hardware_SoundTrigger()
Dandroid_hardware_camera2_DngCreator.cpp94 jfieldID mNativeContext; member
976 gDngCreatorClassInfo.mNativeContext)); in DngCreator_getNativeContext()
991 env->SetLongField(thiz, gDngCreatorClassInfo.mNativeContext, in DngCreator_setNativeContext()
998 gDngCreatorClassInfo.mNativeContext = GetFieldIDOrDie(env, in DngCreator_nativeClassInit()
/frameworks/base/core/java/android/hardware/camera2/
DDngCreator.java646 private long mNativeContext; field in DngCreator

12