Home
last modified time | relevance | path

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

/frameworks/base/wifi/java/android/net/wifi/p2p/
DWifiP2pGroupList.java38 private final LruCache<Integer, WifiP2pGroup> mGroups; field in WifiP2pGroupList
56 mGroups = new LruCache<Integer, WifiP2pGroup>(CREDENTIAL_MAX_NUM) { in WifiP2pGroupList()
67 for (Map.Entry<Integer, WifiP2pGroup> item : source.mGroups.snapshot().entrySet()) { in WifiP2pGroupList()
68 mGroups.put(item.getKey(), item.getValue()); in WifiP2pGroupList()
80 return mGroups.snapshot().values(); in getGroupList()
90 mGroups.put(group.getNetworkId(), group); in add()
100 mGroups.remove(netId); in remove()
117 if (mGroups.size() == 0) return false; in clear()
119 mGroups.evictAll(); in clear()
137 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/core/java/com/android/internal/widget/
DMessagingLayout.java83 private ArrayList<MessagingGroup> mGroups = new ArrayList<>(); field in MessagingLayout
197 ArrayList<MessagingGroup> oldGroups = new ArrayList<>(mGroups); in bind()
218 if (!mGroups.contains(group)) { in removeGroups()
242 for (int i = 0; i < mGroups.size(); i++) { in updateTitleAndNamesDisplay()
243 MessagingGroup group = mGroups.get(i); in updateTitleAndNamesDisplay()
271 for (int i = 0; i < mGroups.size(); i++) { in updateTitleAndNamesDisplay()
273 MessagingGroup group = mGroups.get(i); in updateTitleAndNamesDisplay()
288 for (int i = 0; i < mGroups.size(); i++) { in updateTitleAndNamesDisplay()
290 MessagingGroup group = mGroups.get(i); in updateTitleAndNamesDisplay()
398 mGroups.clear(); in createGroupViews()
[all …]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/p2p/
DWifiP2pMetricsTest.java179 WifiP2pGroupList mGroups = new WifiP2pGroupList(); in updatePersistentGroup() local
181 mWifiP2pMetrics.updatePersistentGroup(mGroups); in updatePersistentGroup()
191 mGroups.add(group1); in updatePersistentGroup()
192 mGroups.add(group2); in updatePersistentGroup()
193 mGroups.add(group3); in updatePersistentGroup()
194 mWifiP2pMetrics.updatePersistentGroup(mGroups); in updatePersistentGroup()
196 assertEquals(3, mGroups.getGroupList().size()); in updatePersistentGroup()
DWifiP2pServiceImplTest.java129 private WifiP2pGroupList mGroups = new WifiP2pGroupList(null, null); field in WifiP2pServiceImplTest
176 mGroups.clear(); in generatorTestData()
182 mGroups.add(group1); in generatorTestData()
189 mGroups.add(group2); in generatorTestData()
196 mGroups.add(group3); in generatorTestData()
374 mGroups.add(group); in sendGroupStartedMsg()
732 for (WifiP2pGroup group : mGroups.getGroupList()) { in setUpWifiP2pServiceImpl()
740 mGroups.remove(netId); in setUpWifiP2pServiceImpl()
3337 assertEquals(mGroups.toString(), groups.toString()); in testRequestPersistentGroupInfoSuccess()
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/registry/
DBenchmarkRegistry.java56 private List<BenchmarkGroup> mGroups; field in BenchmarkRegistry
62 mGroups = new ArrayList<>(); in BenchmarkRegistry()
83 mGroups.addAll(groups); in loadBenchmarks()
174 return mGroups.size(); in getGroupCount()
186 if (benchmarkIndex >= mGroups.size()) { in getBenchmarkGroup()
190 return mGroups.get(benchmarkIndex); in getBenchmarkGroup()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pServiceImpl.java778 private final WifiP2pGroupList mGroups = new WifiP2pGroupList(null, field in WifiP2pServiceImpl.P2pStateMachine
1083 maybeEraseOwnDeviceAddress(mGroups, message.sendingUid), in processMessage()
1463 if (mGroups.clear()) sendP2pPersistentGroupsChangedBroadcast(); in processMessage()
1679 mGroups.remove(message.arg1); in processMessage()
1680 mWifiP2pMetrics.updatePersistentGroup(mGroups); in processMessage()
1863 String addr = mGroups.getOwnerAddr(id); in processMessage()
1951 netId = mGroups.getNetworkId(mThisDevice.deviceAddress); in processMessage()
2366 mGroup.setNetworkId(mGroups.getNetworkId(devAddr, in processMessage()
2936 pw.println("mGroups" + mGroups); in dump()
3246 if (reload) mGroups.clear(); in updatePersistentNetworks()
[all …]
/frameworks/av/media/libaudioprocessing/
DAudioMixerBase.cpp611 mGroups.clear(); in process__validate()
618 mGroups[t->mainBuffer].emplace_back(name); // mGroups also in order of name. in process__validate()
1031 for (const auto &pair : mGroups) { in process__nop()
1061 for (const auto &pair : mGroups) { in process__genericNoResampling()
1142 for (const auto &pair : mGroups) { in process__genericResampling()
DAudioMixer.cpp586 for (const auto &pair : mGroups) { in postProcess()
/frameworks/av/media/libaudioprocessing/include/media/
DAudioMixerBase.h348 std::unordered_map<void * /* mainBuffer */, std::vector<int /* name */>> mGroups; variable