Home
last modified time | relevance | path

Searched refs:isStaged (Results 1 – 22 of 22) sorted by relevance

/frameworks/base/core/java/android/content/rollback/
DRollbackInfo.java50 public RollbackInfo(int rollbackId, List<PackageRollbackInfo> packages, boolean isStaged, in RollbackInfo() argument
54 this.mIsStaged = isStaged; in RollbackInfo()
86 public boolean isStaged() { in isStaged() method in RollbackInfo
/frameworks/base/core/java/android/content/pm/
DPackageInstaller.java1354 public boolean isStaged() { in isStaged() method in PackageInstaller.Session
1356 return mSession.isStaged(); in isStaged()
1505 public boolean isStaged; field in PackageInstaller.SessionParams
1546 isStaged = source.readBoolean(); in SessionParams()
1577 ret.isStaged = isStaged; in copy()
1940 this.isStaged = true; in setStaged()
2003 pw.printPair("isStaged", isStaged); in dump()
2036 dest.writeBoolean(isStaged); in writeToParcel()
2162 public boolean isStaged; field in PackageInstaller.SessionInfo
2223 isStaged = source.readBoolean(); in SessionInfo()
[all …]
DIPackageInstallerSession.aidl53 boolean isStaged(); in isStaged() method
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DPackageInstallerSessionTest.java153 params.isStaged = true; in createSession()
278 assertEquals(expected.isStaged, actual.isStaged); in assertSessionParamsEquivalent()
309 assertEquals(expected.isStaged(), actual.isStaged()); in assertSessionsEquivalent()
DApexManagerTest.java307 stagedSessionInfo.isStaged = true; in getFakeStagedSessionInfo()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageInstallerService.java267 if (session.isStaged()) { in restoreAndApplyStagedSessionIfNeeded()
385 if (session.isStaged()) { in readSessionsLocked()
577 if (params.isStaged || isApex) { in createSessionInternal()
586 if (!params.isStaged) { in createSessionInternal()
592 if (params.isStaged && !isCalledBySystemOrShell(callingUid)) { in createSessionInternal()
712 if (params.isStaged) { in createSessionInternal()
826 if (params.isStaged) { in buildSessionDir()
860 return (session != null && !(session.isStaged() && session.isDestroyed())) in getSessionInfo()
872 if (session.isStaged() && !session.isDestroyed()) { in getStagedSessions()
891 && !(session.isStaged() && session.isDestroyed())) { in getAllSessions()
[all …]
DPackageInstallerSession.java688 info.isStaged = params.isStaged; in generateInfoInternal()
734 return params.isStaged && (mStagedSessionApplied || mStagedSessionFailed); in isStagedAndInTerminalState()
1487 if (this.params.isStaged != other.params.isStaged) { in assertConsistencyWithLocked()
1557 if (params.isStaged) { in streamAndValidateLocked()
1691 if (params.isStaged) { in handleInstall()
2613 if (params.isStaged && mDestroyed) { in abandon()
2628 if (mCommitted && params.isStaged) { in abandon()
2653 public boolean isStaged() { in isStaged() method in PackageInstallerSession
2654 return params.isStaged; in isStaged()
3112 if (!params.isStaged || isStagedAndInTerminalState()) { in destroyInternal()
[all …]
DStagingManager.java744 params.isStaged = false; in createAndWriteApkSession()
810 params.isStaged = false; in extractApksInSession()
DPackageManagerShellCommand.java1042 + "; isStaged = " + session.isStaged() in printSession()
1307 if (!params.sessionParams.isStaged || !params.mWaitForStagedSessionReady) { in doRunInstall()
1333 if (!si.isStaged()) { in doWaitForStagedSessionRead()
1403 if (si == null || !si.isStaged() || !waitForStagedSessionReady) { in runInstallCommit()
3338 if (!session.isMultiPackage() && !session.isStaged()) { in doCommitSession()
DApexManager.java927 } else if (si.isStaged) { in dump()
/frameworks/base/services/core/java/com/android/server/rollback/
DRollback.java249 boolean isStaged() { in isStaged() method in Rollback
250 return info.isStaged(); in isStaged()
506 if (isStaged()) { in commit()
534 if (isStaged()) { in commit()
593 if (!isStaged()) { in commit()
DRollbackPackageHealthObserver.java373 if (rollback.isStaged()) { in rollbackPackage()
390 if (rollback.isStaged()) { in rollbackPackage()
415 if (rollback.isStaged()) { in rollbackAll()
DRollbackManagerServiceImpl.java549 if (!rollback.isStaged()) { in onBootCompleted()
1117 if (rollback != null && !rollback.isStaged() && rollback.isEnabling() in onFinished()
1280 if (parentSession.isStaged()) { in createNewRollbackLocked()
DRollbackStore.java210 json.put("isStaged", rollback.isStaged()); in rollbackInfoToJson()
/frameworks/base/tests/RollbackTest/RollbackTest/src/com/android/tests/rollback/
DStagedRollbackTest.java118 assertThat(rollback.isStaged()).isTrue(); in testBadApkOnly_Phase2()
154 assertThat(rollback).isStaged(); in testBadApkOnly_Phase4()
395 assertThat(available).isStaged(); in testRollbackApexWithApk_Phase2()
403 assertThat(committed).isStaged(); in testRollbackApexWithApk_Phase2()
443 assertThat(available).isStaged(); in testRollbackApexWithApkCrashing_Phase2()
/frameworks/base/services/tests/servicestests/src/com/android/server/rollback/
DRollbackStoreTest.java153 assertThat(rollback.isStaged()).isFalse(); in createNonStaged()
171 assertThat(rollback.isStaged()).isTrue(); in createStaged()
368 assertThat(b.isStaged()).isEqualTo(a.isStaged()); in assertRollbacksAreEquivalent()
DRollbackUnitTest.java90 assertThat(rollback.isStaged()).isTrue(); in newEmptyStagedRollbackDefaults()
103 assertThat(rollback.isStaged()).isFalse(); in newEmptyNonStagedRollbackDefaults()
/frameworks/base/api/
Dtest-current.txt1099 method public boolean isStaged();
Dsystem-current.txt2332 method public boolean isStaged();
Dcurrent.txt11837 method public boolean isStaged();
11883 method public boolean isStaged();
/frameworks/base/non-updatable-api/
Dsystem-current.txt2280 method public boolean isStaged();
/frameworks/base/services/
Dart-profile24448 HSPLcom/android/server/pm/PackageInstallerSession;->isStaged()Z
29693 PLcom/android/server/rollback/Rollback;->isStaged()Z