Home
last modified time | relevance | path

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

/development/samples/training/device-management-policy/src/com/example/training/deviceadmin/
DPolicySetupActivity.java54 private Policy mPolicy; field in PolicySetupActivity
60 mPolicy = new Policy(this); in onCreate()
69 if (savedScreenId == UNKNOWN_SCREEN_ID || !mPolicy.isAdminActive()) { in onResume()
144 mPolicy.readFromLocal(); in initPolicySetupScreen()
145 mPasswordQualityInputField.setSelection(mPolicy.getPasswordQuality()); in initPolicySetupScreen()
146 if (mPolicy.getPasswordLength() > 0) { in initPolicySetupScreen()
147 mPasswordLengthInputField.setText(String.valueOf(mPolicy.getPasswordLength())); in initPolicySetupScreen()
152 if (mPolicy.getPasswordMinUpperCase() > 0) { in initPolicySetupScreen()
154 String.valueOf(mPolicy.getPasswordMinUpperCase())); in initPolicySetupScreen()
166 mPolicy.readFromLocal(); in initViewPolicyScreen()
[all …]