Home
last modified time | relevance | path

Searched refs:year (Results 1 – 12 of 12) sorted by relevance

/system/tools/mkbootimg/include/bootimg/
Dbootimg.h98 void SetOsPatchLevel(unsigned year, unsigned month) { in SetOsPatchLevel()
100 os_version |= (((year - 2000) & 0x7f) << 4) | ((month & 0xf) << 0); in SetOsPatchLevel()
269 void SetOsPatchLevel(unsigned year, unsigned month) { in SetOsPatchLevel()
271 os_version |= (((year - 2000) & 0x7f) << 4) | ((month & 0xf) << 0); in SetOsPatchLevel()
/system/keymaster/android_keymaster/
Dkeymaster_configuration.cpp86 uint32_t year = match_to_uint32(patchlevel_str, matches[kYearMatch]); in GetPatchlevel() local
101 return year * 10000 + month * 100 + day; in GetPatchlevel()
104 return year * 100 + month; in GetPatchlevel()
/system/update_engine/update_manager/
Dreal_time_provider_unittest.cc47 now_exp.year = 2014; in CurrTime()
Dupdate_manager_unittest.cc63 now_exp.year = 2014; in FixedTime()
Dreal_shill_provider_unittest.cc87 now_exp.year = 2014; in InitTime()
Dreal_updater_provider_unittest.cc49 now_exp.year = 2014; in FixedTime()
/system/libziparchive/
Dzip_writer.cc167 int year = ptm->tm_year; in ExtractTimeAndDate() local
168 if (year < 80) { in ExtractTimeAndDate()
169 year = 80; in ExtractTimeAndDate()
172 *out_date = static_cast<uint16_t>((year - 80) << 9 | (ptm->tm_mon + 1) << 5 | ptm->tm_mday); in ExtractTimeAndDate()
/system/timezone/input_tools/android/tzlookup_generator/src/main/java/com/android/libcore/timezone/tzlookup/
DTzLookupGenerator.java579 int year = Integer.parseInt(yearString); in getYearStartForData() local
582 calendar.set(year, Calendar.JANUARY, 1, 0, 0, 0); in getYearStartForData()
/system/bt/doc/
Dstyle_guide.md232 Each header file must begin with the following Apache 2.0 License with `<year>`
233 and `<owner>` replaced with the year in which the file was authored and the
238 * Copyright <year> <owner>
/system/core/fastboot/
Dfastboot.cpp2343 unsigned year, month, day; in ParseOsPatchLevel() local
2344 if (sscanf(arg, "%u-%u-%u", &year, &month, &day) != 3) { in ParseOsPatchLevel()
2347 if (year < 2000 || year >= 2128) syntax_error("year out of range: %d", year); in ParseOsPatchLevel()
2349 hdr->SetOsPatchLevel(year, month); in ParseOsPatchLevel()
/system/update_engine/common/
Dutils.cc767 exp_time.year, in ToString()
/system/logging/logcat/tests/
Dlogcat_test.cpp179 TEST(logcat, year) { in TEST() argument