Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/os/
DRecoverySystem.java85 public class RecoverySystem { class
459 RecoverySystem rs = (RecoverySystem) context.getSystemService(Context.RECOVERY_SERVICE); in processPackage()
608 RecoverySystem rs = (RecoverySystem) context.getSystemService( in installPackage()
657 RecoverySystem rs = (RecoverySystem) context.getSystemService(Context.RECOVERY_SERVICE); in prepareForUnattendedUpdate()
675 RecoverySystem rs = (RecoverySystem) context.getSystemService(Context.RECOVERY_SERVICE); in clearPrepareForUnattendedUpdate()
701 RecoverySystem rs = (RecoverySystem) context.getSystemService(Context.RECOVERY_SERVICE); in rebootAndApply()
738 RecoverySystem rs = (RecoverySystem) context.getSystemService(Context.RECOVERY_SERVICE); in scheduleUpdateOnBoot()
758 RecoverySystem rs = (RecoverySystem) context.getSystemService(Context.RECOVERY_SERVICE); in cancelScheduledUpdate()
1156 RecoverySystem rs = (RecoverySystem) context.getSystemService(Context.RECOVERY_SERVICE); in bootCommand()
1340 public RecoverySystem() { in RecoverySystem() method in RecoverySystem
[all …]
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DNonAbUpdateInstaller.java23 import android.os.RecoverySystem;
43 RecoverySystem.installPackage(mContext, mCopiedUpdateFile); in installUpdateInThread()
/frameworks/base/services/core/java/com/android/server/power/
DShutdownThread.java34 import android.os.RecoverySystem;
291 mRebootHasProgressBar = RecoverySystem.UNCRYPT_PACKAGE_FILE.exists() in showShutdownDialog()
292 && !(RecoverySystem.BLOCK_MAP_FILE.exists()); in showShutdownDialog()
718 final RecoverySystem.ProgressListener progressListener = in uncrypt()
719 new RecoverySystem.ProgressListener() { in uncrypt()
744 RecoverySystem rs = (RecoverySystem) mContext.getSystemService( in uncrypt()
748 filename = FileUtils.readTextFile(RecoverySystem.UNCRYPT_PACKAGE_FILE, 0, null); in uncrypt()
768 FileUtils.stringToFile(RecoverySystem.UNCRYPT_STATUS_FILE, timeoutMessage); in uncrypt()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/
DRescuePartyTest.java39 import android.os.RecoverySystem;
112 .spyStatic(RecoverySystem.class) in setUp()
206 verify(() -> RecoverySystem.rebootPromptAndWipeUserData(mMockContext, RescueParty.TAG)); in testBootLoopDetectionWithExecutionForAllRescueLevels()
233 verify(() -> RecoverySystem.rebootPromptAndWipeUserData(mMockContext, RescueParty.TAG)); in testPersistentAppCrashDetectionWithExecutionForAllRescueLevels()
282 verify(() -> RecoverySystem.rebootPromptAndWipeUserData(mMockContext, RescueParty.TAG)); in testNonPersistentAppCrashDetectionWithScopedResets()
291 verify(() -> RecoverySystem.rebootPromptAndWipeUserData(mMockContext, RescueParty.TAG)); in testIsAttemptingFactoryReset()
/frameworks/base/services/core/java/com/android/server/
DMasterClearReceiver.java24 import android.os.RecoverySystem;
80 RecoverySystem in onReceive()
DRescueParty.java33 import android.os.RecoverySystem;
280 RecoverySystem.rebootPromptAndWipeUserData(context, TAG); in executeRescueLevelInternal()
/frameworks/base/services/core/java/com/android/server/recoverysystem/
DRecoverySystemService.java28 import android.os.RecoverySystem;
111 return RecoverySystem.UNCRYPT_PACKAGE_FILE.delete(); in uncryptPackageFileDelete()
115 return RecoverySystem.UNCRYPT_PACKAGE_FILE.getName(); in getUncryptPackageFileName()
119 return new FileWriter(RecoverySystem.UNCRYPT_PACKAGE_FILE); in getUncryptPackageFileWriter()
/frameworks/base/core/java/android/app/
DSystemServiceRegistry.java155 import android.os.RecoverySystem;
586 registerService(Context.RECOVERY_SERVICE, RecoverySystem.class, in registerService()
587 new CachedServiceFetcher<RecoverySystem>() { in registerService()
589 public RecoverySystem createService(ContextImpl ctx) throws ServiceNotFoundException { in registerService()
592 return new RecoverySystem(service); in registerService()
/frameworks/base/core/java/com/android/server/
DBootReceiver.java28 import android.os.RecoverySystem;
203 String recovery = RecoverySystem.handleAftermath(ctx); in logBootEvents()
/frameworks/base/non-updatable-api/
Dsystem-lint-baseline.txt216 SamShouldBeLast: android.os.RecoverySystem#verifyPackage(java.io.File, android.os.RecoverySystem.Pr…
Dremoved.txt299 public class RecoverySystem {
300 ctor public RecoverySystem();
Dsystem-current.txt7303 public class RecoverySystem {
7308 …oid processPackage(android.content.Context, java.io.File, android.os.RecoverySystem.ProgressListen…
7309 …oid processPackage(android.content.Context, java.io.File, android.os.RecoverySystem.ProgressListen…
/frameworks/base/api/
Dsystem-lint-baseline.txt405 SamShouldBeLast: android.os.RecoverySystem#verifyPackage(java.io.File, android.os.RecoverySystem.Pr…
Dremoved.txt299 public class RecoverySystem {
300 ctor public RecoverySystem();
Dlint-baseline.txt1040 RequiresPermission: android.os.RecoverySystem#rebootWipeUserData(android.content.Context):
Dsystem-current.txt8383 public class RecoverySystem {
8388 …oid processPackage(android.content.Context, java.io.File, android.os.RecoverySystem.ProgressListen…
8389 …oid processPackage(android.content.Context, java.io.File, android.os.RecoverySystem.ProgressListen…
Dcurrent.txt36788 public class RecoverySystem {
36792 …method public static void verifyPackage(java.io.File, android.os.RecoverySystem.ProgressListener, …
36795 public static interface RecoverySystem.ProgressListener {
/frameworks/base/config/
Ddirty-image-objects154 android.os.RecoverySystem
Dpreloaded-classes4822 android.os.RecoverySystem$1
4823 android.os.RecoverySystem$2
4824 android.os.RecoverySystem$3
4825 android.os.RecoverySystem$4
4826 android.os.RecoverySystem$5
4827 android.os.RecoverySystem$ProgressListener
4828 android.os.RecoverySystem
Dboot-image-profile.txt16061 PLandroid/os/RecoverySystem;->handleAftermath(Landroid/content/Context;)Ljava/lang/String;
45047 Landroid/os/RecoverySystem$1;
45048 Landroid/os/RecoverySystem$2;
45049 Landroid/os/RecoverySystem$3;
45050 Landroid/os/RecoverySystem$4;
45051 Landroid/os/RecoverySystem$5;
45052 Landroid/os/RecoverySystem$ProgressListener;
45053 Landroid/os/RecoverySystem;
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt22216 public class RecoverySystem {
22217 ctor public RecoverySystem();
22221 …method public static void verifyPackage(java.io.File, android.os.RecoverySystem.ProgressListener, …
22224 public static abstract interface RecoverySystem.ProgressListener {