Home
last modified time | relevance | path

Searched refs:ROLE_ASSISTANT (Results 1 – 8 of 8) sorted by relevance

/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/systembar/
DButtonRoleHolderControllerTest.java103 when(mRoleManager.getRoleHoldersAsUser(eq(RoleManager.ROLE_ASSISTANT), any())) in addAllButtonsWithRoleName_roleAssigned_appIconEnabled_useAssignedAppIcon()
113 when(mRoleManager.getRoleHoldersAsUser(eq(RoleManager.ROLE_ASSISTANT), any())) in addAllButtonsWithRoleName_roleUnassigned_appIconEnabled_useDefaultIcon()
123 when(mRoleManager.getRoleHoldersAsUser(eq(RoleManager.ROLE_ASSISTANT), any())) in onRoleChanged_currentUser_appIconEnabled_useAssignedAppIcon()
127 .getRoleHoldersAsUser(eq(RoleManager.ROLE_ASSISTANT), any())) in onRoleChanged_currentUser_appIconEnabled_useAssignedAppIcon()
130 mControllerUnderTest.onRoleChanged(RoleManager.ROLE_ASSISTANT, TEST_CURRENT_USER); in onRoleChanged_currentUser_appIconEnabled_useAssignedAppIcon()
138 .getRoleHoldersAsUser(eq(RoleManager.ROLE_ASSISTANT), any())) in onRoleChanged_nonCurrentUser_appIconEnabled_iconIsNotUpdated()
143 .getRoleHoldersAsUser(eq(RoleManager.ROLE_ASSISTANT), any())) in onRoleChanged_nonCurrentUser_appIconEnabled_iconIsNotUpdated()
146 mControllerUnderTest.onRoleChanged(RoleManager.ROLE_ASSISTANT, TEST_NON_CURRENT_USER); in onRoleChanged_nonCurrentUser_appIconEnabled_iconIsNotUpdated()
155 .getRoleHoldersAsUser(eq(RoleManager.ROLE_ASSISTANT), any())) in onRoleChanged_invalidPackage_useDefaultIcon()
166 .getRoleHoldersAsUser(eq(RoleManager.ROLE_ASSISTANT), any())) in addAllButtonsWithRoleName_appIconDisabled_useDefaultIcon()
[all …]
/packages/apps/Car/SystemUI/src/com/android/systemui/car/systembar/
DAssitantButton.java69 return RoleManager.ROLE_ASSISTANT; in getRoleName()
DButtonRoleHolderController.java111 if (RoleManager.ROLE_ASSISTANT.equals(roleName) in onRoleChanged()
/packages/modules/Permission/framework-s/api/
Dcurrent.txt8 field public static final String ROLE_ASSISTANT = "android.app.role.ASSISTANT";
/packages/apps/Car/Settings/src/com/android/car/settings/applications/defaultapps/
DDefaultAssistantPickerEntryPreferenceController.java75 .putExtra(Intent.EXTRA_ROLE_NAME, RoleManager.ROLE_ASSISTANT); in handlePreferenceClicked()
/packages/apps/Settings/src/com/android/settings/applications/assist/
DDefaultAssistPreferenceController.java58 .putExtra(Intent.EXTRA_ROLE_NAME, RoleManager.ROLE_ASSISTANT); in DefaultAssistPreferenceController()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/applications/defaultapps/
DDefaultAssistantPickerEntryPreferenceControllerTest.java208 RoleManager.ROLE_ASSISTANT); in performClick_permissionControllerExists_intentHasRole()
/packages/modules/Permission/framework-s/java/android/app/role/
DRoleManager.java77 public static final String ROLE_ASSISTANT = "android.app.role.ASSISTANT"; field in RoleManager