Searched refs:roleManager (Results 1 – 5 of 5) sorted by relevance
37 RoleManagerShellCommand(@NonNull IRoleManager roleManager) { in RoleManagerShellCommand() argument38 mRoleManager = roleManager; in RoleManagerShellCommand()
220 final RoleManager roleManager = mContext.getSystemService(RoleManager.class); in registerDefaultAppNotifier() local221 roleManager.addOnRoleHoldersChangedListenerAsUser(mContext.getMainExecutor(), in registerDefaultAppNotifier()
473 RoleManager roleManager = (RoleManager) context.getSystemService(Context.ROLE_SERVICE); in getApplication() local476 if (!tm.isSmsCapable() && (roleManager == null || !roleManager.isRoleAvailable( in getApplication()600 RoleManager roleManager = (RoleManager) context.getSystemService(Context.ROLE_SERVICE); in setDefaultApplicationAsUser() local603 if (!tm.isSmsCapable() && (roleManager == null || !roleManager.isRoleAvailable( in setDefaultApplicationAsUser()
2724 IRoleManager roleManager = android.app.role.IRoleManager.Stub.asInterface( in runSetHomeActivity() local2726 roleManager.addRoleHolderAsUser(RoleManager.ROLE_HOME, pkgName, in runSetHomeActivity()
8522 RoleObserver(@NonNull RoleManager roleManager,8525 mRm = roleManager;