Home
last modified time | relevance | path

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

12

/frameworks/base/services/core/java/com/android/server/broadcastradio/hal1/
DTuner.java43 private final long mNativeContext; field in Tuner
61 mNativeContext = nativeInit(halRev, withAudio, band); in Tuner()
72 nativeFinalize(mNativeContext); in finalize()
107 nativeClose(mNativeContext); in close()
139 nativeSetConfiguration(mNativeContext, config); in setConfiguration()
148 return nativeGetConfiguration(mNativeContext, mRegion); in getConfiguration()
186 nativeStep(mNativeContext, directionDown, skipSubChannel); in step()
199 nativeScan(mNativeContext, directionDown, skipSubChannel); in seek()
216 nativeTune(mNativeContext, selector); in tune()
228 nativeCancel(mNativeContext); in cancel()
[all …]
DBroadcastRadioService.java37 private final long mNativeContext = nativeInit(); field in BroadcastRadioService
43 nativeFinalize(mNativeContext); in finalize()
55 return Objects.requireNonNull(nativeLoadModules(mNativeContext)); in loadModules()
66 return nativeOpenTuner(mNativeContext, moduleId, bandConfig, withAudio, callback); in openTuner()
DTunerCallback.java44 private final long mNativeContext; field in TunerCallback
55 mNativeContext = nativeInit(tuner, halRev); in TunerCallback()
60 nativeFinalize(mNativeContext); in finalize()
69 nativeDetach(mNativeContext); in detach()
/frameworks/base/core/java/android/os/
DHwRemoteBinder.java35 mNativeContext); in HwRemoteBinder()
68 private long mNativeContext; field in HwRemoteBinder
DHwBinder.java43 mNativeContext); in HwBinder()
151 private long mNativeContext; field in HwBinder
DHwBlob.java42 mNativeContext); in HwBlob()
458 private long mNativeContext; field in HwBlob
DHwParcel.java60 mNativeContext); in HwParcel()
71 mNativeContext); in HwParcel()
701 private long mNativeContext; field in HwParcel
DHidlMemory.java47 private long mNativeContext; // For use of native code. field in HidlMemory
/frameworks/base/core/java/android/hardware/usb/
DUsbRequest.java53 private long mNativeContext; field in UsbRequest
117 if (mNativeContext != 0) { in close()
293 Preconditions.checkState(mNativeContext != 0, "request is not initialized"); in queueIfConnectionOpen()
433 if (mNativeContext == 0 || (connection != null && !connection.isOpen())) { in cancelIfOpen()
DUsbDeviceConnection.java51 private long mNativeContext; field in UsbDeviceConnection
83 return mNativeContext != 0; in isOpen()
/frameworks/base/media/java/android/media/
DImageWriter.java104 private long mNativeContext; field in ImageWriter
262 mNativeContext = nativeInit(new WeakReference<>(this), surface, maxImages, width, height, in initializeImageWriter()
439 nativeDequeueInputImage(mNativeContext, newImage); in dequeueInputImage()
528 nativeQueueInputImage(mNativeContext, image, image.getTimestamp(), image.getDataSpace(), in queueInputImage()
689 nativeClose(mNativeContext); in close()
690 mNativeContext = 0; in close()
761 nativeAttachAndQueueImage(mNativeContext, image.getNativeContext(), in attachAndQueueInputImage()
767 nativeAttachAndQueueGraphicBuffer(mNativeContext, gb, hardwareBufferFormat, in attachAndQueueInputImage()
865 cancelImage(mNativeContext, image); in abortImage()
DMediaCrypto.java112 private long mNativeContext; field in MediaCrypto
DToneGenerator.java907 private long mNativeContext; // accessed by native methods field in ToneGenerator
DMediaRecorder.java115 private long mNativeContext; field in MediaRecorder
1608 if (mMediaRecorder.mNativeContext == 0) { in handleMessage()
1876 if (mNativeContext == 0) { in getPortId()
/frameworks/base/media/java/android/media/tv/tuner/filter/
DMediaEvent.java37 private long mNativeContext; field in MediaEvent
255 mNativeContext = 0; in release()
DTimeFilter.java45 private long mNativeContext; field in TimeFilter
DSharedFilter.java52 private long mNativeContext; field in SharedFilter
/frameworks/base/media/jni/soundpool/
Dandroid_media_SoundPool.cpp33 jfieldID mNativeContext; member
172 new ObjectManager<std::shared_ptr<SoundPool>>(fields.mNativeContext); in getSoundPoolManager()
649 fields.mNativeContext = env->GetFieldID(clazz, "mNativeContext", "J"); in JNI_OnLoad()
650 if (fields.mNativeContext == nullptr) { in JNI_OnLoad()
/frameworks/base/core/java/android/hardware/
DSerialPort.java36 private int mNativeContext; field in SerialPort
/frameworks/base/media/java/android/media/tv/tuner/
DDescrambler.java59 private long mNativeContext; field in Descrambler
/frameworks/base/media/jni/
Dandroid_media_ImageReader.cpp70 jfieldID mNativeContext; member
250 (env->GetLongField(thiz, gImageReaderClassInfo.mNativeContext)); in ImageReader_getContext()
277 env->SetLongField(thiz, gImageReaderClassInfo.mNativeContext, in ImageReader_setNativeContext()
350 gImageReaderClassInfo.mNativeContext = env->GetFieldID( in ImageReader_classInit()
352 LOG_ALWAYS_FATAL_IF(gImageReaderClassInfo.mNativeContext == NULL, in ImageReader_classInit()
/frameworks/base/media/java/android/mtp/
DMtpServer.java35 private long mNativeContext; // accessed by native methods field in MtpServer
DMtpDevice.java431 private long mNativeContext; field in MtpDevice
/frameworks/base/media/java/android/media/tv/tuner/dvr/
DDvrRecorder.java45 private long mNativeContext; field in DvrRecorder
DDvrPlayback.java83 private long mNativeContext; field in DvrPlayback

12