Home
last modified time | relevance | path

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

/aosp12/system/extras/preopt2cachename/
H A Dpreopt2cachename.cpp34 static std::string ExtractISA(const std::string& file_location) { in ExtractISA() argument
48 static std::string ExtractAPKName(const std::string& file_location) { in ExtractAPKName() argument
50 size_t file_location_start = file_location.rfind('/'); in ExtractAPKName()
54 size_t ext_start = file_location.rfind('.'); in ExtractAPKName()
70 size_t initial_position = file_location[0] == '/' ? 1 : 0; in SystemBFilenameToCacheFile()
87 std::string apk_name = ExtractAPKName(file_location); in SystemBFilenameToCacheFile()
92 std::string::size_type pos = file_location.find_last_of('.'); in SystemBFilenameToCacheFile()
94 LOG(ERROR) << "Invalid file location '" << file_location << "'"; in SystemBFilenameToCacheFile()
98 std::string extension(file_location.substr(pos)); in SystemBFilenameToCacheFile()
113 std::string isa = ExtractISA(file_location); in SystemBFileToCacheFile()
[all …]