Searched refs:mContentProtectionPolicy (Results 1 – 4 of 4) sorted by relevance
72 private int mContentProtectionPolicy = DevicePolicyManager.CONTENT_PROTECTION_DISABLED; field in ContentProtectionTogglePreferenceControllerTest158 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 …]
73 private int mContentProtectionPolicy = DevicePolicyManager.CONTENT_PROTECTION_DISABLED; field in ContentProtectionWorkSwitchControllerTest136 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()
54 private int mContentProtectionPolicy = DevicePolicyManager.CONTENT_PROTECTION_DISABLED; field in ContentProtectionTogglePreferenceController62 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()
40 private int mContentProtectionPolicy = DevicePolicyManager.CONTENT_PROTECTION_DISABLED; field in ContentProtectionWorkSwitchController49 mContentProtectionPolicy = getContentProtectionPolicy(mManagedProfile); in ContentProtectionWorkSwitchController()62 if (mContentProtectionPolicy in getAvailabilityStatus()74 return mContentProtectionPolicy == DevicePolicyManager.CONTENT_PROTECTION_ENABLED; in isChecked()