Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerTest.java5299 assertFalse(dpm.isPackageAllowedToAccessCalendar("TEST_PACKAGE")); in testIsPackageAllowedToAccessCalendar_adminNotAllowed()
5309 assertFalse(dpm.isPackageAllowedToAccessCalendar(testPackage)); in testIsPackageAllowedToAccessCalendar_settingOff()
5319 assertTrue(dpm.isPackageAllowedToAccessCalendar(testPackage)); in testIsPackageAllowedToAccessCalendar_bothAllowed()
/frameworks/base/core/java/android/app/admin/
DDevicePolicyManager.java10795 public boolean isPackageAllowedToAccessCalendar(@NonNull String packageName) { in isPackageAllowedToAccessCalendar() method in DevicePolicyManager