Searched refs:mDeviceAdmin (Results 1 – 4 of 4) sorted by relevance
103 DeviceAdminInfo mDeviceAdmin; field in DeviceAdminAdd236 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 …]
104 DeviceAdminInfo mDeviceAdmin; field in DeviceAdminAdd237 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 …]
47 DeviceAdminInfo mDeviceAdmin; field in DeviceAdminAdd147 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()
52 private DeviceAdminInfo mDeviceAdmin; field in DeviceAdminAddTest67 when(mDeviceAdmin.getComponent().getPackageName()).thenReturn(PACKAGE_NAME); in setUp()68 mDeviceAdminAdd.mDeviceAdmin = mDeviceAdmin; in setUp()