Home
last modified time | relevance | path

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

/packages/modules/Permission/tests/cts/role/src/android/app/role/cts/
DRoleManagerTest.java1209 List<String> emergencyRoleHolders = getRoleHolders(RoleManager.ROLE_EMERGENCY); in telephonyManagerGetEmergencyAssistancePackageNameBackedByRole() local
1216 if (emergencyRoleHolders.isEmpty()) { in telephonyManagerGetEmergencyAssistancePackageNameBackedByRole()
1219 assertThat(emergencyRoleHolders).hasSize(1); in telephonyManagerGetEmergencyAssistancePackageNameBackedByRole()
1220 assertThat(emergencyAssistancePackageName).isEqualTo(emergencyRoleHolders.get(0)); in telephonyManagerGetEmergencyAssistancePackageNameBackedByRole()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/hibernation/
DHibernationPolicy.kt624 val emergencyRoleHolders = in isPackageHibernationExemptBySystem() constant
628 if (emergencyRoleHolders.contains(pkg.packageName)) { in isPackageHibernationExemptBySystem()