public static int findAbiScore ( String [ ] supportedAbis , String abi ) { for ( int i = 0 ; i < supportedAbis . length ; ++ i ) { if ( supportedAbis [ i ] != null && abi . equals ( supportedAbis [ i ] ) ) { return i ; } } return - 1 ; }
Determine how preferred a given ABI is on this system .