Home
last modified time | relevance | path

Searched refs:mRoles (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/services/core/java/com/android/server/role/
DRoleUserState.java95 private ArrayMap<String, ArraySet<String>> mRoles = new ArrayMap<>(); field in RoleUserState
187 return mRoles.containsKey(roleName); in isRoleAvailable()
203 ArraySet<String> packageNames = mRoles.get(roleName); in getRoleHolders()
222 if (!mRoles.containsKey(roleName)) { in addRoleName()
223 mRoles.put(roleName, new ArraySet<>()); in addRoleName()
244 for (int i = mRoles.size() - 1; i >= 0; i--) { in setRoleNames()
245 String roleName = mRoles.keyAt(i); in setRoleNames()
248 ArraySet<String> packageNames = mRoles.valueAt(i); in setRoleNames()
253 mRoles.removeAt(i); in setRoleNames()
284 ArraySet<String> roleHolders = mRoles.get(roleName); in addRoleHolder()
[all …]
/frameworks/av/media/libstagefright/omx/include/media/stagefright/omx/1.0/
DConversion.h537 t->mRoles.resize(l.mRoles.size()); in convertTo()
539 for (auto& role : l.mRoles) { in convertTo()
540 t->mRoles[i++] = role.string(); in convertTo()
554 l->mRoles.clear(); in convertTo()
555 for (size_t i = 0; i < t.mRoles.size(); ++i) { in convertTo()
556 l->mRoles.push_back(String8(t.mRoles[i].c_str())); in convertTo()
/frameworks/av/media/libmedia/include/media/omx/1.0/
DConversion.h801 t->mRoles.resize(l.mRoles.size()); in convertTo()
803 for (auto& role : l.mRoles) { in convertTo()
804 t->mRoles[i++] = role.string(); in convertTo()
818 l->mRoles.clear(); in convertTo()
819 for (size_t i = 0; i < t.mRoles.size(); ++i) { in convertTo()
820 l->mRoles.push_back(String8(t.mRoles[i].c_str())); in convertTo()
/frameworks/ml/nn/runtime/
DMemory.cpp330 if (mRoles.count({&compilation, ioType, index}) > 0) { in addRole()
390 mRoles.emplace(&compilation, ioType, index); in addRole()
455 if (mRoles.empty()) { in finish()
477 mShouldFallback = std::none_of(mRoles.begin(), mRoles.end(), [](const auto& role) { in finish()
517 std::make_unique<DeviceMemoryValidator>(mRoles, mOperand.value(), mDesc.dimensions); in allocate()
DMemory.h251 std::set<CompilationRole> mRoles; variable
/frameworks/av/media/libmedia/include/media/
DIOMX.h75 List<String8> mRoles; member
/frameworks/av/media/libstagefright/omx/1.0/
DOmx.cpp69 info.mRoles.push_back(roles[i]); in listNodes()
/frameworks/av/media/libstagefright/omx/tests/
DOMXHarness.cpp787 for (List<String8>::const_iterator role_it = info.mRoles.begin(); in testAll()
788 role_it != info.mRoles.end(); ++role_it) { in testAll()
/frameworks/av/cmds/stagefright/
Dstagefright.cpp1034 for (const auto& role : info.mRoles) { in main()