Searched refs:sam (Results 1 – 7 of 7) sorted by relevance
/cts/tests/tests/util/src/android/util/cts/ |
D | SparseArrayMapTest.java | 40 SparseArrayMap<String, Integer> sam = new SparseArrayMap<>(); in testStoreSingleInt() local 42 sam.add(0, KEYS_1[i], i); in testStoreSingleInt() 45 assertEquals(KEYS_1.length, sam.numElementsForKey(0)); in testStoreSingleInt() 46 assertEquals(0, sam.numElementsForKey(1)); in testStoreSingleInt() 49 assertEquals(i, sam.get(0, KEYS_1[i]).intValue()); in testStoreSingleInt() 55 SparseArrayMap<String, Integer> sam = new SparseArrayMap<>(); in testStoreMultipleInt() local 58 sam.add(0, KEYS_1[i], i); in testStoreMultipleInt() 61 sam.add(1, KEYS_2[i], i); in testStoreMultipleInt() 64 assertEquals(KEYS_1.length, sam.numElementsForKey(0)); in testStoreMultipleInt() 65 assertEquals(KEYS_2.length, sam.numElementsForKey(1)); in testStoreMultipleInt() [all …]
|
/cts/common/device-side/bedstead/metricsrecorder/src/main/java/com/android/bedstead/metricsrecorder/ |
D | EnterpriseMetricsRecorder.java | 114 SimpleAtomMatcher sam = new SimpleAtomMatcher(); in addAtomEvent() local 115 sam.atomId = atomTag; in addAtomEvent() 117 sam.fieldValueMatcher = fvms.toArray(new FieldValueMatcher[]{}); in addAtomEvent() 122 atomMatcher.setSimpleAtomMatcher(sam); in addAtomEvent()
|
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/metrics/ |
D | AtomMetricTester.java | 142 SimpleAtomMatcher.Builder sam = SimpleAtomMatcher.newBuilder().setAtomId(atomTag); in addAtomEvent() local 145 sam.addFieldValueMatcher(fvm); in addAtomEvent() 150 .setSimpleAtomMatcher(sam)); in addAtomEvent()
|
/cts/tests/inputmethod/util/src/android/view/inputmethod/cts/util/ |
D | MetricsRecorder.java | 246 final var sam = new SimpleAtomMatcher(); in addEventMetric() local 247 sam.atomId = atomId; in addEventMetric() 248 sam.fieldValueMatcher = fvms; in addEventMetric() 252 atomMatcher.setSimpleAtomMatcher(sam); in addEventMetric()
|
/cts/hostsidetests/media/src/android/media/cts/ |
D | MediaExtractorHostSideTest.java | 138 SimpleAtomMatcher.Builder sam = in addAtomEvent() local 144 .setSimpleAtomMatcher(sam)); in addAtomEvent()
|
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/lib/ |
D | ConfigUtils.java | 125 SimpleAtomMatcher.Builder sam = SimpleAtomMatcher.newBuilder().setAtomId(atomId); in addEventMetric() local 128 sam.addFieldValueMatcher(fvm); in addEventMetric() 134 .setSimpleAtomMatcher(sam)); in addEventMetric()
|
/cts/hostsidetests/mediaparser/src/android/media/mediaparser/cts/ |
D | MediaParserHostSideTest.java | 319 SimpleAtomMatcher.Builder sam = in addAtomEvent() local 323 AtomMatcher.newBuilder().setId(atomName.hashCode()).setSimpleAtomMatcher(sam)); in addAtomEvent()
|