Home
last modified time | relevance | path

Searched refs:isRoleAvailable (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/notetask/
DNoteTaskModule.kt64 val isRoleAvailable = roleManager.isRoleAvailable(RoleManager.ROLE_NOTES) in bindNoteTaskControllerUpdateService() constant
66 return isRoleAvailable && isFeatureEnabled in bindNoteTaskControllerUpdateService()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/wallet/controller/
DQuickAccessWalletControllerTest.java124 when(mRoleManager.isRoleAvailable(eq(RoleManager.ROLE_WALLET))).thenReturn(true); in walletRoleAvailable_isAvailable()
133 when(mRoleManager.isRoleAvailable(eq(RoleManager.ROLE_WALLET))).thenReturn(false); in walletRoleAvailable_isNotAvailable()
/frameworks/base/packages/SystemUI/src/com/android/systemui/wallet/controller/
DQuickAccessWalletController.java107 return mRoleManager.isRoleAvailable(RoleManager.ROLE_WALLET); in isWalletRoleAvailable()
/frameworks/base/core/java/android/service/quickaccesswallet/
DQuickAccessWalletServiceInfo.java119 return roleManager.isRoleAvailable(RoleManager.ROLE_WALLET); in isWalletRoleAvailable()
/frameworks/base/services/core/java/com/android/server/policy/
DModifierShortcutManager.java182 if (mRoleManager.isRoleAvailable(role)) { in getRoleLaunchIntent()
/frameworks/base/services/tests/wmtests/src/com/android/server/policy/
DTestPhoneWindowManager.java383 doReturn(true).when(mRoleManager).isRoleAvailable(eq(RoleManager.ROLE_BROWSER)); in setUp()
384 doReturn(true).when(mRoleManager).isRoleAvailable(eq(RoleManager.ROLE_SMS)); in setUp()
/frameworks/base/tests/TelephonyCommonTests/src/com/android/internal/telephony/tests/
DSmsApplicationTest.java144 when(mRoleManager.isRoleAvailable(RoleManager.ROLE_SMS)).thenReturn(true); in setUp()
/frameworks/base/telephony/common/com/android/internal/telephony/
DSmsApplication.java484 if (!tm.isSmsCapable() && (roleManager == null || !roleManager.isRoleAvailable( in getApplication()
613 if (!tm.isSmsCapable() && (roleManager == null || !roleManager.isRoleAvailable( in setDefaultApplicationAsUser()
/frameworks/base/nfc/java/android/nfc/cardemulation/
DCardEmulation.java296 if (roleManager.isRoleAvailable(RoleManager.ROLE_WALLET)) { in categoryAllowsForegroundPreference()
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
DVoiceInteractionManagerService.java2398 if (mRm.isRoleAvailable(RoleManager.ROLE_ASSISTANT)) { in RoleObserver()
/frameworks/base/services/core/java/com/android/server/am/
DAppRestrictionController.java3058 if (mInjector.getRoleManager().isRoleAvailable(role)) {
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...