Searched refs:ROLE_ASSISTANT (Results 1 – 8 of 8) sorted by relevance
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/systembar/ |
D | ButtonRoleHolderControllerTest.java | 103 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/ |
D | AssitantButton.java | 69 return RoleManager.ROLE_ASSISTANT; in getRoleName()
|
D | ButtonRoleHolderController.java | 111 if (RoleManager.ROLE_ASSISTANT.equals(roleName) in onRoleChanged()
|
/packages/modules/Permission/framework-s/api/ |
D | current.txt | 8 field public static final String ROLE_ASSISTANT = "android.app.role.ASSISTANT";
|
/packages/apps/Car/Settings/src/com/android/car/settings/applications/defaultapps/ |
D | DefaultAssistantPickerEntryPreferenceController.java | 75 .putExtra(Intent.EXTRA_ROLE_NAME, RoleManager.ROLE_ASSISTANT); in handlePreferenceClicked()
|
/packages/apps/Settings/src/com/android/settings/applications/assist/ |
D | DefaultAssistPreferenceController.java | 58 .putExtra(Intent.EXTRA_ROLE_NAME, RoleManager.ROLE_ASSISTANT); in DefaultAssistPreferenceController()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/applications/defaultapps/ |
D | DefaultAssistantPickerEntryPreferenceControllerTest.java | 208 RoleManager.ROLE_ASSISTANT); in performClick_permissionControllerExists_intentHasRole()
|
/packages/modules/Permission/framework-s/java/android/app/role/ |
D | RoleManager.java | 77 public static final String ROLE_ASSISTANT = "android.app.role.ASSISTANT"; field in RoleManager
|