Home
last modified time | relevance | path

Searched refs:copyFrom (Results 1 – 25 of 26) sorted by relevance

12

/hardware/interfaces/neuralnetworks/aidl/utils/test/
DBufferTest.cpp151 TEST(BufferTest, copyFrom) { in TEST() argument
155 EXPECT_CALL(*mockBuffer, copyFrom(_, _)).Times(1).WillOnce(InvokeWithoutArgs(makeStatusOk)); in TEST()
158 const auto result = buffer->copyFrom(kMemory, {}); in TEST()
168 EXPECT_CALL(*mockBuffer, copyFrom(_, _)) in TEST()
173 const auto result = buffer->copyFrom(kMemory, {}); in TEST()
184 EXPECT_CALL(*mockBuffer, copyFrom(_, _)) in TEST()
189 const auto result = buffer->copyFrom(kMemory, {}); in TEST()
200 EXPECT_CALL(*mockBuffer, copyFrom(_, _)) in TEST()
205 const auto result = buffer->copyFrom(kMemory, {}); in TEST()
DMockBuffer.h33 MOCK_METHOD(ndk::ScopedAStatus, copyFrom,
/hardware/interfaces/neuralnetworks/1.3/utils/test/
DBufferTest.cpp149 TEST(BufferTest, copyFrom) { in TEST() argument
153 EXPECT_CALL(*mockBuffer, copyFrom(_, _)).Times(1).WillOnce(InvokeWithoutArgs(makeSuccessful)); in TEST()
156 const auto result = buffer->copyFrom(kMemory, {}); in TEST()
166 EXPECT_CALL(*mockBuffer, copyFrom(_, _)).Times(1).WillOnce(InvokeWithoutArgs(makeGeneralError)); in TEST()
169 const auto result = buffer->copyFrom(kMemory, {}); in TEST()
180 EXPECT_CALL(*mockBuffer, copyFrom(_, _)) in TEST()
185 const auto result = buffer->copyFrom(kMemory, {}); in TEST()
196 EXPECT_CALL(*mockBuffer, copyFrom(_, _)) in TEST()
201 const auto result = buffer->copyFrom(kMemory, {}); in TEST()
DMockBuffer.h33 MOCK_METHOD(Return<V1_3::ErrorStatus>, copyFrom,
/hardware/interfaces/neuralnetworks/utils/adapter/src/
DBuffer.cpp49 nn::GeneralResult<void> copyFrom(const nn::SharedBuffer& buffer, const hidl_memory& src, in copyFrom() function
52 NN_TRY(buffer->copyFrom(memory, dimensions)); in copyFrom()
72 Return<V1_3::ErrorStatus> Buffer::copyFrom(const hidl_memory& src, in copyFrom() function in android::hardware::neuralnetworks::adapter::Buffer
74 auto result = adapter::copyFrom(kBuffer, src, dimensions); in copyFrom()
/hardware/interfaces/neuralnetworks/utils/common/test/
DResilientBufferTest.cpp172 TEST(ResilientBufferTest, copyFrom) { in TEST() argument
175 EXPECT_CALL(*mockBuffer, copyFrom(_, _)).Times(1).WillOnce(Return(kNoError)); in TEST()
179 const auto result = buffer->copyFrom(memory, {}); in TEST()
189 EXPECT_CALL(*mockBuffer, copyFrom(_, _)).Times(1).WillOnce(kReturnGeneralFailure); in TEST()
193 const auto result = buffer->copyFrom(memory, {}); in TEST()
203 EXPECT_CALL(*mockBuffer, copyFrom(_, _)).Times(1).WillOnce(kReturnDeadObject); in TEST()
208 const auto result = buffer->copyFrom(memory, {}); in TEST()
218 EXPECT_CALL(*mockBuffer, copyFrom(_, _)).Times(1).WillOnce(kReturnDeadObject); in TEST()
220 EXPECT_CALL(*recoveredMockBuffer, copyFrom(_, _)).Times(1).WillOnce(Return(kNoError)); in TEST()
225 const auto result = buffer->copyFrom(memory, {}); in TEST()
DMockBuffer.h31 MOCK_METHOD(GeneralResult<void>, copyFrom,
/hardware/interfaces/neuralnetworks/aidl/utils/src/
DBuffer.cpp67 nn::GeneralResult<void> Buffer::copyFrom(const nn::SharedMemory& src, in copyFrom() function in aidl::android::hardware::neuralnetworks::utils::Buffer
72 const auto ret = kBuffer->copyFrom(aidlSrc, aidlDimensions); in copyFrom()
/hardware/interfaces/neuralnetworks/1.3/utils/src/
DBuffer.cpp74 nn::GeneralResult<void> Buffer::copyFrom(const nn::SharedMemory& src, in copyFrom() function in android::hardware::neuralnetworks::V1_3::utils::Buffer
79 const auto ret = kBuffer->copyFrom(hidlSrc, hidlDimensions); in copyFrom()
/hardware/interfaces/neuralnetworks/aidl/android/hardware/neuralnetworks/
DIBuffer.aidl41 void copyFrom(in Memory src, in int[] dimensions); in copyFrom() method
/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/current/android/hardware/neuralnetworks/
DIBuffer.aidl37 void copyFrom(in android.hardware.neuralnetworks.Memory src, in int[] dimensions); in copyFrom() method
/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/1/android/hardware/neuralnetworks/
DIBuffer.aidl37 void copyFrom(in android.hardware.neuralnetworks.Memory src, in int[] dimensions); in copyFrom() method
/hardware/interfaces/neuralnetworks/utils/common/src/
DInvalidBuffer.cpp37 nn::GeneralResult<void> InvalidBuffer::copyFrom(const nn::SharedMemory& /*src*/, in copyFrom() function in android::hardware::neuralnetworks::utils::InvalidBuffer
DResilientBuffer.cpp107 nn::GeneralResult<void> ResilientBuffer::copyFrom(const nn::SharedMemory& src, in copyFrom() function in android::hardware::neuralnetworks::utils::ResilientBuffer
110 return buffer.copyFrom(src, dimensions); in copyFrom()
/hardware/interfaces/neuralnetworks/utils/common/include/nnapi/hal/
DInvalidBuffer.h36 nn::GeneralResult<void> copyFrom(const nn::SharedMemory& src,
DResilientBuffer.h51 nn::GeneralResult<void> copyFrom(const nn::SharedMemory& src,
/hardware/interfaces/neuralnetworks/utils/adapter/include/nnapi/hal/
DBuffer.h37 Return<V1_3::ErrorStatus> copyFrom(const hidl_memory& src,
/hardware/interfaces/neuralnetworks/aidl/utils/include/nnapi/hal/aidl/
DBuffer.h46 nn::GeneralResult<void> copyFrom(const nn::SharedMemory& src,
/hardware/interfaces/neuralnetworks/1.3/utils/include/nnapi/hal/1.3/
DBuffer.h46 nn::GeneralResult<void> copyFrom(const nn::SharedMemory& src,
/hardware/interfaces/camera/common/1.0/default/include/
DVendorTagDescriptor.h47 void copyFrom(const VendorTagDescriptor& src);
/hardware/interfaces/camera/common/1.0/default/
DVendorTagDescriptor.cpp50 copyFrom(src); in VendorTagDescriptor()
54 copyFrom(rhs); in operator =()
58 void VendorTagDescriptor::copyFrom(const VendorTagDescriptor& src) { in copyFrom() function in android::hardware::camera2::params::VendorTagDescriptor
/hardware/interfaces/neuralnetworks/1.3/
DIBuffer.hal56 copyFrom(memory src, vec<uint32_t> dimensions) generates (ErrorStatus status);
DIDevice.hal329 * output in a successful execution, or after a successful invocation of IBuffer::copyFrom on
332 * in a failed execution, or after a failed invocation of IBuffer::copyFrom on the buffer.
/hardware/interfaces/neuralnetworks/1.3/vts/functional/
DGeneratedTestHarness.cpp175 auto ret = buffer->copyFrom(tmp, {}); in allocateInternal()
/hardware/interfaces/neuralnetworks/aidl/vts/functional/
DGeneratedTestHarness.cpp148 auto ret = buffer.buffer->copyFrom(memory, {}); in allocateInternal()

12