Lines Matching refs:syncFenceFd
1479 int ANeuralNetworksEvent_createFromSyncFenceFd(int syncFenceFd, ANeuralNetworksEvent** event) { in ANeuralNetworksEvent_createFromSyncFenceFd() argument
1484 if (syncFenceFd <= 0) { in ANeuralNetworksEvent_createFromSyncFenceFd()
1486 << syncFenceFd; in ANeuralNetworksEvent_createFromSyncFenceFd()
1490 std::unique_ptr<SyncFenceEvent> e = std::make_unique<SyncFenceEvent>(syncFenceFd, nullptr); in ANeuralNetworksEvent_createFromSyncFenceFd()
1495 int ANeuralNetworksEvent_getSyncFenceFd(const ANeuralNetworksEvent* event, int* syncFenceFd) { in ANeuralNetworksEvent_getSyncFenceFd() argument
1496 if (syncFenceFd == nullptr) { in ANeuralNetworksEvent_getSyncFenceFd()
1500 *syncFenceFd = -1; in ANeuralNetworksEvent_getSyncFenceFd()
1507 *syncFenceFd = e->getSyncFenceFd(/*shouldDup*/ true); in ANeuralNetworksEvent_getSyncFenceFd()
1508 if (*syncFenceFd <= 0) { in ANeuralNetworksEvent_getSyncFenceFd()
1510 *syncFenceFd = -1; in ANeuralNetworksEvent_getSyncFenceFd()
1539 int syncFenceFd = e->getSyncFenceFd(/*should_dup*/ false); in ANeuralNetworksExecution_startComputeWithDependencies() local
1540 if (syncFenceFd < 0) { in ANeuralNetworksExecution_startComputeWithDependencies()
1543 waitForList.push_back(syncFenceFd); in ANeuralNetworksExecution_startComputeWithDependencies()