Home
last modified time | relevance | path

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

123

/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/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.java55 public boolean isAvailableAsUser(@NonNull Role role, @NonNull UserHandle user, in isAvailableAsUser()
75 public String getFallbackHolder(@NonNull Role role, @NonNull Context context) { in getFallbackHolder()
91 public CharSequence getConfirmationMessage(@NonNull Role role, @NonNull String packageName, in getConfirmationMessage()
98 public boolean isVisibleAsUser(@NonNull Role role, @NonNull UserHandle user, in isVisibleAsUser()
104 public void grant(@NonNull Role role, @NonNull String packageName, @NonNull Context context) { in grant()
112 public void revoke(@NonNull Role role, @NonNull String packageName, in revoke()
DDialerRoleBehavior.java54 public boolean isAvailableAsUser(@NonNull Role role, @NonNull UserHandle user, in isAvailableAsUser()
61 public void prepareApplicationPreferenceAsUser(@NonNull Role role, in prepareApplicationPreferenceAsUser()
75 public CharSequence getConfirmationMessage(@NonNull Role role, @NonNull String packageName, in getConfirmationMessage()
82 public boolean isVisibleAsUser(@NonNull Role role, @NonNull UserHandle user, in isVisibleAsUser()
88 public void grant(@NonNull Role role, @NonNull String packageName, @NonNull Context context) { in grant()
98 public void revoke(@NonNull Role role, @NonNull String packageName, in revoke()
DHomeRoleBehavior.java61 public boolean isAvailableAsUser(@NonNull Role role, @NonNull UserHandle user, in isAvailableAsUser()
71 public String getFallbackHolder(@NonNull Role role, @NonNull Context context) { in getFallbackHolder()
101 public boolean isVisibleAsUser(@NonNull Role role, @NonNull UserHandle user, in isVisibleAsUser()
107 public void preparePreferenceAsUser(@NonNull Role role, @NonNull TwoTargetPreference preference, in preparePreferenceAsUser()
135 public boolean isApplicationVisibleAsUser(@NonNull Role role, in isApplicationVisibleAsUser()
143 public void prepareApplicationPreferenceAsUser(@NonNull Role role, in prepareApplicationPreferenceAsUser()
177 public void onHolderSelectedAsUser(@NonNull Role role, @NonNull String packageName, in onHolderSelectedAsUser()
188 public void grant(@NonNull Role role, @NonNull String packageName, @NonNull Context context) { in grant()
196 public void revoke(@NonNull Role role, @NonNull String packageName, in revoke()
DAssistantRoleBehavior.java62 public void onRoleAdded(@NonNull Role role, @NonNull Context context) { in onRoleAdded()
76 public boolean isAvailableAsUser(@NonNull Role role, @NonNull UserHandle user, in isAvailableAsUser()
82 public boolean isVisibleAsUser(@NonNull Role role, @NonNull UserHandle user, in isVisibleAsUser()
89 public Intent getManageIntentAsUser(@NonNull Role role, @NonNull UserHandle user, in getManageIntentAsUser()
103 public CharSequence getConfirmationMessage(@NonNull Role role, @NonNull String packageName, in getConfirmationMessage()
110 public List<String> getQualifyingPackagesAsUser(@NonNull Role role, @NonNull UserHandle user, in getQualifyingPackagesAsUser()
146 public Boolean isPackageQualified(@NonNull Role role, @NonNull String packageName, in isPackageQualified()
182 public void grant(@NonNull Role role, @NonNull String packageName, @NonNull Context context) { in grant()
186 public void revoke(@NonNull Role role, @NonNull String packageName, @NonNull Context context) { in revoke()
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.java62 public String getFallbackHolder(@NonNull Role role, @NonNull Context context) { in getFallbackHolder()
89 public List<String> getQualifyingPackagesAsUser(@NonNull Role role, @NonNull UserHandle user, in getQualifyingPackagesAsUser()
96 public Boolean isPackageQualified(@NonNull Role role, @NonNull String packageName, in isPackageQualified()
134 public void grant(@NonNull Role role, @NonNull String packageName, @NonNull Context context) { in grant()
146 public boolean isVisibleAsUser(@NonNull Role role, @NonNull UserHandle user, in isVisibleAsUser()
DCompanionDeviceWatchRoleBehavior.java43 public void grant(@NonNull Role role, @NonNull String packageName, @NonNull Context context) { in grant()
82 public void revoke(@NonNull Role role, @NonNull String packageName, @NonNull Context context) { in revoke()
DTelevisionRoleBehavior.java31 public boolean isAvailableAsUser(@NonNull Role role, @NonNull UserHandle user, in isAvailableAsUser()
DSystemAutomotiveClusterRoleBehavior.java31 public boolean isAvailableAsUser(@NonNull Role role, @NonNull UserHandle user, in isAvailableAsUser()
DEncryptionUnawareConfirmationMixin.java41 public static CharSequence getConfirmationMessage(@NonNull Role role, in getConfirmationMessage()
DSystemShellRoleBehavior.java33 public Boolean isPackageQualified(@NonNull Role role, @NonNull String packageName, in isPackageQualified()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/role/service/
DRoleControllerServiceImpl.java72 Role role = roleMap.valueAt(i); in onGrantDefaultRoles() local
94 Role role = roleMap.get(roleName); in onGrantDefaultRoles() local
101 Role role = roles.get(rolesIndex); in onGrantDefaultRoles() local
196 Role role = Roles.get(this).get(roleName); in onAddRoleHolder() local
255 Role role = Roles.get(this).get(roleName); in onRemoveRoleHolder() local
289 Role role = Roles.get(this).get(roleName); in onClearRoleHolders() local
317 private boolean addRoleHolderInternal(@NonNull Role role, @NonNull String packageName, in addRoleHolderInternal()
324 private boolean addRoleHolderInternal(@NonNull Role role, @NonNull String packageName, in addRoleHolderInternal()
340 private boolean removeRoleHolderInternal(@NonNull Role role, @NonNull String packageName, in removeRoleHolderInternal()
361 private boolean clearRoleHoldersInternal(@NonNull Role role, boolean dontKillApp) { in clearRoleHoldersInternal()
[all …]
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/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()
DDefaultAppViewModel.java56 public DefaultAppViewModel(@NonNull Role role, @NonNull UserHandle user, in DefaultAppViewModel()
118 public Factory(@NonNull Role role, @NonNull UserHandle user, in Factory()
DRoleItem.java44 public RoleItem(@NonNull Role role, @NonNull List<ApplicationInfo> holderApplicationInfos) { in RoleItem()
/packages/apps/Settings/src/com/android/settings/connecteddevice/usb/
DUsbBackend.java118 public void setPowerRole(int role) { in setPowerRole()
137 public void setDataRole(int role) { in setDataRole()
174 public static String dataRoleToString(int role) { in dataRoleToString()
178 public static int dataRoleFromString(String role) { in dataRoleFromString()
/packages/modules/Wifi/framework/java/android/net/wifi/aware/
DWifiAwareSession.java245 public NetworkSpecifier createNetworkSpecifierOpen( in createNetworkSpecifierOpen()
292 public NetworkSpecifier createNetworkSpecifierPassphrase( in createNetworkSpecifierPassphrase()
349 public NetworkSpecifier createNetworkSpecifierPmk( in createNetworkSpecifierPmk()
DDiscoverySession.java302 int role = this instanceof SubscribeDiscoverySession in createNetworkSpecifierOpen() local
361 int role = this instanceof SubscribeDiscoverySession in createNetworkSpecifierPassphrase() local
425 int role = this instanceof SubscribeDiscoverySession in createNetworkSpecifierPmk() local
DWifiAwareNetworkSpecifier.java84 public final int role; field in WifiAwareNetworkSpecifier
155 public WifiAwareNetworkSpecifier(int type, int role, int clientId, int sessionId, int peerId, in WifiAwareNetworkSpecifier()
458 int role = mDiscoverySession instanceof SubscribeDiscoverySession in build() local
/packages/services/Car/car-lib/src/android/car/occupantawareness/
DIOccupantAwarenessManager.aidl29 int getCapabilityForRole(int role) = 0; in getCapabilityForRole()
DOccupantAwarenessDetection.java148 public final @VehicleOccupantRole int role; field in OccupantAwarenessDetection
167 public OccupantAwarenessDetection( in OccupantAwarenessDetection()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/role/ui/specialappaccess/
DSpecialAppAccessListChildFragment.java103 Role role = roleItem.getRole(); in onRoleListChanged() local
127 Role role = Roles.get(context).get(roleName); in onPreferenceClick() local
DSpecialAppAccessActivity.java67 Role role = Roles.get(this).get(roleName); in onCreate() local
/packages/modules/NeuralNetworks/common/
DAidlValidateHal.cpp51 for (const auto& role : inputRoles) { in validateMemoryDesc() local
65 for (const auto& role : outputRoles) { in validateMemoryDesc() local

123