Lines Matching refs:extPath
629 auto extPath = n.second; in clearAppData() local
633 if (std::regex_match(extPath, re)) { in clearAppData()
634 extPath += "/" + std::to_string(userId); in clearAppData()
638 extPath += StringPrintf("/%d", userId); in clearAppData()
647 auto path = StringPrintf("%s/Android/data/%s/cache", extPath.c_str(), pkgname); in clearAppData()
655 auto path = StringPrintf("%s/Android/data/%s", extPath.c_str(), pkgname); in clearAppData()
659 path = StringPrintf("%s/Android/media/%s", extPath.c_str(), pkgname); in clearAppData()
734 auto extPath = n.second; in destroyAppData() local
738 if (std::regex_match(extPath, re)) { in destroyAppData()
739 extPath += "/" + std::to_string(userId); in destroyAppData()
743 extPath += StringPrintf("/%d", userId); in destroyAppData()
750 auto path = StringPrintf("%s/Android/data/%s", extPath.c_str(), pkgname); in destroyAppData()
755 path = StringPrintf("%s/Android/media/%s", extPath.c_str(), pkgname); in destroyAppData()
759 path = StringPrintf("%s/Android/obb/%s", extPath.c_str(), pkgname); in destroyAppData()
1826 auto extPath = create_data_media_package_path(uuid_, userId, "data", pkgname); in getAppSize() local
1827 collectManualStats(extPath, &extStats); in getAppSize()