Home
last modified time | relevance | path

Searched refs:tp (Results 1 – 9 of 9) sorted by relevance

/system/security/keystore/
Dkeystore_keymaster_enforcement.h34 struct timespec tp; in get_current_time() local
35 int err = clock_gettime(CLOCK_MONOTONIC, &tp); in get_current_time()
36 if (err || tp.tv_sec < 0) in get_current_time()
38 return static_cast<uint32_t>(tp.tv_sec); in get_current_time()
/system/keymaster/km_openssl/
Dsoft_keymaster_enforcement.cpp55 struct timespec tp; in get_current_time_ms() local
56 int err = clock_gettime(CLOCK_BOOTTIME, &tp); in get_current_time_ms()
57 if (err || tp.tv_sec < 0) return 0; in get_current_time_ms()
59 return static_cast<uint64_t>(tp.tv_sec) * 1000 + static_cast<uint64_t>(tp.tv_nsec) / 1000000; in get_current_time_ms()
/system/core/libprocessgroup/
Dprocessgroup.cpp73 const TaskProfiles& tp = TaskProfiles::GetInstance(); in CgroupGetAttributePath() local
74 const ProfileAttribute* attr = tp.GetAttribute(attr_name); in CgroupGetAttributePath()
88 const TaskProfiles& tp = TaskProfiles::GetInstance(); in CgroupGetAttributePathForTask() local
89 const ProfileAttribute* attr = tp.GetAttribute(attr_name); in CgroupGetAttributePathForTask()
116 const TaskProfiles& tp = TaskProfiles::GetInstance(); in SetProcessProfiles() local
119 TaskProfile* profile = tp.GetProfile(name); in SetProcessProfiles()
136 const TaskProfiles& tp = TaskProfiles::GetInstance(); in SetTaskProfiles() local
139 TaskProfile* profile = tp.GetProfile(name); in SetTaskProfiles()
/system/core/storaged/
Dstoraged_info.cpp154 const time_point<system_clock>& tp) in update_perf_history() argument
158 if (tp > day_start_tp && in update_perf_history()
159 duration_cast<chrono::seconds>(tp - day_start_tp).count() < DAY_TO_SEC) { in update_perf_history()
178 day_start_tp = tp - chrono::seconds(duration_cast<chrono::seconds>( in update_perf_history()
179 tp.time_since_epoch()).count() % DAY_TO_SEC); in update_perf_history()
/system/media/camera/docs/
Dmetadata_parser_xml.py129 for tp in types.find_all('typedef'):
131 for lang in tp.find_all('language'):
134 self.metadata.insert_type(tp['name'], 'typedef', languages=languages)
Dmetadata_model.py286 type_names = [tp.name for tp in self.types if tp.name == tp]
/system/core/storaged/include/
Dstoraged_info.h80 const time_point<system_clock>& tp);
/system/core/storaged/tests/
Dstoraged_test.cpp362 time_point<steady_clock> tp; in TEST() local
386 tp += hours(5); in TEST()
388 stp += duration_cast<chrono::seconds>(tp.time_since_epoch()); in TEST()
/system/core/llkd/
Dlibllkd.cpp1008 for (auto tp = taskDirectory.read(dir::task, dp); tp != nullptr; in llkCheck() local
1009 tp = taskDirectory.read(dir::task)) { in llkCheck()
1010 if (!getValidTidDir(tp, &piddir)) { in llkCheck()