Lines Matching refs:dpm
42 dpm.setMaximumFailedPasswordsForWipe(mAdminComponent, 3); in testGetMaximumFailedPasswordsForWipe()
43 assertEquals(3, dpm.getMaximumFailedPasswordsForWipe(mAdminComponent)); in testGetMaximumFailedPasswordsForWipe()
45 dpm.setMaximumFailedPasswordsForWipe(mAdminComponent, 5); in testGetMaximumFailedPasswordsForWipe()
46 assertEquals(5, dpm.getMaximumFailedPasswordsForWipe(mAdminComponent)); in testGetMaximumFailedPasswordsForWipe()
52 dpm.setPasswordQuality(mAdminComponent, in testPasswordHistoryLength()
54 int originalValue = dpm.getPasswordHistoryLength(mAdminComponent); in testPasswordHistoryLength()
56 dpm.setPasswordHistoryLength(mAdminComponent, 3); in testPasswordHistoryLength()
57 assertEquals(3, dpm.getPasswordHistoryLength(mAdminComponent)); in testPasswordHistoryLength()
62 dpm.setPasswordHistoryLength(mAdminComponent, originalValue); in testPasswordHistoryLength()
67 long originalValue = dpm.getPasswordExpirationTimeout(mAdminComponent); in testPasswordExpirationTimeout()
71 dpm.setPasswordExpirationTimeout(mAdminComponent, testLength); in testPasswordExpirationTimeout()
73 dpm.getPasswordExpirationTimeout(mAdminComponent)); in testPasswordExpirationTimeout()
76 dpm.setPasswordExpirationTimeout(mAdminComponent, originalValue); in testPasswordExpirationTimeout()