question: protected String doWaitForPath ( String filePath ) { String path = null ; long waitTimeMillis = 0 ; assertTrue ( "OBB " + filePath + " is not currently mounted!" , mSm . isObbMounted ( filePath ) ) ; while ( path == null ) { try { Thread . sleep ( WAIT_TIME_INCR ) ; waitTimeMillis += WAIT_TIME_INCR ; if ( waitTimeMillis > MAX_WAIT_TIME ) { fail ( "Timed out waiting to get path of OBB file " + filePath ) ; } } catch ( InterruptedException e ) { } path = mSm . getMountedObbPath ( filePath ) ; } Log . i ( LOG_TAG , "Got OBB path: " + path ) ; return path ; }
target:  Helper to synchronously wait until we can get a path for a given OBB file