Lines Matching refs:extPath
649 auto extPath = n.second; in clearAppData() local
653 if (std::regex_match(extPath, re)) { in clearAppData()
654 extPath += "/" + std::to_string(userId); in clearAppData()
658 extPath += StringPrintf("/%d", userId); in clearAppData()
667 auto path = StringPrintf("%s/Android/data/%s/cache", extPath.c_str(), pkgname); in clearAppData()
675 auto path = StringPrintf("%s/Android/data/%s", extPath.c_str(), pkgname); in clearAppData()
679 path = StringPrintf("%s/Android/media/%s", extPath.c_str(), pkgname); in clearAppData()
754 auto extPath = n.second; in destroyAppData() local
758 if (std::regex_match(extPath, re)) { in destroyAppData()
759 extPath += "/" + std::to_string(userId); in destroyAppData()
763 extPath += StringPrintf("/%d", userId); in destroyAppData()
770 auto path = StringPrintf("%s/Android/data/%s", extPath.c_str(), pkgname); in destroyAppData()
775 path = StringPrintf("%s/Android/media/%s", extPath.c_str(), pkgname); in destroyAppData()
779 path = StringPrintf("%s/Android/obb/%s", extPath.c_str(), pkgname); in destroyAppData()
1860 auto extPath = create_data_media_package_path(uuid_, userId, "data", pkgname); in getAppSize() local
1861 collectManualStats(extPath, &extStats); in getAppSize()