/hardware/interfaces/neuralnetworks/aidl/utils/test/ |
D | DeviceTest.cpp | 78 ON_CALL(*mockDevice, getNumberOfCacheFilesNeeded(_)) in createMockDevice() 96 EXPECT_CALL(*mockDevice, getNumberOfCacheFilesNeeded(_)).Times(testing::AnyNumber()); in createMockDevice() 303 TEST(DeviceTest, getNumberOfCacheFilesNeeded) { in TEST() argument 306 EXPECT_CALL(*mockDevice, getNumberOfCacheFilesNeeded(_)).Times(1); in TEST() 315 EXPECT_EQ(result.value()->getNumberOfCacheFilesNeeded(), kNumberOfCacheFilesPair); in TEST() 321 EXPECT_CALL(*mockDevice, getNumberOfCacheFilesNeeded(_)) in TEST() 336 EXPECT_CALL(*mockDevice, getNumberOfCacheFilesNeeded(_)) in TEST() 354 EXPECT_CALL(*mockDevice, getNumberOfCacheFilesNeeded(_)) in TEST() 372 EXPECT_CALL(*mockDevice, getNumberOfCacheFilesNeeded(_)) in TEST() 387 EXPECT_CALL(*mockDevice, getNumberOfCacheFilesNeeded(_)) in TEST() [all …]
|
D | MockDevice.h | 38 MOCK_METHOD(ndk::ScopedAStatus, getNumberOfCacheFilesNeeded,
|
/hardware/interfaces/neuralnetworks/1.2/utils/test/ |
D | DeviceTest.cpp | 87 ON_CALL(*mockDevice, getNumberOfCacheFilesNeeded(_)) in createMockDevice() 104 EXPECT_CALL(*mockDevice, getNumberOfCacheFilesNeeded(_)).Times(testing::AnyNumber()); in createMockDevice() 302 EXPECT_CALL(*mockDevice, getNumberOfCacheFilesNeeded(_)).Times(1).WillOnce(Invoke(ret)); in TEST() 317 EXPECT_CALL(*mockDevice, getNumberOfCacheFilesNeeded(_)).Times(1).WillOnce(Invoke(ret)); in TEST() 332 EXPECT_CALL(*mockDevice, getNumberOfCacheFilesNeeded(_)).Times(1).WillOnce(Invoke(ret)); in TEST() 345 EXPECT_CALL(*mockDevice, getNumberOfCacheFilesNeeded(_)) in TEST() 360 EXPECT_CALL(*mockDevice, getNumberOfCacheFilesNeeded(_)) in TEST() 495 EXPECT_CALL(*mockDevice, getNumberOfCacheFilesNeeded(_)).Times(1); in TEST() 507 EXPECT_EQ(device->getNumberOfCacheFilesNeeded(), device->getNumberOfCacheFilesNeeded()); in TEST()
|
D | MockDevice.h | 64 MOCK_METHOD(Return<void>, getNumberOfCacheFilesNeeded, (getNumberOfCacheFilesNeeded_cb cb),
|
/hardware/interfaces/neuralnetworks/1.3/utils/test/ |
D | DeviceTest.cpp | 90 ON_CALL(*mockDevice, getNumberOfCacheFilesNeeded(_)) in createMockDevice() 111 EXPECT_CALL(*mockDevice, getNumberOfCacheFilesNeeded(_)).Times(testing::AnyNumber()); in createMockDevice() 322 EXPECT_CALL(*mockDevice, getNumberOfCacheFilesNeeded(_)).Times(1).WillOnce(Invoke(ret)); in TEST() 337 EXPECT_CALL(*mockDevice, getNumberOfCacheFilesNeeded(_)).Times(1).WillOnce(Invoke(ret)); in TEST() 352 EXPECT_CALL(*mockDevice, getNumberOfCacheFilesNeeded(_)).Times(1).WillOnce(Invoke(ret)); in TEST() 365 EXPECT_CALL(*mockDevice, getNumberOfCacheFilesNeeded(_)) in TEST() 380 EXPECT_CALL(*mockDevice, getNumberOfCacheFilesNeeded(_)) in TEST() 517 EXPECT_CALL(*mockDevice, getNumberOfCacheFilesNeeded(_)).Times(1); in TEST() 529 EXPECT_EQ(device->getNumberOfCacheFilesNeeded(), device->getNumberOfCacheFilesNeeded()); in TEST()
|
D | MockDevice.h | 64 MOCK_METHOD(Return<void>, getNumberOfCacheFilesNeeded, (getNumberOfCacheFilesNeeded_cb cb),
|
/hardware/interfaces/neuralnetworks/utils/common/test/ |
D | MockDevice.h | 34 MOCK_METHOD((std::pair<uint32_t, uint32_t>), getNumberOfCacheFilesNeeded, (),
|
D | ResilientDeviceTest.cpp | 71 ON_CALL(*mockDevice, getNumberOfCacheFilesNeeded()) in createConfiguredMockDevice() 82 EXPECT_CALL(*mockDevice, getNumberOfCacheFilesNeeded()).Times(testing::AnyNumber()); in createConfiguredMockDevice() 168 TEST(ResilientDeviceTest, getNumberOfCacheFilesNeeded) { in TEST() argument 171 EXPECT_CALL(*mockDevice, getNumberOfCacheFilesNeeded()) in TEST() 176 const auto numberOfCacheFilesNeeded = device->getNumberOfCacheFilesNeeded(); in TEST()
|
/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/current/android/hardware/neuralnetworks/ |
D | IDevice.aidl | 39 android.hardware.neuralnetworks.NumberOfCacheFiles getNumberOfCacheFilesNeeded(); in getNumberOfCacheFilesNeeded() method
|
/hardware/interfaces/neuralnetworks/utils/common/src/ |
D | ResilientDevice.cpp | 130 kCapabilities, mDevice->getNumberOfCacheFilesNeeded()); in recover() 162 std::pair<uint32_t, uint32_t> ResilientDevice::getNumberOfCacheFilesNeeded() const { in getNumberOfCacheFilesNeeded() function in android::hardware::neuralnetworks::utils::ResilientDevice 163 return getDevice()->getNumberOfCacheFilesNeeded(); in getNumberOfCacheFilesNeeded()
|
D | InvalidDevice.cpp | 70 std::pair<uint32_t, uint32_t> InvalidDevice::getNumberOfCacheFilesNeeded() const { in getNumberOfCacheFilesNeeded() function in android::hardware::neuralnetworks::utils::InvalidDevice
|
/hardware/interfaces/neuralnetworks/aidl/android/hardware/neuralnetworks/ |
D | IDevice.aidl | 160 NumberOfCacheFiles getNumberOfCacheFilesNeeded(); in getNumberOfCacheFilesNeeded() method
|
/hardware/interfaces/neuralnetworks/aidl/utils/include/nnapi/hal/aidl/ |
D | InvalidDevice.h | 44 ndk::ScopedAStatus getNumberOfCacheFilesNeeded(NumberOfCacheFiles* numberOfCacheFiles) override;
|
D | Device.h | 59 std::pair<uint32_t, uint32_t> getNumberOfCacheFilesNeeded() const override;
|
/hardware/interfaces/neuralnetworks/1.2/vts/functional/ |
D | BasicTests.cpp | 120 TEST_P(NeuralnetworksHidlTest, getNumberOfCacheFilesNeeded) { in TEST_P() argument 121 Return<void> ret = kDevice->getNumberOfCacheFilesNeeded( in TEST_P()
|
/hardware/interfaces/neuralnetworks/1.1/utils/include/nnapi/hal/1.1/ |
D | Device.h | 57 std::pair<uint32_t, uint32_t> getNumberOfCacheFilesNeeded() const override;
|
/hardware/interfaces/neuralnetworks/1.0/utils/include/nnapi/hal/1.0/ |
D | Device.h | 57 std::pair<uint32_t, uint32_t> getNumberOfCacheFilesNeeded() const override;
|
/hardware/interfaces/neuralnetworks/utils/common/include/nnapi/hal/ |
D | InvalidDevice.h | 45 std::pair<uint32_t, uint32_t> getNumberOfCacheFilesNeeded() const override;
|
D | ResilientDevice.h | 58 std::pair<uint32_t, uint32_t> getNumberOfCacheFilesNeeded() const override;
|
/hardware/interfaces/neuralnetworks/1.3/utils/include/nnapi/hal/1.3/ |
D | Device.h | 59 std::pair<uint32_t, uint32_t> getNumberOfCacheFilesNeeded() const override;
|
/hardware/interfaces/neuralnetworks/1.2/ |
D | IDevice.hal | 143 * getNumberOfCacheFilesNeeded returns how many of each type of cache files the driver 164 getNumberOfCacheFilesNeeded() 182 * refer to getNumberOfCacheFilesNeeded. 237 * or match the numModelCache returned from getNumberOfCacheFilesNeeded. The cache 243 * or match the numDataCache returned from getNumberOfCacheFilesNeeded. The cache 279 * refer to getNumberOfCacheFilesNeeded. 322 * the vector must match the numModelCache returned from getNumberOfCacheFilesNeeded. 326 * must match the numDataCache returned from getNumberOfCacheFilesNeeded.
|
/hardware/interfaces/neuralnetworks/utils/adapter/include/nnapi/hal/ |
D | Device.h | 61 Return<void> getNumberOfCacheFilesNeeded(getNumberOfCacheFilesNeeded_cb cb) override;
|
/hardware/interfaces/neuralnetworks/1.2/utils/src/ |
D | Device.cpp | 142 const auto ret = device->getNumberOfCacheFilesNeeded(cb); in getNumberOfCacheFilesNeededFrom() 210 std::pair<uint32_t, uint32_t> Device::getNumberOfCacheFilesNeeded() const { in getNumberOfCacheFilesNeeded() function in android::hardware::neuralnetworks::V1_2::utils::Device
|
/hardware/interfaces/neuralnetworks/1.2/utils/include/nnapi/hal/1.2/ |
D | Device.h | 76 std::pair<uint32_t, uint32_t> getNumberOfCacheFilesNeeded() const override;
|
/hardware/interfaces/neuralnetworks/aidl/utils/src/ |
D | Device.cpp | 104 const auto ret = device->getNumberOfCacheFilesNeeded(&numberOfCacheFiles); in getNumberOfCacheFilesNeededFrom() 189 std::pair<uint32_t, uint32_t> Device::getNumberOfCacheFilesNeeded() const { in getNumberOfCacheFilesNeeded() function in aidl::android::hardware::neuralnetworks::utils::Device
|