Searched refs:mParentDevicePolicyManager (Results 1 – 7 of 7) sorted by relevance
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
D | DevicePolicyManagerParentSupportTest.java | 33 mParentDevicePolicyManager.setRequiredPasswordComplexity(PASSWORD_COMPLEXITY_HIGH); in testSetAndGetRequiredPasswordComplexity_onParent() 36 mParentDevicePolicyManager.getRequiredPasswordComplexity(); in testSetAndGetRequiredPasswordComplexity_onParent() 40 mParentDevicePolicyManager.setRequiredPasswordComplexity( in testSetAndGetRequiredPasswordComplexity_onParent() 51 mParentDevicePolicyManager.setPasswordHistoryLength( in testSetAndGetPasswordHistoryLength_onParent() 54 mParentDevicePolicyManager.getPasswordHistoryLength(ADMIN_RECEIVER_COMPONENT); in testSetAndGetPasswordHistoryLength_onParent() 65 mParentDevicePolicyManager.getPasswordComplexity(); in testGetPasswordComplexity_onParent() 76 mParentDevicePolicyManager.setPasswordExpirationTimeout( in testSetAndGetPasswordExpirationTimeout_onParent() 79 mParentDevicePolicyManager.getPasswordExpirationTimeout(ADMIN_RECEIVER_COMPONENT); in testSetAndGetPasswordExpirationTimeout_onParent() 91 mParentDevicePolicyManager.setPasswordExpirationTimeout( in testGetPasswordExpiration_onParent() 94 mParentDevicePolicyManager.getPasswordExpiration(ADMIN_RECEIVER_COMPONENT); in testGetPasswordExpiration_onParent() [all …]
|
D | ActivePasswordSufficientForDeviceTest.java | 44 mParentDevicePolicyManager.setRequiredPasswordComplexity(PASSWORD_COMPLEXITY_NONE); in setUp() 53 assertTrue(mParentDevicePolicyManager.isActivePasswordSufficientForDeviceRequirement()); in testActivePsswordSufficientForDevice_NoPolicy() 57 mParentDevicePolicyManager.setRequiredPasswordComplexity(PASSWORD_COMPLEXITY_MEDIUM); in testActivePsswordSufficientForDevice_UnmetParentPolicy() 58 assertFalse(mParentDevicePolicyManager.isActivePasswordSufficientForDeviceRequirement()); in testActivePsswordSufficientForDevice_UnmetParentPolicy() 65 assertTrue(mParentDevicePolicyManager.isActivePasswordSufficientForDeviceRequirement()); in testActivePsswordSufficientForDevice_IrrelevantProfilePolicy() 74 mParentDevicePolicyManager.setRequiredPasswordComplexity(PASSWORD_COMPLEXITY_LOW); in testActivePsswordSufficientForDevice_UnifiedPassword_BothPolicies() 77 assertTrue(mParentDevicePolicyManager.isActivePasswordSufficientForDeviceRequirement()); in testActivePsswordSufficientForDevice_UnifiedPassword_BothPolicies() 81 mParentDevicePolicyManager.setRequiredPasswordComplexity(PASSWORD_COMPLEXITY_NONE); in testActivePsswordSufficientForDevice_UnifiedPassword_BothPolicies() 105 mParentDevicePolicyManager.setRequiredPasswordComplexity(PASSWORD_COMPLEXITY_HIGH); in toTestActivePsswordSufficientForDevice_SeparatePassword_BothPolicies() 109 mParentDevicePolicyManager.isActivePasswordSufficientForDeviceRequirement()); in toTestActivePsswordSufficientForDevice_SeparatePassword_BothPolicies() [all …]
|
D | BaseManagedProfileTest.java | 40 protected DevicePolicyManager mParentDevicePolicyManager; field in BaseManagedProfileTest 51 mParentDevicePolicyManager = in setUp() 65 return isParent ? mParentDevicePolicyManager : mDevicePolicyManager; in getDevicePolicyManager()
|
D | TrustAgentInfoTest.java | 72 mParentDevicePolicyManager.getTrustAgentConfiguration( in testSetTrustAgentConfiguration_bothHaveTrustAgentConfigAndUnified() 83 parentConfig = mParentDevicePolicyManager.getTrustAgentConfiguration( in testSetTrustAgentConfiguration_bothHaveTrustAgentConfigAndUnified() 101 mParentDevicePolicyManager.getTrustAgentConfiguration( in testSetTrustAgentConfiguration_bothHaveTrustAgentConfigAndNonUnified()
|
D | ParentProfileTest.java | 145 method.invoke(mParentDevicePolicyManager, params); in testParentProfileApiDisabled() 178 () -> mParentDevicePolicyManager.wipeData(0)); in testCannotWipeParentProfile() 184 () -> mParentDevicePolicyManager.setDefaultSmsApplication(ADMIN_RECEIVER_COMPONENT, in testCannotCallSetDefaultSmsApplicationOnParentProfile()
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
D | DevicePolicyLoggingParentTest.java | 24 private DevicePolicyManager mParentDevicePolicyManager; field in DevicePolicyLoggingParentTest 30 mParentDevicePolicyManager = in setUp() 35 mParentDevicePolicyManager.setCameraDisabled(ADMIN_RECEIVER_COMPONENT, true); in testCameraDisabledLogged() 36 mParentDevicePolicyManager.setCameraDisabled(ADMIN_RECEIVER_COMPONENT, false); in testCameraDisabledLogged() 40 mParentDevicePolicyManager.addUserRestriction(ADMIN_RECEIVER_COMPONENT, in testUserRestrictionLogged() 42 mParentDevicePolicyManager.clearUserRestriction(ADMIN_RECEIVER_COMPONENT, in testUserRestrictionLogged()
|
D | OrgOwnedProfileOwnerParentTest.java | 46 private DevicePolicyManager mParentDevicePolicyManager; field in OrgOwnedProfileOwnerParentTest 57 mParentDevicePolicyManager = in setUp() 59 assertNotNull(mParentDevicePolicyManager); in setUp() 121 mParentDevicePolicyManager.addUserRestriction(ADMIN_RECEIVER_COMPONENT, restriction); in testAddGetAndClearUserRestriction_onParent() 123 Bundle restrictions = mParentDevicePolicyManager.getUserRestrictions( in testAddGetAndClearUserRestriction_onParent() 127 mParentDevicePolicyManager.clearUserRestriction(ADMIN_RECEIVER_COMPONENT, restriction); in testAddGetAndClearUserRestriction_onParent() 129 restrictions = mParentDevicePolicyManager.getUserRestrictions(ADMIN_RECEIVER_COMPONENT); in testAddGetAndClearUserRestriction_onParent() 142 () -> mParentDevicePolicyManager.addUserRestriction(ADMIN_RECEIVER_COMPONENT, in testUnableToAddBaseUserRestriction() 148 () -> mParentDevicePolicyManager.clearUserRestriction(ADMIN_RECEIVER_COMPONENT, in testUnableToClearBaseUserRestriction() 153 mParentDevicePolicyManager.setPasswordQuality(ADMIN_RECEIVER_COMPONENT, in testCanSetPasswordQualityOnParent() [all …]
|