Home
last modified time | relevance | path

Searched refs:setWord (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Exchange/exchange2/src/com/android/exchange/utility/
DCalendarUtilities.java214 static void setWord(byte[] bytes, int offset, int value) { in setWord() method in CalendarUtilities
239 setWord(bytes, offset + MSFT_SYSTEMTIME_MONTH, rrule.month); in putRuleIntoTimeZoneInformation()
241 setWord(bytes, offset + MSFT_SYSTEMTIME_DAY_OF_WEEK, rrule.dayOfWeek - 1); in putRuleIntoTimeZoneInformation()
243 setWord(bytes, offset + MSFT_SYSTEMTIME_DAY, rrule.week < 0 ? 5 : rrule.week); in putRuleIntoTimeZoneInformation()
245 setWord(bytes, offset + MSFT_SYSTEMTIME_HOUR, hour); in putRuleIntoTimeZoneInformation()
246 setWord(bytes, offset + MSFT_SYSTEMTIME_MINUTE, minute); in putRuleIntoTimeZoneInformation()
256 setWord(bytes, offset + MSFT_SYSTEMTIME_MONTH, cal.get(Calendar.MONTH) + 1); in putTransitionMillisIntoSystemTime()
258 setWord(bytes, offset + MSFT_SYSTEMTIME_DAY_OF_WEEK, cal.get(Calendar.DAY_OF_WEEK) - 1); in putTransitionMillisIntoSystemTime()
263 setWord(bytes, offset + MSFT_SYSTEMTIME_DAY, wom < 0 ? 5 : wom); in putTransitionMillisIntoSystemTime()
266 setWord(bytes, offset + MSFT_SYSTEMTIME_HOUR, getTrueTransitionHour(cal)); in putTransitionMillisIntoSystemTime()
[all …]
/packages/apps/Exchange/tests/src/com/android/exchange/utility/
DCalendarUtilitiesTests.java125 CalendarUtilities.setWord(bytes, 0, 0xDEAD); in testGetSet()
127 CalendarUtilities.setWord(bytes, 6, 0xCEDE); in testGetSet()
/packages/apps/Exchange/exchange2/tests/src/com/android/exchange/utility/
DCalendarUtilitiesTests.java125 CalendarUtilities.setWord(bytes, 0, 0xDEAD); in testGetSet()
127 CalendarUtilities.setWord(bytes, 6, 0xCEDE); in testGetSet()