Home
last modified time | relevance | path

Searched refs:restored (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DPackageInstallerSessionTest.java83 List<PackageInstallerSession> restored = restoreSessions(); in testWriteAndRestoreSessionXmlSimpleSession() local
84 assertEquals(1, restored.size()); in testWriteAndRestoreSessionXmlSimpleSession()
85 assertSessionsEquivalent(session, restored.get(0)); in testWriteAndRestoreSessionXmlSimpleSession()
92 List<PackageInstallerSession> restored = restoreSessions(); in testWriteAndRestoreSessionXmlStagedSession() local
93 assertEquals(1, restored.size()); in testWriteAndRestoreSessionXmlStagedSession()
94 assertSessionsEquivalent(session, restored.get(0)); in testWriteAndRestoreSessionXmlStagedSession()
101 List<PackageInstallerSession> restored = restoreSessions(); in testWriteAndRestoreSessionXmlGrantedPermission() local
102 assertEquals(1, restored.size()); in testWriteAndRestoreSessionXmlGrantedPermission()
103 assertSessionsEquivalent(session, restored.get(0)); in testWriteAndRestoreSessionXmlGrantedPermission()
114 List<PackageInstallerSession> restored = restoreSessions(); in testWriteAndRestoreSessionXmlMultiPackageSessions() local
[all …]
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationChannelTest.java92 NotificationChannel restored = new NotificationChannel("a", "ab", IMPORTANCE_DEFAULT); in testBackupEmptySound() local
93 restored.populateFromXmlForRestore(parser, getContext()); in testBackupEmptySound()
95 assertNull(restored.getSound()); in testBackupEmptySound()
/frameworks/base/core/tests/coretests/src/android/os/
DExternalVibrationTest.java43 ExternalVibration restored = ExternalVibration.CREATOR.createFromParcel(p); in testSerialization() local
44 assertEquals(original, restored); in testSerialization()
/frameworks/base/services/core/java/com/android/server/vr/
DEnabledComponentsObserver.java294 String[] restored = settingValue.split(ENABLED_SERVICES_SEPARATOR); in loadComponentNamesFromSetting()
295 ArraySet<ComponentName> result = new ArraySet<>(restored.length); in loadComponentNamesFromSetting()
296 for (int i = 0; i < restored.length; i++) { in loadComponentNamesFromSetting()
297 ComponentName value = ComponentName.unflattenFromString(restored[i]); in loadComponentNamesFromSetting()
/frameworks/base/tests/LegacyRestoreTest/
DREADME7 'adb restore' decrypts and applies the restored archive successfully on a device
18 archives from various points in Android's history can be successfully restored.
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutUser.java488 public void mergeRestoredFile(ShortcutUser restored) { in mergeRestoredFile() argument
508 restored.forAllLaunchers(sl -> { in mergeRestoredFile()
518 restored.forAllPackages(sp -> { in mergeRestoredFile()
536 restored.mLaunchers.clear(); in mergeRestoredFile()
537 restored.mPackages.clear(); in mergeRestoredFile()
539 mRestoreFromOsFingerprint = restored.mRestoreFromOsFingerprint; in mergeRestoredFile()
DShortcutService.java3653 final ShortcutUser restored; in applyRestore() local
3656 restored = loadUserInternal(userId, is, /* fromBackup */ true); in applyRestore()
3663 getUserShortcutsLocked(userId).mergeRestoredFile(restored); in applyRestore()
/frameworks/base/services/autofill/java/com/android/server/autofill/
DAutofillManagerService.java1301 boolean restored = false; in restoreSession()
1305 restored = service.restoreSession(sessionId, getCallingUid(), activityToken, in restoreSession()
1311 send(receiver, restored); in restoreSession()
/frameworks/base/core/java/android/widget/
DTextView.java5929 String restored = ""; in onRestoreInstanceState() local
5932 restored = "(restored) "; in onRestoreInstanceState()
5936 + " out of range for " + restored + "text " + mText); in onRestoreInstanceState()
/frameworks/base/proto/src/metrics_constants/
Dmetrics_constants.proto4868 // Type TYPE_OPEN: The autofill save UI was restored
/frameworks/base/non-updatable-api/
Dcurrent.txt39732 field public static final String RESTORED = "restored";
/frameworks/base/api/
Dcurrent.txt39876 field public static final String RESTORED = "restored";