Searched refs:isAdminActive (Results 1 – 2 of 2) sorted by relevance
201 assertThat(devicePolicyManager.isAdminActive(testComponent)).isFalse(); in isAdminActiveShouldReturnFalseForNonAdminDevice()211 assertThat(devicePolicyManager.isAdminActive(testComponent)).isTrue(); in isAdminActiveShouldReturnTrueForAnyDeviceAdminDevice()
170 protected boolean isAdminActive(ComponentName who) { in isAdminActive() method in ShadowDevicePolicyManager