Home
last modified time | relevance | path

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

/system/extras/preopt2cachename/
Dpreopt2cachename.cpp33 static std::string ExtractISA(const std::string& file_location) { in ExtractISA() argument
34 std::vector<std::string> split_file_location = android::base::Split(file_location, "/"); in ExtractISA()
47 static std::string ExtractAPKName(const std::string& file_location) { in ExtractAPKName() argument
49 size_t file_location_start = file_location.rfind('/'); in ExtractAPKName()
53 size_t ext_start = file_location.rfind('.'); in ExtractAPKName()
57 std::string apk_name = file_location.substr(file_location_start + 1, in ExtractAPKName()
66 static bool SystemBFilenameToCacheFile(const std::string& file_location, in SystemBFilenameToCacheFile() argument
69 size_t initial_position = file_location[0] == '/' ? 1 : 0; in SystemBFilenameToCacheFile()
70 size_t apk_position = file_location.find("/oat", initial_position); in SystemBFilenameToCacheFile()
77 cache_file += file_location.substr(initial_position, apk_position); in SystemBFilenameToCacheFile()
[all …]