Loading api/removed.txt +0 −4 Original line number Diff line number Diff line Loading @@ -61,10 +61,6 @@ package android.app.slice { package android.app.usage { public final class StorageStats implements android.os.Parcelable { method @Deprecated public long getCodeBytes(); } public class StorageStatsManager { method @Deprecated public long getFreeBytes(String) throws java.io.IOException; method @Deprecated public long getTotalBytes(String) throws java.io.IOException; Loading core/java/android/app/usage/StorageStats.java +0 −6 Original line number Diff line number Diff line Loading @@ -46,12 +46,6 @@ public final class StorageStats implements Parcelable { return codeBytes; } /** @removed */ @Deprecated public long getCodeBytes() { return getAppBytes(); } /** * Return the size of all data. This includes files stored under * {@link Context#getDataDir()}, {@link Context#getCacheDir()}, Loading non-updatable-api/removed.txt +0 −4 Original line number Diff line number Diff line Loading @@ -61,10 +61,6 @@ package android.app.slice { package android.app.usage { public final class StorageStats implements android.os.Parcelable { method @Deprecated public long getCodeBytes(); } public class StorageStatsManager { method @Deprecated public long getFreeBytes(String) throws java.io.IOException; method @Deprecated public long getTotalBytes(String) throws java.io.IOException; Loading packages/SettingsLib/src/com/android/settingslib/applications/ApplicationsState.java +2 −2 Original line number Diff line number Diff line Loading @@ -532,7 +532,7 @@ public class ApplicationsState { mStats.getCacheQuotaBytes( entry.info.storageUuid.toString(), entry.info.uid); final PackageStats legacy = new PackageStats(packageName, userId); legacy.codeSize = stats.getCodeBytes(); legacy.codeSize = stats.getAppBytes(); legacy.dataSize = stats.getDataBytes(); legacy.cacheSize = Math.min(stats.getCacheBytes(), cacheQuota); try { Loading Loading @@ -1300,7 +1300,7 @@ public class ApplicationsState { final PackageStats legacy = new PackageStats( mCurComputingSizePkg, mCurComputingSizeUserId); legacy.codeSize = stats.getCodeBytes(); legacy.codeSize = stats.getAppBytes(); legacy.dataSize = stats.getDataBytes(); legacy.cacheSize = stats.getCacheBytes(); try { Loading packages/SettingsLib/src/com/android/settingslib/applications/StorageStatsSource.java +1 −1 Original line number Diff line number Diff line Loading @@ -120,7 +120,7 @@ public class StorageStatsSource { } public long getCodeBytes() { return mStats.getCodeBytes(); return mStats.getAppBytes(); } public long getDataBytes() { Loading Loading
api/removed.txt +0 −4 Original line number Diff line number Diff line Loading @@ -61,10 +61,6 @@ package android.app.slice { package android.app.usage { public final class StorageStats implements android.os.Parcelable { method @Deprecated public long getCodeBytes(); } public class StorageStatsManager { method @Deprecated public long getFreeBytes(String) throws java.io.IOException; method @Deprecated public long getTotalBytes(String) throws java.io.IOException; Loading
core/java/android/app/usage/StorageStats.java +0 −6 Original line number Diff line number Diff line Loading @@ -46,12 +46,6 @@ public final class StorageStats implements Parcelable { return codeBytes; } /** @removed */ @Deprecated public long getCodeBytes() { return getAppBytes(); } /** * Return the size of all data. This includes files stored under * {@link Context#getDataDir()}, {@link Context#getCacheDir()}, Loading
non-updatable-api/removed.txt +0 −4 Original line number Diff line number Diff line Loading @@ -61,10 +61,6 @@ package android.app.slice { package android.app.usage { public final class StorageStats implements android.os.Parcelable { method @Deprecated public long getCodeBytes(); } public class StorageStatsManager { method @Deprecated public long getFreeBytes(String) throws java.io.IOException; method @Deprecated public long getTotalBytes(String) throws java.io.IOException; Loading
packages/SettingsLib/src/com/android/settingslib/applications/ApplicationsState.java +2 −2 Original line number Diff line number Diff line Loading @@ -532,7 +532,7 @@ public class ApplicationsState { mStats.getCacheQuotaBytes( entry.info.storageUuid.toString(), entry.info.uid); final PackageStats legacy = new PackageStats(packageName, userId); legacy.codeSize = stats.getCodeBytes(); legacy.codeSize = stats.getAppBytes(); legacy.dataSize = stats.getDataBytes(); legacy.cacheSize = Math.min(stats.getCacheBytes(), cacheQuota); try { Loading Loading @@ -1300,7 +1300,7 @@ public class ApplicationsState { final PackageStats legacy = new PackageStats( mCurComputingSizePkg, mCurComputingSizeUserId); legacy.codeSize = stats.getCodeBytes(); legacy.codeSize = stats.getAppBytes(); legacy.dataSize = stats.getDataBytes(); legacy.cacheSize = stats.getCacheBytes(); try { Loading
packages/SettingsLib/src/com/android/settingslib/applications/StorageStatsSource.java +1 −1 Original line number Diff line number Diff line Loading @@ -120,7 +120,7 @@ public class StorageStatsSource { } public long getCodeBytes() { return mStats.getCodeBytes(); return mStats.getAppBytes(); } public long getDataBytes() { Loading