Home
last modified time | relevance | path

Searched refs:getValues (Results 1 – 25 of 126) sorted by relevance

123456

/frameworks/base/tests/net/java/com/android/server/net/
DNetworkStatsCollectionTest.java316 assertEntry(100647, 197, 23649, 185, history.getValues(i++, null)); in testAugmentPlan()
317 assertEntry(100647, 196, 23648, 185, history.getValues(i++, null)); in testAugmentPlan()
318 assertEntry(18323, 76, 15032, 76, history.getValues(i++, null)); in testAugmentPlan()
319 assertEntry(18322, 75, 15031, 75, history.getValues(i++, null)); in testAugmentPlan()
320 assertEntry(527798, 761, 78570, 652, history.getValues(i++, null)); in testAugmentPlan()
321 assertEntry(527797, 760, 78570, 651, history.getValues(i++, null)); in testAugmentPlan()
322 assertEntry(10747, 50, 16839, 55, history.getValues(i++, null)); in testAugmentPlan()
323 assertEntry(10747, 49, 16837, 54, history.getValues(i++, null)); in testAugmentPlan()
324 assertEntry(89191, 151, 18021, 140, history.getValues(i++, null)); in testAugmentPlan()
325 assertEntry(89190, 150, 18020, 139, history.getValues(i++, null)); in testAugmentPlan()
[all …]
/frameworks/base/cmds/statsd/src/
DHashableDimensionKey.cpp125 for (const auto& fieldValue : value.getValues()) { in hashDimension()
217 size_t count = conditionDimension->getValues().size(); in getDimensionForCondition()
237 size_t count = statePrimaryKey->getValues().size(); in getDimensionForState()
253 if (whatKey.getValues().size() < primaryKey.getValues().size()) { in containsLinkedStateValues()
258 for (const auto& primaryValue : primaryKey.getValues()) { in containsLinkedStateValues()
260 for (const auto& whatValue : whatKey.getValues()) { in containsLinkedStateValues()
310 if (mValues.size() != that.getValues().size()) { in operator ==()
315 if (mValues[i] != (that.getValues())[i]) { in operator ==()
323 return LessThan(getValues(), that.getValues()); in operator <()
327 if (mValues.size() < that.getValues().size()) { in contains()
[all …]
DHashableDimensionKey.h52 HashableDimensionKey(const HashableDimensionKey& that) : mValues(that.getValues()){}; in HashableDimensionKey()
58 inline const std::vector<FieldValue>& getValues() const { in getValues() function
122 return mStateValuesKey.getValues().size() > 0; in hasStateValuesKey()
Dmetadata_util.cpp56 for (const FieldValue& fieldValue : metricKey.getDimensionKeyInWhat().getValues()) { in writeMetricDimensionKeyToMetadataDimensionKey()
64 for (const FieldValue& fieldValue : metricKey.getStateValuesKey().getValues()) { in writeMetricDimensionKeyToMetadataDimensionKey()
/frameworks/base/cmds/statsd/tests/external/
Dpuller_util_test.cpp76 const vector<FieldValue>* actualFieldValues = &data[0]->getValues(); in TEST()
103 const vector<FieldValue>* actualFieldValues = &data[0]->getValues(); in TEST()
109 actualFieldValues = &data[1]->getValues(); in TEST()
132 const vector<FieldValue>* actualFieldValues = &data[0]->getValues(); in TEST()
138 actualFieldValues = &data[1]->getValues(); in TEST()
162 const vector<FieldValue>* actualFieldValues = &data[0]->getValues(); in TEST()
169 actualFieldValues = &data[1]->getValues(); in TEST()
196 const vector<FieldValue>* actualFieldValues = &data[0]->getValues(); in TEST()
221 const vector<FieldValue>* actualFieldValues = &data[0]->getValues(); in TEST()
226 actualFieldValues = &data[1]->getValues(); in TEST()
[all …]
DStatsPuller_test.cpp100 EXPECT_EQ(33, dataHolder[0]->getValues()[0].mValue.int_value); in TEST_F()
114 EXPECT_EQ(44, dataHolder[0]->getValues()[0].mValue.int_value); in TEST_F()
128 EXPECT_EQ(33, dataHolder[0]->getValues()[0].mValue.int_value); in TEST_F()
200 EXPECT_EQ(33, dataHolder[0]->getValues()[0].mValue.int_value); in TEST_F()
213 EXPECT_EQ(33, dataHolder[0]->getValues()[0].mValue.int_value); in TEST_F()
246 EXPECT_EQ(33, dataHolder[0]->getValues()[0].mValue.int_value); in TEST_F()
261 EXPECT_EQ(33, dataHolder[0]->getValues()[0].mValue.int_value); in TEST_F()
DStatsPullerManager_test.cpp114 ASSERT_EQ(data[0]->getValues().size(), 1); in TEST()
115 EXPECT_EQ(data[0]->getValues()[0].mValue.int_value, uid1); in TEST()
135 ASSERT_EQ(data[0]->getValues().size(), 1); in TEST()
136 EXPECT_EQ(data[0]->getValues()[0].mValue.int_value, uid2); in TEST()
/frameworks/base/cmds/statsd/tests/metrics/
DValueMetricProducer_test.cpp1696 EXPECT_EQ(1, iter->first.getDimensionKeyInWhat().getValues()[0].mValue.int_value); in TEST()
1731 EXPECT_EQ(2, it->first.getDimensionKeyInWhat().getValues()[0].mValue.int_value); in TEST()
1772 EXPECT_EQ(1, it->first.getDimensionKeyInWhat().getValues()[0].mValue.int_value); in TEST()
1801 EXPECT_EQ(2, it2->first.getDimensionKeyInWhat().getValues()[0].mValue.int_value); in TEST()
1877 EXPECT_EQ(1, iter->first.getDimensionKeyInWhat().getValues()[0].mValue.int_value); in TEST()
1914 EXPECT_EQ(2, it->first.getDimensionKeyInWhat().getValues()[0].mValue.int_value); in TEST()
1928 EXPECT_EQ(2, it->first.getDimensionKeyInWhat().getValues()[0].mValue.int_value); in TEST()
4040 ASSERT_EQ(1, itBase->second[0].currentState.getValues().size()); in TEST()
4042 itBase->second[0].currentState.getValues()[0].mValue.int_value); in TEST()
4044 EXPECT_EQ(0, it->first.getDimensionKeyInWhat().getValues().size()); in TEST()
[all …]
/frameworks/layoutlib/bridge/tests/src/android/graphics/
DMatrix_DelegateTest.java43 m1.getValues(v1); in testCopyConstructor()
44 m2.getValues(v2); in testCopyConstructor()
60 inverse.getValues(values); in testInvert()
/frameworks/base/cmds/statsd/tests/
DFieldValue_test.cpp135 filterValues(matchers, event.getValues(), &output); in TEST()
137 ASSERT_EQ((size_t)7, output.getValues().size()); in TEST()
138 EXPECT_EQ((int32_t)0x02010101, output.getValues()[0].mField.getField()); in TEST()
139 EXPECT_EQ((int32_t)1111, output.getValues()[0].mValue.int_value); in TEST()
140 EXPECT_EQ((int32_t)0x02010102, output.getValues()[1].mField.getField()); in TEST()
141 EXPECT_EQ("location1", output.getValues()[1].mValue.str_value); in TEST()
143 EXPECT_EQ((int32_t)0x02010201, output.getValues()[2].mField.getField()); in TEST()
144 EXPECT_EQ((int32_t)2222, output.getValues()[2].mValue.int_value); in TEST()
145 EXPECT_EQ((int32_t)0x02010202, output.getValues()[3].mField.getField()); in TEST()
146 EXPECT_EQ("location2", output.getValues()[3].mValue.str_value); in TEST()
[all …]
DLogEvent_test.cpp100 const vector<FieldValue>& values = logEvent.getValues(); in TEST()
149 const vector<FieldValue>& values = logEvent.getValues(); in TEST()
186 const vector<FieldValue>& values = logEvent.getValues(); in TEST()
215 const vector<FieldValue>& values = logEvent.getValues(); in TEST()
251 const vector<FieldValue>& values = logEvent.getValues(); in TEST()
292 const vector<FieldValue>& values = event.getValues(); in TEST()
301 const vector<FieldValue>& values = event.getValues(); in TEST()
310 const vector<FieldValue>& values = event.getValues(); in TEST()
319 const vector<FieldValue>& values = event.getValues(); in TEST()
351 const vector<FieldValue>& values = logEvent.getValues(); in TEST()
[all …]
/frameworks/base/cmds/statsd/tests/state/
DStateTracker_test.cpp260 EXPECT_EQ(1000, listener->updates[0].mKey.getValues()[0].mValue.int_value); in TEST()
278 EXPECT_EQ(1000, listener->updates[0].mKey.getValues()[0].mValue.int_value); in TEST()
302 EXPECT_EQ(1000, listener->updates[0].mKey.getValues()[0].mValue.int_value); in TEST()
314 EXPECT_EQ(2000, listener->updates[0].mKey.getValues()[0].mValue.int_value); in TEST()
374 EXPECT_EQ(1000, listener1->updates[0].mKey.getValues()[0].mValue.int_value); in TEST()
401 ASSERT_EQ(3, listener1->updates[0].mKey.getValues().size()); in TEST()
402 EXPECT_EQ(1001, listener1->updates[0].mKey.getValues()[0].mValue.int_value); in TEST()
403 EXPECT_EQ(1, listener1->updates[0].mKey.getValues()[1].mValue.int_value); in TEST()
404 EXPECT_EQ("wakelockName", listener1->updates[0].mKey.getValues()[2].mValue.str_value); in TEST()
443 EXPECT_EQ(1000, listener1->updates[0].mKey.getValues()[0].mValue.int_value); in TEST()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DIccServiceTable.java39 protected abstract Object[] getValues(); in getValues() method in IccServiceTable
60 Object[] values = getValues(); in toString()
/frameworks/base/tests/net/java/android/net/
DNetworkStatsTest.java753 assertEquals(entry1, stats.getValues(0, null)); in testFilter_NoFilter()
754 assertEquals(entry2, stats.getValues(1, null)); in testFilter_NoFilter()
755 assertEquals(entry3, stats.getValues(2, null)); in testFilter_NoFilter()
780 assertEquals(entry2, stats.getValues(0, null)); in testFilter_UidFilter()
781 assertEquals(entry3, stats.getValues(1, null)); in testFilter_UidFilter()
812 assertEquals(entry1, stats.getValues(0, null)); in testFilter_InterfaceFilter()
813 assertEquals(entry3, stats.getValues(1, null)); in testFilter_InterfaceFilter()
814 assertEquals(entry4, stats.getValues(2, null)); in testFilter_InterfaceFilter()
858 assertEquals(entry1, stats.getValues(0, null)); in testFilter_TagFilter()
859 assertEquals(entry2, stats.getValues(1, null)); in testFilter_TagFilter()
[all …]
DNetworkStatsHistoryTest.java86 entry = history.getValues(0, entry); in testReadOriginalVersion()
90 entry = history.getValues(history.size() - 1, entry); in testReadOriginalVersion()
94 entry = history.getValues(Long.MIN_VALUE, Long.MAX_VALUE, entry); in testReadOriginalVersion()
524 final NetworkStatsHistory.Entry entry = stats.getValues(0, null); in testSetValues()
551 entry = stats.getValues(i, entry); in assertConsistent()
559 final NetworkStatsHistory.Entry entry = stats.getValues(index, null);
566 final NetworkStatsHistory.Entry entry = stats.getValues(start, end, null);
573 final NetworkStatsHistory.Entry entry = stats.getValues(index, null);
591 final NetworkStatsHistory.Entry entry = stats.getValues(start, end, null);
/frameworks/base/cmds/statsd/src/metrics/
DDurationMetricProducer.cpp243 getDimensionForCondition(whatIt.first.getValues(), mMetric2ConditionLinks[0], in onSlicedConditionMayChangeLocked_opt1()
255 getDimensionForCondition(whatIt.first.getValues(), mMetric2ConditionLinks[0], in onSlicedConditionMayChangeLocked_opt1()
405 for (auto state : dimensionKey.getStateValuesKey().getValues()) { in onDumpReportLocked()
526 filterValues(mInternalDimensions, event.getValues(), &dimensionKey); in handleStartEvent()
561 filterValues(mDimensionsInWhat, event.getValues(), &dimensionInWhat); in onMatchedLogEventLocked()
572 getDimensionForState(event.getValues(), stateLink, in onMatchedLogEventLocked()
611 filterValues(mInternalDimensions, event.getValues(), &internalDimensionKey); in onMatchedLogEventLocked()
625 getDimensionForCondition(event.getValues(), link, &conditionKey[link.conditionId]); in onMatchedLogEventLocked()
DMetricProducer.cpp88 getDimensionForCondition(event.getValues(), link, &conditionKey[link.conditionId]); in onMatchedLogEventLocked()
107 getDimensionForState(event.getValues(), stateLink, in onMatchedLogEventLocked()
135 filterValues(mDimensionsInWhat, event.getValues(), &dimensionInWhat); in onMatchedLogEventLocked()
/frameworks/layoutlib/bridge/src/android/graphics/drawable/
DAnimatedVectorDrawable_Delegate.java69 if (holder == null || holder.getValues() == null) { in nAddAnimator()
74 animator.setValues(holder.getValues()); in nAddAnimator()
82 animator.setPropertyName(holder.getValues().getPropertyName()); in nAddAnimator()
255 PropertyValuesHolder getValues() { in getValues() method in AnimatedVectorDrawable_Delegate.PropertySetter
/frameworks/base/core/tests/coretests/src/android/content/
DContentQueryMapTest.java73 ContentValues v = cqm.getValues("test"); in testContentQueryMap()
81 ContentValues v = cqm.getValues("test"); in testContentQueryMap()
/frameworks/base/core/java/android/service/autofill/
DCompositeUserData.java54 final String[] packageValues = mPackageUserData.getValues(); in CompositeUserData()
64 final String[] genericValues = mGenericUserData.getValues(); in CompositeUserData()
161 public String[] getValues() { in getValues() method in CompositeUserData
DFieldClassificationUserData.java63 String[] getValues(); in getValues() method
/frameworks/base/core/java/android/preference/
DMultiCheckPreference.java227 public boolean[] getValues() { in getValues() method in MultiCheckPreference
272 if (callChangeListener(getValues())) { in onDialogClosed()
297 myState.values = getValues(); in onSaveInstanceState()
/frameworks/base/cmds/statsd/src/external/
Dpuller_util.cpp95 const std::vector<FieldValue>& lhsValues = lhs->getValues(); in mapAndMergeIsolatedUidsToHostUid()
96 const std::vector<FieldValue>& rhsValues = rhs->getValues(); in mapAndMergeIsolatedUidsToHostUid()
/frameworks/base/cmds/statsd/src/state/
DStateTracker.cpp36 filterPrimaryKey(event.getValues(), &primaryKey); in onLogEvent()
184 *output = event.getValues()[exclusiveStateFieldIndex]; in getStateFieldValueFromLogEvent()
/frameworks/base/core/java/android/view/animation/
DTranslateXAnimation.java51 m.getValues(mTmpValues); in applyTransformation()

123456