/packages/apps/PermissionController/src/com/android/packageinstaller/role/model/ |
D | RoleBehavior.java | 41 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 …]
|
D | SmsRoleBehavior.java | 44 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()
|
D | DialerRoleBehavior.java | 43 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()
|
D | AssistantRoleBehavior.java | 64 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()
|
D | EmergencyRoleBehavior.java | 42 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()
|
D | BrowserRoleBehavior.java | 54 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()
|
D | HomeRoleBehavior.java | 56 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()
|
D | ExclusiveDefaultHolderMixin.java | 47 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()
|
D | EncryptionUnawareConfirmationMixin.java | 41 public static CharSequence getConfirmationMessage(@NonNull Role role, in getConfirmationMessage()
|
/packages/apps/PermissionController/src/com/android/packageinstaller/role/service/ |
D | RoleControllerServiceImpl.java | 74 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 …]
|
D | RoleSearchIndexablesProvider.java | 52 Role role = roles.valueAt(i); in queryRawData() local
|
/packages/apps/PermissionController/src/com/android/packageinstaller/role/ui/ |
D | RequestRoleViewModel.java | 33 public RequestRoleViewModel(@NonNull Role role, @NonNull Application application) { in RequestRoleViewModel() 48 public Factory(@NonNull Role role, @NonNull Application application) { in Factory()
|
D | SpecialAppAccessListChildFragment.java | 98 Role role = roleItem.getRole(); in onRoleListChanged() local 122 Role role = Roles.get(context).get(roleName); in onPreferenceClick() local
|
D | RoleItem.java | 44 public RoleItem(@NonNull Role role, @NonNull List<ApplicationInfo> holderApplicationInfos) { in RoleItem()
|
D | DefaultAppViewModel.java | 56 public DefaultAppViewModel(@NonNull Role role, @NonNull UserHandle user, in DefaultAppViewModel() 118 public Factory(@NonNull Role role, @NonNull UserHandle user, in Factory()
|
D | SpecialAppAccessActivity.java | 71 Role role = Roles.get(this).get(roleName); in onCreate() local
|
D | DefaultAppActivity.java | 83 Role role = Roles.get(this).get(roleName); in onCreate() local
|
D | SpecialAppAccessViewModel.java | 57 public SpecialAppAccessViewModel(@NonNull Role role, @NonNull Application application) { in SpecialAppAccessViewModel() 169 public Factory(@NonNull Role role, @NonNull Application application) { in Factory()
|
D | RoleLiveData.java | 53 public RoleLiveData(@NonNull Role role, @NonNull UserHandle user, @NonNull Context context) { in RoleLiveData()
|
D | RoleListLiveData.java | 89 Role role = roles.valueAt(rolesIndex); in loadValueInBackground() local
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/connecteddevice/usb/ |
D | UsbBackend.java | 116 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()
|
D | UsbDetailsDataRoleController.java | 101 int role = UsbBackend.dataRoleFromString(preference.getKey()); in onRadioButtonClicked() local
|
/packages/apps/Settings/src/com/android/settings/connecteddevice/usb/ |
D | UsbBackend.java | 116 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()
|
D | UsbDetailsDataRoleController.java | 101 int role = UsbBackend.dataRoleFromString(preference.getKey()); in onRadioButtonClicked() local
|
/packages/apps/PermissionController/src/com/android/packageinstaller/ |
D | PackageInstallerApplication.java | 44 Role role = roles.valueAt(i); in updateSpecialAppAccessListActivityEnabledState() local
|