re calculate the stats . it is the callers responsibility to ensure thread-safety . assumes that it is called after initialization or at the end of it . concode_field_sep File mInternalPath concode_elem_sep StatFsHelper sStatsFsHelper concode_elem_sep StatFs mExternalStatFs concode_elem_sep long RESTAT_INTERVAL_MS concode_elem_sep StatFs mInternalStatFs concode_elem_sep Lock lock concode_elem_sep File mExternalPath concode_elem_sep boolean mInitialized concode_elem_sep long mLastRestatTime concode_field_sep void ensureInitialized concode_elem_sep boolean testLowDiskSpace concode_elem_sep long getAvailableStorageSpace concode_elem_sep StatFs updateStatsHelper concode_elem_sep void maybeUpdateStats concode_elem_sep void resetStats concode_elem_sep StatFsHelper getInstance concode_elem_sep StatFs createStatFs
void function ( ) { mInternalStatFs = updateStatsHelper ( mInternalStatFs , mInternalPath ) ; mExternalStatFs = updateStatsHelper ( mExternalStatFs , mExternalPath ) ; mLastRestatTime = SystemClock . elapsedRealtime ( ) ; }