Home
last modified time | relevance | path

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

/packages/apps/TvSettings/unbundle/java/com/android/tv/settings/unbundle/sdklib/
DDevicePolicyManagerCompat.java130 public boolean isRemovingAdmin(@NonNull ComponentName admin, int userId) { in isRemovingAdmin() method in DevicePolicyManagerCompat
131 return this.mManager.isRemovingAdmin(admin, userId); in isRemovingAdmin()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/deviceadmin/
DDeviceAdminListItem.java87 return !mDPM.isRemovingAdmin(mInfo.getComponent(), getUserIdFromDeviceAdminInfo(mInfo)); in isEnabled()
DDeviceAdminAdd.java231 if (mDPM.isRemovingAdmin(who, android.os.Process.myUserHandle().getIdentifier())) { in onCreate()
/packages/apps/Settings/src/com/android/settings/applications/specialaccess/deviceadmin/
DDeviceAdminListItem.java82 return !mDPM.isRemovingAdmin(mInfo.getComponent(), getUserIdFromDeviceAdminInfo(mInfo)); in isEnabled()
DDeviceAdminAdd.java275 if (mDPM.isRemovingAdmin(who, android.os.Process.myUserHandle().getIdentifier())) { in onCreate()
/packages/apps/Car/Settings/src/com/android/car/settings/enterprise/
DDeviceAdminAppsPreferenceController.java118 return !mDpm.isRemovingAdmin(componentName, getContext().getUserId()); in isEnabled()
DDeviceAdminAddFragment.java157 if (mDpm.isRemovingAdmin(admin, myUserHandle().getIdentifier())) { in onAttach()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/enterprise/
DBaseEnterpriseTestCase.java207 when(mDpm.isRemovingAdmin(admin, userId)).thenReturn(true); in mockRemovingAdmin()