Home
last modified time | relevance | path

Searched refs:year (Results 1 – 14 of 14) 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/keymint/hal/src/
Denv.rs48 let year = extract_u32(captures.name("year"))?; in extract_truncated_patchlevel() localVariable
54 Ok(year * 100 + month) in extract_truncated_patchlevel()
65 let year = extract_u32(captures.name("year"))?; in extract_patchlevel() localVariable
74 Ok(year * 10000 + month * 100 + day) in extract_patchlevel()
/system/keymaster/android_keymaster/
Dkeymaster_configuration.cpp90 uint32_t year = match_to_uint32(patchlevel_str, matches[kYearMatch]); in GetPatchlevel() local
105 return year * 10000 + month * 100 + day; in GetPatchlevel()
108 return year * 100 + month; in GetPatchlevel()
/system/core/fastboot/fuzzer/
DREADME.md12 1. Year (parameter name: `year`)
20 | `year` | `2000` to `2127` | Value obtained from FuzzedDataProvider|
Dfastboot_fuzzer.cpp70 int32_t year = fdp_->ConsumeIntegralInRange<int32_t>(kYearMin, kYearMax); in InvokeParseApi() local
73 string date = to_string(year) + "-" + to_string(month) + "-" + to_string(day); in InvokeParseApi()
/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/
DRELEASE_NOTES.md33 to year 2087). As they are pre-generated, the last transition is used for dates
35 standard to daylight saving time. Having DST throughout the year might break
47 for Palestine on 27 Mar 2022. In addition to this year's change, future
/system/extras/perf_tools/bats/
Dlcan.py332 year = str(today.year)
333 self.currentYear = year[-2:] # 2022/2023
/system/timezone/input_tools/android/tzlookup_generator/src/main/java/com/android/libcore/timezone/tzlookup/
DTzLookupGenerator.java631 int year = Integer.parseInt(yearString); in getYearStartForData() local
634 calendar.set(year, Calendar.JANUARY, 1, 0, 0, 0); in getYearStartForData()
/system/core/fastboot/
Dfastboot.cpp2624 unsigned year, month, day; in ParseOsPatchLevel() local
2625 if (sscanf(arg, "%u-%u-%u", &year, &month, &day) != 3) { in ParseOsPatchLevel()
2628 if (year < 2000 || year >= 2128) syntax_error("year out of range: %d", year); in ParseOsPatchLevel()
2630 hdr->SetOsPatchLevel(year, month); in ParseOsPatchLevel()
/system/memory/libion/original-kernel-headers/linux/
DLICENSE277 Copyright (C) <year> <name of author>
298 Gnomovision version 69, Copyright (C) year name of author Gnomovision comes
/system/bpfprogs/
DLICENSE277 Copyright (C) <year> <name of author>
298 Gnomovision version 69, Copyright (C) year name of author Gnomovision comes
/system/update_engine/common/
Dutils.cc822 exp_time.year, in ToString()
/system/logging/logcat/tests/
Dlogcat_test.cpp179 TEST(logcat, year) { in TEST() argument