Home
last modified time | relevance | path

Searched refs:getSupportedOperations (Results 1 – 25 of 43) sorted by relevance

12

/hardware/interfaces/neuralnetworks/1.0/utils/test/
DDeviceTest.cpp300 TEST(DeviceTest, getSupportedOperations) { in TEST() argument
308 EXPECT_CALL(*mockDevice, getSupportedOperations(_, _)).Times(1).WillOnce(Invoke(ret)); in TEST()
311 const auto result = device->getSupportedOperations(kSimpleModel); in TEST()
329 EXPECT_CALL(*mockDevice, getSupportedOperations(_, _)).Times(1).WillOnce(Invoke(ret)); in TEST()
332 const auto result = device->getSupportedOperations(kSimpleModel); in TEST()
343 EXPECT_CALL(*mockDevice, getSupportedOperations(_, _)) in TEST()
348 const auto result = device->getSupportedOperations(kSimpleModel); in TEST()
359 EXPECT_CALL(*mockDevice, getSupportedOperations(_, _)) in TEST()
364 const auto result = device->getSupportedOperations(kSimpleModel); in TEST()
DMockDevice.h38 MOCK_METHOD(Return<void>, getSupportedOperations,
/hardware/interfaces/neuralnetworks/utils/common/test/
DResilientDeviceTest.cpp249 TEST(ResilientDeviceTest, getSupportedOperations) { in TEST() argument
252 EXPECT_CALL(*mockDevice, getSupportedOperations(_)) in TEST()
257 const auto result = device->getSupportedOperations({}); in TEST()
267 EXPECT_CALL(*mockDevice, getSupportedOperations(_)).Times(1).WillOnce(kReturnGeneralFailure); in TEST()
270 const auto result = device->getSupportedOperations({}); in TEST()
280 EXPECT_CALL(*mockDevice, getSupportedOperations(_)).Times(1).WillOnce(kReturnDeadObject); in TEST()
284 const auto result = device->getSupportedOperations({}); in TEST()
294 EXPECT_CALL(*mockDevice, getSupportedOperations(_)).Times(1).WillOnce(kReturnDeadObject); in TEST()
296 EXPECT_CALL(*recoveredMockDevice, getSupportedOperations(_)) in TEST()
302 const auto result = device->getSupportedOperations({}); in TEST()
DMockDevice.h37 MOCK_METHOD(GeneralResult<std::vector<bool>>, getSupportedOperations, (const Model& model),
/hardware/interfaces/neuralnetworks/1.1/utils/test/
DDeviceTest.cpp82 EXPECT_CALL(*mockDevice, getSupportedOperations(_, _)).Times(0); in createMockDevice()
310 TEST(DeviceTest, getSupportedOperations) { in TEST() argument
321 const auto result = device->getSupportedOperations(kSimpleModel); in TEST()
342 const auto result = device->getSupportedOperations(kSimpleModel); in TEST()
358 const auto result = device->getSupportedOperations(kSimpleModel); in TEST()
374 const auto result = device->getSupportedOperations(kSimpleModel); in TEST()
DMockDevice.h38 MOCK_METHOD(Return<void>, getSupportedOperations,
/hardware/interfaces/neuralnetworks/aidl/utils/test/
DDeviceTest.cpp490 TEST(DeviceTest, getSupportedOperations) { in TEST() argument
494 EXPECT_CALL(*mockDevice, getSupportedOperations(_, _)) in TEST()
501 const auto result = device->getSupportedOperations(kSimpleModel); in TEST()
515 EXPECT_CALL(*mockDevice, getSupportedOperations(_, _)) in TEST()
520 const auto result = device->getSupportedOperations(kSimpleModel); in TEST()
531 EXPECT_CALL(*mockDevice, getSupportedOperations(_, _)) in TEST()
536 const auto result = device->getSupportedOperations(kSimpleModel); in TEST()
547 EXPECT_CALL(*mockDevice, getSupportedOperations(_, _)) in TEST()
552 const auto result = device->getSupportedOperations(kSimpleModel); in TEST()
DMockDevice.h42 MOCK_METHOD(ndk::ScopedAStatus, getSupportedOperations,
/hardware/interfaces/neuralnetworks/1.0/utils/src/
DDevice.cpp127 nn::GeneralResult<std::vector<bool>> Device::getSupportedOperations(const nn::Model& model) const { in getSupportedOperations() function in android::hardware::neuralnetworks::V1_0::utils::Device
137 const auto ret = kDevice->getSupportedOperations(hidlModel, cb); in getSupportedOperations()
/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/current/android/hardware/neuralnetworks/
DIDevice.aidl41 boolean[] getSupportedOperations(in android.hardware.neuralnetworks.Model model); in getSupportedOperations() method
/hardware/interfaces/neuralnetworks/utils/adapter/src/
DDevice.cpp125 nn::GeneralResult<hidl_vec<bool>> getSupportedOperations(const nn::SharedDevice& device, in getSupportedOperations() function
128 return NN_TRY(device->getSupportedOperations(nnModel)); in getSupportedOperations()
387 Return<void> Device::getSupportedOperations(const V1_0::Model& model, in getSupportedOperations() function in android::hardware::neuralnetworks::adapter::Device
389 const auto result = adapter::getSupportedOperations(kDevice, model); in getSupportedOperations()
403 const auto result = adapter::getSupportedOperations(kDevice, model); in getSupportedOperations_1_1()
417 const auto result = adapter::getSupportedOperations(kDevice, model); in getSupportedOperations_1_2()
431 const auto result = adapter::getSupportedOperations(kDevice, model); in getSupportedOperations_1_3()
/hardware/interfaces/neuralnetworks/aidl/android/hardware/neuralnetworks/
DIDevice.aidl195 boolean[] getSupportedOperations(in Model model); in getSupportedOperations() method
/hardware/interfaces/neuralnetworks/aidl/utils/include/nnapi/hal/aidl/
DInvalidDevice.h46 ndk::ScopedAStatus getSupportedOperations(const Model& model,
DDevice.h63 nn::GeneralResult<std::vector<bool>> getSupportedOperations(
/hardware/interfaces/neuralnetworks/1.0/
DIDevice.hal39 * getSupportedOperations indicates which operations of a model are fully
41 * any reason, getSupportedOperations must return false for that operation.
57 getSupportedOperations(Model model)
/hardware/interfaces/neuralnetworks/utils/common/src/
DInvalidDevice.cpp78 nn::GeneralResult<std::vector<bool>> InvalidDevice::getSupportedOperations( in getSupportedOperations() function in android::hardware::neuralnetworks::utils::InvalidDevice
DResilientDevice.cpp171 nn::GeneralResult<std::vector<bool>> ResilientDevice::getSupportedOperations( in getSupportedOperations() function in android::hardware::neuralnetworks::utils::ResilientDevice
174 return device.getSupportedOperations(model); in getSupportedOperations()
/hardware/interfaces/neuralnetworks/1.1/utils/include/nnapi/hal/1.1/
DDevice.h61 nn::GeneralResult<std::vector<bool>> getSupportedOperations(
/hardware/interfaces/neuralnetworks/1.0/utils/include/nnapi/hal/1.0/
DDevice.h61 nn::GeneralResult<std::vector<bool>> getSupportedOperations(
/hardware/interfaces/neuralnetworks/utils/common/include/nnapi/hal/
DInvalidDevice.h49 nn::GeneralResult<std::vector<bool>> getSupportedOperations(
/hardware/interfaces/neuralnetworks/1.3/utils/include/nnapi/hal/1.3/
DDevice.h63 nn::GeneralResult<std::vector<bool>> getSupportedOperations(
/hardware/interfaces/neuralnetworks/1.2/utils/test/
DDeviceTest.cpp94 EXPECT_CALL(*mockDevice, getSupportedOperations(_, _)).Times(0); in createMockDevice()
556 TEST(DeviceTest, getSupportedOperations) { in TEST() argument
567 const auto result = device->getSupportedOperations(kSimpleModel); in TEST()
588 const auto result = device->getSupportedOperations(kSimpleModel); in TEST()
604 const auto result = device->getSupportedOperations(kSimpleModel); in TEST()
620 const auto result = device->getSupportedOperations(kSimpleModel); in TEST()
DMockDevice.h41 MOCK_METHOD(Return<void>, getSupportedOperations,
/hardware/interfaces/neuralnetworks/1.0/vts/functional/
DBasicTests.cpp157 Return<void> supportedOpsReturn = kDevice->getSupportedOperations( in TEST_P()
/hardware/interfaces/neuralnetworks/utils/adapter/include/nnapi/hal/
DDevice.h53 Return<void> getSupportedOperations(const V1_0::Model& model,

12