Home
last modified time | relevance | path

Searched refs:roleHolders (Results 1 – 5 of 5) sorted by relevance

/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DCheckFinancedTest.java172 List<String> roleHolders = sRoleManager.getRoleHolders(ROLE_FINANCED_DEVICE_KIOSK); in clearFinancedDeviceKioskRole() local
173 if (roleHolders != null && roleHolders.size() > 0) { in clearFinancedDeviceKioskRole()
174 mOriginalRoleHolderPackage = roleHolders.get(0); in clearFinancedDeviceKioskRole()
/cts/tests/tests/companion/uiautomation/src/android/companion/cts/uiautomation/
DAssociationRevokedTestBase.kt73 val roleHolders = withShellPermissionIdentity(Manifest.permission.MANAGE_ROLE_HOLDERS) { in getRoleHolders() constant
76 return roleHolders in getRoleHolders()
DUiAutomationTestBase.kt363 val roleHolders = withShellPermissionIdentity(Manifest.permission.MANAGE_ROLE_HOLDERS) { in <lambda>() constant
366 assertContains(roleHolders, targetPackageName, "Not a holder of $roleName") in <lambda>()
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DExternalStorageHostTest.java1093 final String[] roleHolders = getDevice().executeShellCommand( in testSystemGalleryExists() local
1096 assertEquals("Expected 1 SYSTEM_GALLERY for user " + user, 1, roleHolders.length); in testSystemGalleryExists()
/cts/tests/tests/app.usage/BroadcastResponseStats/src/android/app/usage/brs/cts/
DBroadcastResponseStatsTest.java2250 final List<String> roleHolders = mRoleManager.getRoleHoldersAsUser( in isAssistantRoleHolder() local
2252 return roleHolders.contains(pkgName); in isAssistantRoleHolder()