Lines Matching refs:dpm
47 dpm.setMaximumFailedPasswordsForWipe(mAdminComponent, 3); in testGetMaximumFailedPasswordsForWipe()
48 assertEquals(3, dpm.getMaximumFailedPasswordsForWipe(mAdminComponent)); in testGetMaximumFailedPasswordsForWipe()
50 dpm.setMaximumFailedPasswordsForWipe(mAdminComponent, 5); in testGetMaximumFailedPasswordsForWipe()
51 assertEquals(5, dpm.getMaximumFailedPasswordsForWipe(mAdminComponent)); in testGetMaximumFailedPasswordsForWipe()
60 dpm.setPasswordQuality(mAdminComponent, in testPasswordHistoryLength()
62 int originalValue = dpm.getPasswordHistoryLength(mAdminComponent); in testPasswordHistoryLength()
64 dpm.setPasswordHistoryLength(mAdminComponent, 3); in testPasswordHistoryLength()
65 assertEquals(3, dpm.getPasswordHistoryLength(mAdminComponent)); in testPasswordHistoryLength()
70 dpm.setPasswordHistoryLength(mAdminComponent, originalValue); in testPasswordHistoryLength()
78 long originalValue = dpm.getPasswordExpirationTimeout(mAdminComponent); in testPasswordExpirationTimeout()
82 dpm.setPasswordExpirationTimeout(mAdminComponent, testLength); in testPasswordExpirationTimeout()
84 dpm.getPasswordExpirationTimeout(mAdminComponent)); in testPasswordExpirationTimeout()
87 dpm.setPasswordExpirationTimeout(mAdminComponent, originalValue); in testPasswordExpirationTimeout()