/hardware/interfaces/neuralnetworks/utils/common/src/ |
D | ResilientBurst.cpp | 42 auto burst = resilientBurst.getBurst(); in protect() local 43 auto result = fn(*burst); in protect() 51 auto maybeBurst = resilientBurst.recover(burst.get()); in protect() 59 burst = std::move(maybeBurst).value(); in protect() 61 return fn(*burst); in protect() 71 auto burst = NN_TRY(makeBurst()); in create() local 72 CHECK(burst != nullptr); in create() 74 std::move(burst)); in create() 78 nn::SharedBurst burst) in ResilientBurst() argument 79 : kMakeBurst(std::move(makeBurst)), mBurst(std::move(burst)) { in ResilientBurst() [all …]
|
/hardware/interfaces/neuralnetworks/aidl/vts/functional/ |
D | ValidateRequest.cpp | 88 std::shared_ptr<IBurst> burst; in validate() local 89 auto ret = preparedModel->configureExecutionBurst(&burst); in validate() 91 ASSERT_NE(nullptr, burst.get()); in validate() 97 const auto executeStatus = burst->executeSynchronously( in validate() 107 std::shared_ptr<IBurst> burst; in createBurst() local 108 const auto ret = preparedModel->configureExecutionBurst(&burst); in createBurst() 110 return burst; in createBurst() 146 std::shared_ptr<IBurst> burst; in validateBurst() local 147 auto ret = preparedModel->configureExecutionBurst(&burst); in validateBurst() 149 ASSERT_NE(nullptr, burst.get()); in validateBurst() [all …]
|
D | QualityOfServiceTests.cpp | 190 std::shared_ptr<IBurst> burst; in executeBurst() local 191 auto ret = preparedModel->configureExecutionBurst(&burst); in executeBurst() 193 EXPECT_NE(nullptr, burst.get()); in executeBurst() 194 if (!ret.isOk() || burst.get() == nullptr) { in executeBurst() 203 ret = burst->executeSynchronously(request, slots, measure, deadlineNs, kOmittedTimeoutDuration, in executeBurst()
|
D | GeneratedTestHarness.cpp | 590 std::shared_ptr<IBurst> burst; in EvaluatePreparedModel() local 591 auto ret = preparedModel->configureExecutionBurst(&burst); in EvaluatePreparedModel() 593 ASSERT_NE(nullptr, burst.get()); in EvaluatePreparedModel() 610 ret = burst->executeSynchronously(request, slots, testConfig.measureTiming, kNoDeadline, in EvaluatePreparedModel() 627 ret = burst->releaseMemoryResource(slot); in EvaluatePreparedModel()
|
D | MemoryDomainTests.cpp | 949 std::shared_ptr<IBurst> burst; in executeBurst() local 950 auto ret = preparedModel->configureExecutionBurst(&burst); in executeBurst() 952 EXPECT_NE(nullptr, burst.get()); in executeBurst() 953 if (!ret.isOk() || burst.get() == nullptr) { in executeBurst() 961 ret = burst->executeSynchronously(request, slots, false, kNoDeadline, in executeBurst()
|
/hardware/interfaces/neuralnetworks/aidl/utils/src/ |
D | Burst.cpp | 45 std::shared_ptr<const Burst> burst, Request request, 50 BurstExecution(PrivateConstructorTag tag, std::shared_ptr<const Burst> burst, Request request, 79 Burst::MemoryCache::MemoryCache(std::shared_ptr<aidl_hal::IBurst> burst) in MemoryCache() argument 80 : kBurst(std::move(burst)) {} in MemoryCache() 153 std::shared_ptr<aidl_hal::IBurst> burst) { in create() argument 154 if (burst == nullptr) { in create() 159 return std::make_shared<const Burst>(PrivateConstructorTag{}, std::move(burst)); in create() 162 Burst::Burst(PrivateConstructorTag /*tag*/, std::shared_ptr<aidl_hal::IBurst> burst) in Burst() argument 163 : kBurst(std::move(burst)), kMemoryCache(std::make_shared<MemoryCache>(kBurst)) { in Burst() 282 std::shared_ptr<const Burst> burst, Request request, in create() argument [all …]
|
D | PreparedModel.cpp | 213 std::shared_ptr<IBurst> burst; in configureExecutionBurst() local 214 const auto ret = kPreparedModel->configureExecutionBurst(&burst); in configureExecutionBurst() 216 return Burst::create(std::move(burst)); in configureExecutionBurst()
|
/hardware/interfaces/neuralnetworks/1.2/vts/functional/ |
D | ValidateRequest.cpp | 98 std::shared_ptr<::android::nn::ExecutionBurstController> burst = in validate() local 101 ASSERT_NE(nullptr, burst.get()); in validate() 110 const auto [n, outputShapes, timing, fallback] = burst->compute(request, measure, keys); in validate() 120 burst->freeMemory(keys.front()); in validate() 123 burst->freeMemory(intptr_t{}); in validate() 126 burst->freeMemory(keys.front()); in validate()
|
/hardware/interfaces/neuralnetworks/1.3/vts/functional/ |
D | ValidateRequest.cpp | 106 std::shared_ptr<::android::nn::ExecutionBurstController> burst = in validate() local 109 ASSERT_NE(nullptr, burst.get()); in validate() 118 const auto [n, outputShapes, timing, fallback] = burst->compute(request10, measure, keys); in validate() 128 burst->freeMemory(keys.front()); in validate() 131 burst->freeMemory(intptr_t{}); in validate() 134 burst->freeMemory(keys.front()); in validate()
|
/hardware/interfaces/neuralnetworks/aidl/utils/include/nnapi/hal/aidl/ |
D | Burst.h | 56 explicit MemoryCache(std::shared_ptr<aidl_hal::IBurst> burst); 90 std::shared_ptr<aidl_hal::IBurst> burst); 92 Burst(PrivateConstructorTag tag, std::shared_ptr<aidl_hal::IBurst> burst);
|
/hardware/interfaces/neuralnetworks/1.2/ |
D | IBurstContext.hal | 20 * Context object to manage the resources of a burst. 27 * The slot ids are unique to the burst object.
|
D | IBurstCallback.hal | 28 * unique to the burst object.
|
D | IPreparedModel.hal | 198 * @return status Error status of configuring the execution burst, must be: 199 * - NONE if the burst is successfully configured
|
/hardware/interfaces/wifi/1.4/ |
D | types.hal | 294 * Applies to 1-sided and 2-sided RTT multi-burst requests. 314 * Num of frames per burst. 317 * to be attempted in a single burst. This also 353 * the FTM parameter burst duration. In a multi-burst 355 * the initiator will return failure. In a single-burst 471 * Burst number in a multi-burst request. 486 * Maximum number of "FTM frames per burst" supported by 489 * - for single-burst request initiator will truncate the 492 * - for multi-burst request, initiator will return 573 * in ms, actual time taken by the FW to finish one burst
|
/hardware/interfaces/neuralnetworks/aidl/utils/test/ |
D | MockPreparedModel.h | 42 MOCK_METHOD(ndk::ScopedAStatus, configureExecutionBurst, (std::shared_ptr<IBurst> * burst),
|
/hardware/interfaces/neuralnetworks/utils/common/include/nnapi/hal/ |
D | ResilientBurst.h | 42 ResilientBurst(PrivateConstructorTag tag, Factory makeBurst, nn::SharedBurst burst);
|
/hardware/interfaces/vibrator/1.2/ |
D | types.hal | 34 * A short, quick burst effect.
|
/hardware/interfaces/neuralnetworks/utils/adapter/src/ |
D | PreparedModel.cpp | 385 const sp<V1_2::IBurstContext> burst = nn::ExecutionBurstServer::create( in configureExecutionBurst() local 388 if (burst == nullptr) { in configureExecutionBurst() 391 cb(V1_0::ErrorStatus::NONE, burst); in configureExecutionBurst()
|
/hardware/interfaces/wifi/1.0/ |
D | types.hal | 1725 * Applies to 1-sided and 2-sided RTT multi-burst requests. 1743 * Num of frames per burst. 1746 * to be attempted in a single burst. This also 1775 * the FTM parameter burst duration. In a multi-burst 1777 * the initiator will return failure. In a single-burst 1802 * Burst number in a multi-burst request. 1814 * Maximum number of "FTM frames per burst" supported by 1817 * - for single-burst request initiator will truncate the 1820 * - for multi-burst request, initiator will return 1886 * in ms, actual time taken by the FW to finish one burst
|