Home
last modified time | relevance | path

Searched refs:copyTo (Results 1 – 25 of 30) sorted by relevance

12

/hardware/interfaces/neuralnetworks/aidl/utils/test/
DBufferTest.cpp94 TEST(BufferTest, copyTo) { in TEST() argument
98 EXPECT_CALL(*mockBuffer, copyTo(_)).Times(1).WillOnce(InvokeWithoutArgs(makeStatusOk)); in TEST()
101 const auto result = buffer->copyTo(kMemory); in TEST()
111 EXPECT_CALL(*mockBuffer, copyTo(_)).Times(1).WillOnce(InvokeWithoutArgs(makeGeneralFailure)); in TEST()
114 const auto result = buffer->copyTo(kMemory); in TEST()
125 EXPECT_CALL(*mockBuffer, copyTo(_)) in TEST()
130 const auto result = buffer->copyTo(kMemory); in TEST()
141 EXPECT_CALL(*mockBuffer, copyTo(_)).Times(1).WillOnce(InvokeWithoutArgs(makeDeadObjectFailure)); in TEST()
144 const auto result = buffer->copyTo(kMemory); in TEST()
DMockBuffer.h31 MOCK_METHOD(ndk::ScopedAStatus, copyTo, (const Memory& dst), (override));
/hardware/interfaces/neuralnetworks/1.3/utils/test/
DBufferTest.cpp92 TEST(BufferTest, copyTo) { in TEST() argument
96 EXPECT_CALL(*mockBuffer, copyTo(_)).Times(1).WillOnce(InvokeWithoutArgs(makeSuccessful)); in TEST()
99 const auto result = buffer->copyTo(kMemory); in TEST()
109 EXPECT_CALL(*mockBuffer, copyTo(_)).Times(1).WillOnce(InvokeWithoutArgs(makeGeneralError)); in TEST()
112 const auto result = buffer->copyTo(kMemory); in TEST()
123 EXPECT_CALL(*mockBuffer, copyTo(_)) in TEST()
128 const auto result = buffer->copyTo(kMemory); in TEST()
139 EXPECT_CALL(*mockBuffer, copyTo(_)).Times(1).WillOnce(InvokeWithoutArgs(makeDeadObjectFailure)); in TEST()
142 const auto result = buffer->copyTo(kMemory); in TEST()
DMockBuffer.h32 MOCK_METHOD(Return<V1_3::ErrorStatus>, copyTo, (const hidl_memory& dst), (override));
/hardware/interfaces/neuralnetworks/utils/common/test/
DResilientBufferTest.cpp112 TEST(ResilientBufferTest, copyTo) { in TEST() argument
115 EXPECT_CALL(*mockBuffer, copyTo(_)).Times(1).WillOnce(Return(kNoError)); in TEST()
119 const auto result = buffer->copyTo(memory); in TEST()
129 EXPECT_CALL(*mockBuffer, copyTo(_)).Times(1).WillOnce(kReturnGeneralFailure); in TEST()
133 const auto result = buffer->copyTo(memory); in TEST()
143 EXPECT_CALL(*mockBuffer, copyTo(_)).Times(1).WillOnce(kReturnDeadObject); in TEST()
148 const auto result = buffer->copyTo(memory); in TEST()
158 EXPECT_CALL(*mockBuffer, copyTo(_)).Times(1).WillOnce(kReturnDeadObject); in TEST()
160 EXPECT_CALL(*recoveredMockBuffer, copyTo(_)).Times(1).WillOnce(Return(kNoError)); in TEST()
165 const auto result = buffer->copyTo(memory); in TEST()
DMockBuffer.h30 MOCK_METHOD(GeneralResult<void>, copyTo, (const SharedMemory& dst), (const, override));
/hardware/interfaces/neuralnetworks/utils/adapter/hidl/src/
DBuffer.cpp43 nn::GeneralResult<void> copyTo(const nn::SharedBuffer& buffer, const hidl_memory& dst) { in copyTo() function
45 NN_TRY(buffer->copyTo(memory)); in copyTo()
62 Return<V1_3::ErrorStatus> Buffer::copyTo(const hidl_memory& dst) { in copyTo() function in android::hardware::neuralnetworks::adapter::Buffer
63 auto result = adapter::copyTo(kBuffer, dst); in copyTo()
/hardware/interfaces/neuralnetworks/utils/adapter/aidl/src/
DBuffer.cpp48 nn::GeneralResult<void> copyTo(const nn::IBuffer& buffer, const Memory& dst) { in copyTo() function
50 return buffer.copyTo(nnDst); in copyTo()
66 ndk::ScopedAStatus Buffer::copyTo(const Memory& dst) { in copyTo() function in aidl::android::hardware::neuralnetworks::adapter::Buffer
67 const auto result = adapter::copyTo(*kBuffer, dst); in copyTo()
/hardware/interfaces/neuralnetworks/aidl/utils/src/
DBuffer.cpp57 nn::GeneralResult<void> Buffer::copyTo(const nn::SharedMemory& dst) const { in copyTo() function in aidl::android::hardware::neuralnetworks::utils::Buffer
60 const auto ret = kBuffer->copyTo(aidlDst); in copyTo()
/hardware/interfaces/neuralnetworks/1.3/utils/src/
DBuffer.cpp64 nn::GeneralResult<void> Buffer::copyTo(const nn::SharedMemory& dst) const { in copyTo() function in android::hardware::neuralnetworks::V1_3::utils::Buffer
67 const auto ret = kBuffer->copyTo(hidlDst); in copyTo()
/hardware/interfaces/neuralnetworks/aidl/android/hardware/neuralnetworks/
DIBuffer.aidl56 void copyTo(in Memory dst); in copyTo() method
/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/2/android/hardware/neuralnetworks/
DIBuffer.aidl38 void copyTo(in android.hardware.neuralnetworks.Memory dst); in copyTo() method
/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/3/android/hardware/neuralnetworks/
DIBuffer.aidl38 void copyTo(in android.hardware.neuralnetworks.Memory dst); in copyTo() method
/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/current/android/hardware/neuralnetworks/
DIBuffer.aidl38 void copyTo(in android.hardware.neuralnetworks.Memory dst); in copyTo() method
/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/4/android/hardware/neuralnetworks/
DIBuffer.aidl38 void copyTo(in android.hardware.neuralnetworks.Memory dst); in copyTo() method
/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/1/android/hardware/neuralnetworks/
DIBuffer.aidl38 void copyTo(in android.hardware.neuralnetworks.Memory dst); in copyTo() method
/hardware/interfaces/neuralnetworks/utils/common/src/
DResilientBuffer.cpp102 nn::GeneralResult<void> ResilientBuffer::copyTo(const nn::SharedMemory& dst) const { in copyTo() function in android::hardware::neuralnetworks::utils::ResilientBuffer
103 const auto fn = [&dst](const nn::IBuffer& buffer) { return buffer.copyTo(dst); }; in copyTo()
DInvalidBuffer.cpp33 nn::GeneralResult<void> InvalidBuffer::copyTo(const nn::SharedMemory& /*dst*/) const { in copyTo() function in android::hardware::neuralnetworks::utils::InvalidBuffer
/hardware/interfaces/neuralnetworks/utils/common/include/nnapi/hal/
DInvalidBuffer.h34 nn::GeneralResult<void> copyTo(const nn::SharedMemory& dst) const override;
DResilientBuffer.h49 nn::GeneralResult<void> copyTo(const nn::SharedMemory& dst) const override;
/hardware/interfaces/neuralnetworks/utils/adapter/hidl/include/nnapi/hal/
DBuffer.h36 Return<V1_3::ErrorStatus> copyTo(const hidl_memory& dst) override;
/hardware/interfaces/neuralnetworks/utils/adapter/aidl/include/nnapi/hal/aidl/
DBuffer.h39 ndk::ScopedAStatus copyTo(const Memory& dst) override;
/hardware/interfaces/neuralnetworks/1.3/utils/include/nnapi/hal/1.3/
DBuffer.h45 nn::GeneralResult<void> copyTo(const nn::SharedMemory& dst) const override;
/hardware/interfaces/neuralnetworks/aidl/utils/include/nnapi/hal/aidl/
DBuffer.h45 nn::GeneralResult<void> copyTo(const nn::SharedMemory& dst) const override;
/hardware/interfaces/neuralnetworks/1.3/
DIBuffer.hal28 * The IBuffer object must have been initialized before the call to IBuffer::copyTo.
39 copyTo(memory dst) generates (ErrorStatus status);

12