/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/ |
CalendarCacheTest.java | 22 * Run various tests on CalendarCache 32 private CalendarCache mCalendarCache; 41 mCalendarCache = new CalendarCache(mDbHelper); 57 } catch (CalendarCache.CacheException e) { 63 public void testWriteAndReadTimezoneDatabaseVersion() throws CalendarCache.CacheException { 68 public void testWriteAndReadTimezone() throws CalendarCache.CacheException { 73 public void testWriteAndReadTimezonePrevious() throws CalendarCache.CacheException { 78 public void testWriteAndReadTimezoneType() throws CalendarCache.CacheException { 79 mCalendarCache.writeTimezoneType(CalendarCache.TIMEZONE_TYPE_AUTO); 80 assertEquals(CalendarCache.TIMEZONE_TYPE_AUTO, mCalendarCache.readTimezoneType()) [all...] |
CalendarProvider2Test.java | [all...] |
/packages/apps/Calendar/src/com/android/calendar/ |
CalendarUtils.java | 25 import android.provider.CalendarContract.CalendarCache; 49 private static final String[] TIMEZONE_TYPE_ARGS = { CalendarCache.KEY_TIMEZONE_TYPE }; 51 { CalendarCache.KEY_TIMEZONE_INSTANCES }; 53 CalendarCache.KEY, CalendarCache.VALUE 103 int keyColumn = cursor.getColumnIndexOrThrow(CalendarCache.KEY); 104 int valueColumn = cursor.getColumnIndexOrThrow(CalendarCache.VALUE); 108 if (TextUtils.equals(key, CalendarCache.KEY_TIMEZONE_TYPE)) { 110 value, CalendarCache.TIMEZONE_TYPE_AUTO); 116 key, CalendarCache.KEY_TIMEZONE_INSTANCES_PREVIOUS)) [all...] |
GeneralPreferences.java | 43 import android.provider.CalendarContract.CalendarCache; 311 tz = CalendarCache.TIMEZONE_TYPE_AUTO;
|
/external/icu4c/i18n/ |
astro.h | 737 class CalendarCache : public UMemory { 739 static int32_t get(CalendarCache** cache, int32_t key, UErrorCode &status); 740 static void put(CalendarCache** cache, int32_t key, int32_t value, UErrorCode &status); 741 virtual ~CalendarCache(); 743 CalendarCache(int32_t size, UErrorCode& status); 744 static void createCache(CalendarCache** cache, UErrorCode& status); 748 CalendarCache();
|
astro.cpp | [all...] |
chnsecal.cpp | 53 static icu::CalendarCache *gChineseCalendarWinterSolsticeCache = NULL; 54 static icu::CalendarCache *gChineseCalendarNewYearCache = NULL; 467 int32_t cacheValue = CalendarCache::get(&gChineseCalendarWinterSolsticeCache, gyear, status); 487 CalendarCache::put(&gChineseCalendarWinterSolsticeCache, gyear, cacheValue, status); 695 int32_t cacheValue = CalendarCache::get(&gChineseCalendarNewYearCache, gyear, status); 712 CalendarCache::put(&gChineseCalendarNewYearCache, gyear, cacheValue, status);
|
hebrwcal.cpp | 134 static icu::CalendarCache *gCache = NULL; 390 int32_t day = CalendarCache::get(&gCache, year, status); 418 CalendarCache::put(&gCache, year, day, status);
|
islamcal.cpp | 55 static icu::CalendarCache *gMonthCache = NULL; 233 int32_t start = CalendarCache::get(&gMonthCache, month, status); 267 CalendarCache::put(&gMonthCache, month, start, status);
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
CalendarDatabaseHelper.java | 150 public static final String CALENDAR_CACHE = "CalendarCache"; [all...] |
CalendarCache.java | 32 public class CalendarCache { 33 private static final String TAG = "CalendarCache"; 35 public static final String DATABASE_NAME = "CalendarCache"; 73 public CalendarCache(SQLiteOpenHelper openHelper) { 85 Log.e(TAG, "Could not read timezone database version from CalendarCache"); 99 Log.e(TAG, "Cannot read timezone type from CalendarCache - using AUTO as default", e); 108 Log.e(TAG, "Cannot write instances timezone to CalendarCache"); 117 Log.e(TAG, "Cannot read instances timezone from CalendarCache - using device one: " + 127 Log.e(TAG, "Cannot write previous instance timezone to CalendarCache"); 135 Log.e(TAG, "Cannot read previous instances timezone from CalendarCache", e) [all...] |
CalendarProvider2.java | 177 CalendarCache mCalendarCache; 552 mCalendarCache = new CalendarCache(mDbHelper); 637 if (timezoneType != null && timezoneType.equals(CalendarCache.TIMEZONE_TYPE_HOME)) { 745 } catch (CalendarCache.CacheException e) { 777 return type.equals(CalendarCache.TIMEZONE_TYPE_HOME); [all...] |
CalendarAlarmManager.java | 362 CalendarCache.TIMEZONE_TYPE_HOME);
|
CalendarInstancesHelper.java | 64 private CalendarCache mCalendarCache; 135 mCalendarCache = new CalendarCache(mDbHelper); [all...] |
/packages/apps/Calendar/tests/src/com/android/calendar/ |
UtilsTests.java | 27 import android.provider.CalendarContract.CalendarCache; 176 dbUtils.getContentResolver().addProvider(CalendarCache.URI.getAuthority(),
|
/frameworks/base/core/java/android/provider/ |
CalendarContract.java | [all...] |
/external/webkit/Source/JavaScriptCore/icu/unicode/ |
urename.h | [all...] |
/external/webkit/Source/JavaScriptGlue/icu/unicode/ |
urename.h | [all...] |
/external/webkit/Source/WebCore/icu/unicode/ |
urename.h | [all...] |
/external/webkit/Source/WebKit/mac/icu/unicode/ |
urename.h | [all...] |
/cts/tests/tests/provider/src/android/provider/cts/ |
CalendarTest.java | [all...] |
/prebuilts/tools/common/m2/internal/com/ibm/icu/icu4j/2.6.1/ |
icu4j-2.6.1.jar | |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/ |
com.ibm.icu_4.2.1.v20100412.jar | |
/prebuilts/sdk/14/ |
android.jar | |
/prebuilts/sdk/15/ |
android.jar | |