Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/role/
DRoleUserState.java369 ArrayMap<String, ArraySet<String>> roles; in writeFile() local
379 roles = snapshotRolesLocked(); in writeFile()
393 serializeRoles(serializer, version, packagesHash, roles); in writeFile()
410 @Nullable String packagesHash, @NonNull ArrayMap<String, ArraySet<String>> roles) in serializeRoles() argument
420 for (int i = 0, size = roles.size(); i < size; ++i) { in serializeRoles()
421 String roleName = roles.keyAt(i); in serializeRoles()
422 ArraySet<String> roleHolders = roles.valueAt(i); in serializeRoles()
538 ArrayMap<String, ArraySet<String>> roles; in dump() local
544 roles = snapshotRolesLocked(); in dump()
552 int rolesSize = roles.size(); in dump()
[all …]
/frameworks/av/media/libstagefright/omx/
DSoftOMXPlugin.cpp204 Vector<String8> *roles) { in getRolesOfComponent() argument
210 roles->clear(); in getRolesOfComponent()
211 roles->push(String8(kComponents[i].mRole)); in getRolesOfComponent()
DOMXStore.cpp218 Vector<String8> *roles) { in getRolesOfComponent() argument
221 roles->clear(); in getRolesOfComponent()
230 return plugin->getRolesOfComponent(name, roles); in getRolesOfComponent()
/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/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/ml/nn/common/
DBufferTracker.cpp37 std::set<PreparedModelRole> roles, in create() argument
47 return std::make_shared<ManagedBuffer>(std::move(buffer), size, std::move(roles), operand); in create()
51 std::set<PreparedModelRole> roles, const Operand& operand) in ManagedBuffer() argument
54 kRoles(std::move(roles)), in ManagedBuffer()
DValidateHal.cpp864 std::set<PreparedModelRole> roles; in validateMemoryDesc() local
877 const auto [it, success] = roles.emplace(preparedModel.get(), IOType::INPUT, role.ioIndex); in validateMemoryDesc()
891 const auto [it, success] = roles.emplace(preparedModel.get(), IOType::OUTPUT, role.ioIndex); in validateMemoryDesc()
924 *preparedModelRoles = std::move(roles); in validateMemoryDesc()
/frameworks/ml/nn/common/include/
DBufferTracker.h39 static std::shared_ptr<ManagedBuffer> create(uint32_t size, std::set<PreparedModelRole> roles,
44 std::set<PreparedModelRole> roles, const hal::Operand& operand);
/frameworks/base/core/proto/android/server/
Drolemanagerservice.proto44 // The set of roles in this state.
45 repeated RoleProto roles = 4; field
/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/ml/nn/runtime/
DMemory.cpp97 DeviceMemoryValidator(std::set<CompilationRole> roles, Operand operand, in DeviceMemoryValidator() argument
99 : kCompilationRoles(std::move(roles)), in DeviceMemoryValidator()
336 std::vector<std::tuple<const PreparedModel*, IOType, uint32_t>> roles; in addRole() local
337 auto callback = [&roles](const auto* preparedModel, IOType type, uint32_t index) { in addRole()
338 roles.emplace_back(preparedModel, type, index); in addRole()
391 for (const auto& [preparedModel, type, ind] : roles) { in addRole()
/frameworks/base/tests/AccessoryDisplay/
DREADME6 There are two applications with two distinct roles: a sink
/frameworks/native/headers/media_plugin/media/openmax/
DOMX_Core.h1494 OMX_OUT OMX_U8 **roles);
/frameworks/ml/nn/driver/sample/
DSampleDriver.cpp248 std::set<PreparedModelRole> roles; in allocate() local
258 if (!validateMemoryDesc(desc, preparedModels, inputRoles, outputRoles, getModel, &roles, in allocate()
281 auto bufferWrapper = ManagedBuffer::create(size, std::move(roles), std::move(operand)); in allocate()
/frameworks/ml/nn/tools/api/
DNeuralNetworks.t453 * or any memory descriptor with the compilation as part of one of the roles specified by
712 * - Specify all of the intended input and output roles by calling
789 * The dimensions of the corresponding model operands of all the roles specified by
816 * optimize the case when different roles prefer different memory locations or data
835 * The dimensions of the corresponding model operands of all the roles specified by
862 * optimize the case when multiple roles prefer different memory locations or data
875 * operands of all the roles specified by {@link ANeuralNetworksMemoryDesc_addInputRole} and
917 * buffer may only be used according to the roles specified by {@link
922 * according to all roles specified in {@link ANeuralNetworksMemoryDesc}, or as the source or
928 * model operands of all the roles specified by {@link ANeuralNetworksMemoryDesc_addInputRole} and
[all …]
/frameworks/base/services/core/java/com/android/server/stats/
DStatsCompanionService.java2142 ArrayMap<String, ArraySet<String>> roles = rmi.getRolesAndHolders( in pullRoleHolders() local
2145 int numRoles = roles.size(); in pullRoleHolders()
2147 String roleName = roles.keyAt(roleNum); in pullRoleHolders()
2148 ArraySet<String> holders = roles.valueAt(roleNum); in pullRoleHolders()