/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 | 249 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()
|
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/aidl/utils/test/ |
D | DeviceTest.cpp | 490 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()
|
D | MockDevice.h | 42 MOCK_METHOD(ndk::ScopedAStatus, getSupportedOperations,
|
/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/current/android/hardware/neuralnetworks/ |
D | IDevice.aidl | 41 boolean[] getSupportedOperations(in android.hardware.neuralnetworks.Model model); in getSupportedOperations() method
|
/hardware/interfaces/neuralnetworks/utils/adapter/src/ |
D | Device.cpp | 125 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/ |
D | IDevice.aidl | 195 boolean[] getSupportedOperations(in Model model); in getSupportedOperations() method
|
/hardware/interfaces/neuralnetworks/aidl/utils/include/nnapi/hal/aidl/ |
D | InvalidDevice.h | 46 ndk::ScopedAStatus getSupportedOperations(const Model& model,
|
D | Device.h | 63 nn::GeneralResult<std::vector<bool>> getSupportedOperations(
|
/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/common/src/ |
D | InvalidDevice.cpp | 78 nn::GeneralResult<std::vector<bool>> InvalidDevice::getSupportedOperations( in getSupportedOperations() function in android::hardware::neuralnetworks::utils::InvalidDevice
|
D | ResilientDevice.cpp | 171 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/ |
D | Device.h | 61 nn::GeneralResult<std::vector<bool>> getSupportedOperations(
|
/hardware/interfaces/neuralnetworks/1.0/utils/include/nnapi/hal/1.0/ |
D | Device.h | 61 nn::GeneralResult<std::vector<bool>> getSupportedOperations(
|
/hardware/interfaces/neuralnetworks/utils/common/include/nnapi/hal/ |
D | InvalidDevice.h | 49 nn::GeneralResult<std::vector<bool>> getSupportedOperations(
|
/hardware/interfaces/neuralnetworks/1.3/utils/include/nnapi/hal/1.3/ |
D | Device.h | 63 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()
|
D | MockDevice.h | 41 MOCK_METHOD(Return<void>, getSupportedOperations,
|
/hardware/interfaces/neuralnetworks/1.0/vts/functional/ |
D | BasicTests.cpp | 157 Return<void> supportedOpsReturn = kDevice->getSupportedOperations( in TEST_P()
|
/hardware/interfaces/neuralnetworks/utils/adapter/include/nnapi/hal/ |
D | Device.h | 53 Return<void> getSupportedOperations(const V1_0::Model& model,
|