/hardware/interfaces/neuralnetworks/aidl/utils/test/ |
D | BufferTest.cpp | 94 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()
|
D | MockBuffer.h | 32 MOCK_METHOD(ndk::ScopedAStatus, copyTo, (const Memory& dst), (override));
|
/hardware/interfaces/neuralnetworks/1.3/utils/test/ |
D | BufferTest.cpp | 92 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()
|
D | MockBuffer.h | 32 MOCK_METHOD(Return<V1_3::ErrorStatus>, copyTo, (const hidl_memory& dst), (override));
|
/hardware/interfaces/neuralnetworks/utils/adapter/src/ |
D | Buffer.cpp | 43 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/common/test/ |
D | ResilientBufferTest.cpp | 112 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()
|
D | MockBuffer.h | 30 MOCK_METHOD(GeneralResult<void>, copyTo, (const SharedMemory& dst), (const, override));
|
/hardware/interfaces/neuralnetworks/aidl/utils/src/ |
D | Buffer.cpp | 58 nn::GeneralResult<void> Buffer::copyTo(const nn::SharedMemory& dst) const { in copyTo() function in aidl::android::hardware::neuralnetworks::utils::Buffer 61 const auto ret = kBuffer->copyTo(aidlDst); in copyTo()
|
/hardware/interfaces/neuralnetworks/1.3/utils/src/ |
D | Buffer.cpp | 64 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/ |
D | IBuffer.aidl | 56 void copyTo(in Memory dst); in copyTo() method
|
/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/current/android/hardware/neuralnetworks/ |
D | IBuffer.aidl | 38 void copyTo(in android.hardware.neuralnetworks.Memory dst); in copyTo() method
|
/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/1/android/hardware/neuralnetworks/ |
D | IBuffer.aidl | 38 void copyTo(in android.hardware.neuralnetworks.Memory dst); in copyTo() method
|
/hardware/interfaces/neuralnetworks/utils/common/src/ |
D | InvalidBuffer.cpp | 33 nn::GeneralResult<void> InvalidBuffer::copyTo(const nn::SharedMemory& /*dst*/) const { in copyTo() function in android::hardware::neuralnetworks::utils::InvalidBuffer
|
D | ResilientBuffer.cpp | 102 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()
|
/hardware/interfaces/neuralnetworks/utils/common/include/nnapi/hal/ |
D | InvalidBuffer.h | 34 nn::GeneralResult<void> copyTo(const nn::SharedMemory& dst) const override;
|
D | ResilientBuffer.h | 49 nn::GeneralResult<void> copyTo(const nn::SharedMemory& dst) const override;
|
/hardware/interfaces/neuralnetworks/utils/adapter/include/nnapi/hal/ |
D | Buffer.h | 36 Return<V1_3::ErrorStatus> copyTo(const hidl_memory& dst) override;
|
/hardware/interfaces/neuralnetworks/aidl/utils/include/nnapi/hal/aidl/ |
D | Buffer.h | 45 nn::GeneralResult<void> copyTo(const nn::SharedMemory& dst) const override;
|
/hardware/interfaces/neuralnetworks/1.3/utils/include/nnapi/hal/1.3/ |
D | Buffer.h | 45 nn::GeneralResult<void> copyTo(const nn::SharedMemory& dst) const override;
|
/hardware/interfaces/neuralnetworks/1.3/ |
D | IBuffer.hal | 28 * The IBuffer object must have been initialized before the call to IBuffer::copyTo. 39 copyTo(memory dst) generates (ErrorStatus status);
|
/hardware/interfaces/neuralnetworks/1.3/vts/functional/ |
D | GeneratedTestHarness.cpp | 500 const auto ret = buffer->copyTo(tmp); in getBuffer()
|
/hardware/interfaces/neuralnetworks/aidl/vts/functional/ |
D | GeneratedTestHarness.cpp | 504 const auto ret = buffer->copyTo(aidlMemory); in getBuffer()
|
D | MemoryDomainTests.cpp | 702 const auto ret = buffer->copyTo(memory); in testCopyTo()
|