HomeSort by relevance Sort by last modified time
    Searched refs:CalendarCache (Results 1 - 22 of 22) sorted by null

  /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 37 import android.provider.CalendarContract.CalendarCache;
228 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 U_NAMESPACE_QUALIFIER CalendarCache *gChineseCalendarWinterSolsticeCache = NULL;
54 static U_NAMESPACE_QUALIFIER CalendarCache *gChineseCalendarNewYearCache = NULL;
468 int32_t cacheValue = CalendarCache::get(&gChineseCalendarWinterSolsticeCache, gyear, status);
488 CalendarCache::put(&gChineseCalendarWinterSolsticeCache, gyear, cacheValue, status);
696 int32_t cacheValue = CalendarCache::get(&gChineseCalendarNewYearCache, gyear, status);
713 CalendarCache::put(&gChineseCalendarNewYearCache, gyear, cacheValue, status);
hebrwcal.cpp 134 static U_NAMESPACE_QUALIFIER CalendarCache *gCache = NULL;
390 int32_t day = CalendarCache::get(&gCache, year, status);
418 CalendarCache::put(&gCache, year, day, status);
islamcal.cpp 55 static U_NAMESPACE_QUALIFIER CalendarCache *gMonthCache = NULL;
230 int32_t start = CalendarCache::get(&gMonthCache, month, status);
264 CalendarCache::put(&gMonthCache, month, start, status);
  /packages/providers/CalendarProvider/src/com/android/providers/calendar/
CalendarDatabaseHelper.java 130 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 145 CalendarCache mCalendarCache;
494 mCalendarCache = new CalendarCache(mDbHelper);
572 if (timezoneType != null && timezoneType.equals(CalendarCache.TIMEZONE_TYPE_HOME)) {
680 } catch (CalendarCache.CacheException e) {
712 return type.equals(CalendarCache.TIMEZONE_TYPE_HOME);
    [all...]
CalendarAlarmManager.java 362 CalendarCache.TIMEZONE_TYPE_HOME);
CalendarInstancesHelper.java 63 private CalendarCache mCalendarCache;
134 mCalendarCache = new CalendarCache(mDbHelper);
    [all...]
  /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...]
  /external/icu4c/common/unicode/
urename.h     [all...]
  /cts/tests/tests/provider/src/android/provider/cts/
CalendarTest.java     [all...]
  /prebuilt/sdk/14/
android.jar 

Completed in 1340 milliseconds