Home
last modified time | relevance | path

Searched refs:SharedBuffer (Results 1 – 25 of 40) sorted by relevance

12

/hardware/interfaces/neuralnetworks/utils/common/include/nnapi/hal/
DResilientBuffer.h37 using Factory = std::function<nn::GeneralResult<nn::SharedBuffer>()>;
42 nn::SharedBuffer buffer);
44 nn::SharedBuffer getBuffer() const;
45 nn::GeneralResult<nn::SharedBuffer> recover(const nn::IBuffer* failingBuffer) const;
57 mutable nn::SharedBuffer mBuffer GUARDED_BY(mMutex);
DResilientDevice.h76 nn::GeneralResult<nn::SharedBuffer> allocate(
90 nn::GeneralResult<nn::SharedBuffer> allocateInternal(
DInvalidDevice.h63 nn::GeneralResult<nn::SharedBuffer> allocate(
/hardware/interfaces/neuralnetworks/utils/adapter/include/nnapi/hal/
DBuffer.h34 explicit Buffer(nn::SharedBuffer buffer);
41 const nn::SharedBuffer kBuffer;
/hardware/interfaces/neuralnetworks/utils/adapter/src/
DBuffer.cpp43 nn::GeneralResult<void> copyTo(const nn::SharedBuffer& buffer, const hidl_memory& dst) { in copyTo()
49 nn::GeneralResult<void> copyFrom(const nn::SharedBuffer& buffer, const hidl_memory& src, in copyFrom()
58 Buffer::Buffer(nn::SharedBuffer buffer) : kBuffer(std::move(buffer)) { in Buffer()
/hardware/interfaces/neuralnetworks/utils/common/src/
DResilientBuffer.cpp75 nn::SharedBuffer buffer) in ResilientBuffer()
81 nn::SharedBuffer ResilientBuffer::getBuffer() const { in getBuffer()
85 nn::GeneralResult<nn::SharedBuffer> ResilientBuffer::recover( in recover()
DInvalidDevice.cpp97 nn::GeneralResult<nn::SharedBuffer> InvalidDevice::allocate( in allocate()
DResilientDevice.cpp213 nn::GeneralResult<nn::SharedBuffer> ResilientDevice::allocate( in allocate()
261 nn::GeneralResult<nn::SharedBuffer> ResilientDevice::allocateInternal( in allocateInternal()
/hardware/interfaces/cas/native/1.0/
DIDescrambler.hal27 * Descramble the data in a source SharedBuffer, described by an array of
34 * @param srcBuffer the SharedBuffer containing the source scrambled data.
44 SharedBuffer srcBuffer, uint64_t srcOffset, DestinationBuffer dstBuffer, uint64_t dstOffset)
Dtypes.hal39 * SharedBuffer describes a shared buffer which is defined by a heapBase, an
43 struct SharedBuffer {
81 SharedBuffer nonsecureMemory;
/hardware/interfaces/drm/1.0/default/
DCryptoPlugin.cpp67 const SharedBuffer& source, uint64_t offset, in decrypt()
77 const SharedBuffer& dest = destination.nonsecureMemory; in decrypt()
144 const SharedBuffer& destBuffer = destination.nonsecureMemory; in decrypt()
DCryptoPlugin.h69 const SharedBuffer& source, uint64_t offset, const DestinationBuffer& destination,
/hardware/interfaces/cas/1.0/default/
DDescramblerImpl.h48 const SharedBuffer& srcBuffer,
/hardware/interfaces/cas/1.1/default/
DDescramblerImpl.h48 const SharedBuffer& srcBuffer, uint64_t srcOffset,
/hardware/interfaces/cas/1.2/default/
DDescramblerImpl.h48 const SharedBuffer& srcBuffer, uint64_t srcOffset,
/hardware/interfaces/neuralnetworks/utils/common/test/
DMockDevice.h48 MOCK_METHOD(GeneralResult<SharedBuffer>, allocate,
/hardware/interfaces/drm/1.2/
DICryptoPlugin.hal23 import @1.0::SharedBuffer;
82 SharedBuffer source, uint64_t offset, DestinationBuffer destination)
/hardware/interfaces/neuralnetworks/1.1/utils/include/nnapi/hal/1.1/
DDevice.h75 nn::GeneralResult<nn::SharedBuffer> allocate(
/hardware/interfaces/neuralnetworks/1.0/utils/include/nnapi/hal/1.0/
DDevice.h75 nn::GeneralResult<nn::SharedBuffer> allocate(
/hardware/interfaces/neuralnetworks/1.3/utils/include/nnapi/hal/1.3/
DDevice.h77 nn::GeneralResult<nn::SharedBuffer> allocate(
/hardware/interfaces/neuralnetworks/1.3/utils/src/
DDevice.cpp90 nn::GeneralResult<nn::SharedBuffer> allocationCallback(ErrorStatus status, in allocationCallback()
235 nn::GeneralResult<nn::SharedBuffer> Device::allocate( in allocate()
/hardware/interfaces/neuralnetworks/aidl/utils/include/nnapi/hal/aidl/
DDevice.h77 nn::GeneralResult<nn::SharedBuffer> allocate(
/hardware/interfaces/neuralnetworks/1.2/utils/include/nnapi/hal/1.2/
DDevice.h94 nn::GeneralResult<nn::SharedBuffer> allocate(
/hardware/interfaces/cas/1.1/vts/functional/
DVtsHalCasV1_1TargetTest.cpp71 using android::hardware::cas::native::V1_0::SharedBuffer;
381 SharedBuffer srcBuffer = { in descrambleTestInputBuffer()
435 SharedBuffer srcBuffer = { in descrambleTestOobInput()
/hardware/interfaces/drm/1.0/
Dtypes.hal302 * SharedBuffer describes a decrypt buffer which is defined by a bufferId, an
307 struct SharedBuffer {
341 SharedBuffer nonsecureMemory;

12