/hardware/interfaces/neuralnetworks/1.0/utils/test/ |
D | DeviceTest.cpp | 300 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()
|
D | MockDevice.h | 38 MOCK_METHOD(Return<void>, getSupportedOperations,
|
/hardware/interfaces/neuralnetworks/utils/common/test/ |
D | ResilientDeviceTest.cpp | 248 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()
|
D | MockDevice.h | 37 MOCK_METHOD(GeneralResult<std::vector<bool>>, getSupportedOperations, (const Model& model),
|
/hardware/interfaces/neuralnetworks/1.1/utils/test/ |
D | DeviceTest.cpp | 82 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()
|
D | MockDevice.h | 38 MOCK_METHOD(Return<void>, getSupportedOperations,
|
/hardware/interfaces/neuralnetworks/utils/adapter/hidl/src/ |
D | Device.cpp | 121 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/ |
D | Device.cpp | 127 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/ |
D | IDevice.aidl | 41 boolean[] getSupportedOperations(in android.hardware.neuralnetworks.Model model); in getSupportedOperations() method
|
/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/3/android/hardware/neuralnetworks/ |
D | IDevice.aidl | 41 boolean[] getSupportedOperations(in android.hardware.neuralnetworks.Model model); in getSupportedOperations() method
|
/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/1/android/hardware/neuralnetworks/ |
D | IDevice.aidl | 41 boolean[] getSupportedOperations(in android.hardware.neuralnetworks.Model model); in getSupportedOperations() method
|
/hardware/interfaces/neuralnetworks/utils/adapter/aidl/src/ |
D | Device.cpp | 123 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/ |
D | IDevice.aidl | 41 boolean[] getSupportedOperations(in android.hardware.neuralnetworks.Model model); in getSupportedOperations() method
|
/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/current/android/hardware/neuralnetworks/ |
D | IDevice.aidl | 41 boolean[] getSupportedOperations(in android.hardware.neuralnetworks.Model model); in getSupportedOperations() method
|
/hardware/interfaces/neuralnetworks/aidl/utils/test/ |
D | DeviceTest.cpp | 504 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()
|
D | MockDevice.h | 42 MOCK_METHOD(ndk::ScopedAStatus, getSupportedOperations,
|
/hardware/interfaces/neuralnetworks/aidl/android/hardware/neuralnetworks/ |
D | IDevice.aidl | 196 boolean[] getSupportedOperations(in Model model); in getSupportedOperations() method
|
/hardware/interfaces/neuralnetworks/1.0/ |
D | IDevice.hal | 39 * 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/ |
D | Device.h | 61 ndk::ScopedAStatus getSupportedOperations(const Model& model,
|
/hardware/interfaces/neuralnetworks/utils/common/src/ |
D | InvalidDevice.cpp | 78 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/ |
D | InvalidDevice.h | 46 ndk::ScopedAStatus getSupportedOperations(const Model& model,
|
/hardware/interfaces/neuralnetworks/utils/common/include/nnapi/hal/ |
D | InvalidDevice.h | 49 nn::GeneralResult<std::vector<bool>> getSupportedOperations(
|
/hardware/interfaces/neuralnetworks/1.1/utils/include/nnapi/hal/1.1/ |
D | Device.h | 61 nn::GeneralResult<std::vector<bool>> getSupportedOperations(
|
/hardware/interfaces/neuralnetworks/1.0/utils/include/nnapi/hal/1.0/ |
D | Device.h | 62 nn::GeneralResult<std::vector<bool>> getSupportedOperations(
|
/hardware/interfaces/neuralnetworks/1.2/utils/test/ |
D | DeviceTest.cpp | 94 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()
|