Home
last modified time | relevance | path

Searched refs:roles (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/services/core/java/com/android/server/policy/role/
DRoleServicePlatformHelperImpl.java89 Map<String, Set<String>> roles = readFile(userId); in getLegacyRoleState() local
90 if (roles == null) { in getLegacyRoleState()
91 roles = readFromLegacySettings(userId); in getLegacyRoleState()
93 return roles; in getLegacyRoleState()
102 Map<String, Set<String>> roles = parseXml(parser); in readFile() local
104 return roles; in readFile()
137 Map<String, Set<String>> roles = new ArrayMap<>(); in parseRoles() local
151 roles.put(roleName, roleHolders); in parseRoles()
155 return roles; in parseRoles()
188 Map<String, Set<String>> roles = new ArrayMap<>(); in readFromLegacySettings() local
[all …]
/frameworks/av/media/libstagefright/omx/
DOMXStore.cpp141 Vector<String8> roles; in addPlugin() local
142 OMX_ERRORTYPE err = plugin->getRolesOfComponent(name, &roles); in addPlugin()
146 for (String8 role : roles) { in addPlugin()
273 Vector<String8> *roles) { in getRolesOfComponent() argument
276 roles->clear(); in getRolesOfComponent()
285 return plugin->getRolesOfComponent(name, roles); in getRolesOfComponent()
DSoftOMXPlugin.cpp199 Vector<String8> *roles) { in getRolesOfComponent() argument
205 roles->clear(); in getRolesOfComponent()
206 roles->push(String8(kComponents[i].mRole)); in getRolesOfComponent()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DEnforcingAdmin.java199 Set<String> roles = getRoles(packageName, userId); in getRoleAuthoritiesOrDefault() local
201 for (String role : roles) { in getRoleAuthoritiesOrDefault()
211 Set<String> roles = new HashSet<>(); in getRoles() local
215 roles.add(role); in getRoles()
218 return roles; in getRoles()
256 Set<String> roles = getRoles(mPackageName, mUserId); in getParcelableAdmin() local
257 if (roles.isEmpty()) { in getParcelableAdmin()
260 authority = new RoleAuthority(roles); in getParcelableAdmin()
/frameworks/av/media/libstagefright/omx/1.0/
DOmx.cpp64 ::android::Vector<::android::String8> roles; in listNodes()
66 mStore->getRolesOfComponent(componentName, &roles); in listNodes()
68 for (OMX_U32 i = 0; i < roles.size(); ++i) { in listNodes()
69 info.mRoles.push_back(roles[i]); in listNodes()
/frameworks/av/media/libstagefright/
DOmxInfoBuilder.cpp104 hidl_vec<IOmxStore::RoleInfo> roles; in buildMediaCodecList() local
106 [&roles] ( in buildMediaCodecList()
108 roles = inRoleList; in buildMediaCodecList()
148 for (const IOmxStore::RoleInfo& role : roles) { in buildMediaCodecList()
/frameworks/base/core/java/android/app/admin/
DRoleAuthority.java42 public RoleAuthority(@NonNull Set<String> roles) { in RoleAuthority() argument
43 mRoles = new HashSet<>(Objects.requireNonNull(roles)); in RoleAuthority()
/frameworks/av/media/libstagefright/omx/include/media/stagefright/omx/
DSoftOMXPlugin.h45 Vector<String8> *roles);
DOMXStore.h50 Vector<String8> *roles);
/frameworks/native/headers/media_plugin/media/hardware/
DOMXPluginBase.h50 Vector<String8> *roles) = 0;
/frameworks/base/tests/AccessoryDisplay/
DREADME6 There are two applications with two distinct roles: a sink
/frameworks/base/services/core/java/com/android/server/am/
DAppRestrictionController.java3050 final ArrayList<String> roles = mUidRolesMapping.get(uid);
3051 return roles != null && roles.indexOf(roleName) >= 0;
3084 final ArrayList<String> roles = mUidRolesMapping.valueAt(i);
3085 final int index = roles.indexOf(roleName);
3089 roles.remove(index);
3090 if (roles.isEmpty()) {
3095 roles.add(roleName);
3100 final ArrayList<String> roles = new ArrayList<>();
3101 roles.add(roleName);
3102 mUidRolesMapping.put(roleUids.valueAt(i), roles);
/frameworks/native/headers/media_plugin/media/openmax/
DOMX_Core.h1500 OMX_OUT OMX_U8 **roles);
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger_middleware/
DREADME.md7 It has the following roles:
/frameworks/base/services/core/java/com/android/server/stats/pull/
DStatsPullAtomService.java3564 Map<String, Set<String>> roles = roleManagerLocal.getRolesAndHolders(userId);
3566 for (Map.Entry<String, Set<String>> roleEntry : roles.entrySet()) {
/frameworks/proto_logging/stats/
Datoms.proto7203 // roles via DISALLOW_CONFIG_DEFAULT_APPS user restriction