/cts/hostsidetests/backup/src/android/cts/backup/ |
D | KeyValueBackupRestoreHostSideTest.java | 99 checkDeviceTest("checkSharedPrefIsEmpty"); in testKeyValueBackupAndRestore() 101 checkDeviceTest("saveSharedPreferencesAndNotifyBackupManager"); in testKeyValueBackupAndRestore() 110 checkDeviceTest("checkSharedPreferencesAreRestored"); in testKeyValueBackupAndRestore() 138 checkDeviceTest("launchSharedPrefActivity"); in testSharedPreferencesRestore() 142 checkDeviceTest("updateSharedPrefActivity"); in testSharedPreferencesRestore() 147 checkDeviceTest("checkSharedPrefActivity"); in testSharedPreferencesRestore() 150 private void checkDeviceTest(String methodName) in checkDeviceTest() method in KeyValueBackupRestoreHostSideTest 152 super.checkDeviceTest(KEY_VALUE_RESTORE_APP_PACKAGE, KEY_VALUE_RESTORE_DEVICE_TEST_NAME, in checkDeviceTest()
|
D | ProfileFullBackupRestoreHostSideTest.java | 94 checkDeviceTest("assertFilesDontExist"); in testFullBackupAndSystemRestore() 95 checkDeviceTest("writeFilesAndAssertSuccess"); in testFullBackupAndSystemRestore() 99 checkDeviceTest("clearFilesAndAssertSuccess"); in testFullBackupAndSystemRestore() 104 checkDeviceTest("assertFilesRestored"); in testFullBackupAndSystemRestore() 121 checkDeviceTest("assertFilesDontExist"); in testFullBackupAndRestoreAtInstall() 122 checkDeviceTest("writeFilesAndAssertSuccess"); in testFullBackupAndRestoreAtInstall() 126 checkDeviceTest("clearFilesAndAssertSuccess"); in testFullBackupAndRestoreAtInstall() 132 checkDeviceTest("assertFilesRestored"); in testFullBackupAndRestoreAtInstall() 135 private void checkDeviceTest(String methodName) throws DeviceNotAvailableException { in checkDeviceTest() method in ProfileFullBackupRestoreHostSideTest
|
D | SyncAdapterSettingsHostSideTest.java | 75 checkDeviceTest("testMasterSyncAutomatically_whenOn_isRestored"); in testMasterSyncAutomatically_whenOn_isRestored() 83 checkDeviceTest("testMasterSyncAutomatically_whenOff_isRestored"); in testMasterSyncAutomatically_whenOff_isRestored() 92 checkDeviceTest("testIsSyncableChanged_ifTurnOnSyncEnabled"); in testIsSyncableChanged_ifTurnOnSyncEnabled() 101 checkDeviceTest("testIsSyncableIsZero_ifTurnOffSyncEnabled"); in testIsSyncableIsZero_ifTurnOffSyncEnabled() 110 checkDeviceTest("testIsSyncableIsOne_ifTurnOffSyncEnabled"); in testIsSyncableIsOne_ifTurnOffSyncEnabled() 113 private void checkDeviceTest(String methodName) throws DeviceNotAvailableException { in checkDeviceTest() method in SyncAdapterSettingsHostSideTest 114 checkDeviceTest(APP_PACKAGE, TEST_CLASS, methodName); in checkDeviceTest()
|
D | ProfileKeyValueBackupRestoreHostSideTest.java | 102 checkDeviceTest("assertSharedPrefsIsEmpty"); in testKeyValueBackupAndRestore() 103 checkDeviceTest("writeSharedPrefsAndAssertSuccess"); in testKeyValueBackupAndRestore() 111 checkDeviceTest("assertSharedPrefsRestored"); in testKeyValueBackupAndRestore() 134 checkDeviceTest("assertSharedPrefsIsEmpty"); in testKeyValueBackupAndRestoreForInstallExistingPackage() 135 checkDeviceTest("writeSharedPrefsAndAssertSuccess"); in testKeyValueBackupAndRestoreForInstallExistingPackage() 153 checkDeviceTest("assertSharedPrefsRestored"); in testKeyValueBackupAndRestoreForInstallExistingPackage() 177 checkDeviceTest("assertSharedPrefsIsEmpty"); in testKeyValueBackupAndRestoreForInstallExistingPackageWaitTillComplete() 178 checkDeviceTest("writeSharedPrefsAndAssertSuccess"); in testKeyValueBackupAndRestoreForInstallExistingPackageWaitTillComplete() 187 checkDeviceTest("assertSharedPrefsRestored"); in testKeyValueBackupAndRestoreForInstallExistingPackageWaitTillComplete() 191 private void checkDeviceTest(String methodName) throws DeviceNotAvailableException { in checkDeviceTest() method in ProfileKeyValueBackupRestoreHostSideTest
|
D | FullbackupRulesHostSideTest.java | 94 checkDeviceTest(FULLBACKUP_TESTS_APP_NAME, FULLBACKUP_DEVICE_TEST_CLASS_NAME, in testNoBackupFolder() 101 checkDeviceTest(FULLBACKUP_TESTS_APP_NAME, FULLBACKUP_DEVICE_TEST_CLASS_NAME, in testNoBackupFolder() 108 checkDeviceTest(FULLBACKUP_TESTS_APP_NAME, FULLBACKUP_DEVICE_TEST_CLASS_NAME, in testNoBackupFolder() 212 checkDeviceTest(INCLUDE_EXCLUDE_TESTS_APP_NAME, INCLUDE_EXCLUDE_DEVICE_TEST_CLASS_NAME, in testRequireFakeEncryptionFlag_includesFileIfFakeEncryptionEnabled() 219 checkDeviceTest(INCLUDE_EXCLUDE_TESTS_APP_NAME, INCLUDE_EXCLUDE_DEVICE_TEST_CLASS_NAME, in testRequireFakeEncryptionFlag_includesFileIfFakeEncryptionEnabled() 227 checkDeviceTest(INCLUDE_EXCLUDE_TESTS_APP_NAME, INCLUDE_EXCLUDE_DEVICE_TEST_CLASS_NAME, in testRequireFakeEncryptionFlag_includesFileIfFakeEncryptionEnabled() 239 checkDeviceTest(INCLUDE_EXCLUDE_TESTS_APP_NAME, INCLUDE_EXCLUDE_DEVICE_TEST_CLASS_NAME, in testRequireFakeEncryptionFlag_excludesFileIfFakeEncryptionDisabled() 246 checkDeviceTest(INCLUDE_EXCLUDE_TESTS_APP_NAME, INCLUDE_EXCLUDE_DEVICE_TEST_CLASS_NAME, in testRequireFakeEncryptionFlag_excludesFileIfFakeEncryptionDisabled() 254 checkDeviceTest(INCLUDE_EXCLUDE_TESTS_APP_NAME, INCLUDE_EXCLUDE_DEVICE_TEST_CLASS_NAME, in testRequireFakeEncryptionFlag_excludesFileIfFakeEncryptionDisabled() 282 checkDeviceTest(INCLUDE_EXCLUDE_TESTS_APP_NAME, className, testName); in checkFullBackupRulesDeviceTest()
|
D | OtherSoundsSettingsHostSideTest.java | 71 checkDeviceTest("testOtherSoundsSettings_dialPadTones"); in testOtherSoundsSettings_dialPadTones() 79 checkDeviceTest("testOtherSoundsSettings_touchSounds"); in testOtherSoundsSettings_touchSounds() 87 checkDeviceTest("testOtherSoundsSettings_touchVibration"); in testOtherSoundsSettings_touchVibration() 90 private void checkDeviceTest(String methodName) throws DeviceNotAvailableException { in checkDeviceTest() method in OtherSoundsSettingsHostSideTest 91 checkDeviceTest(APP_PACKAGE, TEST_CLASS, methodName); in checkDeviceTest()
|
D | SuccessNotificationHostSideTest.java | 97 checkDeviceTest("clearBackupSuccessNotificationsReceived"); in setUp() 123 checkDeviceTest(KEY_VALUE_BACKUP_APP_PACKAGE, KEY_VALUE_BACKUP_DEVICE_TEST_NAME, in testSuccessNotificationForKeyValueBackup() 127 checkDeviceTest("verifyBackupSuccessNotificationReceivedForKeyValueApp"); in testSuccessNotificationForKeyValueBackup() 139 checkDeviceTest(FULL_BACKUP_APP_PACKAGE, FULL_BACKUP_DEVICE_TEST_CLASS_NAME, "createFiles"); in testSuccessNotificationForFullBackup() 142 checkDeviceTest("verifyBackupSuccessNotificationReceivedForFullBackupApp"); in testSuccessNotificationForFullBackup() 213 private void checkDeviceTest(String methodName) throws DeviceNotAvailableException { in checkDeviceTest() method in SuccessNotificationHostSideTest 214 checkDeviceTest(SUCCESS_NOTIFICATION_APP_PACKAGE, SUCCESS_NOTIFICATION_DEVICE_TEST_NAME, in checkDeviceTest()
|
D | ProfileSerialNumberHostSideTest.java | 88 checkDeviceTest("testSetAndGetAncestralSerialNumber"); in testSetAndGetAncestralSerialNumber() 98 checkDeviceTest( in testGetUserForAncestralSerialNumber_returnsNull_whenNoUserHasGivenSerialNumber() 102 private void checkDeviceTest(String methodName) throws DeviceNotAvailableException { in checkDeviceTest() method in ProfileSerialNumberHostSideTest
|
D | BackupEligibilityHostSideTest.java | 202 checkDeviceTest(BACKUP_ELIGIBILITY_APP_NAME, BACKUP_ELIGIBILITY_DEVICE_TEST_CLASS_NAME, in checkBackupEligibilityDeviceTest() 233 checkDeviceTest(packageName, className, procedureName); in runDeviceSideProcedure()
|
D | FullBackupOnlyHostSideTest.java | 153 checkDeviceTest(FULLBACKUPONLY_APP_PACKAGE, FULLBACKUPONLY_DEVICE_TEST_CLASS_NAME, in checkFullBackupOnlyDeviceTest()
|
D | RestoreAnyVersionHostSideTest.java | 158 checkDeviceTest(RESTORE_ANY_VERSION_APP_PACKAGE, RESTORE_ANY_VERSION_DEVICE_TEST_NAME, in checkRestoreAnyVersionDeviceTest()
|
D | BaseBackupHostSideTest.java | 105 protected void checkDeviceTest(String packageName, String className, String testName) in checkDeviceTest() method in BaseBackupHostSideTest
|