Home
last modified time | relevance | path

Searched defs:role (Results 1 – 25 of 31) sorted by relevance

12

/packages/apps/PermissionController/src/com/android/packageinstaller/role/model/
DRoleBehavior.java41 default void onRoleAdded(@NonNull Role role, @NonNull Context context) {} in onRoleAdded()
46 default boolean isAvailableAsUser(@NonNull Role role, @NonNull UserHandle user, in isAvailableAsUser()
55 default List<String> getDefaultHolders(@NonNull Role role, @NonNull Context context) { in getDefaultHolders()
63 default String getFallbackHolder(@NonNull Role role, @NonNull Context context) { in getFallbackHolder()
70 default boolean isVisibleAsUser(@NonNull Role role, @NonNull UserHandle user, in isVisibleAsUser()
79 default Intent getManageIntentAsUser(@NonNull Role role, @NonNull UserHandle user, in getManageIntentAsUser()
87 default void preparePreferenceAsUser(@NonNull Role role, in preparePreferenceAsUser()
94 default boolean isApplicationVisibleAsUser(@NonNull Role role, in isApplicationVisibleAsUser()
104 default void prepareApplicationPreferenceAsUser(@NonNull Role role, in prepareApplicationPreferenceAsUser()
112 default CharSequence getConfirmationMessage(@NonNull Role role, @NonNull String packageName, in getConfirmationMessage()
[all …]
DSmsRoleBehavior.java44 public boolean isAvailableAsUser(@NonNull Role role, @NonNull UserHandle user, in isAvailableAsUser()
64 public String getFallbackHolder(@NonNull Role role, @NonNull Context context) { in getFallbackHolder()
79 private static String getDefaultHolder(@NonNull Role role, @NonNull Context context) { in getDefaultHolder()
85 public CharSequence getConfirmationMessage(@NonNull Role role, @NonNull String packageName, in getConfirmationMessage()
92 public boolean isVisibleAsUser(@NonNull Role role, @NonNull UserHandle user, in isVisibleAsUser()
DDialerRoleBehavior.java43 public boolean isAvailableAsUser(@NonNull Role role, @NonNull UserHandle user, in isAvailableAsUser()
50 public void prepareApplicationPreferenceAsUser(@NonNull Role role, in prepareApplicationPreferenceAsUser()
64 public CharSequence getConfirmationMessage(@NonNull Role role, @NonNull String packageName, in getConfirmationMessage()
72 public String getFallbackHolder(@NonNull Role role, @NonNull Context context) { in getFallbackHolder()
77 public boolean isVisibleAsUser(@NonNull Role role, @NonNull UserHandle user, in isVisibleAsUser()
DAssistantRoleBehavior.java64 public void onRoleAdded(@NonNull Role role, @NonNull Context context) { in onRoleAdded()
78 public boolean isAvailableAsUser(@NonNull Role role, @NonNull UserHandle user, in isAvailableAsUser()
85 public String getFallbackHolder(@NonNull Role role, @NonNull Context context) { in getFallbackHolder()
91 public boolean isVisibleAsUser(@NonNull Role role, @NonNull UserHandle user, in isVisibleAsUser()
98 public Intent getManageIntentAsUser(@NonNull Role role, @NonNull UserHandle user, in getManageIntentAsUser()
105 public CharSequence getConfirmationMessage(@NonNull Role role, @NonNull String packageName, in getConfirmationMessage()
112 public List<String> getQualifyingPackagesAsUser(@NonNull Role role, @NonNull UserHandle user, in getQualifyingPackagesAsUser()
148 public Boolean isPackageQualified(@NonNull Role role, @NonNull String packageName, in isPackageQualified()
231 public void onHolderChangedAsUser(@NonNull Role role, @NonNull UserHandle user, in onHolderChangedAsUser()
DEmergencyRoleBehavior.java42 public boolean isAvailableAsUser(@NonNull Role role, @NonNull UserHandle user, in isAvailableAsUser()
50 public String getFallbackHolder(@NonNull Role role, @NonNull Context context) { in getFallbackHolder()
71 public boolean isVisibleAsUser(@NonNull Role role, @NonNull UserHandle user, in isVisibleAsUser()
78 public CharSequence getConfirmationMessage(@NonNull Role role, @NonNull String packageName, in getConfirmationMessage()
DBrowserRoleBehavior.java54 public List<String> getDefaultHolders(@NonNull Role role, @NonNull Context context) { in getDefaultHolders()
61 public String getFallbackHolder(@NonNull Role role, @NonNull Context context) { in getFallbackHolder()
75 public List<String> getQualifyingPackagesAsUser(@NonNull Role role, @NonNull UserHandle user, in getQualifyingPackagesAsUser()
82 public Boolean isPackageQualified(@NonNull Role role, @NonNull String packageName, in isPackageQualified()
117 public boolean isVisibleAsUser(@NonNull Role role, @NonNull UserHandle user, in isVisibleAsUser()
DHomeRoleBehavior.java56 public boolean isAvailableAsUser(@NonNull Role role, @NonNull UserHandle user, in isAvailableAsUser()
66 public String getFallbackHolder(@NonNull Role role, @NonNull Context context) { in getFallbackHolder()
96 public boolean isVisibleAsUser(@NonNull Role role, @NonNull UserHandle user, in isVisibleAsUser()
102 public void preparePreferenceAsUser(@NonNull Role role, @NonNull TwoTargetPreference preference, in preparePreferenceAsUser()
129 public boolean isApplicationVisibleAsUser(@NonNull Role role, in isApplicationVisibleAsUser()
137 public void prepareApplicationPreferenceAsUser(@NonNull Role role, in prepareApplicationPreferenceAsUser()
171 public void onHolderSelectedAsUser(@NonNull Role role, @NonNull String packageName, in onHolderSelectedAsUser()
DExclusiveDefaultHolderMixin.java47 public static List<String> getDefaultHolders(@NonNull Role role, @NonNull String resourceName, in getDefaultHolders()
56 public static String getDefaultHolder(@NonNull Role role, @NonNull String resourceName, in getDefaultHolder()
DEncryptionUnawareConfirmationMixin.java41 public static CharSequence getConfirmationMessage(@NonNull Role role, in getConfirmationMessage()
/packages/apps/PermissionController/src/com/android/packageinstaller/role/service/
DRoleControllerServiceImpl.java74 Role role = roleMap.valueAt(i); in onGrantDefaultRoles() local
96 Role role = roleMap.get(roleName); in onGrantDefaultRoles() local
103 Role role = roles.get(rolesIndex); in onGrantDefaultRoles() local
195 Role role = Roles.get(this).get(roleName); in onAddRoleHolder() local
253 Role role = Roles.get(this).get(roleName); in onRemoveRoleHolder() local
287 Role role = Roles.get(this).get(roleName); in onClearRoleHolders() local
315 private boolean addRoleHolderInternal(@NonNull Role role, @NonNull String packageName, in addRoleHolderInternal()
322 private boolean addRoleHolderInternal(@NonNull Role role, @NonNull String packageName, in addRoleHolderInternal()
338 private boolean removeRoleHolderInternal(@NonNull Role role, @NonNull String packageName, in removeRoleHolderInternal()
359 private boolean clearRoleHoldersInternal(@NonNull Role role, boolean dontKillApp) { in clearRoleHoldersInternal()
[all …]
DRoleSearchIndexablesProvider.java52 Role role = roles.valueAt(i); in queryRawData() local
/packages/apps/PermissionController/src/com/android/packageinstaller/role/ui/
DRequestRoleViewModel.java33 public RequestRoleViewModel(@NonNull Role role, @NonNull Application application) { in RequestRoleViewModel()
48 public Factory(@NonNull Role role, @NonNull Application application) { in Factory()
DSpecialAppAccessListChildFragment.java98 Role role = roleItem.getRole(); in onRoleListChanged() local
122 Role role = Roles.get(context).get(roleName); in onPreferenceClick() local
DRoleItem.java44 public RoleItem(@NonNull Role role, @NonNull List<ApplicationInfo> holderApplicationInfos) { in RoleItem()
DDefaultAppViewModel.java56 public DefaultAppViewModel(@NonNull Role role, @NonNull UserHandle user, in DefaultAppViewModel()
118 public Factory(@NonNull Role role, @NonNull UserHandle user, in Factory()
DSpecialAppAccessActivity.java71 Role role = Roles.get(this).get(roleName); in onCreate() local
DDefaultAppActivity.java83 Role role = Roles.get(this).get(roleName); in onCreate() local
DSpecialAppAccessViewModel.java57 public SpecialAppAccessViewModel(@NonNull Role role, @NonNull Application application) { in SpecialAppAccessViewModel()
169 public Factory(@NonNull Role role, @NonNull Application application) { in Factory()
DRoleLiveData.java53 public RoleLiveData(@NonNull Role role, @NonNull UserHandle user, @NonNull Context context) { in RoleLiveData()
DRoleListLiveData.java89 Role role = roles.valueAt(rolesIndex); in loadValueInBackground() local
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/connecteddevice/usb/
DUsbBackend.java116 public void setPowerRole(int role) { in setPowerRole()
135 public void setDataRole(int role) { in setDataRole()
172 public static String dataRoleToString(int role) { in dataRoleToString()
176 public static int dataRoleFromString(String role) { in dataRoleFromString()
DUsbDetailsDataRoleController.java101 int role = UsbBackend.dataRoleFromString(preference.getKey()); in onRadioButtonClicked() local
/packages/apps/Settings/src/com/android/settings/connecteddevice/usb/
DUsbBackend.java116 public void setPowerRole(int role) { in setPowerRole()
135 public void setDataRole(int role) { in setDataRole()
172 public static String dataRoleToString(int role) { in dataRoleToString()
176 public static int dataRoleFromString(String role) { in dataRoleFromString()
DUsbDetailsDataRoleController.java101 int role = UsbBackend.dataRoleFromString(preference.getKey()); in onRadioButtonClicked() local
/packages/apps/PermissionController/src/com/android/packageinstaller/
DPackageInstallerApplication.java44 Role role = roles.valueAt(i); in updateSpecialAppAccessListActivityEnabledState() local

12