/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 | 26 import android.provider.CalendarContract.CalendarCache; 50 private static final String[] TIMEZONE_TYPE_ARGS = { CalendarCache.KEY_TIMEZONE_TYPE }; 52 { CalendarCache.KEY_TIMEZONE_INSTANCES }; 54 CalendarCache.KEY, CalendarCache.VALUE 104 int keyColumn = cursor.getColumnIndexOrThrow(CalendarCache.KEY); 105 int valueColumn = cursor.getColumnIndexOrThrow(CalendarCache.VALUE); 109 if (TextUtils.equals(key, CalendarCache.KEY_TIMEZONE_TYPE)) { 111 value, CalendarCache.TIMEZONE_TYPE_AUTO); 117 key, CalendarCache.KEY_TIMEZONE_INSTANCES_PREVIOUS)) [all...] |
GeneralPreferences.java | 43 import android.provider.CalendarContract.CalendarCache; 311 tz = CalendarCache.TIMEZONE_TYPE_AUTO;
|
/external/icu/icu4c/source/i18n/ |
astro.h | 739 class CalendarCache : public UMemory { 741 static int32_t get(CalendarCache** cache, int32_t key, UErrorCode &status); 742 static void put(CalendarCache** cache, int32_t key, int32_t value, UErrorCode &status); 743 virtual ~CalendarCache(); 745 CalendarCache(int32_t size, UErrorCode& status); 746 static void createCache(CalendarCache** cache, UErrorCode& status); 750 CalendarCache();
|
astro.cpp | [all...] |
chnsecal.cpp | 57 // Lazy Creation & Access synchronized by class CalendarCache with a mutex. 58 static icu::CalendarCache *gChineseCalendarWinterSolsticeCache = NULL; 59 static icu::CalendarCache *gChineseCalendarNewYearCache = NULL; 529 int32_t cacheValue = CalendarCache::get(&gChineseCalendarWinterSolsticeCache, gyear, status); 549 CalendarCache::put(&gChineseCalendarWinterSolsticeCache, gyear, cacheValue, status); 761 int32_t cacheValue = CalendarCache::get(&gChineseCalendarNewYearCache, gyear, status); 778 CalendarCache::put(&gChineseCalendarNewYearCache, gyear, cacheValue, status);
|
hebrwcal.cpp | 137 static icu::CalendarCache *gCache = NULL; 393 int32_t day = CalendarCache::get(&gCache, year, status); 421 CalendarCache::put(&gCache, year, day, status);
|
islamcal.cpp | 58 static icu::CalendarCache *gMonthCache = NULL; 420 int32_t start = CalendarCache::get(&gMonthCache, month, status); 454 CalendarCache::put(&gMonthCache, month, start, status); [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
CalendarCache.java | 16 public class CalendarCache 21 public CalendarCache() {
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
CalendarCache.java | 14 public class CalendarCache 19 public CalendarCache() {
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
ChineseCalendar.java | 18 import android.icu.impl.CalendarCache; 127 private transient CalendarCache winterSolsticeCache = new CalendarCache(); 133 private transient CalendarCache newYearCache = new CalendarCache(); 685 if (cacheValue == CalendarCache.EMPTY) { [all...] |
HebrewCalendar.java | 14 import android.icu.impl.CalendarCache; 259 private static CalendarCache cache = new CalendarCache(); 586 if (day == CalendarCache.EMPTY) { [all...] |
IslamicCalendar.java | 17 import android.icu.impl.CalendarCache; [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
ChineseCalendar.java | 17 import com.ibm.icu.impl.CalendarCache; 127 private transient CalendarCache winterSolsticeCache = new CalendarCache(); 133 private transient CalendarCache newYearCache = new CalendarCache(); 703 if (cacheValue == CalendarCache.EMPTY) { [all...] |
HebrewCalendar.java | 13 import com.ibm.icu.impl.CalendarCache; 272 private static CalendarCache cache = new CalendarCache(); 610 if (day == CalendarCache.EMPTY) { [all...] |
IslamicCalendar.java | 16 import com.ibm.icu.impl.CalendarCache; [all...] |
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
CalendarDatabaseHelper.java | 151 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 | 179 CalendarCache mCalendarCache; 523 mCalendarCache = new CalendarCache(mDbHelper); 608 if (timezoneType != null && timezoneType.equals(CalendarCache.TIMEZONE_TYPE_HOME)) { 716 } catch (CalendarCache.CacheException e) { 748 return CalendarCache.TIMEZONE_TYPE_HOME.equals(type); [all...] |
CalendarAlarmManager.java | 371 boolean isHomeTimezone = CalendarCache.TIMEZONE_TYPE_HOME.equals(timezoneType);
|
CalendarInstancesHelper.java | 63 private final CalendarCache mCalendarCache; 133 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...] |
/cts/tests/tests/provider/src/android/provider/cts/ |
CalendarTest.java | [all...] |