Searched refs:delegateHandle (Results 1 – 5 of 5) sorted by relevance
26 private long delegateHandle; field in NnApiDelegate144 delegateHandle = in NnApiDelegate()164 return delegateHandle; in getNativeHandle()174 if (delegateHandle != INVALID_DELEGATE_HANDLE) { in close()175 deleteDelegate(delegateHandle); in close()176 delegateHandle = INVALID_DELEGATE_HANDLE; in close()193 return getNnapiErrno(delegateHandle); in getNnapiErrno()203 return getNnapiErrno(delegateHandle) != 0 /*ANEURALNETWORKS_NO_ERROR*/; in hasErrors()207 if (delegateHandle == INVALID_DELEGATE_HANDLE) { in checkNotClosed()223 private static native void deleteDelegate(long delegateHandle); in deleteDelegate() argument[all …]
27 private long delegateHandle; field in HexagonDelegate37 delegateHandle = createDelegate(); in HexagonDelegate()38 if (delegateHandle == INVALID_DELEGATE_HANDLE) { in HexagonDelegate()45 return delegateHandle; in getNativeHandle()55 if (delegateHandle != INVALID_DELEGATE_HANDLE) { in close()56 deleteDelegate(delegateHandle); in close()57 delegateHandle = INVALID_DELEGATE_HANDLE; in close()75 private static native void deleteDelegate(long delegateHandle); in deleteDelegate() argument
29 private long delegateHandle; field in FlexDelegate33 delegateHandle = nativeCreateDelegate(); in FlexDelegate()39 return delegateHandle; in getNativeHandle()50 if (delegateHandle != INVALID_DELEGATE_HANDLE) { in close()51 nativeDeleteDelegate(delegateHandle); in close()52 delegateHandle = INVALID_DELEGATE_HANDLE; in close()68 private static native void nativeDeleteDelegate(long delegateHandle); in nativeDeleteDelegate() argument
38 private long delegateHandle; field in GpuDelegate95 delegateHandle = in GpuDelegate()109 return delegateHandle; in getNativeHandle()119 if (delegateHandle != INVALID_DELEGATE_HANDLE) { in close()120 deleteDelegate(delegateHandle); in close()121 delegateHandle = INVALID_DELEGATE_HANDLE; in close()132 private static native void deleteDelegate(long delegateHandle); in deleteDelegate() argument
601 long interpreterHandle, long errorHandle, long delegateHandle); in applyDelegate() argument