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.java1905 List<String> enabledPackages = getEnabledNotificationPolicyPackages(userId); in allowNotificationPolicyAccess() local
1906 if (!enabledPackages.contains(packageName)) { in allowNotificationPolicyAccess()
1907 enabledPackages.add(packageName); in allowNotificationPolicyAccess()
1908 setEnabledNotificationPolicyPackages(enabledPackages, userId); in allowNotificationPolicyAccess()
1918 List<String> enabledPackages = getEnabledNotificationPolicyPackages(userId); in disallowNotificationPolicyAccess() local
1919 if (enabledPackages.contains(packageName)) { in disallowNotificationPolicyAccess()
1920 enabledPackages.remove(packageName); in disallowNotificationPolicyAccess()
1921 setEnabledNotificationPolicyPackages(enabledPackages, userId); in disallowNotificationPolicyAccess()