Searched refs:mPSCD (Results 1 – 8 of 8) sorted by relevance
44 private PrivacySettingsConfigData mPSCD; field in DataManagementPreferenceControllerTest60 mPSCD = PrivacySettingsConfigData.getInstance(); in setUp()68 mPSCD.setBackupEnabled(true); in updateState_backupEnabled_hadManageIntent_hasManageLable_prefShouldBeHasTitle()69 mPSCD.setBackupGray(false); in updateState_backupEnabled_hadManageIntent_hasManageLable_prefShouldBeHasTitle()70 mPSCD.setManageIntent(mIntent); in updateState_backupEnabled_hadManageIntent_hasManageLable_prefShouldBeHasTitle()71 mPSCD.setManageLabel(mTitle); in updateState_backupEnabled_hadManageIntent_hasManageLable_prefShouldBeHasTitle()79 mPSCD.setBackupEnabled(true); in getAvailabilityStatus_isAdmin_backupEnabled_hadManageIntent_shouldBeAvailable()80 mPSCD.setBackupGray(false); in getAvailabilityStatus_isAdmin_backupEnabled_hadManageIntent_shouldBeAvailable()81 mPSCD.setManageIntent(mIntent); in getAvailabilityStatus_isAdmin_backupEnabled_hadManageIntent_shouldBeAvailable()82 mPSCD.setManageLabel(mTitle); in getAvailabilityStatus_isAdmin_backupEnabled_hadManageIntent_shouldBeAvailable()[all …]
44 private PrivacySettingsConfigData mPSCD; field in ConfigureAccountPreferenceControllerTest55 mPSCD = PrivacySettingsConfigData.getInstance(); in setUp()69 mPSCD.setBackupEnabled(true); in updateState_backupEnabled_hadConfigIntent_prefShouldBeEnabled()70 mPSCD.setBackupGray(false); in updateState_backupEnabled_hadConfigIntent_prefShouldBeEnabled()71 mPSCD.setConfigIntent(mIntent); in updateState_backupEnabled_hadConfigIntent_prefShouldBeEnabled()80 mPSCD.setBackupEnabled(true); in updateState_backupEnabled_hadConfigIntent_nullConfigSummary_prefDisplayDefaultSummary()81 mPSCD.setBackupGray(false); in updateState_backupEnabled_hadConfigIntent_nullConfigSummary_prefDisplayDefaultSummary()82 mPSCD.setConfigIntent(mIntent); in updateState_backupEnabled_hadConfigIntent_nullConfigSummary_prefDisplayDefaultSummary()83 mPSCD.setConfigSummary(null); in updateState_backupEnabled_hadConfigIntent_nullConfigSummary_prefDisplayDefaultSummary()93 mPSCD.setBackupEnabled(true); in updateState_backupEnabled_hadConfigIntent_hasConfigSummary_prefDisplayConfigSummary()[all …]
42 private PrivacySettingsConfigData mPSCD; field in BackupDataPreferenceControllerTest49 mPSCD = PrivacySettingsConfigData.getInstance(); in setUp()62 mPSCD.setBackupEnabled(true); in updateState_backupEnabled_prefShouldBeEnabled()63 mPSCD.setBackupGray(false); in updateState_backupEnabled_prefShouldBeEnabled()71 mPSCD.setBackupEnabled(true); in updateState_backupEnabled_prefShouldDisplayOnSummary()72 mPSCD.setBackupGray(false); in updateState_backupEnabled_prefShouldDisplayOnSummary()81 mPSCD.setBackupEnabled(false); in updateState_backupDisabled_prefShouldDisplayOffSummary()82 mPSCD.setBackupGray(false); in updateState_backupDisabled_prefShouldDisplayOffSummary()
41 private PrivacySettingsConfigData mPSCD; field in AutoRestorePreferenceControllerTest48 mPSCD = PrivacySettingsConfigData.getInstance(); in setUp()61 mPSCD.setBackupEnabled(true); in updateState_backupEnabled_prefShouldBeEnabled()62 mPSCD.setBackupGray(false); in updateState_backupEnabled_prefShouldBeEnabled()
26 private PrivacySettingsConfigData mPSCD; field in DataManagementPreferenceController30 mPSCD = PrivacySettingsConfigData.getInstance(); in DataManagementPreferenceController()38 boolean manageEnabled = (mPSCD.getManageIntent() != null) && mPSCD.isBackupEnabled(); in getAvailabilityStatus()50 preference.setIntent(mPSCD.getManageIntent()); in updateState()51 final CharSequence manageLabel = mPSCD.getManageLabel(); in updateState()
27 private PrivacySettingsConfigData mPSCD; field in BackupDataPreferenceController31 mPSCD = PrivacySettingsConfigData.getInstance(); in BackupDataPreferenceController()48 if (mPSCD.isBackupGray()) { in updateState()55 if (!mPSCD.isBackupGray()) { in getSummary()56 return mPSCD.isBackupEnabled() in getSummary()
28 private PrivacySettingsConfigData mPSCD; field in ConfigureAccountPreferenceController32 mPSCD = PrivacySettingsConfigData.getInstance(); in ConfigureAccountPreferenceController()49 final Intent configIntent = mPSCD.getConfigIntent(); in updateState()50 final boolean configureEnabled = (configIntent != null) && mPSCD.isBackupEnabled(); in updateState()57 final String configSummary = mPSCD.getConfigSummary(); in getSummary()
36 private PrivacySettingsConfigData mPSCD; field in AutoRestorePreferenceController41 mPSCD = PrivacySettingsConfigData.getInstance(); in AutoRestorePreferenceController()59 preference.setEnabled(mPSCD.isBackupEnabled()); in updateState()