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.cpp53 mGroups = groupByMutualExclusivity(splits); in SetUp()
63 Vector<SortedVector<SplitDescription> > mGroups; member in split::GrouperTest
67 EXPECT_EQ(12u, mGroups.size()); in TEST_F()
140 const size_t groupCount = mGroups.size(); in expectHasGroupWithSplits()
142 const SortedVector<SplitDescription>& group = mGroups[i]; in expectHasGroupWithSplits()
170 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.java193 ArrayList<TaskGrouping> mGroups = new ArrayList<TaskGrouping>(); field in TaskStack
205 mGroups.clear(); in reset()
354 mGroups.add(group); in addGroup()
359 mGroups.remove(group); in removeGroup()
409 Collections.sort(mGroups, new Comparator<TaskGrouping>() { in createAffiliatedGroupings()
419 int groupCount = mGroups.size(); in createAffiliatedGroupings()
421 TaskGrouping group = mGroups.get(i); in createAffiliatedGroupings()
457 int taskGroupCount = mGroups.size(); in createAffiliatedGroupings()
459 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()
2383 if (reload) mGroups.clear(); in updatePersistentNetworks()
2417 if (mGroups.contains(netId)) { in updatePersistentNetworks()
2435 mGroups.add(group); in updatePersistentNetworks()
2504 int netId = mGroups.getNetworkId(dev.deviceAddress, ssid); in reinvokePersistentGroup()
[all …]