Home
last modified time | relevance | path

Searched refs:groups (Results 1 – 25 of 58) 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/av/services/audiopolicy/engine/config/tests/
Dengineconfig_tests.cpp28 engineConfig::VolumeGroups groups; in TEST() local
29 ASSERT_TRUE(groups.empty()); in TEST()
32 groups); in TEST()
34 EXPECT_TRUE(groups.empty()); in TEST()
37 groups); in TEST()
39 EXPECT_FALSE(groups.empty()); in TEST()
/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/libs/WindowManager/Shell/src/com/android/wm/shell/protolog/
DShellProtoLogImpl.java113 public int startTextLogging(String[] groups, PrintWriter pw) { in startTextLogging() argument
117 return setLogging(true /* setTextLogging */, true, pw, groups); in startTextLogging()
128 public int stopTextLogging(String[] groups, PrintWriter pw) { in stopTextLogging() argument
129 return setLogging(true /* setTextLogging */, false, pw, groups); in stopTextLogging()
/frameworks/base/core/java/com/android/internal/widget/
DPeopleHelper.java190 public Map<CharSequence, String> mapUniqueNamesToPrefix(List<MessagingGroup> groups) { in mapUniqueNamesToPrefix() argument
195 for (int i = 0; i < groups.size(); i++) { in mapUniqueNamesToPrefix()
196 MessagingGroup group = groups.get(i); in mapUniqueNamesToPrefix()
228 public void maybeHideFirstSenderName(@NonNull List<MessagingGroup> groups, in maybeHideFirstSenderName() argument
230 for (int i = groups.size() - 1; i >= 0; i--) { in maybeHideFirstSenderName()
231 MessagingGroup messagingGroup = groups.get(i); in maybeHideFirstSenderName()
DMessagingLayout.java395 List<List<MessagingMessage>> groups = new ArrayList<>(); in addMessagesToGroups() local
399 findGroups(historicMessages, messages, groups, senders); in addMessagesToGroups()
402 createGroupViews(groups, senders, showSpinner); in addMessagesToGroups()
405 private void createGroupViews(List<List<MessagingMessage>> groups, in createGroupViews() argument
408 for (int groupIndex = 0; groupIndex < groups.size(); groupIndex++) { in createGroupViews()
409 List<MessagingMessage> group = groups.get(groupIndex); in createGroupViews()
437 newGroup.setSending(groupIndex == (groups.size() - 1) && showSpinner); in createGroupViews()
449 List<MessagingMessage> messages, List<List<MessagingMessage>> groups, in findGroups() argument
468 groups.add(currentGroup); in findGroups()
/frameworks/base/libs/WindowManager/Shell/
DAndroid.bp26 name: "wm_shell_protolog-groups",
61 ":wm_shell_protolog-groups",
70 "--loggroups-jar $(location :wm_shell_protolog-groups) " +
79 ":wm_shell_protolog-groups",
86 "--loggroups-jar $(location :wm_shell_protolog-groups) " +
/frameworks/base/core/java/com/android/internal/protolog/
DBaseProtoLogImpl.java275 String... groups) { in setLogging() argument
276 for (int i = 0; i < groups.length; i++) { in setLogging()
277 String group = groups[i]; in setLogging()
320 String[] groups = args.toArray(new String[args.size()]); in onShellCommand() local
332 return setLogging(false, true, pw, groups); in onShellCommand()
335 return setLogging(true, true, pw, groups); in onShellCommand()
337 return setLogging(false, false, pw, groups); in onShellCommand()
339 return setLogging(true, false, pw, groups); in onShellCommand()
/frameworks/base/services/core/java/com/android/server/notification/
DPreferencesHelper.java299 r.groups.put(id, group); in readXml()
549 || r.groups.size() > 0 in writeXml()
598 for (NotificationChannelGroup group : r.groups.values()) { in writeXml()
768 NotificationChannelGroup group = r.groups.get(groupId); in isGroupBlocked()
800 final NotificationChannelGroup oldGroup = r.groups.get(group.getId()); in createNotificationChannelGroup()
824 r.groups.put(group.getId(), group); in createNotificationChannelGroup()
841 if (channel.getGroup() != null && !r.groups.containsKey(channel.getGroup())) { in createNotificationChannel()
1278 if (r == null || groupId == null || !r.groups.containsKey(groupId)) { in getNotificationChannelGroupWithChannels()
1281 NotificationChannelGroup group = r.groups.get(groupId).clone(); in getNotificationChannelGroupWithChannels()
1304 return r.groups.get(groupId); in getNotificationChannelGroup()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/wmshell/
DWMShell.java384 String[] groups = Arrays.copyOfRange(args, i + 1, args.length); in handleLoggingCommand() local
385 int result = protoLogImpl.startTextLogging(groups, pw); in handleLoggingCommand()
387 pw.println("Starting logging on groups: " + Arrays.toString(groups)); in handleLoggingCommand()
392 String[] groups = Arrays.copyOfRange(args, i + 1, args.length); in handleLoggingCommand() local
393 int result = protoLogImpl.stopTextLogging(groups, pw); in handleLoggingCommand()
395 pw.println("Stopping logging on groups: " + Arrays.toString(groups)); in handleLoggingCommand()
/frameworks/base/services/tests/wmtests/
DAndroid.bp25 ":protolog-groups",
34 "--loggroups-jar $(location :protolog-groups) " +
/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/core/
DAndroid.bp36 ":protolog-groups",
45 "--loggroups-jar $(location :protolog-groups) " +
54 ":protolog-groups",
61 "--loggroups-jar $(location :protolog-groups) " +
/frameworks/base/services/usage/java/com/android/server/usage/
DAppTimeLimitController.java937 ArrayList<UsageGroup> groups = user.observedMap.get(name); in noteUsageStart() local
938 if (groups == null) return; in noteUsageStart()
940 final int size = groups.size(); in noteUsageStart()
942 UsageGroup group = groups.get(i); in noteUsageStart()
986 ArrayList<UsageGroup> groups = user.observedMap.get(name); in noteUsageStop() local
987 if (groups == null) return; in noteUsageStop()
989 final int size = groups.size(); in noteUsageStop()
991 UsageGroup group = groups.get(i); in noteUsageStop()
/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()

123