/hardware/interfaces/neuralnetworks/aidl/utils/test/ |
D | BufferTest.cpp | 151 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()
|
D | MockBuffer.h | 33 MOCK_METHOD(ndk::ScopedAStatus, copyFrom,
|
/hardware/interfaces/neuralnetworks/1.3/utils/test/ |
D | BufferTest.cpp | 149 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()
|
D | MockBuffer.h | 33 MOCK_METHOD(Return<V1_3::ErrorStatus>, copyFrom,
|
/hardware/interfaces/neuralnetworks/utils/adapter/src/ |
D | Buffer.cpp | 49 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/ |
D | ResilientBufferTest.cpp | 172 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()
|
D | MockBuffer.h | 31 MOCK_METHOD(GeneralResult<void>, copyFrom,
|
/hardware/interfaces/neuralnetworks/aidl/utils/src/ |
D | Buffer.cpp | 67 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/ |
D | Buffer.cpp | 74 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/ |
D | IBuffer.aidl | 41 void copyFrom(in Memory src, in int[] dimensions); in copyFrom() method
|
/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/current/android/hardware/neuralnetworks/ |
D | IBuffer.aidl | 37 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/ |
D | IBuffer.aidl | 37 void copyFrom(in android.hardware.neuralnetworks.Memory src, in int[] dimensions); in copyFrom() method
|
/hardware/interfaces/neuralnetworks/utils/common/src/ |
D | InvalidBuffer.cpp | 37 nn::GeneralResult<void> InvalidBuffer::copyFrom(const nn::SharedMemory& /*src*/, in copyFrom() function in android::hardware::neuralnetworks::utils::InvalidBuffer
|
D | ResilientBuffer.cpp | 107 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/ |
D | InvalidBuffer.h | 36 nn::GeneralResult<void> copyFrom(const nn::SharedMemory& src,
|
D | ResilientBuffer.h | 51 nn::GeneralResult<void> copyFrom(const nn::SharedMemory& src,
|
/hardware/interfaces/neuralnetworks/utils/adapter/include/nnapi/hal/ |
D | Buffer.h | 37 Return<V1_3::ErrorStatus> copyFrom(const hidl_memory& src,
|
/hardware/interfaces/neuralnetworks/aidl/utils/include/nnapi/hal/aidl/ |
D | Buffer.h | 46 nn::GeneralResult<void> copyFrom(const nn::SharedMemory& src,
|
/hardware/interfaces/neuralnetworks/1.3/utils/include/nnapi/hal/1.3/ |
D | Buffer.h | 46 nn::GeneralResult<void> copyFrom(const nn::SharedMemory& src,
|
/hardware/interfaces/camera/common/1.0/default/include/ |
D | VendorTagDescriptor.h | 47 void copyFrom(const VendorTagDescriptor& src);
|
/hardware/interfaces/camera/common/1.0/default/ |
D | VendorTagDescriptor.cpp | 50 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/ |
D | IBuffer.hal | 56 copyFrom(memory src, vec<uint32_t> dimensions) generates (ErrorStatus status);
|
D | IDevice.hal | 329 * 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/ |
D | GeneratedTestHarness.cpp | 175 auto ret = buffer->copyFrom(tmp, {}); in allocateInternal()
|
/hardware/interfaces/neuralnetworks/aidl/vts/functional/ |
D | GeneratedTestHarness.cpp | 148 auto ret = buffer.buffer->copyFrom(memory, {}); in allocateInternal()
|