Home
last modified time | relevance | path

Searched refs:ACCEPT_IF_APK (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/backup/java/com/android/server/backup/restore/
DRestorePolicy.java25 ACCEPT_IF_APK enumConstant
DFullRestoreEngine.java263 case ACCEPT_IF_APK: in restoreOneFile()
/frameworks/base/services/backup/java/com/android/server/backup/utils/
DTarBackupReader.java463 policy = RestorePolicy.ACCEPT_IF_APK; in chooseRestorePolicy()
523 policy = RestorePolicy.ACCEPT_IF_APK; in chooseRestorePolicy()
541 if (policy == RestorePolicy.ACCEPT_IF_APK && !info.hasApk) { in chooseRestorePolicy()
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/utils/
DTarBackupReaderTest.java252 assertThat(policy).isEqualTo(RestorePolicy.ACCEPT_IF_APK); in chooseRestorePolicy_packageDoesNotExistAndAllowApksAndHasApk_returnsAcceptIfApk()
277 assertThat(policy).isEqualTo(RestorePolicy.ACCEPT_IF_APK); in chooseRestorePolicy_packageDoesNotExistAndAllowApksAndDoesNotHaveApk_returnsAcceptIfApkLogsCannotRestore()
553 assertThat(policy).isEqualTo(RestorePolicy.ACCEPT_IF_APK); in chooseRestorePolicy_notRestoreAnyVersionAndVersionMismatchButAllowApksAndHasApk_returnsAcceptIfApk()