Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/pm/
DPackageInstallerSession.java174 final File stageDir; field in PackageInstallerSession
383 File stageDir, String stageCid, boolean prepared, boolean sealed) { in PackageInstallerSession() argument
396 this.stageDir = stageDir; in PackageInstallerSession()
399 if ((stageDir == null) == (stageCid == null)) { in PackageInstallerSession()
511 if (stageDir != null) { in resolveStageDirLocked()
512 mResolvedStageDir = stageDir; in resolveStageDirLocked()
625 final File stageDir; in doWriteInternal() local
640 stageDir = resolveStageDirLocked(); in doWriteInternal()
651 target = new File(stageDir, name); in doWriteInternal()
664 if (stageDir != null && lengthBytes > 0) { in doWriteInternal()
[all …]
DPackageInstallerService.java238 unclaimedStages.remove(session.stageDir); in reconcileStagesLocked()
269 final File stageDir = buildStageDir(volumeUuid, sessionId, isEphemeral); in allocateStageDirLegacy() local
270 prepareStageDir(stageDir); in allocateStageDirLegacy()
271 return stageDir; in allocateStageDirLegacy()
527 File stageDir = null; in createSessionInternal() local
532 stageDir = buildStageDir(params.volumeUuid, sessionId, isInstant); in createSessionInternal()
539 params, createdMillis, stageDir, stageCid, false, false); in createSessionInternal()
643 static void prepareStageDir(File stageDir) throws IOException { in prepareStageDir() argument
644 if (stageDir.exists()) { in prepareStageDir()
645 throw new IOException("Session dir already exists: " + stageDir); in prepareStageDir()
[all …]