Home
last modified time | relevance | path

Searched refs:vcn (Results 1 – 6 of 6) sorted by relevance

/system/iorap/src/db/
Dfile_models.cc87 FileModelBase::FileModelBase(VersionedComponentName vcn) in FileModelBase() argument
88 : vcn_{std::move(vcn)} { in FileModelBase()
119 PerfettoTraceFileModel::PerfettoTraceFileModel(VersionedComponentName vcn, in PerfettoTraceFileModel() argument
121 : FileModelBase{std::move(vcn)}, timestamp_{timestamp} { in PerfettoTraceFileModel()
124 PerfettoTraceFileModel PerfettoTraceFileModel::CalculateNewestFilePath(VersionedComponentName vcn) { in CalculateNewestFilePath() argument
126 return PerfettoTraceFileModel{vcn, timestamp}; in CalculateNewestFilePath()
136 VersionedComponentName vcn) { in NeedMorePerfettoTraces() argument
138 RawTraceModel::SelectByVersionedComponentName(db, vcn); in NeedMorePerfettoTraces()
148 void PerfettoTraceFileModel::DeleteOlderFiles(DbHandle& db, VersionedComponentName vcn) { in DeleteOlderFiles() argument
150 RawTraceModel::SelectByVersionedComponentName(db, vcn); in DeleteOlderFiles()
[all …]
Dfile_models.h51 inline std::ostream& operator<<(std::ostream& os, const VersionedComponentName& vcn) {
52 os << vcn.GetPackage() << "/" << vcn.GetActivity() << "@" << vcn.GetVersion();
58 FileModelBase(VersionedComponentName vcn);
96 PerfettoTraceFileModel(VersionedComponentName vcn,
100 static PerfettoTraceFileModel CalculateNewestFilePath(VersionedComponentName vcn);
101 static void DeleteOlderFiles(DbHandle& db, VersionedComponentName vcn);
102 static bool NeedMorePerfettoTraces(DbHandle& db, VersionedComponentName vcn);
115 CompiledTraceFileModel(VersionedComponentName vcn);
118 static CompiledTraceFileModel CalculateNewestFilePath(VersionedComponentName vcn);
Dclean_up.cc34 const db::VersionedComponentName& vcn) { in CleanUpFilesForActivity() argument
35 LOG(DEBUG) << "Clean up files for activity " << vcn.GetActivity(); in CleanUpFilesForActivity()
38 db::RawTraceModel::SelectByVersionedComponentName(db, vcn); in CleanUpFilesForActivity()
48 db::PrefetchFileModel::SelectByVersionedComponentName(db, vcn); in CleanUpFilesForActivity()
68 db::VersionedComponentName vcn{package_name, activity.name, version}; in CleanUpFilesForPackage() local
69 CleanUpFilesForActivity(db, vcn); in CleanUpFilesForPackage()
Dmodels.h969 VersionedComponentName vcn) { in SelectByVersionedComponentName() argument
983 vcn.GetPackage(), in SelectByVersionedComponentName()
984 vcn.GetActivity(), in SelectByVersionedComponentName()
985 vcn.GetVersion()); in SelectByVersionedComponentName()
1060 VersionedComponentName vcn) { in SelectByVersionedComponentName() argument
1072 vcn.GetPackage(), in SelectByVersionedComponentName()
1073 vcn.GetActivity(), in SelectByVersionedComponentName()
1074 vcn.GetVersion()); in SelectByVersionedComponentName()
/system/iorap/src/maintenance/
Dcontroller.cc302 db::VersionedComponentName vcn{package_name, activity_name, version}; in CompileActivity() local
304 db::PrefetchFileModel::SelectByVersionedComponentName(db, vcn); in CompileActivity()
308 LOG(WARNING) << "Missing corresponding prefetch_file db row for " << vcn; in CompileActivity()
524 db::VersionedComponentName vcn{package_name, activity_name, package_version}; in DumpPackageActivity() local
533 db::PrefetchFileModel::SelectByVersionedComponentName(db, vcn); in DumpPackageActivity()
/system/iorap/src/manager/
Devent_manager.cc381 db::VersionedComponentName vcn{component_name.package, in GetCompiledTrace() local
386 db::PrefetchFileModel::SelectByVersionedComponentName(db, vcn); in GetCompiledTrace()