From b95277e76291729ac2f2254372ae62ea88789443 Mon Sep 17 00:00:00 2001 From: Jasperln Date: Mon, 17 Aug 2009 13:29:11 -0700 Subject: [PATCH] Add constants to adjust Vending input and output buffer sizes. - Needed for Bug: 2058060 --- core/java/android/provider/Settings.java | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/core/java/android/provider/Settings.java b/core/java/android/provider/Settings.java index 9a9ddc9f39ae5..4a4d2de92dcc8 100644 --- a/core/java/android/provider/Settings.java +++ b/core/java/android/provider/Settings.java @@ -2972,6 +2972,18 @@ public final class Settings { public static final String VENDING_PENDING_DOWNLOAD_RESEND_FREQUENCY_MS = "vending_pd_resend_frequency_ms"; + /** + * Size of buffer in bytes for Vending to use when reading cache files. + */ + public static final String VENDING_DISK_INPUT_BUFFER_BYTES = + "vending_disk_input_buffer_bytes"; + + /** + * Size of buffer in bytes for Vending to use when writing cache files. + */ + public static final String VENDING_DISK_OUTPUT_BUFFER_BYTES = + "vending_disk_output_buffer_bytes"; + /** * Frequency in milliseconds at which we should cycle through the promoted applications * on the home screen or the categories page.