Home
last modified time | relevance | path

Searched refs:getNumberOfCacheFilesNeeded (Results 1 – 25 of 35) sorted by relevance

12

/hardware/interfaces/neuralnetworks/aidl/utils/test/
DDeviceTest.cpp78 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 …]
DMockDevice.h38 MOCK_METHOD(ndk::ScopedAStatus, getNumberOfCacheFilesNeeded,
/hardware/interfaces/neuralnetworks/1.2/utils/test/
DDeviceTest.cpp87 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()
DMockDevice.h64 MOCK_METHOD(Return<void>, getNumberOfCacheFilesNeeded, (getNumberOfCacheFilesNeeded_cb cb),
/hardware/interfaces/neuralnetworks/1.3/utils/test/
DDeviceTest.cpp90 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()
DMockDevice.h64 MOCK_METHOD(Return<void>, getNumberOfCacheFilesNeeded, (getNumberOfCacheFilesNeeded_cb cb),
/hardware/interfaces/neuralnetworks/utils/common/test/
DMockDevice.h34 MOCK_METHOD((std::pair<uint32_t, uint32_t>), getNumberOfCacheFilesNeeded, (),
DResilientDeviceTest.cpp71 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/
DIDevice.aidl39 android.hardware.neuralnetworks.NumberOfCacheFiles getNumberOfCacheFilesNeeded(); in getNumberOfCacheFilesNeeded() method
/hardware/interfaces/neuralnetworks/utils/common/src/
DResilientDevice.cpp130 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()
DInvalidDevice.cpp70 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/
DIDevice.aidl160 NumberOfCacheFiles getNumberOfCacheFilesNeeded(); in getNumberOfCacheFilesNeeded() method
/hardware/interfaces/neuralnetworks/aidl/utils/include/nnapi/hal/aidl/
DInvalidDevice.h44 ndk::ScopedAStatus getNumberOfCacheFilesNeeded(NumberOfCacheFiles* numberOfCacheFiles) override;
DDevice.h59 std::pair<uint32_t, uint32_t> getNumberOfCacheFilesNeeded() const override;
/hardware/interfaces/neuralnetworks/1.2/vts/functional/
DBasicTests.cpp120 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/
DDevice.h57 std::pair<uint32_t, uint32_t> getNumberOfCacheFilesNeeded() const override;
/hardware/interfaces/neuralnetworks/1.0/utils/include/nnapi/hal/1.0/
DDevice.h57 std::pair<uint32_t, uint32_t> getNumberOfCacheFilesNeeded() const override;
/hardware/interfaces/neuralnetworks/utils/common/include/nnapi/hal/
DInvalidDevice.h45 std::pair<uint32_t, uint32_t> getNumberOfCacheFilesNeeded() const override;
DResilientDevice.h58 std::pair<uint32_t, uint32_t> getNumberOfCacheFilesNeeded() const override;
/hardware/interfaces/neuralnetworks/1.3/utils/include/nnapi/hal/1.3/
DDevice.h59 std::pair<uint32_t, uint32_t> getNumberOfCacheFilesNeeded() const override;
/hardware/interfaces/neuralnetworks/1.2/
DIDevice.hal143 * 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/
DDevice.h61 Return<void> getNumberOfCacheFilesNeeded(getNumberOfCacheFilesNeeded_cb cb) override;
/hardware/interfaces/neuralnetworks/1.2/utils/src/
DDevice.cpp142 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/
DDevice.h76 std::pair<uint32_t, uint32_t> getNumberOfCacheFilesNeeded() const override;
/hardware/interfaces/neuralnetworks/aidl/utils/src/
DDevice.cpp104 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

12