Add error type for foreign function interface

This CL adds a new error type for failures related to foreign function
interface. Previously, the errors are either BadParameters or Unknown,
which provides little information for locating the cause of the issue.

Test: atest com.google.android.uwb
Bug: None
Change-Id: Id32d033d280d92fe32a335d96eea109a607a02b2
1 file changed