Home
last modified time | relevance | path

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

123

/frameworks/base/wifi/java/android/net/wifi/p2p/
DWifiP2pGroupList.java137 final Collection<WifiP2pGroup> groups = mGroups.snapshot().values(); in getNetworkId()
138 for (WifiP2pGroup grp: groups) { in getNetworkId()
162 final Collection<WifiP2pGroup> groups = mGroups.snapshot().values(); in getNetworkId() local
163 for (WifiP2pGroup grp: groups) { in getNetworkId()
200 final Collection<WifiP2pGroup> groups = mGroups.snapshot().values(); in contains() local
201 for (WifiP2pGroup grp: groups) { in contains()
212 final Collection<WifiP2pGroup> groups = mGroups.snapshot().values(); in toString() local
213 for (WifiP2pGroup grp: groups) { in toString()
226 final Collection<WifiP2pGroup> groups = mGroups.snapshot().values(); in writeToParcel() local
227 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()
DConfigurationParser.cpp138 bool CopyXmlReferences(const Maybe<std::string>& name, const Group<T>& groups, in CopyXmlReferences() argument
146 auto group = groups.find(name.value()); in CopyXmlReferences()
147 if (group == groups.end()) { in CopyXmlReferences()
/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/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/services/core/java/com/android/server/notification/
DPreferencesHelper.java227 r.groups.put(id, group); in readXml()
426 || r.groups.size() > 0 in writeXml()
467 for (NotificationChannelGroup group : r.groups.values()) { in writeXml()
572 NotificationChannelGroup group = r.groups.get(groupId); in isGroupBlocked()
604 final NotificationChannelGroup oldGroup = r.groups.get(group.getId()); in createNotificationChannelGroup()
625 r.groups.put(group.getId(), group); in createNotificationChannelGroup()
642 if (channel.getGroup() != null && !r.groups.containsKey(channel.getGroup())) { in createNotificationChannel()
966 if (r == null || groupId == null || !r.groups.containsKey(groupId)) { in getNotificationChannelGroupWithChannels()
969 NotificationChannelGroup group = r.groups.get(groupId).clone(); in getNotificationChannelGroupWithChannels()
992 return r.groups.get(groupId); in getNotificationChannelGroup()
[all …]
/frameworks/base/core/java/com/android/internal/widget/
DMessagingLayout.java386 List<List<MessagingMessage>> groups = new ArrayList<>(); in addMessagesToGroups() local
390 findGroups(historicMessages, messages, groups, senders); in addMessagesToGroups()
393 createGroupViews(groups, senders, showSpinner); in addMessagesToGroups()
396 private void createGroupViews(List<List<MessagingMessage>> groups, in createGroupViews() argument
399 for (int groupIndex = 0; groupIndex < groups.size(); groupIndex++) { in createGroupViews()
400 List<MessagingMessage> group = groups.get(groupIndex); in createGroupViews()
423 newGroup.setSending(groupIndex == (groups.size() - 1) && showSpinner); in createGroupViews()
435 List<MessagingMessage> messages, List<List<MessagingMessage>> groups, in findGroups() argument
454 groups.add(currentGroup); in findGroups()
/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/android/nfc/cardemulation/
DApduServiceInfo.java379 final ArrayList<AidGroup> groups = new ArrayList<AidGroup>(); in getAidGroups() local
381 groups.add(entry.getValue()); in getAidGroups()
387 groups.add(entry.getValue()); in getAidGroups()
390 return groups; in getAidGroups()
398 ArrayList<AidGroup> groups = getAidGroups(); in getCategoryForAid() local
399 for (AidGroup group : groups) { in getCategoryForAid()
/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/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]
445 # Add two more groups of variations
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/p2p/
DSupplicantP2pIfaceHalTest.java2456 Map<Integer, P2pGroupInfo> groups = new HashMap<>(); in testLoadGroups() local
2457 groups.put(0, new P2pGroupInfo( in testLoadGroups()
2461 groups.put(1, new P2pGroupInfo( in testLoadGroups()
2465 groups.put(2, new P2pGroupInfo( in testLoadGroups()
2469 groups.put(3, new P2pGroupInfo( in testLoadGroups()
2476 cb.onValues(mStatusSuccess, new ArrayList<Integer>(groups.keySet())); in testLoadGroups()
2487 NativeUtil.stringToByteArrayList(groups.get(networkId).ssid)); in testLoadGroups()
2494 cb.onValues(mStatusSuccess, groups.get(networkId).bssid); in testLoadGroups()
2501 cb.onValues(mStatusSuccess, groups.get(networkId).isCurrent); in testLoadGroups()
2508 cb.onValues(mStatusSuccess, groups.get(networkId).isGo); in testLoadGroups()
[all …]
/frameworks/av/services/audiopolicy/engine/interface/
DEngineInterface.h293 virtual status_t listAudioVolumeGroups(AudioVolumeGroupVector &groups) const = 0;
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pMetrics.java307 public void updatePersistentGroup(WifiP2pGroupList groups) { in updatePersistentGroup() argument
309 final Collection<WifiP2pGroup> list = groups.getGroupList(); in updatePersistentGroup()
DWifiP2pNative.java293 public boolean p2pListNetworks(WifiP2pGroupList groups) { in p2pListNetworks() argument
294 return mSupplicantP2pIfaceHal.loadGroups(groups); in p2pListNetworks()
/frameworks/av/services/audiopolicy/engine/common/include/
DEngineBase.h86 status_t listAudioVolumeGroups(AudioVolumeGroupVector &groups) const override;
/frameworks/av/services/audiopolicy/engine/common/src/
DEngineBase.cpp334 status_t EngineBase::listAudioVolumeGroups(AudioVolumeGroupVector &groups) const in listAudioVolumeGroups()
337 groups.push_back({iter.second->getName(), iter.second->getId(), in listAudioVolumeGroups()
/frameworks/base/media/java/android/media/audiopolicy/
DAudioVolumeGroup.java90 ArrayList<AudioVolumeGroup> groups); in native_list_audio_volume_groups() argument
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerShellCommand.java785 boolean groups = false; in runListPermissions()
799 groups = true; in runListPermissions()
802 groups = true; in runListPermissions()
816 if (groups) { in runListPermissions()
832 doListPermissions(groupList, groups, labels, summary, in runListPermissions()
838 doListPermissions(groupList, groups, labels, summary, in runListPermissions()
845 doListPermissions(groupList, groups, labels, summary, in runListPermissions()
851 doListPermissions(groupList, groups, labels, summary, in runListPermissions()
3028 private void doListPermissions(ArrayList<String> groupList, boolean groups, boolean labels, in doListPermissions() argument
3036 if (groups) { in doListPermissions()
[all …]

123