Searched refs:collector (Results 1 - 25 of 29) sorted by last modified time

12

/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/
H A DLinearLayoutManagerBaseConfigSetTest.java245 AttachDetachCollector collector = new AttachDetachCollector(mRecyclerView);
257 assertThat(collector.getDetached(), not(hasItem(sameInstance(vh.itemView))));
261 assertThat(collector.getDetached(), hasItem(sameInstance(vh.itemView)));
279 AttachDetachCollector collector = new AttachDetachCollector(mRecyclerView);
291 assertThat(collector.getDetached(), not(hasItem(sameInstance(vh.itemView))));
295 assertThat(collector.getDetached(), hasItem(sameInstance(vh.itemView)));
H A DStaggeredGridLayoutManagerBaseConfigSetTest.java763 AttachDetachCollector collector = new AttachDetachCollector(mRecyclerView);
775 assertThat(collector.getDetached(), not(hasItem(sameInstance(vh.itemView))));
779 assertThat(collector.getDetached(), hasItem(sameInstance(vh.itemView)));
800 AttachDetachCollector collector = new AttachDetachCollector(mRecyclerView);
812 assertThat(collector.getDetached(), not(hasItem(sameInstance(vh.itemView))));
816 assertThat(collector.getDetached(), hasItem(sameInstance(vh.itemView)));
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/processor/
H A DContext.kt79 val collector = RLog.CollectingMessager()
81 logger = RLog(collector, logger.suppressedWarnings, logger.defaultElement),
87 return Pair(result, collector)
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/solver/query/result/
H A DPojoRowAdapter.kt144 relationCollectors.forEach { collector ->
145 collector.writeCollectionCode(scope)
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/writer/
H A DRelationCollectorMethodWriter.kt38 class RelationCollectorMethodWriter(private val collector: RelationCollector)
40 "fetchRelationship${collector.relation.entity.tableName.stripNonJava()}" +
41 "As${collector.relation.pojoTypeName.toString().stripNonJava()}") {
46 val relation = collector.relation
48 "-${collector.mapTypeName}" +
57 val relation = collector.relation
59 val param = ParameterSpec.builder(collector.mapTypeName, "_map")
71 ClassName.get(Set::class.java), collector.keyTypeName
84 collector.mapTypeName, tmpMapVar,
85 collector
[all...]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
H A DHalDeviceManagerTest.java98 @Rule public ErrorCollector collector = new ErrorCollector(); field in class:HalDeviceManagerTest
251 collector.checkThat(mDut.start(), equalTo(true));
279 collector.checkThat(mDut.start(), equalTo(true));
351 collector.checkThat("NAN can't be created", nanIface2, IsNull.nullValue());
405 collector.checkThat("STA created", staIface, IsNull.notNullValue());
720 collector.checkThat("allocated interface", iface, IsNull.notNullValue());
838 collector.checkThat("allocated interface", iface, IsNull.notNullValue());
936 collector.checkThat("allocated STA interface", staIface, IsNull.notNullValue());
942 collector.checkThat("STA2 should not be created", staIface2, IsNull.nullValue());
961 collector
[all...]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/
H A DWifiAwareDataPathStateManagerTest.java124 public ErrorCollector collector = new ErrorCollector(); field in class:WifiAwareDataPathStateManagerTest
216 collector.checkThat("interface created -- " + i, sAwareInterfacePrefix + i,
242 collector.checkThat("interface deleted -- " + i, done[i], equalTo(true));
252 collector.checkThat("interface delete pre-create -- " + i,
259 collector.checkThat("interface created -- " + i, sAwareInterfacePrefix + i,
1413 collector.checkThat("factory name", "WIFI_AWARE_FACTORY",
1450 collector.checkThat("interface created -- " + i, sAwareInterfacePrefix + i,
H A DWifiAwareMetricsTest.java56 @Rule public ErrorCollector collector = new ErrorCollector(); field in class:WifiAwareMetricsTest
122 collector.checkThat(countAllHistogramSamples(log.histogramAwareAvailableDurationMs),
128 collector.checkThat(log.availableTimeMs, equalTo(6L));
136 collector.checkThat(countAllHistogramSamples(log.histogramAwareAvailableDurationMs),
142 collector.checkThat(log.availableTimeMs, equalTo(8L)); // the partial record of 2ms
151 collector.checkThat(countAllHistogramSamples(log.histogramAwareAvailableDurationMs),
155 collector.checkThat(log.availableTimeMs, equalTo(6L)); // the remnant record of 6ms
160 collector.checkThat(countAllHistogramSamples(log.histogramAwareAvailableDurationMs),
183 collector.checkThat(countAllHistogramSamples(log.histogramAwareEnabledDurationMs),
189 collector
[all...]
H A DWifiAwareNativeApiTest.java62 @Rule public ErrorCollector collector = new ErrorCollector(); field in class:WifiAwareNativeApiTest
139 collector.checkThat("validDiscoveryWindowIntervalVal-5", false,
142 collector.checkThat("validDiscoveryWindowIntervalVal-24", false,
161 collector.checkThat("validDiscoveryWindowIntervalVal-5", true,
164 collector.checkThat("discoveryWindowIntervalVal-5", interactive5,
167 collector.checkThat("validDiscoveryWindowIntervalVal-24", true,
170 collector.checkThat("discoveryWindowIntervalVal-24", interactive24,
189 collector.checkThat("validDiscoveryWindowIntervalVal-5", true,
192 collector.checkThat("discoveryWindowIntervalVal-5", idle5,
195 collector
[all...]
H A DWifiAwareNativeManagerTest.java65 @Rule public ErrorCollector collector = new ErrorCollector(); field in class:WifiAwareNativeManagerTest
H A DWifiAwareStateManagerTest.java129 public ErrorCollector collector = new ErrorCollector(); field in class:WifiAwareStateManagerTest
368 collector.checkThat("usage enabled", mDut.isUsageEnabled(), equalTo(true));
414 collector.checkThat("usage enabled", mDut.isUsageEnabled(), equalTo(true));
419 collector.checkThat("usage disabled", mDut.isUsageEnabled(), equalTo(false));
461 collector.checkThat("usage enabled", mDut.isUsageEnabled(), equalTo(true));
473 collector.checkThat("num of clients", sparseArrayCaptor.getValue().size(), equalTo(1));
478 collector.checkThat("usage disabled", mDut.isUsageEnabled(), equalTo(false));
498 collector.checkThat("usage disabled", mDut.isUsageEnabled(), equalTo(false));
504 collector.checkThat("usage enabled", mDut.isUsageEnabled(), equalTo(true));
517 collector
[all...]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/rtt/
H A DRttMetricsTest.java55 public ErrorCollector collector = new ErrorCollector(); field in class:RttMetricsTest
400 collector.checkThat("AP histogramIndividualStatus.length",
448 collector.checkThat("Aware histogramIndividualStatus.length",
474 collector.checkThat("histogramOverallStatus.length", log.histogramOverallStatus.length,
509 collector.checkThat(logPrefix + ": start", bucket.start, equalTo(start));
510 collector.checkThat(logPrefix + ": end", bucket.end, equalTo(end));
511 collector.checkThat(logPrefix + ": count", bucket.count, equalTo(count));
517 collector.checkThat(logPrefix + ": statusType", bucket.statusType, equalTo(status));
518 collector.checkThat(logPrefix + ": count", bucket.count, equalTo(count));
524 collector
[all...]
H A DRttNativeTest.java74 public ErrorCollector collector = new ErrorCollector(); field in class:RttNativeTest
128 collector.checkThat("number of entries", halRequest.size(),
132 collector.checkThat("entry 0: MAC", rttConfig.addr,
134 collector.checkThat("entry 0: rtt type", rttConfig.type, equalTo(RttType.TWO_SIDED));
135 collector.checkThat("entry 0: peer type", rttConfig.peer, equalTo(RttPeerType.AP));
136 collector.checkThat("entry 0: lci", rttConfig.mustRequestLci, equalTo(true));
137 collector.checkThat("entry 0: lcr", rttConfig.mustRequestLcr, equalTo(true));
140 collector.checkThat("entry 1: MAC", rttConfig.addr,
142 collector.checkThat("entry 1: rtt type", rttConfig.type, equalTo(RttType.ONE_SIDED));
143 collector
[all...]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/
H A DMetricsUtilsTest.java34 public ErrorCollector collector = new ErrorCollector(); field in class:MetricsUtilsTest
110 collector.checkThat("Number of buckets #1", phb1.length, equalTo(hist1.size()));
137 collector.checkThat("Number of buckets #2", phb2.length, equalTo(hist2.size()));
174 collector.checkThat("Number of buckets", phb.length, equalTo(hist.size()));
187 collector.checkThat(prefix + value, h.get(expectedKey), equalTo(expectedValue));
193 collector.checkThat(prefix + value, h.get(expectedKey), equalTo(expectedValue));
198 collector.checkThat(prefix + ": start", bucket.start, equalTo(start));
199 collector.checkThat(prefix + ": end", bucket.end, equalTo(end));
200 collector.checkThat(prefix + ": count", bucket.count, equalTo(count));
/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ...
/frameworks/base/wifi/tests/src/android/net/wifi/aware/
H A DTlvBufferUtilsTest.java37 public ErrorCollector collector = new ErrorCollector(); field in class:TlvBufferUtilsTest
51 collector.checkThat("tlv11-correct-construction",
60 collector.checkThat("tlv01-correct-construction",
63 collector.checkThat("tlv11-valid",
66 collector.checkThat("tlv01-valid",
90 collector.checkThat("tlvData-correct-length", tlvData.length,
92 collector.checkThat("parsedList-correct-length", parsedList.size(), equalTo(4));
93 collector.checkThat("parsedList-entry1", parsedList.get(0), equalTo(entry1));
94 collector.checkThat("parsedList-entry2", parsedList.get(1), equalTo(entry2));
95 collector
[all...]
H A DWifiAwareAgentNetworkSpecifierTest.java38 public ErrorCollector collector = new ErrorCollector(); field in class:WifiAwareAgentNetworkSpecifierTest
72 collector.checkThat("No match expected", ns.satisfiedBy(dut), equalTo(false));
84 collector.checkThat("Match expected", nsThis.satisfiedBy(dut), equalTo(true));
85 collector.checkThat("No match expected", nsOther.satisfiedBy(dut), equalTo(false));
106 collector.checkThat("Match expected", nsThis.satisfiedBy(dut), equalTo(true));
108 collector.checkThat("No match expected", nsOther.satisfiedBy(dut), equalTo(false));
130 collector.checkThat("Match expected", oldNs.satisfiedBy(newNs), equalTo(true));
152 collector.checkThat("Match unexpected", oldNs.satisfiedBy(newNs), equalTo(false));
H A DWifiAwareManagerTest.java65 public ErrorCollector collector = new ErrorCollector(); field in class:WifiAwareManagerTest
333 collector.checkThat("match-filter-size", parsedMatchFilter.size(),
335 collector.checkThat("match-filter-entry0", parsedMatchFilter.get(0),
337 collector.checkThat("match-filter-entry1", parsedMatchFilter.get(1),
566 collector.checkThat("mClusterHigh", ConfigRequest.CLUSTER_ID_MAX,
568 collector.checkThat("mClusterLow", ConfigRequest.CLUSTER_ID_MIN,
570 collector.checkThat("mMasterPreference", 0,
572 collector.checkThat("mSupport5gBand", false, equalTo(configRequest.mSupport5gBand));
573 collector.checkThat("mDiscoveryWindowInterval.length", 2,
575 collector
[all...]
/frameworks/base/tools/aapt2/cmd/
H A DCompile.cpp432 XmlIdCollector collector; local
433 if (!collector.Consume(context, xmlres.get())) {
H A DLink.cpp1717 XmlIdCollector collector; local
1718 if (!collector.Consume(context_, manifest_xml.get())) {
/frameworks/base/tools/aapt2/compile/
H A DXmlIdCollector.cpp69 IdCollector collector(&xmlRes->file.exported_symbols);
70 xmlRes->root->Accept(&collector);
H A DXmlIdCollector_test.cpp36 XmlIdCollector collector;
37 ASSERT_TRUE(collector.Consume(context.get(), doc.get()));
61 XmlIdCollector collector;
62 ASSERT_TRUE(collector.Consume(context.get(), doc.get()));
/frameworks/base/tests/utils/testutils/java/android/os/test/
H A DTestLooperTest.java57 public ErrorCollector collector = new ErrorCollector(); field in class:TestLooperTest
89 collector.checkThat("1: messageA", messageA, equalTo(messageCaptor.getValue().what));
91 collector.checkThat("2: messageA", messageA, equalTo(messageCaptor.getValue().what));
93 collector.checkThat("3: messageB", messageB, equalTo(messageCaptor.getValue().what));
95 collector.checkThat("4: messageC", messageC, equalTo(messageCaptor.getValue().what));
147 collector.checkThat("1: messageA", messageA, equalTo(messageCaptor.getValue().what));
149 collector.checkThat("2: messageB", messageB, equalTo(messageCaptor.getValue().what));
176 collector.checkThat("1: messageA", messageA, equalTo(messageCaptor.getValue().what));
178 collector.checkThat("2: messageB", messageB, equalTo(messageCaptor.getValue().what));
180 collector
[all...]
/frameworks/base/services/core/java/com/android/server/storage/
H A DDiskStatsLoggingService.java71 AppCollector collector = new AppCollector(this, volume);
80 task.setAppCollector(collector);
139 public void setAppCollector(AppCollector collector) { argument
140 mCollector = collector;
/frameworks/base/services/tests/servicestests/src/com/android/server/storage/
H A DAppCollectorTest.java95 AppCollector collector = new AppCollector(mContext, volume);
97 assertThat(collector.getPackageStats(TIMEOUT)).isEmpty();
105 AppCollector collector = new AppCollector(mContext, volume);
107 assertThat(collector.getPackageStats(TIMEOUT)).isEmpty();
115 AppCollector collector = new AppCollector(mContext, volume);
120 assertThat(collector.getPackageStats(TIMEOUT)).containsExactly(stats);
132 AppCollector collector = new AppCollector(mContext, volume);
141 assertThat(collector.getPackageStats(TIMEOUT)).containsExactly(stats, otherStats);
146 AppCollector collector = new AppCollector(mContext, null);
155 AppCollector collector
[all...]

Completed in 300 milliseconds

12