Searched refs:addRoleHolder (Results 1 – 4 of 4) sorted by relevance
63 roleHolder?.let { addRoleHolder(it) } in restoreRoleHolder()94 addRoleHolder() in addRoleHolderThenIsRoleHolder()101 addRoleHolder() in addAndRemoveRoleHolderThenIsNotRoleHolder()109 addRoleHolder() in addAndClearRoleHolderThenIsNotRoleHolder()124 addRoleHolder() in addRoleHolderThenAppearsInDumpsys()147 private fun addRoleHolder(packageName: String = APP_PACKAGE_NAME) { in addRoleHolder() method in android.app.role.cts.RoleShellCommandTest
201 addRoleHolder(ROLE_NAME, mRoleHolder); in restoreRoleHolder()611 addRoleHolder(RoleManager.ROLE_DIALER, APP_28_PACKAGE_NAME); in targetSdk28AndChangeDefaultDialerForAnotherAppAsHolderAndAllowThenTheOtherAppIsDefaultDialer()634 addRoleHolder( in testHoldDialerRoleRequirementWithInCallServiceAndSdk()639 addRoleHolder( in testHoldDialerRoleRequirementWithInCallServiceAndSdk()644 addRoleHolder( in testHoldDialerRoleRequirementWithInCallServiceAndSdk()657 addRoleHolder(RoleManager.ROLE_SMS, APP_28_PACKAGE_NAME); in targetSdk28AndChangeDefaultSmsForAnotherAppAsHolderAndAllowThenTheOtherAppIsDefaultSms()939 addRoleHolder(ROLE_NAME, APP_PACKAGE_NAME); in addRoleHolderThenRoleIsHeld()946 addRoleHolder(ROLE_NAME, APP_PACKAGE_NAME); in addAndRemoveRoleHolderThenRoleIsNotHeld()975 addRoleHolder(ROLE_NAME, APP_PACKAGE_NAME); in addRoleHolderThenIsRoleHolder()982 addRoleHolder(ROLE_NAME, APP_PACKAGE_NAME); in addAndRemoveRoleHolderThenIsNotRoleHolder()[all …]
354 public boolean addRoleHolder(@NonNull String roleName, @NonNull String packageName) { in addRoleHolder() method in RoleUserState
781 return getOrCreateUserState(userId).addRoleHolder(roleName, packageName); in addRoleHolderFromControllerAsUser()