Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/
DStorageManagerService.java3751 public void mkdirs(String callingPkg, String appPath) { in mkdirs() argument
3758 throw new IllegalStateException("Failed to prepare " + appPath); in mkdirs()
3764 throw new IllegalStateException("Failed to prepare " + appPath); in mkdirs()
3777 throw new SecurityException(callingPkg + " should not have " + appPath); in mkdirs()
3785 appFile = new File(appPath).getCanonicalFile(); in mkdirs()
3787 throw new IllegalStateException("Failed to resolve " + appPath + ": " + e); in mkdirs()
3790 appPath = appFile.getAbsolutePath(); in mkdirs()
3791 if (!appPath.endsWith("/")) { in mkdirs()
3792 appPath = appPath + "/"; in mkdirs()
3796 final Matcher matcher = KNOWN_APP_DIR_PATHS.matcher(appPath); in mkdirs()
[all …]
/frameworks/native/cmds/installd/
DInstalldNativeService.cpp1298 auto appPath = create_data_misc_sdk_sandbox_package_path(uuid_, isCeData, userId, pkgname); in clearSdkSandboxDataPackageDirectory() local
1299 if (access(appPath.c_str(), F_OK) != 0) continue; in clearSdkSandboxDataPackageDirectory()
1300 const auto subDirHandler = [&appPath, &res, &suffix](const std::string& filename) { in clearSdkSandboxDataPackageDirectory()
1301 auto filepath = appPath + "/" + filename + suffix; in clearSdkSandboxDataPackageDirectory()
1306 const int ec = foreach_subdir(appPath, subDirHandler); in clearSdkSandboxDataPackageDirectory()
1308 res = error("Failed to process subdirs for " + appPath); in clearSdkSandboxDataPackageDirectory()
1450 auto appPath = create_data_misc_sdk_sandbox_package_path(uuid_, isCeData, userId, pkgname); in destroySdkSandboxDataPackageDirectory() local
1451 if (rename_delete_dir_contents_and_dir(appPath) != 0) { in destroySdkSandboxDataPackageDirectory()
1452 res = error("Failed to delete " + appPath); in destroySdkSandboxDataPackageDirectory()