Home
last modified time | relevance | path

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

/packages/modules/NeuralNetworks/runtime/include/
DNeuralNetworks.h1729 ANeuralNetworksEvent** event) __NNAPI_INTRODUCED_IN(27);
1854 int ANeuralNetworksEvent_wait(ANeuralNetworksEvent* event) __NNAPI_INTRODUCED_IN(27);
1866 void ANeuralNetworksEvent_free(ANeuralNetworksEvent* event) __NNAPI_INTRODUCED_IN(27);
1881 int ANeuralNetworksEvent_createFromSyncFenceFd(int sync_fence_fd, ANeuralNetworksEvent** event)
1905 int ANeuralNetworksEvent_getSyncFenceFd(const ANeuralNetworksEvent* event, int* sync_fence_fd)
1985 ANeuralNetworksExecution* execution, const ANeuralNetworksEvent* const* dependencies,
1986 uint32_t num_dependencies, uint64_t duration, ANeuralNetworksEvent** event)
DNeuralNetworksWrapper.h421 void set(ANeuralNetworksEvent* newEvent) {
429 ANeuralNetworksEvent* getHandle() const { return mEvent; }
445 ANeuralNetworksEvent* mEvent = nullptr;
662 ANeuralNetworksEvent* ev = nullptr;
671 std::vector<const ANeuralNetworksEvent*> deps(dependencies.size());
674 ANeuralNetworksEvent* ev = nullptr;
DNeuralNetworksTypes.h6318 typedef struct ANeuralNetworksEvent ANeuralNetworksEvent; typedef
/packages/modules/NeuralNetworks/shim_and_sl/public/
DNeuralNetworksSupportLibraryImpl.h485 ANeuralNetworksEvent** event);
493 void (*ANeuralNetworksEvent_free)(ANeuralNetworksEvent* event);
501 int (*ANeuralNetworksEvent_getSyncFenceFd)(const ANeuralNetworksEvent* event,
510 int (*ANeuralNetworksEvent_wait)(ANeuralNetworksEvent* event);
668 ANeuralNetworksExecution* execution, const ANeuralNetworksEvent* const* dependencies,
669 uint32_t num_dependencies, uint64_t duration, ANeuralNetworksEvent** event);
/packages/modules/NeuralNetworks/runtime/test/
DTestTrivialModel.cpp173 ANeuralNetworksEvent* eventBufferUnlock; in testAddTwoWithHardwareBufferInput()
174 ANeuralNetworksEvent* eventToSignal; in testAddTwoWithHardwareBufferInput()
244 ANeuralNetworksEvent* event1; in TEST_F()
255 ANeuralNetworksEvent* event2; in TEST_F()
DTestNeuralNetworksWrapper.h456 ANeuralNetworksEvent* ev = nullptr; in startCompute()
464 std::vector<const ANeuralNetworksEvent*> deps(dependencies.size()); in startComputeWithDependencies()
467 ANeuralNetworksEvent* ev = nullptr; in startComputeWithDependencies()
495 ANeuralNetworksEvent* event = nullptr;
520 ANeuralNetworksEvent* event = nullptr;
DTestValidation.cpp1360 ANeuralNetworksEvent* event; in TEST_F()
1380 ANeuralNetworksEvent* event; in TEST_F()
1390 ANeuralNetworksEvent* event; in TEST_F()
1416 ANeuralNetworksEvent* event; in TEST_F()
1446 ANeuralNetworksEvent* event; in testConcurrentExecution()
1467 ANeuralNetworksEvent* event; in testConcurrentExecution()
2247 ANeuralNetworksEvent* event; in TEST_F()
2262 ANeuralNetworksEvent* event; in TEST_F()
2289 ANeuralNetworksEvent* event = nullptr; in TEST_F()
2315 ANeuralNetworksEvent* event1 = nullptr; in TEST_F()
[all …]
DTestIntrospectionControl.cpp200 ANeuralNetworksEvent* mEvent = nullptr;
/packages/modules/NeuralNetworks/runtime/
DNeuralNetworks.cpp1370 ANeuralNetworksEvent** event) { in ANeuralNetworksExecution_startCompute()
1393 *event = reinterpret_cast<ANeuralNetworksEvent*>(e.release()); in ANeuralNetworksExecution_startCompute()
1408 int ANeuralNetworksEvent_wait(ANeuralNetworksEvent* event) { in ANeuralNetworksEvent_wait()
1419 void ANeuralNetworksEvent_free(ANeuralNetworksEvent* event) { in ANeuralNetworksEvent_free()
1504 int ANeuralNetworksEvent_createFromSyncFenceFd(int syncFenceFd, ANeuralNetworksEvent** event) { in ANeuralNetworksEvent_createFromSyncFenceFd()
1517 *event = reinterpret_cast<ANeuralNetworksEvent*>(e.release()); in ANeuralNetworksEvent_createFromSyncFenceFd()
1521 int ANeuralNetworksEvent_getSyncFenceFd(const ANeuralNetworksEvent* event, int* syncFenceFd) { in ANeuralNetworksEvent_getSyncFenceFd()
1543 ANeuralNetworksExecution* execution, const ANeuralNetworksEvent* const* dependencies, in ANeuralNetworksExecution_startComputeWithDependencies()
1544 uint32_t numOfDependencies, uint64_t duration, ANeuralNetworksEvent** event) { in ANeuralNetworksExecution_startComputeWithDependencies()
1603 *event = reinterpret_cast<ANeuralNetworksEvent*>(e.release()); in ANeuralNetworksExecution_startComputeWithDependencies()
/packages/modules/NeuralNetworks/shim_and_sl/
DShimPreparedModel.cpp231 std::vector<const ANeuralNetworksEvent*> deps(waitFor.size()); in executeFenced()
235 ANeuralNetworksEvent* r = nullptr; in executeFenced()
246 mNnapi->ANeuralNetworksEvent_free(const_cast<ANeuralNetworksEvent*>(dep)); in executeFenced()
/packages/modules/NeuralNetworks/shim_and_sl/include/
DSupportLibraryWrapper.h610 ANeuralNetworksEvent* event = nullptr;
625 Result startComputeWithDependencies(const std::vector<const ANeuralNetworksEvent*>& deps, in startComputeWithDependencies()
627 ANeuralNetworksEvent* ev = nullptr; in startComputeWithDependencies()
/packages/modules/NeuralNetworks/tools/api/
DNeuralNetworksTypes.t669 * ANeuralNetworksEvent is an opaque type that represents an event
674 typedef struct ANeuralNetworksEvent ANeuralNetworksEvent;