Home
last modified time | relevance | path

Searched refs:PolicyInfo (Results 1 – 6 of 6) sorted by relevance

/packages/apps/TvSettings/unbundle/java/com/android/tv/settings/unbundle/sdklib/
DDeviceAdminInfoCompat.java39 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 DeviceAdminInfoCompat
57 public PolicyInfo(Object policyInfo) { in PolicyInfo() method in DeviceAdminInfoCompat.PolicyInfo
59 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 …]
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/enterprise/
DDeviceAdminAddPoliciesPreferenceControllerTest.java22 import android.app.admin.DeviceAdminInfo.PolicyInfo;
229 ArrayList<PolicyInfo> usedPolicies = mFancyDeviceAdminInfo.getUsedPolicies(); in updateStateTest()
239 for (PolicyInfo policy : usedPolicies) { in updateStateTest()
/packages/apps/Car/Settings/src/com/android/car/settings/enterprise/
DDeviceAdminAddPoliciesPreferenceController.java59 for (DeviceAdminInfo.PolicyInfo pi : mDeviceAdminInfo.getUsedPolicies()) { in getPolicyText()
DDeviceAdminAddFragment.java162 ArrayList<DeviceAdminInfo.PolicyInfo> policies = deviceAdminInfo.getUsedPolicies(); in onAttach()
164 DeviceAdminInfo.PolicyInfo pi = policies.get(i); in onAttach()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/deviceadmin/
DDeviceAdminAdd.java237 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()
/packages/apps/Settings/src/com/android/settings/applications/specialaccess/deviceadmin/
DDeviceAdminAdd.java281 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()