Home
last modified time | relevance | path

Searched refs:getSupportedOperations (Results 1 – 25 of 50) 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.cpp248 TEST(ResilientDeviceTest, getSupportedOperations) { in TEST() argument
251 EXPECT_CALL(*mockDevice, getSupportedOperations(_)) in TEST()
256 const auto result = device->getSupportedOperations({}); in TEST()
266 EXPECT_CALL(*mockDevice, getSupportedOperations(_)).Times(1).WillOnce(kReturnGeneralFailure); in TEST()
269 const auto result = device->getSupportedOperations({}); in TEST()
279 EXPECT_CALL(*mockDevice, getSupportedOperations(_)).Times(1).WillOnce(kReturnDeadObject); in TEST()
283 const auto result = device->getSupportedOperations({}); in TEST()
293 EXPECT_CALL(*mockDevice, getSupportedOperations(_)).Times(1).WillOnce(kReturnDeadObject); in TEST()
295 EXPECT_CALL(*recoveredMockDevice, getSupportedOperations(_)) in TEST()
301 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/utils/adapter/hidl/src/
DDevice.cpp121 nn::GeneralResult<hidl_vec<bool>> getSupportedOperations(const nn::SharedDevice& device, in getSupportedOperations() function
124 return NN_TRY(device->getSupportedOperations(nnModel)); in getSupportedOperations()
377 Return<void> Device::getSupportedOperations(const V1_0::Model& model, in getSupportedOperations() function in android::hardware::neuralnetworks::adapter::Device
379 const auto result = adapter::getSupportedOperations(kDevice, model); in getSupportedOperations()
393 const auto result = adapter::getSupportedOperations(kDevice, model); in getSupportedOperations_1_1()
407 const auto result = adapter::getSupportedOperations(kDevice, model); in getSupportedOperations_1_2()
421 const auto result = adapter::getSupportedOperations(kDevice, model); in getSupportedOperations_1_3()
/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/2/android/hardware/neuralnetworks/
DIDevice.aidl41 boolean[] getSupportedOperations(in android.hardware.neuralnetworks.Model model); in getSupportedOperations() method
/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/3/android/hardware/neuralnetworks/
DIDevice.aidl41 boolean[] getSupportedOperations(in android.hardware.neuralnetworks.Model model); in getSupportedOperations() method
/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/1/android/hardware/neuralnetworks/
DIDevice.aidl41 boolean[] getSupportedOperations(in android.hardware.neuralnetworks.Model model); in getSupportedOperations() method
/hardware/interfaces/neuralnetworks/utils/adapter/aidl/src/
DDevice.cpp123 nn::GeneralResult<std::vector<bool>> getSupportedOperations(const nn::IDevice& device, in getSupportedOperations() function
126 return device.getSupportedOperations(nnModel); in getSupportedOperations()
262 ndk::ScopedAStatus Device::getSupportedOperations(const Model& model, in getSupportedOperations() function in aidl::android::hardware::neuralnetworks::adapter::Device
264 auto result = adapter::getSupportedOperations(*kDevice, model); in getSupportedOperations()
/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/4/android/hardware/neuralnetworks/
DIDevice.aidl41 boolean[] getSupportedOperations(in android.hardware.neuralnetworks.Model model); in getSupportedOperations() method
/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/aidl/utils/test/
DDeviceTest.cpp504 TEST_P(DeviceTest, getSupportedOperations) { in TEST_P() argument
508 EXPECT_CALL(*mockDevice, getSupportedOperations(_, _)) in TEST_P()
515 const auto result = device->getSupportedOperations(kSimpleModel); in TEST_P()
529 EXPECT_CALL(*mockDevice, getSupportedOperations(_, _)) in TEST_P()
534 const auto result = device->getSupportedOperations(kSimpleModel); in TEST_P()
545 EXPECT_CALL(*mockDevice, getSupportedOperations(_, _)) in TEST_P()
550 const auto result = device->getSupportedOperations(kSimpleModel); in TEST_P()
561 EXPECT_CALL(*mockDevice, getSupportedOperations(_, _)) in TEST_P()
566 const auto result = device->getSupportedOperations(kSimpleModel); in TEST_P()
DMockDevice.h42 MOCK_METHOD(ndk::ScopedAStatus, getSupportedOperations,
/hardware/interfaces/neuralnetworks/aidl/android/hardware/neuralnetworks/
DIDevice.aidl196 boolean[] getSupportedOperations(in Model model); in getSupportedOperations() method
/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/adapter/aidl/include/nnapi/hal/aidl/
DDevice.h61 ndk::ScopedAStatus getSupportedOperations(const 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
/hardware/interfaces/neuralnetworks/aidl/utils/include/nnapi/hal/aidl/
DInvalidDevice.h46 ndk::ScopedAStatus getSupportedOperations(const Model& model,
/hardware/interfaces/neuralnetworks/utils/common/include/nnapi/hal/
DInvalidDevice.h49 nn::GeneralResult<std::vector<bool>> 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.h62 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()

12