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.java7008 assertThat(dpm.isPackageAllowedToAccessCalendar(testPackage)).isFalse(); in testIsPackageAllowedToAccessCalendar_adminNotAllowed()
7021 assertThat(dpm.isPackageAllowedToAccessCalendar(testPackage)).isFalse(); in testIsPackageAllowedToAccessCalendar_settingOff()
7035 assertThat(dpm.isPackageAllowedToAccessCalendar(testPackage)).isTrue(); in testIsPackageAllowedToAccessCalendar_bothAllowed()
7044 () -> dpm.isPackageAllowedToAccessCalendar(testPackage)); in testIsPackageAllowedToAccessCalendar_requiresPermission()
7058 assertThat(dpm.isPackageAllowedToAccessCalendar(testPackage)).isTrue(); in testIsPackageAllowedToAccessCalendar_samePackageAndSameUser_noPermissionRequired()
/frameworks/base/core/java/android/app/admin/
DDevicePolicyManager.java16117 public boolean isPackageAllowedToAccessCalendar(@NonNull String packageName) { in isPackageAllowedToAccessCalendar() method in DevicePolicyManager