Home
last modified time | relevance | path

Searched refs:parentAdmin (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DActiveAdmin.java207 ActiveAdmin parentAdmin; field in ActiveAdmin
309 if (parentAdmin == null) { in getParentActiveAdmin()
310 parentAdmin = new ActiveAdmin(info, /* parent */ true); in getParentActiveAdmin()
312 return parentAdmin; in getParentActiveAdmin()
316 return parentAdmin != null; in hasParentActiveAdmin()
500 if (parentAdmin != null) { in writeToXml()
502 parentAdmin.writeToXml(out); in writeToXml()
750 parentAdmin = new ActiveAdmin(info, /* parent */ true); in readFromXml()
751 parentAdmin.readFromXml(parser, shouldOverridePolicies); in readFromXml()
937 parentAdmin.info = deviceAdminInfo; in transfer()
[all …]
DDevicePolicyManagerService.java2117 ActiveAdmin doAdmin, ActiveAdmin parentAdmin) { in moveDoPoliciesToProfileParentAdminLocked() argument
2119 if (parentAdmin.mPasswordPolicy.quality == PASSWORD_QUALITY_UNSPECIFIED) { in moveDoPoliciesToProfileParentAdminLocked()
2120 parentAdmin.mPasswordPolicy = doAdmin.mPasswordPolicy; in moveDoPoliciesToProfileParentAdminLocked()
2122 if (parentAdmin.passwordHistoryLength == ActiveAdmin.DEF_PASSWORD_HISTORY_LENGTH) { in moveDoPoliciesToProfileParentAdminLocked()
2123 parentAdmin.passwordHistoryLength = doAdmin.passwordHistoryLength; in moveDoPoliciesToProfileParentAdminLocked()
2125 if (parentAdmin.passwordExpirationTimeout == ActiveAdmin.DEF_PASSWORD_HISTORY_LENGTH) { in moveDoPoliciesToProfileParentAdminLocked()
2126 parentAdmin.passwordExpirationTimeout = doAdmin.passwordExpirationTimeout; in moveDoPoliciesToProfileParentAdminLocked()
2128 if (parentAdmin.maximumFailedPasswordsForWipe in moveDoPoliciesToProfileParentAdminLocked()
2130 parentAdmin.maximumFailedPasswordsForWipe = doAdmin.maximumFailedPasswordsForWipe; in moveDoPoliciesToProfileParentAdminLocked()
2132 if (parentAdmin.maximumTimeToUnlock == ActiveAdmin.DEF_MAXIMUM_TIME_TO_UNLOCK) { in moveDoPoliciesToProfileParentAdminLocked()
[all …]