Home
last modified time | relevance | path

Searched refs:stageAndApplyRestoredPayload (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/locales/
DLocaleManagerBackupRestoreTest.java257 mBackupHelper.stageAndApplyRestoredPayload(/* payload= */ null, DEFAULT_USER_ID); in testRestore_nullPayload_nothingRestoredAndNoStageData()
266 mBackupHelper.stageAndApplyRestoredPayload(/* payload= */ out.toByteArray(), in testRestore_zeroLengthPayload_nothingRestoredAndNoStageData()
280 mBackupHelper.stageAndApplyRestoredPayload(out.toByteArray(), DEFAULT_USER_ID); in testRestore_allAppsInstalled_noStageDataCreated()
297 mBackupHelper.stageAndApplyRestoredPayload(out.toByteArray(), DEFAULT_USER_ID); in testRestore_allAppsInstalled_nothingToSp()
321 mBackupHelper.stageAndApplyRestoredPayload(out.toByteArray(), DEFAULT_USER_ID); in testRestore_allAppsInstalled_storeInfoToSp()
346 mBackupHelper.stageAndApplyRestoredPayload(out.toByteArray(), DEFAULT_USER_ID); in testRestore_allAppsInstalled_InfoHasExistedInSp()
366 mBackupHelper.stageAndApplyRestoredPayload(out.toByteArray(), DEFAULT_USER_ID); in testRestore_noAppsInstalled_everythingStaged()
390 mBackupHelper.stageAndApplyRestoredPayload(out.toByteArray(), DEFAULT_USER_ID); in testRestore_someAppsInstalled_partiallyStaged()
409 mBackupHelper.stageAndApplyRestoredPayload(out.toByteArray(), DEFAULT_USER_ID); in testRestore_appLocalesAlreadySet_nothingRestoredAndNoStageData()
443 mBackupHelper.stageAndApplyRestoredPayload(out.toByteArray(), DEFAULT_USER_ID); in testRestore_appLocalesSetForSomeApps_restoresOnlyForAppsHavingNoLocalesSet()
[all …]
/frameworks/base/services/core/java/com/android/server/locales/
DLocaleManagerInternal.java39 public abstract void stageAndApplyRestoredPayload(byte[] payload, int userId); in stageAndApplyRestoredPayload() method in LocaleManagerInternal
DLocaleManagerService.java170 public void stageAndApplyRestoredPayload(byte[] payload, int userId) { in stageAndApplyRestoredPayload() method in LocaleManagerService.LocaleManagerInternalImpl
171 mBackupHelper.stageAndApplyRestoredPayload(payload, userId); in stageAndApplyRestoredPayload()
DLocaleManagerBackupHelper.java223 public void stageAndApplyRestoredPayload(byte[] payload, int userId) { in stageAndApplyRestoredPayload() method in LocaleManagerBackupHelper
/frameworks/base/services/core/java/com/android/server/grammaticalinflection/
DGrammaticalInflectionManagerInternal.java40 public abstract void stageAndApplyRestoredPayload(byte[] payload, int userId); in stageAndApplyRestoredPayload() method in GrammaticalInflectionManagerInternal
DGrammaticalInflectionService.java172 public void stageAndApplyRestoredPayload(byte[] payload, int userId) { in stageAndApplyRestoredPayload() method in GrammaticalInflectionService.GrammaticalInflectionManagerInternalImpl
173 mBackupHelper.stageAndApplyRestoredPayload(payload, userId); in stageAndApplyRestoredPayload()
DGrammaticalInflectionBackupHelper.java94 public void stageAndApplyRestoredPayload(byte[] payload, int userId) { in stageAndApplyRestoredPayload() method in GrammaticalInflectionBackupHelper
/frameworks/base/services/core/java/com/android/server/backup/
DAppGrammaticalGenderBackupHelper.java63 mGrammarInflectionManagerInternal.stageAndApplyRestoredPayload(payload, mUserId); in applyRestoredPayload()
DAppSpecificLocalesBackupHelper.java81 mLocaleManagerInternal.stageAndApplyRestoredPayload(payload, mUserId); in applyRestoredPayload()
/frameworks/base/services/tests/servicestests/src/com/android/server/grammaticalinflection/
DGrammaticalInflectionBackupTest.java102 mBackupHelper.stageAndApplyRestoredPayload(convertToByteArray(testData), DEFAULT_USER_ID); in testApplyPayload_onPackageAdded_setApplicationGrammaticalGender()