Home
last modified time | relevance | path

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

/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DDeviceAndProfileOwnerTest.java2030 List<String> enabledPackages = getEnabledNotificationPolicyPackages(userId); in allowNotificationPolicyAccess() local
2031 if (!enabledPackages.contains(packageName)) { in allowNotificationPolicyAccess()
2032 enabledPackages.add(packageName); in allowNotificationPolicyAccess()
2033 setEnabledNotificationPolicyPackages(enabledPackages, userId); in allowNotificationPolicyAccess()
2043 List<String> enabledPackages = getEnabledNotificationPolicyPackages(userId); in disallowNotificationPolicyAccess() local
2044 if (enabledPackages.contains(packageName)) { in disallowNotificationPolicyAccess()
2045 enabledPackages.remove(packageName); in disallowNotificationPolicyAccess()
2046 setEnabledNotificationPolicyPackages(enabledPackages, userId); in disallowNotificationPolicyAccess()