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.java1908 List<String> enabledPackages = getEnabledNotificationPolicyPackages(userId); in allowNotificationPolicyAccess() local
1909 if (!enabledPackages.contains(packageName)) { in allowNotificationPolicyAccess()
1910 enabledPackages.add(packageName); in allowNotificationPolicyAccess()
1911 setEnabledNotificationPolicyPackages(enabledPackages, userId); in allowNotificationPolicyAccess()
1921 List<String> enabledPackages = getEnabledNotificationPolicyPackages(userId); in disallowNotificationPolicyAccess() local
1922 if (enabledPackages.contains(packageName)) { in disallowNotificationPolicyAccess()
1923 enabledPackages.remove(packageName); in disallowNotificationPolicyAccess()
1924 setEnabledNotificationPolicyPackages(enabledPackages, userId); in disallowNotificationPolicyAccess()