Home
last modified time | relevance | path

Searched refs:ANeuralNetworksEvent (Results 1 – 12 of 12) sorted by relevance

/packages/modules/NeuralNetworks/runtime/include/
DNeuralNetworks.h1734 ANeuralNetworksEvent** event) __NNAPI_INTRODUCED_IN(27);
1859 int ANeuralNetworksEvent_wait(ANeuralNetworksEvent* event) __NNAPI_INTRODUCED_IN(27);
1871 void ANeuralNetworksEvent_free(ANeuralNetworksEvent* event) __NNAPI_INTRODUCED_IN(27);
1886 int ANeuralNetworksEvent_createFromSyncFenceFd(int sync_fence_fd, ANeuralNetworksEvent** event)
1910 int ANeuralNetworksEvent_getSyncFenceFd(const ANeuralNetworksEvent* event, int* sync_fence_fd)
1990 ANeuralNetworksExecution* execution, const ANeuralNetworksEvent* const* dependencies,
1991 uint32_t num_dependencies, uint64_t duration, ANeuralNetworksEvent** event)
DNeuralNetworksWrapper.h434 void set(ANeuralNetworksEvent* newEvent) {
442 ANeuralNetworksEvent* getHandle() const { return mEvent; }
458 ANeuralNetworksEvent* mEvent = nullptr;
675 ANeuralNetworksEvent* ev = nullptr;
684 std::vector<const ANeuralNetworksEvent*> deps(dependencies.size());
687 ANeuralNetworksEvent* ev = nullptr;
DNeuralNetworksTypes.h6510 typedef struct ANeuralNetworksEvent ANeuralNetworksEvent; typedef
/packages/modules/NeuralNetworks/shim_and_sl/public/
DNeuralNetworksSupportLibraryImpl.h809 ANeuralNetworksEvent** event);
817 void (*ANeuralNetworksEvent_free)(ANeuralNetworksEvent* event);
825 int (*ANeuralNetworksEvent_getSyncFenceFd)(const ANeuralNetworksEvent* event,
834 int (*ANeuralNetworksEvent_wait)(ANeuralNetworksEvent* event);
992 ANeuralNetworksExecution* execution, const ANeuralNetworksEvent* const* dependencies,
993 uint32_t num_dependencies, uint64_t duration, ANeuralNetworksEvent** event);
/packages/modules/NeuralNetworks/runtime/test/
DTestTrivialModel.cpp177 ANeuralNetworksEvent* eventBufferUnlock; in testAddTwoWithHardwareBufferInput()
178 ANeuralNetworksEvent* eventToSignal; in testAddTwoWithHardwareBufferInput()
248 ANeuralNetworksEvent* event1; in TEST_F()
259 ANeuralNetworksEvent* event2; in TEST_F()
DTestNeuralNetworksWrapper.h458 ANeuralNetworksEvent* ev = nullptr; in startCompute()
466 std::vector<const ANeuralNetworksEvent*> deps(dependencies.size()); in startComputeWithDependencies()
469 ANeuralNetworksEvent* ev = nullptr; in startComputeWithDependencies()
497 ANeuralNetworksEvent* event = nullptr;
522 ANeuralNetworksEvent* event = nullptr;
DTestValidation.cpp1387 ANeuralNetworksEvent* event; in TEST_F()
1407 ANeuralNetworksEvent* event; in TEST_F()
1417 ANeuralNetworksEvent* event; in TEST_F()
1443 ANeuralNetworksEvent* event; in TEST_F()
1473 ANeuralNetworksEvent* event; in testConcurrentExecution()
1494 ANeuralNetworksEvent* event; in testConcurrentExecution()
2308 ANeuralNetworksEvent* event; in TEST_F()
2323 ANeuralNetworksEvent* event; in TEST_F()
2350 ANeuralNetworksEvent* event = nullptr; in TEST_F()
2376 ANeuralNetworksEvent* event1 = nullptr; in TEST_F()
[all …]
DTestIntrospectionControl.cpp201 ANeuralNetworksEvent* mEvent = nullptr;
/packages/modules/NeuralNetworks/runtime/
DNeuralNetworks.cpp1398 ANeuralNetworksEvent** event) { in ANeuralNetworksExecution_startCompute()
1421 *event = reinterpret_cast<ANeuralNetworksEvent*>(e.release()); in ANeuralNetworksExecution_startCompute()
1436 int ANeuralNetworksEvent_wait(ANeuralNetworksEvent* event) { in ANeuralNetworksEvent_wait()
1447 void ANeuralNetworksEvent_free(ANeuralNetworksEvent* event) { in ANeuralNetworksEvent_free()
1558 int ANeuralNetworksEvent_createFromSyncFenceFd(int syncFenceFd, ANeuralNetworksEvent** event) { in ANeuralNetworksEvent_createFromSyncFenceFd()
1571 *event = reinterpret_cast<ANeuralNetworksEvent*>(e.release()); in ANeuralNetworksEvent_createFromSyncFenceFd()
1575 int ANeuralNetworksEvent_getSyncFenceFd(const ANeuralNetworksEvent* event, int* syncFenceFd) { in ANeuralNetworksEvent_getSyncFenceFd()
1597 ANeuralNetworksExecution* execution, const ANeuralNetworksEvent* const* dependencies, in ANeuralNetworksExecution_startComputeWithDependencies()
1598 uint32_t numOfDependencies, uint64_t duration, ANeuralNetworksEvent** event) { in ANeuralNetworksExecution_startComputeWithDependencies()
1659 *event = reinterpret_cast<ANeuralNetworksEvent*>(e.release()); in ANeuralNetworksExecution_startComputeWithDependencies()
/packages/modules/NeuralNetworks/shim_and_sl/include/
DSupportLibraryWrapper.h626 ANeuralNetworksEvent* event = nullptr;
641 Result startComputeWithDependencies(const std::vector<const ANeuralNetworksEvent*>& deps, in startComputeWithDependencies()
643 ANeuralNetworksEvent* ev = nullptr; in startComputeWithDependencies()
/packages/modules/NeuralNetworks/shim_and_sl/
DShimPreparedModel.cpp265 std::vector<const ANeuralNetworksEvent*> deps(waitFor.size()); in executeFencedInternal()
269 ANeuralNetworksEvent* r = nullptr; in executeFencedInternal()
281 nnapi->getFL5()->ANeuralNetworksEvent_free(const_cast<ANeuralNetworksEvent*>(dep)); in executeFencedInternal()
/packages/modules/NeuralNetworks/tools/api/
DNeuralNetworksTypes.t686 * ANeuralNetworksEvent is an opaque type that represents an event
691 typedef struct ANeuralNetworksEvent ANeuralNetworksEvent;