Home
last modified time | relevance | path

Searched refs:mContentProtectionPolicy (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/security/
DContentProtectionTogglePreferenceControllerTest.java72 private int mContentProtectionPolicy = DevicePolicyManager.CONTENT_PROTECTION_DISABLED; field in ContentProtectionTogglePreferenceControllerTest
158 mContentProtectionPolicy = DevicePolicyManager.CONTENT_PROTECTION_DISABLED; in isChecked_enforcedAdmin_flagEnabled_policyDisabled_false()
169 mContentProtectionPolicy = DevicePolicyManager.CONTENT_PROTECTION_ENABLED; in isChecked_enforcedAdmin_flagEnabled_policyEnabled_true()
181 mContentProtectionPolicy = DevicePolicyManager.CONTENT_PROTECTION_NOT_CONTROLLED_BY_POLICY; in isChecked_enforcedAdmin_flagEnabled_policyNotControlled_readsSettingsTrue()
192 mContentProtectionPolicy = DevicePolicyManager.CONTENT_PROTECTION_NOT_CONTROLLED_BY_POLICY; in isChecked_enforcedAdmin_flagEnabled_policyNotControlled_readsSettingsFalse()
204 mContentProtectionPolicy = DevicePolicyManager.CONTENT_PROTECTION_NOT_CONTROLLED_BY_POLICY; in isChecked_enforcedAdmin_flagEnabled_policyNotControlled_readsSettingsDefaultTrue()
245 mContentProtectionPolicy = DevicePolicyManager.CONTENT_PROTECTION_DISABLED; in updateState_flagEnabled_noEnforcedAdmin_policyDisabled()
257 mContentProtectionPolicy = DevicePolicyManager.CONTENT_PROTECTION_ENABLED; in updateState_flagEnabled_noEnforcedAdmin_policyEnabled()
269 mContentProtectionPolicy = DevicePolicyManager.CONTENT_PROTECTION_NOT_CONTROLLED_BY_POLICY; in updateState_flagEnabled_noEnforcedAdmin_policyNotControlled()
282 mContentProtectionPolicy = DevicePolicyManager.CONTENT_PROTECTION_DISABLED; in updateState_flagEnabled_enforcedAdmin_policyDisabled()
[all …]
DContentProtectionWorkSwitchControllerTest.java73 private int mContentProtectionPolicy = DevicePolicyManager.CONTENT_PROTECTION_DISABLED; field in ContentProtectionWorkSwitchControllerTest
136 mContentProtectionPolicy = DevicePolicyManager.CONTENT_PROTECTION_DISABLED; in getAvailabilityStatus_flagEnabled_managedProfile_policyDisabled_available()
147 mContentProtectionPolicy = DevicePolicyManager.CONTENT_PROTECTION_ENABLED; in getAvailabilityStatus_flagEnabled_managedProfile_policyEnabled_available()
158 mContentProtectionPolicy = DevicePolicyManager.CONTENT_PROTECTION_NOT_CONTROLLED_BY_POLICY; in getAvailabilityStatus_flagEnabled_managedProfile_policyNotControlled_unavailable()
186 mContentProtectionPolicy = DevicePolicyManager.CONTENT_PROTECTION_ENABLED; in isChecked_flagEnabled_policyEnabled_true()
196 mContentProtectionPolicy = DevicePolicyManager.CONTENT_PROTECTION_DISABLED; in isChecked_flagEnabled_policyDisabled_false()
206 mContentProtectionPolicy = DevicePolicyManager.CONTENT_PROTECTION_NOT_CONTROLLED_BY_POLICY; in isChecked_flagEnabled_policyNotControlled_false()
308 return mContentProtectionPolicy; in getContentProtectionPolicy()
/packages/apps/Settings/src/com/android/settings/security/
DContentProtectionTogglePreferenceController.java54 private int mContentProtectionPolicy = DevicePolicyManager.CONTENT_PROTECTION_DISABLED; field in ContentProtectionTogglePreferenceController
62 mContentProtectionPolicy = getContentProtectionPolicy(getManagedProfile()); in ContentProtectionTogglePreferenceController()
79 if (mContentProtectionPolicy == DevicePolicyManager.CONTENT_PROTECTION_DISABLED) { in isChecked()
82 if (mContentProtectionPolicy == DevicePolicyManager.CONTENT_PROTECTION_ENABLED) { in isChecked()
93 && mContentProtectionPolicy in setChecked()
122 mContentProtectionPolicy = DevicePolicyManager.CONTENT_PROTECTION_DISABLED; in updateState()
126 && mContentProtectionPolicy in updateState()
DContentProtectionWorkSwitchController.java40 private int mContentProtectionPolicy = DevicePolicyManager.CONTENT_PROTECTION_DISABLED; field in ContentProtectionWorkSwitchController
49 mContentProtectionPolicy = getContentProtectionPolicy(mManagedProfile); in ContentProtectionWorkSwitchController()
62 if (mContentProtectionPolicy in getAvailabilityStatus()
74 return mContentProtectionPolicy == DevicePolicyManager.CONTENT_PROTECTION_ENABLED; in isChecked()