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.java78 List<PackageInstallerSession> restored = restoreSessions(); in testWriteAndRestoreSessionXmlSimpleSession() local
79 assertEquals(1, restored.size()); in testWriteAndRestoreSessionXmlSimpleSession()
80 assertSessionsEquivalent(session, restored.get(0)); in testWriteAndRestoreSessionXmlSimpleSession()
87 List<PackageInstallerSession> restored = restoreSessions(); in testWriteAndRestoreSessionXmlStagedSession() local
88 assertEquals(1, restored.size()); in testWriteAndRestoreSessionXmlStagedSession()
89 assertSessionsEquivalent(session, restored.get(0)); in testWriteAndRestoreSessionXmlStagedSession()
96 List<PackageInstallerSession> restored = restoreSessions(); in testWriteAndRestoreSessionXmlGrantedPermission() local
97 assertEquals(1, restored.size()); in testWriteAndRestoreSessionXmlGrantedPermission()
98 assertSessionsEquivalent(session, restored.get(0)); in testWriteAndRestoreSessionXmlGrantedPermission()
109 List<PackageInstallerSession> restored = restoreSessions(); in testWriteAndRestoreSessionXmlMultiPackageSessions() local
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/AddressBook/
DSampleUsage.cs65 AddressBook restored = AddressBook.Parser.ParseFrom(bytes); in Main()
67 if (restored.People.Count != 1 || !person.Equals(restored.People[0])) in Main()
/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.java5924 String restored = ""; in onRestoreInstanceState() local
5927 restored = "(restored) "; in onRestoreInstanceState()
5931 + " 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/api/
Dcurrent.txt39428 field public static final String RESTORED = "restored";