Searched refs:isBackupServiceActive (Results 1 – 7 of 7) sorted by relevance
127 ShadowBackupSettingsHelper.isBackupServiceActive = true; in getNonIndexableKeys_whenBackupServiceActive()137 ShadowBackupSettingsHelper.isBackupServiceActive = false; in getNonIndexableKeys_whenBackupServiceNotActive()147 static boolean isBackupServiceActive = true; field in UserBackupSettingsActivityTest.ShadowBackupSettingsHelper150 public boolean isBackupServiceActive() { in isBackupServiceActive() method in UserBackupSettingsActivityTest.ShadowBackupSettingsHelper151 return isBackupServiceActive; in isBackupServiceActive()166 isBackupServiceActive = true; in reset()
59 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()
127 when(mBackupManager.isBackupServiceActive(anyInt())).thenReturn(true); in testGetIntentFromBackupTransport_BackupEnabled()140 when(mBackupManager.isBackupServiceActive(anyInt())).thenReturn(false); in testGetIntentFromBackupTransport_BackupDisabled()153 when(mBackupManager.isBackupServiceActive(anyInt())).thenThrow(new RemoteException()); in testGetIntentFromBackupTransport_BackupStatusException()
150 intent.putExtra(BackupManager.EXTRA_BACKUP_SERVICES_AVAILABLE, isBackupServiceActive()); in getIntentForBackupSettingsFromTransport()194 public boolean isBackupServiceActive() { in isBackupServiceActive() method in BackupSettingsHelper197 backupOkay = mBackupManager.isBackupServiceActive(UserHandle.myUserId()); in isBackupServiceActive()
31 if (!new BackupSettingsHelper(mContext).isBackupServiceActive()) { in getAvailabilityStatus()
126 if (!new BackupSettingsHelper(context).isBackupServiceActive()) {
69 isServiceActive = backupManager.isBackupServiceActive(UserHandle.myUserId()); in getInvisibleKey()