Home
last modified time | relevance | path

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

/system/logging/logd/
DTrustyLog.cpp61 timespec tp; in LogMsg() local
62 clock_gettime(CLOCK_REALTIME, &tp); in LogMsg()
63 log_time now = log_time(tp.tv_sec, tp.tv_nsec); in LogMsg()
/system/keymaster/km_openssl/
Dsoft_keymaster_enforcement.cpp62 struct timespec tp; in get_current_time_ms()
64 int err = clock_gettime(CLOCK_BOOTTIME, &tp); in get_current_time_ms()
66 int err = clock_gettime(CLOCK_MONOTONIC, &tp); in get_current_time_ms()
68 if (err || tp.tv_sec < 0) return 0; in get_current_time_ms()
70 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/
Dtask_profiles_test.cpp193 std::shared_ptr<TaskProfile> tp = std::make_shared<TaskProfile>("test_profile"); in TEST_P() local
194 tp->Add(std::make_unique<SetAttributeAction>(&pa, params.attr_value, params.optional_attr)); in TEST_P()
195 EXPECT_EQ(tp->IsValidForProcess(getuid(), getpid()), params.result); in TEST_P()
196 EXPECT_EQ(tp->IsValidForTask(getpid()), params.result); in TEST_P()
199 std::vector<std::shared_ptr<TaskProfile>> profiles = {tp}; in TEST_P()
Dprocessgroup.cpp128 const TaskProfiles& tp = TaskProfiles::GetInstance(); in CgroupGetAttributePath() local
129 const IProfileAttribute* attr = tp.GetAttribute(attr_name); in CgroupGetAttributePath()
143 const TaskProfiles& tp = TaskProfiles::GetInstance(); in CgroupGetAttributePathForTask() local
144 const IProfileAttribute* attr = tp.GetAttribute(attr_name); in CgroupGetAttributePathForTask()
756 const TaskProfile* tp = TaskProfiles::GetInstance().GetProfile(profile_name); in isProfileValidForProcess() local
758 if (tp == nullptr) { in isProfileValidForProcess()
762 return tp->IsValidForProcess(uid, pid); in isProfileValidForProcess()
/system/core/storaged/
Dstoraged_info.cpp150 const time_point<system_clock>& tp) in update_perf_history() argument
154 if (tp > day_start_tp && in update_perf_history()
155 duration_cast<chrono::seconds>(tp - day_start_tp).count() < DAY_TO_SEC) { in update_perf_history()
174 day_start_tp = tp - chrono::seconds(duration_cast<chrono::seconds>( in update_perf_history()
175 tp.time_since_epoch()).count() % DAY_TO_SEC); in update_perf_history()
/system/unwinding/libunwindstack/offline_files/vlenb_riscv64/
Dregs.txt5 tp: 7ff300879050
/system/media/camera/docs/
Dmetadata_parser_xml.py132 for tp in types.find_all('typedef'):
134 for lang in tp.find_all('language'):
137 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/llkd/
Dlibllkd.cpp1017 for (auto tp = taskDirectory.read(dir::task, dp); tp != nullptr; in llkCheck() local
1018 tp = taskDirectory.read(dir::task)) { in llkCheck()
1019 if (!getValidTidDir(tp, &piddir)) { in llkCheck()
1212 for (auto tp = taskDirectory.read(); tp != nullptr; tp = taskDirectory.read()) { in llkCheck() local
1214 if (getValidTidDir(tp, &piddir)) in llkCheck()
/system/core/storaged/include/
Dstoraged_info.h80 const time_point<system_clock>& tp);
/system/core/storaged/tests/
Dstoraged_test.cpp375 time_point<steady_clock> tp; in TEST() local
399 tp += hours(5); in TEST()
401 stp += duration_cast<chrono::seconds>(tp.time_since_epoch()); in TEST()
/system/tools/aidl/
Daidl.cpp376 for (const auto& tp : m.GetTypeParameters()) { in ValidateAnnotationContext() local
377 Check(*tp, AidlAnnotation::CONTEXT_TYPE_SPECIFIER); in ValidateAnnotationContext()
Daidl_language.cpp861 for (const auto& tp : GetTypeParameters()) { in TraverseChildren() local
862 traverse(*tp); in TraverseChildren()
/system/core/debuggerd/
Dcrash_dump.cpp461 base = reinterpret_cast<uintptr_t>(regs.tp); in GetGuestRegistersFromCrashedProcess()