Searched refs:roleManager (Results 1 – 6 of 6) 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()
469 RoleManager roleManager = (RoleManager) context.getSystemService(Context.ROLE_SERVICE); in getApplication() local472 if (!tm.isSmsCapable() && (roleManager == null || !roleManager.isRoleAvailable( in getApplication()592 RoleManager roleManager = (RoleManager) context.getSystemService(Context.ROLE_SERVICE); in setDefaultApplicationAsUser() local595 if (!tm.isSmsCapable() && (roleManager == null || !roleManager.isRoleAvailable( in setDefaultApplicationAsUser()
155 IRoleManager roleManager = IRoleManager.Stub.asInterface( in getSmsMessagesForFinancialApp() local157 roleManager.getSmsMessagesForFinancialApp(callingPkg, params, callback); in getSmsMessagesForFinancialApp()
2540 IRoleManager roleManager = android.app.role.IRoleManager.Stub.asInterface( in runSetHomeActivity() local2542 roleManager.addRoleHolderAsUser(RoleManager.ROLE_HOME, pkgName, in runSetHomeActivity()
8260 RoleObserver(@NonNull RoleManager roleManager,8263 mRm = roleManager;