/frameworks/base/core/tests/vibrator/src/android/os/ |
D | ExternalVibrationTest.java | 44 ExternalVibration restored = ExternalVibration.CREATOR.createFromParcel(p); in testSerialization() local 45 assertThat(restored).isEqualTo(original); in testSerialization() 47 assertThat(restored.getUid()).isEqualTo(original.getUid()); in testSerialization() 48 assertThat(restored.getPackage()).isEqualTo(original.getPackage()); in testSerialization() 49 assertThat(restored.getAudioAttributes()).isEqualTo(original.getAudioAttributes()); in testSerialization() 50 assertThat(restored.getToken()).isEqualTo(original.getToken()); in testSerialization()
|
D | CombinedVibrationTest.java | 295 CombinedVibration restored = CombinedVibration.CREATOR.createFromParcel(parcel); in testSerializationMono() local 296 assertEquals(original, restored); in testSerializationMono() 309 CombinedVibration restored = CombinedVibration.CREATOR.createFromParcel(parcel); in testSerializationStereo() local 310 assertEquals(original, restored); in testSerializationStereo() 324 CombinedVibration restored = CombinedVibration.CREATOR.createFromParcel(parcel); in testSerializationSequential() local 325 assertEquals(original, restored); in testSerializationSequential()
|
D | VibratorInfoTest.java | 368 VibratorInfo restored = VibratorInfo.CREATOR.createFromParcel(parcel); in testParceling() local 369 assertEquals(original, restored); in testParceling() 370 assertEquals(original.hashCode(), restored.hashCode()); in testParceling()
|
/frameworks/base/services/companion/java/com/android/server/companion/ |
D | BackupRestoreProcessor.java | 158 for (AssociationInfo restored : restoredAssociations.getAssociations()) { in applyRestoredPayload() 162 if (restored.isRevoked()) { in applyRestoredPayload() 168 restoredRequestsForUser, it -> it.getAssociationId() == restored.getId()); in applyRestoredPayload() 172 if (handleCollision(userId, restored, restoredRequests)) { in applyRestoredPayload() 177 final String packageName = restored.getPackageName(); in applyRestoredPayload() 180 restored).build(); in applyRestoredPayload() 235 AssociationInfo restored, in handleCollision() argument 238 restored.getUserId(), restored.getPackageName()); in handleCollision() 242 restored.getDeviceMacAddress()); in handleCollision() 244 || Objects.equals(associationInfo.getTag(), restored.getTag()); in handleCollision()
|
/frameworks/base/services/tests/PackageManagerServiceTests/unit/src/com/android/server/pm/test/verify/domain/ |
D | DomainVerificationPersistenceTest.kt | 107 val restored = ArrayMap<String, DomainVerificationPkgState>().apply { in <lambda>() constant 112 return Triple(attached, pending, restored) in <lambda>() 117 val (attached, pending, restored) = mockWriteValues() in <lambda>() constant 119 DomainVerificationPersistence.writeToXml(it, attached, pending, restored, in <lambda>() 131 assertWithMessage(xml).that(readRestored.values).containsExactlyElementsIn(restored.values) in <lambda>() 136 val (attached, pending, restored) = mockWriteValues() in <lambda>() constant 138 DomainVerificationPersistence.writeToXml(it, attached, pending, restored, in <lambda>() 165 val (attached, pending, restored) = mockWriteValues { "SIGNATURE_$it" } in <lambda>() constant 167 DomainVerificationPersistence.writeToXml(it, attached, pending, restored, in <lambda>() 177 assertThat(readRestored.values).containsExactlyElementsIn(restored.values) in <lambda>() [all …]
|
D | DomainVerificationModelExtensions.kt | 40 operator fun DomainVerificationPersistence.ReadResult.component2() = restored
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/people/widget/ |
D | PeopleBackupHelperTest.java | 376 boolean restored = mHelper.restoreKey(entry, mEditor, mFollowUpEditor, mBackupSp); in testRestoreKey_widgetIdKey_noUserIdInUri() 380 assertThat(restored).isTrue(); in testRestoreKey_widgetIdKey_noUserIdInUri() 391 boolean restored = mHelper.restoreKey(entry, mEditor, mFollowUpEditor, mBackupSp); in testRestoreKey_widgetIdKey_sameUserInUri() 395 assertThat(restored).isTrue(); in testRestoreKey_widgetIdKey_sameUserInUri() 406 boolean restored = mHelper.restoreKey(entry, mEditor, mFollowUpEditor, mBackupSp); in testRestoreKey_widgetIdKey_differentUserInUri() 410 assertThat(restored).isTrue(); in testRestoreKey_widgetIdKey_differentUserInUri() 421 boolean restored = mOtherHelper.restoreKey(entry, mEditor, mFollowUpEditor, mBackupSp); in testRestoreKey_widgetIdKey_nonSystemUser_differentUser() 425 assertThat(restored).isTrue(); in testRestoreKey_widgetIdKey_nonSystemUser_differentUser() 434 boolean restored = mHelper.restoreKey(entry, mEditor, mFollowUpEditor, mBackupSp); in testRestoreKey_contactUriKey_noUserIdInUri() 438 assertThat(restored).isTrue(); in testRestoreKey_contactUriKey_noUserIdInUri() [all …]
|
/frameworks/base/services/core/java/com/android/server/pm/verify/domain/ |
D | DomainVerificationPersistence.java | 93 @NonNull ArrayMap<String, DomainVerificationPkgState> restored, in writeToXml() argument 121 writePackageStates(restoredSection, restored.values(), userId, in writeToXml() 144 ArrayMap<String, DomainVerificationPkgState> restored = new ArrayMap<>(); in readFromXml() local 153 readPackageStates(child, restored); in readFromXml() 158 return new ReadResult(active, restored); in readFromXml() 439 public final ArrayMap<String, DomainVerificationPkgState> restored; field in DomainVerificationPersistence.ReadResult 442 @NonNull ArrayMap<String, DomainVerificationPkgState> restored) { in ReadResult() argument 444 this.restored = restored; in ReadResult()
|
D | DomainVerificationSettings.java | 109 ArrayMap<String, DomainVerificationPkgState> restored = result.restored; in readSettings() local 128 int restoredSize = restored.size(); in readSettings() 130 DomainVerificationPkgState pkgState = restored.valueAt(restoredIndex); in readSettings() 152 ArrayMap<String, DomainVerificationPkgState> stateList = result.restored; in restoreSettings()
|
/frameworks/base/packages/SettingsLib/DataStore/src/com/android/settingslib/datastore/ |
D | SharedPreferencesStorage.kt | 122 val restored = intermediateSharedPreferences in onRestoreFinished() constant 123 val editor = mergeSharedPreferences(sharedPreferences, restored.all, "Restore") in onRestoreFinished() 127 restored.delete(intermediateName) in onRestoreFinished()
|
/frameworks/base/services/core/java/com/android/server/vr/ |
D | EnabledComponentsObserver.java | 294 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/core/tests/coretests/src/android/net/ |
D | NetworkPolicyTest.kt | 68 val restored = NetworkPolicy.getNetworkPolicyFromBackup(stream) in assertPolicyBackupRestore() constant 69 assertEquals(policy, restored) in assertPolicyBackupRestore()
|
/frameworks/base/tests/LegacyRestoreTest/ |
D | README | 7 '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/ |
D | ShortcutUser.java | 484 public void mergeRestoredFile(ShortcutUser restored) { in mergeRestoredFile() argument 504 restored.forAllLaunchers(sl -> { in mergeRestoredFile() 514 restored.forAllPackages(sp -> { in mergeRestoredFile() 533 restored.mLaunchers.clear(); in mergeRestoredFile() 534 restored.mPackages.clear(); in mergeRestoredFile() 536 mRestoreFromOsFingerprint = restored.mRestoreFromOsFingerprint; in mergeRestoredFile()
|
D | ShortcutService.java | 4572 final ShortcutUser restored; 4575 restored = loadUserInternal(userId, is, /* fromBackup */ true); 4581 getUserShortcutsLocked(userId).mergeRestoredFile(restored);
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/pipeline/data/repository/ |
D | UserAutoAddRepositoryTest.kt | 134 val restored = "b,c" in restore_addsRestoredTiles() constant 142 restored.toTilesSet(), in restore_addsRestoredTiles()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/people/widget/ |
D | PeopleBackupHelper.java | 175 boolean restored = restoreKey(entry, editor, followUpEditor, backupSp); in restoreEntity() 176 if (!restored) { in restoreEntity() 331 boolean restored = isReadyForRestore( in restorePeopleTileKeyAndCorrespondingWidgetFile() 333 if (!restored) { in restorePeopleTileKeyAndCorrespondingWidgetFile() 346 return restored; in restorePeopleTileKeyAndCorrespondingWidgetFile()
|
/frameworks/base/packages/SettingsLib/DataStore/ |
D | README.md | 44 callback is invoked after *all* entities are restored. Instead, they check 45 if necessary data are all restored in the `restoreEntity` (e.g. 105 successfully restored in those older versions. This is achieved by extending 163 // Handle restored data in onRestoreFinished() callback 168 // TODO: Update state with the restored data. Use this callback instead of "restore()" in
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/people/ |
D | PeopleBackupFollowUpJob.java | 148 boolean restored = isReadyForRestore(mIPeopleManager, mPackageManager, peopleTileKey); in processFollowUpFile() 149 if (restored) { in processFollowUpFile()
|
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/ |
D | PackageInstallerSessionTest.kt | 103 val restored = writeRestoreAssert(sessions) in <lambda>() constant 104 assertThat(restored.single().params.legacyGrantedRuntimePermissions).asList() in <lambda>()
|
/frameworks/base/packages/SystemUI/docs/ |
D | qs-tiles.md | 635 1. When `Settings.Secure.SYSUI_QS_TILES` and `Settings.Secure.QS_AUTO_TILES` are restored, a 641 2. Once both settings have been restored, the data is reconciled with the current data, to account 644 * We assume that the user expects the restored tiles to be the ones to be present after restore, 649 device, but not present in the restored tiles, is considered removed by the user and therefore 650 not restored.
|
/frameworks/base/services/autofill/java/com/android/server/autofill/ |
D | AutofillManagerService.java | 1947 boolean restored = false; in restoreSession() 1958 restored = service.restoreSession(sessionId, getCallingUid(), activityToken, in restoreSession() 1968 send(receiver, restored); in restoreSession()
|
/frameworks/proto_logging/stats/enums/telephony/ |
D | enums.proto | 408 // SIM-specific settings were successfully restored.
|
/frameworks/base/services/core/java/com/android/server/rollback/ |
D | README.md | 134 restored for all users, even for credential encrypted users that have not been
|
/frameworks/av/services/audioflinger/ |
D | AudioFlinger.cpp | 4683 size_t restored = 0; in moveEffectChain_ll() local 4690 ++restored; in moveEffectChain_ll() 4726 removed.size(), restored, started); in moveEffectChain_ll()
|