Home
last modified time | relevance | path

Searched refs:mGroups (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/wifi/java/android/net/wifi/p2p/
DWifiP2pGroupList.java36 private final LruCache<Integer, WifiP2pGroup> mGroups; field in WifiP2pGroupList
53 mGroups = new LruCache<Integer, WifiP2pGroup>(CREDENTIAL_MAX_NUM) { in WifiP2pGroupList()
64 for (Map.Entry<Integer, WifiP2pGroup> item : source.mGroups.snapshot().entrySet()) { in WifiP2pGroupList()
65 mGroups.put(item.getKey(), item.getValue()); in WifiP2pGroupList()
76 return mGroups.snapshot().values(); in getGroupList()
86 mGroups.put(group.getNetworkId(), group); in add()
96 mGroups.remove(netId); in remove()
113 if (mGroups.size() == 0) return false; in clear()
115 mGroups.evictAll(); in clear()
133 final Collection<WifiP2pGroup> groups = mGroups.snapshot().values(); in getNetworkId()
[all …]
/frameworks/base/tools/split-select/
DSplitSelector.cpp34 : mGroups(groupByMutualExclusivity(splits)) { in SplitSelector()
61 const size_t groupCount = mGroups.size(); in getBestSplits()
63 selectBestFromGroup(mGroups[i], target, bestSplits); in getBestSplits()
71 const size_t groupCount = mGroups.size(); in getRules()
73 const SortedVector<SplitDescription>& splits = mGroups[i]; in getRules()
DGrouper_test.cpp55 mGroups = groupByMutualExclusivity(splits); in SetUp()
65 Vector<SortedVector<SplitDescription> > mGroups; member in split::GrouperTest
69 EXPECT_EQ(15u, mGroups.size()); in TEST_F()
145 const size_t groupCount = mGroups.size(); in expectHasGroupWithSplits()
147 const SortedVector<SplitDescription>& group = mGroups[i]; in expectHasGroupWithSplits()
175 const SortedVector<SplitDescription>& group = mGroups[i]; in expectHasGroupWithSplits()
DSplitSelector.h39 android::Vector<android::SortedVector<SplitDescription> > mGroups;
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/
DTaskStack.java541 ArrayList<TaskGrouping> mGroups = new ArrayList<>();
855 mGroups.add(group); in addGroup()
860 mGroups.remove(group); in removeGroup()
873 mGroups.clear(); in createAffiliatedGroupings()
913 Collections.sort(mGroups, new Comparator<TaskGrouping>() { in createAffiliatedGroupings()
923 int groupCount = mGroups.size(); in createAffiliatedGroupings()
925 TaskGrouping group = mGroups.get(i); in createAffiliatedGroupings()
967 int taskGroupCount = mGroups.size(); in createAffiliatedGroupings()
969 TaskGrouping group = mGroups.get(i); in createAffiliatedGroupings()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pServiceImpl.java560 private final WifiP2pGroupList mGroups = new WifiP2pGroupList(null, field in WifiP2pServiceImpl.P2pStateMachine
793 new WifiP2pGroupList(mGroups, null)); in processMessage()
1079 if (mGroups.clear()) sendP2pPersistentGroupsChangedBroadcast(); in processMessage()
1239 mGroups.remove(message.arg1); in processMessage()
1405 netId = mGroups.getNetworkId(mThisDevice.deviceAddress); in processMessage()
1736 mGroup.setNetworkId(mGroups.getNetworkId(devAddr, in processMessage()
2491 if (reload) mGroups.clear(); in updatePersistentNetworks()
2525 if (mGroups.contains(netId)) { in updatePersistentNetworks()
2543 mGroups.add(group); in updatePersistentNetworks()
2612 int netId = mGroups.getNetworkId(dev.deviceAddress, ssid); in reinvokePersistentGroup()
[all …]