Home
last modified time | relevance | path

Searched refs:isBackupServiceActive (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/backup/
DUserBackupSettingsActivityTest.java127 ShadowBackupSettingsHelper.isBackupServiceActive = true; in getNonIndexableKeys_whenBackupServiceActive()
137 ShadowBackupSettingsHelper.isBackupServiceActive = false; in getNonIndexableKeys_whenBackupServiceNotActive()
147 static boolean isBackupServiceActive = true; field in UserBackupSettingsActivityTest.ShadowBackupSettingsHelper
150 public boolean isBackupServiceActive() { in isBackupServiceActive() method in UserBackupSettingsActivityTest.ShadowBackupSettingsHelper
151 return isBackupServiceActive; in isBackupServiceActive()
166 isBackupServiceActive = true; in reset()
DBackupInactivePreferenceControllerTest.java59 ShadowBackupSettingsHelper.isBackupServiceActive = true; in getAvailabilityStatus_isnotInvisibleKey_backupActive_shouldBeAvailable()
68 ShadowBackupSettingsHelper.isBackupServiceActive = false; in getAvailabilityStatus_isnotInvisibleKey_backupNotActive_shouldBeUnsearchable()
77 ShadowBackupSettingsHelper.isBackupServiceActive = true; in getAvailabilityStatus_isInvisibleKey_shouldBeDisabledUnsupported()
DBackupSettingsHelperTest.java164 when(mBackupManager.isBackupServiceActive(anyInt())).thenReturn(true); in testGetIntentFromBackupTransport_BackupEnabled()
177 when(mBackupManager.isBackupServiceActive(anyInt())).thenReturn(false); in testGetIntentFromBackupTransport_BackupDisabled()
190 when(mBackupManager.isBackupServiceActive(anyInt())).thenThrow(new RemoteException()); in testGetIntentFromBackupTransport_BackupStatusException()
/packages/apps/Settings/src/com/android/settings/backup/
DBackupSettingsHelper.java169 intent.putExtra(BackupManager.EXTRA_BACKUP_SERVICES_AVAILABLE, isBackupServiceActive()); in getIntentForBackupSettingsFromTransport()
213 public boolean isBackupServiceActive() { in isBackupServiceActive() method in BackupSettingsHelper
216 backupOkay = mBackupManager.isBackupServiceActive(UserHandle.myUserId()); in isBackupServiceActive()
DBackupInactivePreferenceController.java31 if (!new BackupSettingsHelper(mContext).isBackupServiceActive()) { in getAvailabilityStatus()
DPrivacySettingsUtils.java69 isServiceActive = backupManager.isBackupServiceActive(UserHandle.myUserId()); in getInvisibleKey()
DUserBackupSettingsActivity.java126 if (!new BackupSettingsHelper(context).isBackupServiceActive()) {