Home
last modified time | relevance | path

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

12

/frameworks/base/services/core/java/com/android/server/broadcastradio/hal1/
DTuner.java42 private final long mNativeContext; field in Tuner
60 mNativeContext = nativeInit(halRev, withAudio, band); in Tuner()
71 nativeFinalize(mNativeContext); in finalize()
106 nativeClose(mNativeContext); in close()
134 nativeSetConfiguration(mNativeContext, config); in setConfiguration()
143 return nativeGetConfiguration(mNativeContext, mRegion); in getConfiguration()
177 nativeStep(mNativeContext, directionDown, skipSubChannel); in step()
186 nativeScan(mNativeContext, directionDown, skipSubChannel); in scan()
199 nativeTune(mNativeContext, selector); in tune()
207 nativeCancel(mNativeContext); in cancel()
[all …]
DBroadcastRadioService.java38 private final long mNativeContext = nativeInit(); field in BroadcastRadioService
44 nativeFinalize(mNativeContext); in finalize()
56 return Objects.requireNonNull(nativeLoadModules(mNativeContext)); in loadModules()
63 return nativeOpenTuner(mNativeContext, moduleId, bandConfig, withAudio, callback); in openTuner()
DTunerCallback.java45 private final long mNativeContext; field in TunerCallback
56 mNativeContext = nativeInit(tuner, halRev); in TunerCallback()
61 nativeFinalize(mNativeContext); in finalize()
70 nativeDetach(mNativeContext); in detach()
/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.java94 private long mNativeContext; field in ImageWriter
197 mNativeContext = nativeInit(new WeakReference<>(this), surface, maxImages, format); in ImageWriter()
296 nativeDequeueInputImage(mNativeContext, newImage); in dequeueInputImage()
382 nativeQueueInputImage(mNativeContext, image, image.getTimestamp(), crop.left, crop.top, in queueInputImage()
500 nativeClose(mNativeContext); in close()
501 mNativeContext = 0; in close()
568 nativeAttachAndQueueImage(mNativeContext, image.getNativeContext(), image.getFormat(), in attachAndQueueInputImage()
655 cancelImage(mNativeContext, image); in abortImage()
DMediaCrypto.java109 private long mNativeContext; field in MediaCrypto
DToneGenerator.java899 private long mNativeContext; // accessed by native methods field in ToneGenerator
DMediaDescrambler.java258 private long mNativeContext; field in MediaDescrambler
DMediaRecorder.java108 private long mNativeContext; field in MediaRecorder
1352 if (mMediaRecorder.mNativeContext == 0) { in handleMessage()
DSoundPool.java125 private long mNativeContext; // accessed by native methods field in SoundPool
DMediaSync.java205 private long mNativeContext; field in MediaSync
/frameworks/base/core/java/android/os/
DHwRemoteBinder.java35 mNativeContext); in HwRemoteBinder()
68 private long mNativeContext; field in HwRemoteBinder
DHwBinder.java44 mNativeContext); in HwBinder()
141 private long mNativeContext; field in HwBinder
DHwParcel.java61 mNativeContext); in HwParcel()
72 mNativeContext); in HwParcel()
702 private long mNativeContext; field in HwParcel
DHwBlob.java44 mNativeContext); in HwBlob()
460 private long mNativeContext; field in HwBlob
DHidlMemory.java49 private long mNativeContext; // For use of native code. field in HidlMemory
/frameworks/base/media/jni/soundpool/
Dandroid_media_SoundPool.cpp31 jfieldID mNativeContext; member
36 return (SoundPool*)env->GetLongField(thiz, fields.mNativeContext); in MusterSoundPool()
210 env->SetLongField(thiz, fields.mNativeContext, (jlong) ap); in android_media_SoundPool_native_setup()
237 env->SetLongField(thiz, fields.mNativeContext, 0); in android_media_SoundPool_release()
328 fields.mNativeContext = env->GetFieldID(clazz, "mNativeContext", "J"); in JNI_OnLoad()
329 if (fields.mNativeContext == NULL) { in JNI_OnLoad()
/frameworks/base/core/java/android/hardware/usb/
DUsbRequest.java52 private long mNativeContext; field in UsbRequest
115 if (mNativeContext != 0) { in close()
246 Preconditions.checkState(mNativeContext != 0, "request is not initialized"); in queue()
DUsbDeviceConnection.java51 private long mNativeContext; field in UsbDeviceConnection
90 if (mNativeContext != 0) { in close()
/frameworks/base/media/jni/
Dandroid_media_ImageReader.cpp64 jfieldID mNativeContext; member
237 (env->GetLongField(thiz, gImageReaderClassInfo.mNativeContext)); in ImageReader_getContext()
264 env->SetLongField(thiz, gImageReaderClassInfo.mNativeContext, in ImageReader_setNativeContext()
331 gImageReaderClassInfo.mNativeContext = env->GetFieldID( in ImageReader_classInit()
333 LOG_ALWAYS_FATAL_IF(gImageReaderClassInfo.mNativeContext == NULL, in ImageReader_classInit()
/frameworks/base/core/java/android/hardware/
DSerialPort.java35 private int mNativeContext; field in SerialPort
/frameworks/base/core/java/android/hardware/soundtrigger/
DSoundTriggerModule.java34 private long mNativeContext; field in SoundTriggerModule
/frameworks/base/media/java/android/mtp/
DMtpServer.java35 private long mNativeContext; // accessed by native methods field in MtpServer
DMtpDevice.java419 private long mNativeContext; field in MtpDevice
/frameworks/base/core/jni/
Dandroid_hardware_SoundTrigger.cpp53 jfieldID mNativeContext; member
377 gModuleFields.mNativeContext); in getSoundTrigger()
385 gModuleFields.mNativeContext); in setSoundTrigger()
392 env->SetLongField(thiz, gModuleFields.mNativeContext, (jlong)module.get()); in setSoundTrigger()
876 gModuleFields.mNativeContext = GetFieldIDOrDie(env, moduleClass, "mNativeContext", "J"); in register_android_hardware_SoundTrigger()

12