Home
last modified time | relevance | path

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

/development/samples/training/device-management-policy/src/com/example/training/deviceadmin/
DPolicy.java128 public boolean isAdminActive() { in isAdminActive() method in Policy
129 return mDPM.isAdminActive(mPolicyAdmin); in isAdminActive()
137 return isAdminActive() && isActivePasswordSufficient(); in isDeviceSecured()
DPolicySetupActivity.java69 if (savedScreenId == UNKNOWN_SCREEN_ID || !mPolicy.isAdminActive()) { in onResume()
182 if (!mPolicy.isAdminActive()) { in initNavigation()
/development/samples/DataWiper/src/com.example.android.datawiper/
DMyAdmin.java32 .isAdminActive(getComponent(context)); in isEnabled()
/development/samples/ApiDemos/src/com/example/android/apis/app/
DDeviceAdminSample.java139 return mDPM.isAdminActive(mDeviceAdminSample); in isActiveAdmin()