Searched refs:isPackageAllowedToAccessCalendar (Results 1 – 2 of 2) sorted by relevance
5299 assertFalse(dpm.isPackageAllowedToAccessCalendar("TEST_PACKAGE")); in testIsPackageAllowedToAccessCalendar_adminNotAllowed()5309 assertFalse(dpm.isPackageAllowedToAccessCalendar(testPackage)); in testIsPackageAllowedToAccessCalendar_settingOff()5319 assertTrue(dpm.isPackageAllowedToAccessCalendar(testPackage)); in testIsPackageAllowedToAccessCalendar_bothAllowed()
10795 public boolean isPackageAllowedToAccessCalendar(@NonNull String packageName) { in isPackageAllowedToAccessCalendar() method in DevicePolicyManager