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()
164 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()
169 intent.putExtra(BackupManager.EXTRA_BACKUP_SERVICES_AVAILABLE, isBackupServiceActive()); in getIntentForBackupSettingsFromTransport()213 public boolean isBackupServiceActive() { in isBackupServiceActive() method in BackupSettingsHelper216 backupOkay = mBackupManager.isBackupServiceActive(UserHandle.myUserId()); in isBackupServiceActive()
31 if (!new BackupSettingsHelper(mContext).isBackupServiceActive()) { in getAvailabilityStatus()
69 isServiceActive = backupManager.isBackupServiceActive(UserHandle.myUserId()); in getInvisibleKey()
126 if (!new BackupSettingsHelper(context).isBackupServiceActive()) {