Home
last modified time | relevance | path

Searched refs:groups (Results 1 – 25 of 67) sorted by relevance

123

/frameworks/base/startop/scripts/trace_analyzer/lib/
Dtrace2db.py58 groups = m.groups()
68 task_name = groups[0]
72 task_pid = int(groups[1])
73 tgid = groups[2]
77 cpu = int(groups[3])
79 timestamp = float(groups[5])
80 function = groups[6]
81 function_args = groups[7]
106 groups = m.groups()
111 d['prev_comm'] = groups[0]
[all …]
/frameworks/base/wifi/java/android/net/wifi/p2p/
DWifiP2pGroupList.java141 final Collection<WifiP2pGroup> groups = mGroups.snapshot().values(); in getNetworkId()
142 for (WifiP2pGroup grp: groups) { in getNetworkId()
166 final Collection<WifiP2pGroup> groups = mGroups.snapshot().values(); in getNetworkId() local
167 for (WifiP2pGroup grp: groups) { in getNetworkId()
204 final Collection<WifiP2pGroup> groups = mGroups.snapshot().values(); in contains() local
205 for (WifiP2pGroup grp: groups) { in contains()
217 final Collection<WifiP2pGroup> groups = mGroups.snapshot().values(); in toString() local
218 for (WifiP2pGroup grp: groups) { in toString()
233 final Collection<WifiP2pGroup> groups = mGroups.snapshot().values(); in writeToParcel() local
234 dest.writeInt(groups.size()); in writeToParcel()
[all …]
/frameworks/base/tools/split-select/
DGrouper.cpp32 Vector<SortedVector<SplitDescription> > groups; in groupByMutualExclusivity() local
50 groups.add(); in groupByMutualExclusivity()
51 groups.editTop().add(split); in groupByMutualExclusivity()
57 groups.add(densityGroups[i]); in groupByMutualExclusivity()
62 groups.add(abiGroups[i]); in groupByMutualExclusivity()
65 return groups; in groupByMutualExclusivity()
/frameworks/base/tools/aapt2/configuration/
DConfigurationParser_test.cpp86 <abi-groups>
95 </abi-groups>
96 <screen-density-groups>
110 </screen-density-groups>
111 <locale-groups>
126 </locale-groups>
138 <gl-texture-groups>
DConfigurationParser.internal.h87 ComparisonChain& Add(const Group<T>& groups, const Maybe<std::string>& lhs, in Add() argument
89 return Add(GetGroupOrder(groups, lhs), GetGroupOrder(groups, rhs)); in Add()
111 inline size_t GetGroupOrder(const Entry<T>& groups, const Maybe<std::string>& label) { in GetGroupOrder() argument
115 return groups.at(label.value()).order; in GetGroupOrder()
/frameworks/base/core/jni/
Dandroid_media_AudioProductStrategies.cpp89 std::map<int /**attributesGroupIndex*/, std::vector<AudioAttributes> > groups; in convertAudioProductStrategiesFromNative() local
93 const auto &iter = std::find_if(begin(groups), end(groups), in convertAudioProductStrategiesFromNative()
99 if (iter != end(groups)) { in convertAudioProductStrategiesFromNative()
100 groups[iter->first].push_back(attr); in convertAudioProductStrategiesFromNative()
103 groups[attrGroupIndex++].push_back(attr); in convertAudioProductStrategiesFromNative()
106 numAttributesGroups = groups.size(); in convertAudioProductStrategiesFromNative()
110 for (const auto &iter : groups) { in convertAudioProductStrategiesFromNative()
Dandroid_media_AudioVolumeGroups.cpp129 AudioVolumeGroupVector groups; in android_media_AudioSystem_listAudioVolumeGroups() local
133 status = AudioSystem::listAudioVolumeGroups(groups); in android_media_AudioSystem_listAudioVolumeGroups()
138 for (const auto &group : groups) { in android_media_AudioSystem_listAudioVolumeGroups()
/frameworks/base/tools/protologtool/src/com/android/protolog/tool/
DProtoLogTool.kt46 val groups = injector.readLogGroups( in <lambda>() constant
52 command.protoLogGroupsClassNameArg, groups) in <lambda>()
94 outJar.write(generateLogGroupCache(cachePackage, cacheName, groups, in <lambda>()
104 groups: Map<String, LogGroup>, in <lambda>()
108 val fields = groups.values.map { in <lambda>()
112 val updates = groups.values.map { in <lambda>()
149 val groups = injector.readLogGroups( in <lambda>() constant
153 command.protoLogGroupsClassNameArg, groups) in <lambda>()
DViewerConfigParser.kt94 var groups: Map<String, GroupEntry>? = null in <lambda>() variable
101 "groups" -> groups = parseGroups(jsonReader) in <lambda>()
108 if (messages == null || groups == null || version == null) { in <lambda>()
117 msg.value.messageString, msg.value.level, groups[msg.value.groupName]?.tag in <lambda>()
DViewerConfigBuilder.kt40 groups.add(group) in <lambda>()
47 private val groups: MutableSet<LogGroup> = mutableSetOf() in <lambda>() constant in com.android.protolog.tool.ViewerConfigBuilder
103 groups.toSortedSet(Comparator { o1, o2 -> o1.name.compareTo(o2.name) }).forEach { group -> in <lambda>()
/frameworks/native/cmds/dumpstate/
DDumpstateInternal.cpp73 std::vector<gid_t> groups(group_names.size(), 0); in DropRootUser() local
76 groups[i] = grp != nullptr ? grp->gr_gid : 0; in DropRootUser()
77 if (groups[i] == 0) { in DropRootUser()
84 if (setgroups(groups.size(), groups.data()) != 0) { in DropRootUser()
/frameworks/base/tools/protologtool/tests/com/android/protolog/tool/
DProtoLogToolTest.kt26 val groups = mapOf( in generateLogGroupCache() constant
31 groups, "org.example.ProtoLogImpl", "org.example.ProtoLogGroups") in generateLogGroupCache()
DViewerConfigParserTest.kt197 val groups = parser.parseGroups(getJSONReader(json)) in parseGroups() constant
198 assertEquals(2, groups.size) in parseGroups()
201 assertEquals(grp1, groups["GENERIC_WM"]) in parseGroups()
202 assertEquals(grp2, groups["ERROR_WM"]) in parseGroups()
/frameworks/base/services/core/java/com/android/server/notification/
DPreferencesHelper.java290 r.groups.put(id, group); in readXml()
510 || r.groups.size() > 0 in writeXml()
560 for (NotificationChannelGroup group : r.groups.values()) { in writeXml()
730 NotificationChannelGroup group = r.groups.get(groupId); in isGroupBlocked()
762 final NotificationChannelGroup oldGroup = r.groups.get(group.getId()); in createNotificationChannelGroup()
786 r.groups.put(group.getId(), group); in createNotificationChannelGroup()
803 if (channel.getGroup() != null && !r.groups.containsKey(channel.getGroup())) { in createNotificationChannel()
1208 if (r == null || groupId == null || !r.groups.containsKey(groupId)) { in getNotificationChannelGroupWithChannels()
1211 NotificationChannelGroup group = r.groups.get(groupId).clone(); in getNotificationChannelGroupWithChannels()
1234 return r.groups.get(groupId); in getNotificationChannelGroup()
[all …]
/frameworks/ml/nn/tools/systrace_parser/parser/
Dinput.py68 [task, pid, tgid, time, mark] = m.groups()
70 [task, pid, time, mark] = m_old.groups()
/frameworks/base/core/java/com/android/internal/widget/
DMessagingLayout.java424 List<List<MessagingMessage>> groups = new ArrayList<>(); in addMessagesToGroups() local
428 findGroups(historicMessages, messages, groups, senders); in addMessagesToGroups()
431 createGroupViews(groups, senders, showSpinner); in addMessagesToGroups()
434 private void createGroupViews(List<List<MessagingMessage>> groups, in createGroupViews() argument
437 for (int groupIndex = 0; groupIndex < groups.size(); groupIndex++) { in createGroupViews()
438 List<MessagingMessage> group = groups.get(groupIndex); in createGroupViews()
464 newGroup.setSending(groupIndex == (groups.size() - 1) && showSpinner); in createGroupViews()
476 List<MessagingMessage> messages, List<List<MessagingMessage>> groups, in findGroups() argument
495 groups.add(currentGroup); in findGroups()
DConversationLayout.java513 List<List<MessagingMessage>> groups = new ArrayList<>(); in bind() local
517 findGroups(historicMessages, messages, groups, senders); in bind()
521 createGroupViews(groups, senders, showSpinner); in bind()
996 private void createGroupViews(List<List<MessagingMessage>> groups, in createGroupViews() argument
999 for (int groupIndex = 0; groupIndex < groups.size(); groupIndex++) { in createGroupViews()
1000 List<MessagingMessage> group = groups.get(groupIndex); in createGroupViews()
1029 newGroup.setSending(groupIndex == (groups.size() - 1) && showSpinner); in createGroupViews()
1042 List<MessagingMessage> messages, List<List<MessagingMessage>> groups, in findGroups() argument
1060 groups.add(currentGroup); in findGroups()
/frameworks/base/tools/protologtool/
DREADME.md14 --loggroups-class <protolog groups class name>
48 --loggroups-class <protolog groups class name>
66 "groups": {
111 After doing any changes to logging groups or statements you should build the project and follow ins…
/frameworks/base/services/usage/java/com/android/server/usage/
DAppTimeLimitController.java921 ArrayList<UsageGroup> groups = user.observedMap.get(name); in noteUsageStart() local
922 if (groups == null) return; in noteUsageStart()
924 final int size = groups.size(); in noteUsageStart()
926 UsageGroup group = groups.get(i); in noteUsageStart()
970 ArrayList<UsageGroup> groups = user.observedMap.get(name); in noteUsageStop() local
971 if (groups == null) return; in noteUsageStop()
973 final int size = groups.size(); in noteUsageStop()
975 UsageGroup group = groups.get(i); in noteUsageStop()
/frameworks/base/core/java/android/nfc/cardemulation/
DApduServiceInfo.java380 final ArrayList<AidGroup> groups = new ArrayList<AidGroup>(); in getAidGroups() local
382 groups.add(entry.getValue()); in getAidGroups()
388 groups.add(entry.getValue()); in getAidGroups()
391 return groups; in getAidGroups()
399 ArrayList<AidGroup> groups = getAidGroups(); in getCategoryForAid() local
400 for (AidGroup group : groups) { in getCategoryForAid()
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/registry/
DBenchmarkRegistry.java81 List<BenchmarkGroup> groups = parseBenchmarkGroup(inf.activityInfo); in loadBenchmarks() local
82 if (groups != null) { in loadBenchmarks()
83 mGroups.addAll(groups); in loadBenchmarks()
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/
DOffloadHardwareInterface.java176 public NativeHandle createConntrackSocket(final int groups) { in createConntrackSocket() argument
185 final SocketAddress sockAddr = SocketUtils.makeNetlinkSocketAddress(0, groups); in createConntrackSocket()
189 mLog.e("Unable to bind conntrack socket for groups " + groups + " error: " + e); in createConntrackSocket()
200 mLog.e("connect to kernel fail for groups " + groups + " error: " + e); in createConntrackSocket()
/frameworks/rs/tests/lldb/tests/testcases/
Dtest_reduction_combiner.py66 if not match or not match.groups():
/frameworks/ml/nn/tools/test_generator/
DREADME.md203 …multiple groups of variations, and if so, will take the cartesian product of the groups. For examp…
208 # Add two groups of variations [default, nchw] and [default, relaxed, quant8]
221 # Add two groups of variations [nchw] and [default, relaxed, quant8]
450 # Add two more groups of variations
/frameworks/av/services/audiopolicy/engine/interface/
DEngineInterface.h293 virtual status_t listAudioVolumeGroups(AudioVolumeGroupVector &groups) const = 0;

123