Home
last modified time | relevance | path

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

/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/specialaccess/deviceadmin/
DDeviceAdminAdd.java103 DeviceAdminInfo mDeviceAdmin; field in DeviceAdminAdd
236 mDeviceAdmin = new DeviceAdminInfo(this, ri); in onCreate()
259 ArrayList<DeviceAdminInfo.PolicyInfo> newPolicies = mDeviceAdmin.getUsedPolicies(); in onCreate()
333 mDeviceAdmin.getActivityInfo().applicationInfo.uid); in onCreate()
343 mDeviceAdmin.getActivityInfo().applicationInfo.uid); in onCreate()
344 mDPM.uninstallPackageWithActiveAdmins(mDeviceAdmin.getPackageName()); in onCreate()
361 } else if (isManagedProfile(mDeviceAdmin) in onCreate()
362 && mDeviceAdmin.getComponent().equals(mDPM.getProfileOwner())) { in onCreate()
375 mDPM.uninstallPackageWithActiveAdmins(mDeviceAdmin.getPackageName()); in onCreate()
385 mDPM.getRemoveWarning(mDeviceAdmin.getComponent(), in onCreate()
[all …]
/packages/apps/Settings/src/com/android/settings/applications/specialaccess/deviceadmin/
DDeviceAdminAdd.java104 DeviceAdminInfo mDeviceAdmin; field in DeviceAdminAdd
237 mDeviceAdmin = new DeviceAdminInfo(this, ri); in onCreate()
260 ArrayList<DeviceAdminInfo.PolicyInfo> newPolicies = mDeviceAdmin.getUsedPolicies(); in onCreate()
380 mDeviceAdmin.getActivityInfo().applicationInfo.uid); in onCreate()
390 mDeviceAdmin.getActivityInfo().applicationInfo.uid); in onCreate()
391 mDPM.uninstallPackageWithActiveAdmins(mDeviceAdmin.getPackageName()); in onCreate()
408 } else if (isManagedProfile(mDeviceAdmin) in onCreate()
409 && mDeviceAdmin.getComponent().equals(mDPM.getProfileOwner())) { in onCreate()
422 mDPM.uninstallPackageWithActiveAdmins(mDeviceAdmin.getPackageName()); in onCreate()
432 mDPM.getRemoveWarning(mDeviceAdmin.getComponent(), in onCreate()
[all …]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/deviceadmin/
DDeviceAdminAdd.java47 DeviceAdminInfo mDeviceAdmin; field in DeviceAdminAdd
147 mDeviceAdmin = new DeviceAdminInfo(this, ri); in onCreate()
204 logSpecialPermissionChange(true, mDeviceAdmin.getComponent().getPackageName()); in addAndFinish()
205 mDPM.setActiveAdmin(mDeviceAdmin.getComponent(), mRefreshing); in addAndFinish()
207 mDeviceAdmin.getActivityInfo().applicationInfo.uid); in addAndFinish()
214 + mDeviceAdmin.getComponent(), e); in addAndFinish()
215 if (mDPM.isAdminActive(mDeviceAdmin.getComponent())) { in addAndFinish()
221 mDPM.setProfileOwner(mDeviceAdmin.getComponent(), in addAndFinish()
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/specialaccess/deviceadmin/
DDeviceAdminAddTest.java52 private DeviceAdminInfo mDeviceAdmin; field in DeviceAdminAddTest
67 when(mDeviceAdmin.getComponent().getPackageName()).thenReturn(PACKAGE_NAME); in setUp()
68 mDeviceAdminAdd.mDeviceAdmin = mDeviceAdmin; in setUp()