protected String doMountObb_noThrow(String obbFilePath,String key,int expectedState){
  Log.i(LOG_TAG,"doMountObb() on " + obbFilePath + " using key: "+ key);
  assertTrue("Null path was passed in for OBB file!",obbFilePath != null);
  assertTrue("Null path was passed in for OBB file!",obbFilePath != null);
  ObbListener obbListener=new ObbListener();
  boolean success=mSm.mountObb(obbFilePath,key,obbListener);
  success&=obbFilePath.equals(doWaitForObbStateChange(obbListener));
  success&=(expectedState == obbListener.state());
  if (OnObbStateChangeListener.MOUNTED == expectedState) {
    success&=obbFilePath.equals(obbListener.officialPath());
    success&=mSm.isObbMounted(obbListener.officialPath());
  }
 else {
    success&=!mSm.isObbMounted(obbListener.officialPath());
  }
  if (success) {
    return obbListener.officialPath();
  }
 else {
    return null;
  }
}

protected String doMountObb_noThrow ( String obbFilePath , String key , int expectedState ) { Log . i ( LOG_TAG , "doMountObb() on " + obbFilePath + " using key: " + key ) ; assertTrue ( "Null path was passed in for OBB file!" , obbFilePath != null ) ; assertTrue ( "Null path was passed in for OBB file!" , obbFilePath != null ) ; ObbListener obbListener = new ObbListener ( ) ; boolean success = mSm . mountObb ( obbFilePath , key , obbListener ) ; success &= obbFilePath . equals ( doWaitForObbStateChange ( obbListener ) ) ; success &= ( expectedState == obbListener . state ( ) ) ; if ( OnObbStateChangeListener . MOUNTED == expectedState ) { success &= obbFilePath . equals ( obbListener . officialPath ( ) ) ; success &= mSm . isObbMounted ( obbListener . officialPath ( ) ) ; } else { success &= ! mSm . isObbMounted ( obbListener . officialPath ( ) ) ; } if ( success ) { return obbListener . officialPath ( ) ; } else { return null ; } }
synchronously waits for an obb listener to be signaled of a state change
