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.java187 ArrayList<TaskGrouping> mGroups = new ArrayList<TaskGrouping>(); field in TaskStack
213 mGroups.clear(); in reset()
372 mGroups.add(group); in addGroup()
377 mGroups.remove(group); in removeGroup()
427 Collections.sort(mGroups, new Comparator<TaskGrouping>() { in createAffiliatedGroupings()
437 int groupCount = mGroups.size(); in createAffiliatedGroupings()
439 TaskGrouping group = mGroups.get(i); in createAffiliatedGroupings()
475 int taskGroupCount = mGroups.size(); in createAffiliatedGroupings()
477 TaskGrouping group = mGroups.get(i); in createAffiliatedGroupings()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pServiceImpl.java513 private final WifiP2pGroupList mGroups = new WifiP2pGroupList(null, field in WifiP2pServiceImpl.P2pStateMachine
685 new WifiP2pGroupList(mGroups, null)); in processMessage()
971 if (mGroups.clear()) sendP2pPersistentGroupsChangedBroadcast(); in processMessage()
1131 mGroups.remove(message.arg1); in processMessage()
1309 netId = mGroups.getNetworkId(mThisDevice.deviceAddress); in processMessage()
1640 mGroup.setNetworkId(mGroups.getNetworkId(devAddr, in processMessage()
2395 if (reload) mGroups.clear(); in updatePersistentNetworks()
2429 if (mGroups.contains(netId)) { in updatePersistentNetworks()
2447 mGroups.add(group); in updatePersistentNetworks()
2516 int netId = mGroups.getNetworkId(dev.deviceAddress, ssid); in reinvokePersistentGroup()
[all …]