Searched refs:groups (Results 1 - 25 of 30) sorted by relevance

12

/frameworks/base/tools/split-select/
H A DGrouper.cpp32 Vector<SortedVector<SplitDescription> > groups; local
50 groups.add();
51 groups.editTop().add(split);
57 groups.add(densityGroups[i]);
62 groups.add(abiGroups[i]);
65 return groups;
/frameworks/base/wifi/java/android/net/wifi/p2p/
H A DWifiP2pGroupList.java133 final Collection<WifiP2pGroup> groups = mGroups.snapshot().values();
134 for (WifiP2pGroup grp: groups) {
158 final Collection<WifiP2pGroup> groups = mGroups.snapshot().values();
159 for (WifiP2pGroup grp: groups) {
196 final Collection<WifiP2pGroup> groups = mGroups.snapshot().values();
197 for (WifiP2pGroup grp: groups) {
208 final Collection<WifiP2pGroup> groups = mGroups.snapshot().values();
209 for (WifiP2pGroup grp: groups) {
222 final Collection<WifiP2pGroup> groups = mGroups.snapshot().values();
223 dest.writeInt(groups
[all...]
H A DWifiP2pManager.java275 * Broadcast intent action indicating that remembered persistent groups have changed.
655 * @param groups Wi-Fi p2p group info list
657 public void onPersistentGroupInfoAvailable(WifiP2pGroupList groups); argument
827 WifiP2pGroupList groups = (WifiP2pGroupList) message.obj;
830 onPersistentGroupInfoAvailable(groups);
1410 * Request a list of all the persistent p2p groups stored in system.
/frameworks/base/services/usage/java/com/android/server/usage/
H A DAppTimeLimitController.java83 private SparseArray<TimeLimitGroup> groups = new SparseArray<>(); field in class:AppTimeLimitController.UserData
220 user.groups.append(observerId, group);
256 return getOrCreateUserDataLocked(userId).groups.get(observerId);
267 TimeLimitGroup group = user.groups.get(observerId);
270 user.groups.remove(observerId);
295 // Check if any of the groups need to watch for this package
317 // Add up the usage time to all groups that contain the package
318 ArrayList<TimeLimitGroup> groups = user.packageMap.get(packageName);
319 if (groups != null) {
320 final int size = groups
[all...]
/frameworks/base/tools/aapt2/configuration/
H A DConfigurationParser_test.cpp84 <abi-groups>
93 </abi-groups>
94 <screen-density-groups>
108 </screen-density-groups>
109 <locale-groups>
124 </locale-groups>
136 <gl-texture-groups>
142 </gl-texture-groups>
143 <device-feature-groups>
147 </device-feature-groups>
[all...]
H A DConfigurationParser.internal.h73 * A ComparisonChain is a grouping of comparisons to perform when sorting groups that have a well
85 ComparisonChain& Add(const Group<T>& groups, const Maybe<std::string>& lhs, argument
87 return Add(GetGroupOrder(groups, lhs), GetGroupOrder(groups, rhs));
109 inline size_t GetGroupOrder(const Entry<T>& groups, const Maybe<std::string>& label) { argument
113 return groups.at(label.value()).order;
158 bool valid = IsGroupValid(abi_groups, "abi-groups", diag);
159 valid &= IsGroupValid(screen_density_groups, "screen-density-groups", diag);
160 valid &= IsGroupValid(locale_groups, "locale-groups", diag);
161 valid &= IsGroupValid(device_feature_groups, "device-feature-groups", dia
[all...]
H A DConfigurationParser.cpp136 bool CopyXmlReferences(const Maybe<std::string>& name, const Group<T>& groups, argument
144 auto group = groups.find(name.value());
145 if (group == groups.end()) {
326 // Parse the different configuration groups.
327 root_action["abi-groups"]["abi-group"].Action(Bind(&config, AbiGroupTagHandler));
328 root_action["screen-density-groups"]["screen-density-group"].Action(
330 root_action["locale-groups"]["locale-group"].Action(Bind(&config, LocaleGroupTagHandler));
332 root_action["gl-texture-groups"]["gl-texture-group"].Action(
334 root_action["device-feature-groups"]["device-feature-group"].Action(
/frameworks/base/services/core/jni/
H A Dcom_android_server_connectivity_tethering_OffloadHardwareInterface.cpp43 int conntrackSocket(unsigned groups) { argument
51 .nl_groups = groups,
61 .nl_groups = groups,
100 // fd1 A file descriptor bound to the following netlink groups
103 // fd2 A file descriptor bound to the following netlink groups
/frameworks/native/cmds/dumpstate/
H A DDumpstateInternal.cpp72 std::vector<gid_t> groups(group_names.size(), 0);
75 groups[i] = grp != nullptr ? grp->gr_gid : 0;
76 if (groups[i] == 0) {
83 if (setgroups(groups.size(), groups.data()) != 0) {
/frameworks/support/navigation/safe-args-generator/src/main/kotlin/androidx/navigation/safe/args/generator/
H A DNavParser.kt189 val groups = matchEntire.groupValues
190 val resourceName = groups.last()
191 val resType = groups[groups.size - 2]
192 val packageName = if (groups[1].isNotEmpty()) groups[1].removeSuffix(":") else rFilePackage
/frameworks/rs/tests/lldb/tests/testcases/
H A Dtest_reduction_combiner.py66 if not match or not match.groups():
/frameworks/base/services/core/java/com/android/server/notification/
H A DRankingHelper.java193 // Clobber groups and channels with the xml, but don't delete other data that wasn't present
243 // Channel groups
251 r.groups.put(id, group);
410 || r.groups.size() > 0;
431 for (NotificationChannelGroup group : r.groups.values()) {
560 NotificationChannelGroup group = r.groups.get(groupId);
586 final NotificationChannelGroup oldGroup = r.groups.get(group.getId());
598 r.groups.put(group.getId(), group);
612 if (channel.getGroup() != null && !r.groups.containsKey(channel.getGroup())) {
804 if (r == null || groupId == null || !r.groups
1477 Map<String, NotificationChannelGroup> groups = new ConcurrentHashMap<>(); field in class:RankingHelper.Record
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DMessagingLayout.java187 // Let's first check which groups were removed altogether and remove them in one animation
369 // Let's first find our groups!
370 List<List<MessagingMessage>> groups = new ArrayList<>();
373 // Lets first find the groups
374 findGroups(historicMessages, messages, groups, senders);
377 createGroupViews(groups, senders, showSpinner);
380 private void createGroupViews(List<List<MessagingMessage>> groups, argument
383 for (int groupIndex = 0; groupIndex < groups.size(); groupIndex++) {
384 List<MessagingMessage> group = groups.get(groupIndex);
407 newGroup.setSending(groupIndex == (groups
418 findGroups(List<MessagingMessage> historicMessages, List<MessagingMessage> messages, List<List<MessagingMessage>> groups, List<Person> senders) argument
[all...]
/frameworks/base/core/java/android/nfc/cardemulation/
H A DApduServiceInfo.java212 Log.e(TAG, "Not allowing multiple aid-groups in the " +
287 * Returns a consolidated list of AIDs from the AID groups
337 * Returns a consolidated list of AID groups
345 final ArrayList<AidGroup> groups = new ArrayList<AidGroup>();
347 groups.add(entry.getValue());
351 // Consolidate AID groups - don't return static ones
353 groups.add(entry.getValue());
356 return groups;
364 ArrayList<AidGroup> groups = getAidGroups();
365 for (AidGroup group : groups) {
[all...]
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/registry/
H A DBenchmarkRegistry.java81 List<BenchmarkGroup> groups = parseBenchmarkGroup(inf.activityInfo);
82 if (groups != null) {
83 mGroups.addAll(groups);
/frameworks/support/app-toolkit/buildSrc/src/main/kotlin/androidx/build/checkapi/
H A DCheckApiTask.kt203 } else if (match.groups[3]?.value == "error") {
204 val hash = getShortHash(match.groups[5]?.value!!)
/frameworks/support/buildSrc/src/main/kotlin/androidx/build/checkapi/
H A DCheckApiTask.kt203 } else if (match.groups[3]?.value == "error") {
204 val hash = getShortHash(match.groups[5]?.value!!)
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
H A DWifiP2pNative.java238 public boolean p2pListNetworks(WifiP2pGroupList groups) { argument
239 return mSupplicantP2pIfaceHal.loadGroups(groups);
329 * Set the Maximum idle time in seconds for P2P groups.
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/p2p/
H A DSupplicantP2pIfaceHalTest.java2310 * Specifically, all groups returned by listNetworks are added as a persistent group, so long as
2331 Map<Integer, P2pGroupInfo> groups = new HashMap<>();
2332 groups.put(0, new P2pGroupInfo(
2336 groups.put(1, new P2pGroupInfo(
2340 groups.put(2, new P2pGroupInfo(
2344 groups.put(3, new P2pGroupInfo(
2351 cb.onValues(mStatusSuccess, new ArrayList<Integer>(groups.keySet()));
2362 NativeUtil.stringToByteArrayList(groups.get(networkId).ssid));
2369 cb.onValues(mStatusSuccess, groups.get(networkId).bssid);
2376 cb.onValues(mStatusSuccess, groups
[all...]
/frameworks/base/services/core/java/com/android/server/pm/
H A DPackageManagerShellCommand.java401 case "permission-groups":
652 boolean groups = false;
666 groups = true;
669 groups = true;
683 if (groups) {
699 doListPermissions(groupList, groups, labels, summary,
705 doListPermissions(groupList, groups, labels, summary,
712 doListPermissions(groupList, groups, labels, summary,
718 doListPermissions(groupList, groups, labels, summary,
2533 private void doListPermissions(ArrayList<String> groupList, boolean groups, boolea argument
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
H A DMessagingLayoutTransformState.java217 ArrayList<MessagingGroup> groups) {
218 ArrayList<MessagingGroup> result = new ArrayList<>(groups);
216 filterHiddenGroups( ArrayList<MessagingGroup> groups) argument
/frameworks/base/core/java/android/widget/
H A DAppSecurityPermissions.java56 * groups. Clicking on the additional permissions presents
57 * extended information consisting of all groups and permissions.
470 private void displayPermissions(List<MyPermissionGroupInfo> groups, argument
476 for (int i=0; i<groups.size(); i++) {
477 MyPermissionGroupInfo grp = groups.get(i);
/frameworks/base/core/java/android/app/
H A DNotificationManager.java475 * for channels, and you can have a mix of channels that belong to groups and channels
491 * Creates multiple notification channel groups.
493 * @param groups The list of groups to create
495 public void createNotificationChannelGroups(@NonNull List<NotificationChannelGroup> groups) { argument
499 new ParceledListSlice(groups));
605 * Returns all notification channel groups belonging to the calling app.
/frameworks/base/tools/aapt/
H A DResource.cpp395 const DefaultKeyedVector<String8, sp<AaptGroup> >& groups = dir->getFiles(); local
396 int N = groups.size();
398 const String8& leafName = groups.keyAt(i);
399 const sp<AaptGroup>& group = groups.valueAt(i);
3271 const KeyedVector<String8,sp<AaptGroup> > groups = d->getFiles(); local
3272 const size_t N = groups.size();
3274 const sp<AaptGroup>& group = groups.valueAt(i);
/frameworks/base/tools/apilint/
H A Dapilint.py193 blame = match.groups()[0:2]
194 raw = match.groups()[2]

Completed in 1271 milliseconds

12