Loading cmds/installd/InstalldNativeService.cpp +3 −3 Original line number Diff line number Diff line Loading @@ -1238,7 +1238,7 @@ binder::Status InstalldNativeService::getAppSize(const std::unique_ptr<std::stri calculate_tree_size(create_data_dalvik_cache_path(), &stats.codeSize, sharedGid, -1); } calculate_tree_size(create_data_misc_foreign_dex_path(userId), &stats.dataSize, calculate_tree_size(create_data_user_profile_path(userId), &stats.dataSize, multiuser_get_uid(userId, appId), -1); ATRACE_END(); } Loading Loading @@ -1336,7 +1336,7 @@ binder::Status InstalldNativeService::getUserSize(const std::unique_ptr<std::str ATRACE_BEGIN("dalvik"); calculate_tree_size(create_data_dalvik_cache_path(), &stats.codeSize, -1, -1, true); calculate_tree_size(create_data_misc_foreign_dex_path(userId), &stats.dataSize, calculate_tree_size(create_data_user_profile_path(userId), &stats.dataSize, -1, -1, true); ATRACE_END(); Loading Loading @@ -1386,7 +1386,7 @@ binder::Status InstalldNativeService::getUserSize(const std::unique_ptr<std::str ATRACE_BEGIN("dalvik"); calculate_tree_size(create_data_dalvik_cache_path(), &stats.codeSize); calculate_tree_size(create_data_misc_foreign_dex_path(userId), &stats.dataSize); calculate_tree_size(create_data_user_profile_path(userId), &stats.dataSize); ATRACE_END(); } Loading cmds/installd/utils.cpp +0 −4 Original line number Diff line number Diff line Loading @@ -235,10 +235,6 @@ std::string create_data_dalvik_cache_path() { return "/data/dalvik-cache"; } std::string create_data_misc_foreign_dex_path(userid_t userid) { return StringPrintf("/data/misc/profiles/cur/%d/foreign-dex", userid); } // Keep profile paths in sync with ActivityThread. constexpr const char* PRIMARY_PROFILE_NAME = "primary.prof"; Loading cmds/installd/utils.h +0 −1 Original line number Diff line number Diff line Loading @@ -101,7 +101,6 @@ std::string create_data_ref_profile_path(); std::string create_data_ref_profile_package_path(const char* package_name); std::string create_data_dalvik_cache_path(); std::string create_data_misc_foreign_dex_path(userid_t userid); std::string create_primary_profile(const std::string& profile_dir); Loading Loading
cmds/installd/InstalldNativeService.cpp +3 −3 Original line number Diff line number Diff line Loading @@ -1238,7 +1238,7 @@ binder::Status InstalldNativeService::getAppSize(const std::unique_ptr<std::stri calculate_tree_size(create_data_dalvik_cache_path(), &stats.codeSize, sharedGid, -1); } calculate_tree_size(create_data_misc_foreign_dex_path(userId), &stats.dataSize, calculate_tree_size(create_data_user_profile_path(userId), &stats.dataSize, multiuser_get_uid(userId, appId), -1); ATRACE_END(); } Loading Loading @@ -1336,7 +1336,7 @@ binder::Status InstalldNativeService::getUserSize(const std::unique_ptr<std::str ATRACE_BEGIN("dalvik"); calculate_tree_size(create_data_dalvik_cache_path(), &stats.codeSize, -1, -1, true); calculate_tree_size(create_data_misc_foreign_dex_path(userId), &stats.dataSize, calculate_tree_size(create_data_user_profile_path(userId), &stats.dataSize, -1, -1, true); ATRACE_END(); Loading Loading @@ -1386,7 +1386,7 @@ binder::Status InstalldNativeService::getUserSize(const std::unique_ptr<std::str ATRACE_BEGIN("dalvik"); calculate_tree_size(create_data_dalvik_cache_path(), &stats.codeSize); calculate_tree_size(create_data_misc_foreign_dex_path(userId), &stats.dataSize); calculate_tree_size(create_data_user_profile_path(userId), &stats.dataSize); ATRACE_END(); } Loading
cmds/installd/utils.cpp +0 −4 Original line number Diff line number Diff line Loading @@ -235,10 +235,6 @@ std::string create_data_dalvik_cache_path() { return "/data/dalvik-cache"; } std::string create_data_misc_foreign_dex_path(userid_t userid) { return StringPrintf("/data/misc/profiles/cur/%d/foreign-dex", userid); } // Keep profile paths in sync with ActivityThread. constexpr const char* PRIMARY_PROFILE_NAME = "primary.prof"; Loading
cmds/installd/utils.h +0 −1 Original line number Diff line number Diff line Loading @@ -101,7 +101,6 @@ std::string create_data_ref_profile_path(); std::string create_data_ref_profile_package_path(const char* package_name); std::string create_data_dalvik_cache_path(); std::string create_data_misc_foreign_dex_path(userid_t userid); std::string create_primary_profile(const std::string& profile_dir); Loading