Home
last modified time | relevance | path

Searched refs:HidlMemory (Results 1 – 25 of 34) sorted by relevance

12

/frameworks/base/core/java/android/os/
DHidlMemoryUtil.java57 HidlMemory byteArrayToHidlMemory(@NonNull byte[] input) { in byteArrayToHidlMemory()
72 HidlMemory byteArrayToHidlMemory(@NonNull byte[] input, @Nullable String name) { in byteArrayToHidlMemory()
76 return new HidlMemory("ashmem", 0, null); in byteArrayToHidlMemory()
99 HidlMemory byteListToHidlMemory(@NonNull List<Byte> input) { in byteListToHidlMemory()
114 HidlMemory byteListToHidlMemory(@NonNull List<Byte> input, @Nullable String name) { in byteListToHidlMemory()
118 return new HidlMemory("ashmem", 0, null); in byteListToHidlMemory()
141 byte[] hidlMemoryToByteArray(@NonNull HidlMemory mem) { in hidlMemoryToByteArray()
167 ArrayList<Byte> hidlMemoryToByteList(@NonNull HidlMemory mem) { in hidlMemoryToByteList()
194 @NonNull public static HidlMemory sharedMemoryToHidlMemory(@Nullable SharedMemory shmem) { in sharedMemoryToHidlMemory()
196 return new HidlMemory("ashmem", 0, null); in sharedMemoryToHidlMemory()
[all …]
DHidlMemory.java43 public class HidlMemory implements Closeable { class
58 public HidlMemory(@NonNull String name, @IntRange(from = 0) long size, in HidlMemory() method in HidlMemory
70 public HidlMemory dup() throws IOException { in dup()
71 return new HidlMemory(mName, mSize, mHandle != null ? mHandle.dup() : null); in dup()
DHwParcel.java332 public native final void writeHidlMemory(@NonNull HidlMemory memory); in writeHidlMemory()
604 public native final HidlMemory readHidlMemory(); in readHidlMemory()
622 HidlMemory readEmbeddedHidlMemory(long fieldHandle, long parentHandle, long offset); in readEmbeddedHidlMemory()
DHwBlob.java328 public final void putHidlMemory(long offset, @NonNull HidlMemory mem) { in putHidlMemory()
/frameworks/av/media/libstagefright/include/
DACodecBufferChannel.h34 class HidlMemory; variable
36 using hardware::HidlMemory;
90 const sp<hardware::HidlMemory> &memory,
139 int32_t getHeapSeqNum(const sp<HidlMemory> &memory);
148 std::map<wp<HidlMemory>, int32_t> mHeapSeqNumMap;
149 sp<HidlMemory> mHidlMemory;
/frameworks/av/drm/libmediadrm/include/mediadrm/
DCryptoHalHidl.h36 using ::android::hardware::HidlMemory;
69 virtual int32_t setHeap(const sp<HidlMemory>& heap) { in setHeap()
98 int32_t setHeapBase(const sp<HidlMemory>& heap);
DCryptoHal.h24 using ::android::hardware::HidlMemory;
48 virtual int32_t setHeap(const sp<HidlMemory>& heap);
DCryptoHalAidl.h35 using ::android::hardware::HidlMemory;
58 virtual int32_t setHeap(const sp<HidlMemory>& heap);
/frameworks/av/drm/libmediadrm/interface/mediadrm/
DICrypto.h30 class HidlMemory; variable
88 virtual int32_t setHeap(const sp<hardware::HidlMemory>& heap) = 0;
/frameworks/base/media/jni/
Dandroid_media_MediaCodecLinearBlock.h37 sp<hardware::HidlMemory> mHidlMemory;
76 sp<hardware::HidlMemory> toHidlMemory() const { in toHidlMemory()
Dandroid_media_MediaCodec.h48 class HidlMemory; variable
134 const sp<hardware::HidlMemory> &buffer,
Dandroid_media_MediaDescrambler.cpp41 class HidlMemory;
44 using hardware::HidlMemory;
73 sp<HidlMemory> mHidlMemory;
/frameworks/av/media/codec2/sfplugin/
DCCodecBufferChannel.h84 const sp<hardware::HidlMemory> &memory,
96 const sp<hardware::HidlMemory> &memory,
317 int32_t getHeapSeqNum(const sp<hardware::HidlMemory> &memory);
329 std::map<wp<hardware::HidlMemory>, int32_t> mHeapSeqNumMap;
DCodec2Buffer.h32 class HidlMemory; variable
402 sp<hardware::HidlMemory> mHidlMemory;
DCCodecBufferChannel.cpp73 using hardware::HidlMemory;
485 int32_t CCodecBufferChannel::getHeapSeqNum(const sp<HidlMemory> &memory) { in getHeapSeqNum()
501 const sp<hardware::HidlMemory> &memory, in attachEncryptedBuffers()
624 const sp<hardware::HidlMemory> &memory, in attachEncryptedBuffer()
1718 sp<HidlMemory> heap = fromHeap(mDealer->getMemoryHeap()); in start()
2734 for (std::pair<wp<HidlMemory>, int32_t> entry : mHeapSeqNumMap) { in setCrypto()
/frameworks/av/media/libstagefright/include/media/stagefright/
DCodecBase.h50 class HidlMemory; variable
441 const sp<hardware::HidlMemory> &memory, in attachEncryptedBuffer()
481 const sp<hardware::HidlMemory> &memory, in attachEncryptedBuffers()
/frameworks/av/media/libstagefright/
DCodecBase.cpp36 sp<hardware::HidlMemory> hidlMemory; in IMemoryToSharedBuffer()
DACodecBufferChannel.cpp330 int32_t ACodecBufferChannel::getHeapSeqNum(const sp<HidlMemory> &memory) { in getHeapSeqNum()
344 const sp<hardware::HidlMemory> &memory, in attachEncryptedBuffer()
544 sp<HidlMemory> hHeap = fromHeap(dealer->getMemoryHeap()); in makeMemoryDealer()
666 for (std::pair<wp<HidlMemory>, int32_t> entry : mHeapSeqNumMap) { in setCrypto()
DCryptoAsync.cpp150 sp<hardware::HidlMemory> memory; in attachEncryptedBufferAndQueue()
184 memory = static_cast<MediaCodec::WrapperObject<sp<hardware::HidlMemory>> *> in attachEncryptedBufferAndQueue()
/frameworks/av/drm/libmediadrm/
DCryptoHal.cpp93 int32_t CryptoHal::setHeap(const sp<HidlMemory>& heap) { in setHeap()
DCryptoHalHidl.cpp50 using ::android::hardware::HidlMemory;
217 int32_t CryptoHalHidl::setHeapBase(const sp<HidlMemory>& heap) { in setHeapBase()
DCryptoHalAidl.cpp50 using ::android::hardware::HidlMemory;
368 int32_t CryptoHalAidl::setHeap(const sp<HidlMemory>& heap) { in setHeap()
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger_middleware/
DConversionUtil.java43 import android.os.HidlMemory;
443 HidlMemory parcelFileDescriptorToHidlMemory(@Nullable ParcelFileDescriptor data, int dataSize) { in parcelFileDescriptorToHidlMemory()
/frameworks/av/media/libstagefright/tests/mediacodec/
DMediaCodecTest.cpp56 (const sp<hardware::HidlMemory> &memory,
/frameworks/av/drm/libmediadrm/fuzzer/
Dmediadrm_fuzzer.cpp381 sp<HidlMemory> heap = fromHeap(dealer->getMemoryHeap()); in invokeCryptoDecrypt()

12