Searched refs:PolicyInfo (Results 1 – 6 of 6) sorted by relevance
39 public List<PolicyInfo> getUsedPolicies() { in getUsedPolicies()40 List<DeviceAdminInfo.PolicyInfo> obj = mDeviceAdminInfo.getUsedPolicies(); in getUsedPolicies()41 List<PolicyInfo> result = new ArrayList<>(); in getUsedPolicies()43 result.add(new PolicyInfo(o)); in getUsedPolicies()48 public static class PolicyInfo { class in DeviceAdminInfoCompat57 public PolicyInfo(Object policyInfo) { in PolicyInfo() method in DeviceAdminInfoCompat.PolicyInfo59 mIdent = ((DeviceAdminInfo.PolicyInfo) policyInfo).ident; in PolicyInfo()60 mLabel = ((DeviceAdminInfo.PolicyInfo) policyInfo).label; in PolicyInfo()61 mDescription = ((DeviceAdminInfo.PolicyInfo) policyInfo).description; in PolicyInfo()63 ((DeviceAdminInfo.PolicyInfo) policyInfo).labelForSecondaryUsers; in PolicyInfo()[all …]
22 import android.app.admin.DeviceAdminInfo.PolicyInfo;229 ArrayList<PolicyInfo> usedPolicies = mFancyDeviceAdminInfo.getUsedPolicies(); in updateStateTest()239 for (PolicyInfo policy : usedPolicies) { in updateStateTest()
59 for (DeviceAdminInfo.PolicyInfo pi : mDeviceAdminInfo.getUsedPolicies()) { in getPolicyText()
162 ArrayList<DeviceAdminInfo.PolicyInfo> policies = deviceAdminInfo.getUsedPolicies(); in onAttach()164 DeviceAdminInfo.PolicyInfo pi = policies.get(i); in onAttach()
237 ArrayList<DeviceAdminInfo.PolicyInfo> newPolicies = mDeviceAdmin.getUsedPolicies(); in onCreate()239 DeviceAdminInfo.PolicyInfo pi = newPolicies.get(i); in onCreate()566 for (DeviceAdminInfo.PolicyInfo pi : mDeviceAdmin.getUsedPolicies()) { in addDeviceAdminPolicies()
281 ArrayList<DeviceAdminInfo.PolicyInfo> newPolicies = mDeviceAdmin.getUsedPolicies(); in onCreate()283 DeviceAdminInfo.PolicyInfo pi = newPolicies.get(i); in onCreate()773 for (DeviceAdminInfo.PolicyInfo pi : mDeviceAdmin.getUsedPolicies()) { in addDeviceAdminPolicies()