Searched refs:isRemovingAdmin (Results 1 – 8 of 8) sorted by relevance
130 public boolean isRemovingAdmin(@NonNull ComponentName admin, int userId) { in isRemovingAdmin() method in DevicePolicyManagerCompat131 return this.mManager.isRemovingAdmin(admin, userId); in isRemovingAdmin()
87 return !mDPM.isRemovingAdmin(mInfo.getComponent(), getUserIdFromDeviceAdminInfo(mInfo)); in isEnabled()
231 if (mDPM.isRemovingAdmin(who, android.os.Process.myUserHandle().getIdentifier())) { in onCreate()
82 return !mDPM.isRemovingAdmin(mInfo.getComponent(), getUserIdFromDeviceAdminInfo(mInfo)); in isEnabled()
275 if (mDPM.isRemovingAdmin(who, android.os.Process.myUserHandle().getIdentifier())) { in onCreate()
118 return !mDpm.isRemovingAdmin(componentName, getContext().getUserId()); in isEnabled()
157 if (mDpm.isRemovingAdmin(admin, myUserHandle().getIdentifier())) { in onAttach()
207 when(mDpm.isRemovingAdmin(admin, userId)).thenReturn(true); in mockRemovingAdmin()