Home
last modified time | relevance | path

Searched refs:mPSCD (Results 1 – 12 of 12) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/backup/
DDataManagementPreferenceControllerTest.java44 private PrivacySettingsConfigData mPSCD; field in DataManagementPreferenceControllerTest
60 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 …]
DConfigureAccountPreferenceControllerTest.java44 private PrivacySettingsConfigData mPSCD; field in ConfigureAccountPreferenceControllerTest
55 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 …]
DBackupDataPreferenceControllerTest.java42 private PrivacySettingsConfigData mPSCD; field in BackupDataPreferenceControllerTest
49 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()
DAutoRestorePreferenceControllerTest.java41 private PrivacySettingsConfigData mPSCD; field in AutoRestorePreferenceControllerTest
48 mPSCD = PrivacySettingsConfigData.getInstance(); in setUp()
61 mPSCD.setBackupEnabled(true); in updateState_backupEnabled_prefShouldBeEnabled()
62 mPSCD.setBackupGray(false); in updateState_backupEnabled_prefShouldBeEnabled()
/packages/apps/Settings/src/com/android/settings/backup/
DDataManagementPreferenceController.java26 private PrivacySettingsConfigData mPSCD; field in DataManagementPreferenceController
30 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()
DBackupDataPreferenceController.java27 private PrivacySettingsConfigData mPSCD; field in BackupDataPreferenceController
31 mPSCD = PrivacySettingsConfigData.getInstance(); in BackupDataPreferenceController()
48 if (mPSCD.isBackupGray()) { in updateState()
55 if (!mPSCD.isBackupGray()) { in getSummary()
56 return mPSCD.isBackupEnabled() in getSummary()
DConfigureAccountPreferenceController.java28 private PrivacySettingsConfigData mPSCD; field in ConfigureAccountPreferenceController
32 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()
DAutoRestorePreferenceController.java35 private PrivacySettingsConfigData mPSCD; field in AutoRestorePreferenceController
40 mPSCD = PrivacySettingsConfigData.getInstance(); in AutoRestorePreferenceController()
58 preference.setEnabled(mPSCD.isBackupEnabled()); in updateState()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/backup/
DDataManagementPreferenceController.java26 private PrivacySettingsConfigData mPSCD; field in DataManagementPreferenceController
30 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()
DBackupDataPreferenceController.java27 private PrivacySettingsConfigData mPSCD; field in BackupDataPreferenceController
31 mPSCD = PrivacySettingsConfigData.getInstance(); in BackupDataPreferenceController()
48 if (mPSCD.isBackupGray()) { in updateState()
55 if (!mPSCD.isBackupGray()) { in getSummary()
56 return mPSCD.isBackupEnabled() in getSummary()
DConfigureAccountPreferenceController.java28 private PrivacySettingsConfigData mPSCD; field in ConfigureAccountPreferenceController
32 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()
DAutoRestorePreferenceController.java35 private PrivacySettingsConfigData mPSCD; field in AutoRestorePreferenceController
40 mPSCD = PrivacySettingsConfigData.getInstance(); in AutoRestorePreferenceController()
58 preference.setEnabled(mPSCD.isBackupEnabled()); in updateState()