docs: @GuardedBy("mLock")
    private void updateFileCacheSizeLimit() {
      // Test if mCacheSizeLimit can be set to the high limit
      boolean isAvailableSpaceLowerThanHighLimit;
      StatFsHelper.StorageType storageType =
          mStorage.isExternal()
              ? StatFsHelper.StorageType.EXTERNAL
              : StatFsHelper.StorageType.INTERNAL;
      isAvailableSpaceLowerThanHighLimit =
          mStatFsHelper.testLowDiskSpace(
              storageType,
              mDefaultCacheSizeLimit - mCacheStats.getSize());
      if (isAvailableSpaceLowerThanHighLimit) {
        mCacheSizeLimit = mLowDiskSpaceCacheSizeLimit;
      } else {
        mCacheSizeLimit = mDefaultCacheSizeLimit;
      }
    }