Searched refs:RollbackManager (Results 1 – 12 of 12) sorted by relevance
/frameworks/base/tests/RollbackTest/RollbackTest/src/com/android/tests/rollback/ |
D | StagedRollbackTest.java | 29 import android.content.rollback.RollbackManager; 112 RollbackManager rm = RollbackTestUtils.getRollbackManager(); in testBadApkOnlyConfirmEnableRollback() 131 RollbackManager rm = RollbackTestUtils.getRollbackManager(); in testBadApkOnlyTriggerRollback() 159 RollbackManager rm = RollbackTestUtils.getRollbackManager(); in testBadApkOnlyConfirmRollback() 169 RollbackManager rm = RollbackTestUtils.getRollbackManager(); in resetNetworkStack() 181 RollbackManager rm = RollbackTestUtils.getRollbackManager(); in assertNetworkStackRollbackAvailable() 188 RollbackManager rm = RollbackTestUtils.getRollbackManager(); in assertNetworkStackRollbackCommitted() 195 RollbackManager rm = RollbackTestUtils.getRollbackManager(); in assertNoNetworkStackRollbackCommitted()
|
D | RollbackTest.java | 36 import android.content.rollback.RollbackManager; 100 RollbackManager rm = RollbackTestUtils.getRollbackManager(); in testBasic() 177 RollbackManager rm = RollbackTestUtils.getRollbackManager(); in testAvailableRollbackPersistence() 230 RollbackManager rm = RollbackTestUtils.getRollbackManager(); in testAvailableMultiPackageRollbackPersistence() 282 RollbackManager rm = RollbackTestUtils.getRollbackManager(); in testRecentlyCommittedRollbackPersistence() 323 RollbackManager rm = RollbackTestUtils.getRollbackManager(); in testRollbackExpiresAfterLifetime() 333 RollbackManager.PROPERTY_ROLLBACK_LIFETIME_MILLIS, in testRollbackExpiresAfterLifetime() 369 RollbackManager.PROPERTY_ROLLBACK_LIFETIME_MILLIS, in testRollbackExpiresAfterLifetime() 383 RollbackManager rm = RollbackTestUtils.getRollbackManager(); in testTimeChangeDoesNotAffectLifetime() 394 RollbackManager.PROPERTY_ROLLBACK_LIFETIME_MILLIS, in testTimeChangeDoesNotAffectLifetime() [all …]
|
D | RollbackTestUtils.java | 38 import android.content.rollback.RollbackManager; 61 static RollbackManager getRollbackManager() { in getRollbackManager() 63 RollbackManager rm = (RollbackManager) context.getSystemService(Context.ROLLBACK_SERVICE); in getRollbackManager() 149 RollbackManager rm = getRollbackManager(); in rollback() 153 int status = result.getIntExtra(RollbackManager.EXTRA_STATUS, in rollback() 154 RollbackManager.STATUS_FAILURE); in rollback() 155 if (status != RollbackManager.STATUS_SUCCESS) { in rollback() 156 String message = result.getStringExtra(RollbackManager.EXTRA_STATUS_MESSAGE); in rollback()
|
/frameworks/base/services/core/java/com/android/server/rollback/ |
D | RollbackPackageHealthObserver.java | 29 import android.content.rollback.RollbackManager; 98 if (getAvailableRollback(mContext.getSystemService(RollbackManager.class), failedPackage) in onHealthCheckFailed() 110 RollbackManager rollbackManager = mContext.getSystemService(RollbackManager.class); in execute() 124 int status = result.getIntExtra(RollbackManager.EXTRA_STATUS, in execute() 125 RollbackManager.STATUS_FAILURE); in execute() 126 if (status == RollbackManager.STATUS_SUCCESS) { in execute() 176 RollbackManager rollbackManager = mContext.getSystemService(RollbackManager.class); in onBootCompleted() 231 private RollbackInfo getAvailableRollback(RollbackManager rollbackManager, in getAvailableRollback() 273 private BroadcastReceiver listenForStagedSessionReady(RollbackManager rollbackManager, in listenForStagedSessionReady() 288 private void handleStagedSessionChange(RollbackManager rollbackManager, int rollbackId, in handleStagedSessionChange()
|
D | RollbackManagerServiceImpl.java | 41 import android.content.rollback.RollbackManager; 400 sendFailure(statusReceiver, RollbackManager.STATUS_FAILURE_ROLLBACK_UNAVAILABLE, in commitRollbackInternal() 411 sendFailure(statusReceiver, RollbackManager.STATUS_FAILURE, in commitRollbackInternal() 457 sendFailure(statusReceiver, RollbackManager.STATUS_FAILURE, in commitRollbackInternal() 499 sendFailure(statusReceiver, RollbackManager.STATUS_FAILURE_INSTALL, in commitRollbackInternal() 536 sendFailure(statusReceiver, RollbackManager.STATUS_FAILURE, in commitRollbackInternal() 597 RollbackManager.PROPERTY_ROLLBACK_LIFETIME_MILLIS, in updateRollbackLifetimeDurationInMillis() 762 private void sendFailure(IntentSender statusReceiver, @RollbackManager.Status int status, in sendFailure() 767 fillIn.putExtra(RollbackManager.EXTRA_STATUS, status); in sendFailure() 768 fillIn.putExtra(RollbackManager.EXTRA_STATUS_MESSAGE, message); in sendFailure() [all …]
|
/frameworks/base/core/java/android/content/rollback/ |
D | RollbackManager.java | 48 public final class RollbackManager { class 71 public RollbackManager(Context context, IRollbackManager binder) { in RollbackManager() method in RollbackManager
|
/frameworks/base/core/java/android/app/ |
D | SystemServiceRegistry.java | 60 import android.content.rollback.RollbackManager; 1271 registerService(Context.ROLLBACK_SERVICE, RollbackManager.class, in registerService() 1272 new CachedServiceFetcher<RollbackManager>() { in registerService() 1274 public RollbackManager createService(ContextImpl ctx) in registerService() 1277 return new RollbackManager(ctx.getOuterContext(), in registerService()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageManagerShellCommand.java | 70 import android.content.rollback.RollbackManager; 444 final int status = result.getIntExtra(RollbackManager.EXTRA_STATUS, in runRollbackApp() 445 RollbackManager.STATUS_FAILURE); in runRollbackApp() 446 if (status == RollbackManager.STATUS_SUCCESS) { in runRollbackApp() 451 + result.getStringExtra(RollbackManager.EXTRA_STATUS_MESSAGE) + "]"); in runRollbackApp()
|
/frameworks/base/api/ |
D | test-current.txt | 791 public final class RollbackManager {
|
D | system-current.txt | 1841 public final class RollbackManager {
|
/frameworks/base/config/ |
D | preloaded-classes | 1044 android.content.rollback.RollbackManager
|
/frameworks/base/services/ |
D | art-profile | 12877 …ckageHealthObserver;->getAvailableRollback(Landroid/content/rollback/RollbackManager;Landroid/cont…
|