Home
last modified time | relevance | path

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

12345

/frameworks/base/tests/net/java/com/android/server/net/
DNetworkStatsCollectionTest.java317 assertEntry(100647, 197, 23649, 185, history.getValues(i++, null)); in testAugmentPlan()
318 assertEntry(100647, 196, 23648, 185, history.getValues(i++, null)); in testAugmentPlan()
319 assertEntry(18323, 76, 15032, 76, history.getValues(i++, null)); in testAugmentPlan()
320 assertEntry(18322, 75, 15031, 75, history.getValues(i++, null)); in testAugmentPlan()
321 assertEntry(527798, 761, 78570, 652, history.getValues(i++, null)); in testAugmentPlan()
322 assertEntry(527797, 760, 78570, 651, history.getValues(i++, null)); in testAugmentPlan()
323 assertEntry(10747, 50, 16839, 55, history.getValues(i++, null)); in testAugmentPlan()
324 assertEntry(10747, 49, 16837, 54, history.getValues(i++, null)); in testAugmentPlan()
325 assertEntry(89191, 151, 18021, 140, history.getValues(i++, null)); in testAugmentPlan()
326 assertEntry(89190, 150, 18020, 139, history.getValues(i++, null)); in testAugmentPlan()
[all …]
/frameworks/base/cmds/statsd/tests/
DLogEvent_test.cpp53 const auto& items = event1.getValues(); in TEST()
57 const FieldValue& item0 = event1.getValues()[0]; in TEST()
62 const FieldValue& item1 = event1.getValues()[1]; in TEST()
67 const FieldValue& item2 = event1.getValues()[2]; in TEST()
72 const FieldValue& item3 = event1.getValues()[3]; in TEST()
77 const FieldValue& item4 = event1.getValues()[4]; in TEST()
82 const FieldValue& item5 = event1.getValues()[5]; in TEST()
87 const FieldValue& item6 = event1.getValues()[6]; in TEST()
92 const FieldValue& item7 = event1.getValues()[7]; in TEST()
125 const auto& items = event1.getValues(); in TEST()
[all …]
DFieldValue_test.cpp113 filterValues(matchers, event.getValues(), &output); in TEST()
115 EXPECT_EQ((size_t)7, output.getValues().size()); in TEST()
116 EXPECT_EQ((int32_t)0x02010101, output.getValues()[0].mField.getField()); in TEST()
117 EXPECT_EQ((int32_t)1111, output.getValues()[0].mValue.int_value); in TEST()
118 EXPECT_EQ((int32_t)0x02010102, output.getValues()[1].mField.getField()); in TEST()
119 EXPECT_EQ("location1", output.getValues()[1].mValue.str_value); in TEST()
121 EXPECT_EQ((int32_t)0x02010201, output.getValues()[2].mField.getField()); in TEST()
122 EXPECT_EQ((int32_t)2222, output.getValues()[2].mValue.int_value); in TEST()
123 EXPECT_EQ((int32_t)0x02010202, output.getValues()[3].mField.getField()); in TEST()
124 EXPECT_EQ("location2", output.getValues()[3].mValue.str_value); in TEST()
[all …]
/frameworks/base/cmds/statsd/tests/external/
DGpuStatsPuller_test.cpp119 EXPECT_EQ(DRIVER_PACKAGE_NAME, outData[0]->getValues()[0].mValue.str_value); in TEST_F()
120 EXPECT_EQ(DRIVER_VERSION_NAME, outData[0]->getValues()[1].mValue.str_value); in TEST_F()
121 EXPECT_EQ(DRIVER_VERSION_CODE, outData[0]->getValues()[2].mValue.long_value); in TEST_F()
122 EXPECT_EQ(DRIVER_BUILD_TIME, outData[0]->getValues()[3].mValue.long_value); in TEST_F()
123 EXPECT_EQ(GL_LOADING_COUNT, outData[0]->getValues()[4].mValue.long_value); in TEST_F()
124 EXPECT_EQ(GL_LOADING_FAILURE_COUNT, outData[0]->getValues()[5].mValue.long_value); in TEST_F()
125 EXPECT_EQ(VK_LOADING_COUNT, outData[0]->getValues()[6].mValue.long_value); in TEST_F()
126 EXPECT_EQ(VK_LOADING_FAILURE_COUNT, outData[0]->getValues()[7].mValue.long_value); in TEST_F()
127 EXPECT_EQ(VULKAN_VERSION, outData[0]->getValues()[8].mValue.int_value); in TEST_F()
128 EXPECT_EQ(CPU_VULKAN_VERSION, outData[0]->getValues()[9].mValue.int_value); in TEST_F()
[all …]
DStatsPuller_test.cpp90 EXPECT_EQ(33, dataHolder[0]->getValues()[0].mValue.int_value); in TEST_F()
104 EXPECT_EQ(44, dataHolder[0]->getValues()[0].mValue.int_value); in TEST_F()
118 EXPECT_EQ(33, dataHolder[0]->getValues()[0].mValue.int_value); in TEST_F()
188 EXPECT_EQ(33, dataHolder[0]->getValues()[0].mValue.int_value); in TEST_F()
201 EXPECT_EQ(33, dataHolder[0]->getValues()[0].mValue.int_value); in TEST_F()
/frameworks/base/cmds/statsd/src/
DHashableDimensionKey.cpp31 for (const auto& fieldValue : value.getValues()) { in hashDimension()
95 size_t count = conditionDimension->getValues().size(); in getDimensionForCondition()
124 if (mValues.size() != that.getValues().size()) { in operator ==()
129 if (mValues[i] != (that.getValues())[i]) { in operator ==()
137 return LessThan(getValues(), that.getValues()); in operator <()
141 if (mValues.size() < that.getValues().size()) { in contains()
145 if (mValues.size() == that.getValues().size()) { in contains()
149 for (const auto& value : that.getValues()) { in contains()
DHashableDimensionKey.h45 HashableDimensionKey(const HashableDimensionKey& that) : mValues(that.getValues()){}; in HashableDimensionKey()
51 inline const std::vector<FieldValue>& getValues() const { in getValues() function
108 return mDimensionKeyInCondition.getValues().size() > 0; in hasDimensionKeyInCondition()
Dstats_log_util.cpp259 if (dimension.getValues().size() == 0) { in writeDimensionToProto()
263 dimension.getValues()[0].mField.getTag()); in writeDimensionToProto()
266 writeDimensionToProtoHelper(dimension.getValues(), &index, 0, 0, str_set, protoOutput); in writeDimensionToProto()
274 if (dimension.getValues().size() == 0) { in writeDimensionLeafNodesToProto()
278 writeDimensionLeafToProtoHelper(dimension.getValues(), dimensionLeafFieldId, in writeDimensionLeafNodesToProto()
/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/src/external/
Dpuller_util.cpp93 if (uidField > 0 && (int)event->getValues().size() >= uidField && in mapAndMergeIsolatedUidsToHostUid()
94 (event->getValues())[uidField - 1].mValue.getType() == INT) { in mapAndMergeIsolatedUidsToHostUid()
112 const std::vector<FieldValue>& lhsValues = lhs->getValues(); in mapAndMergeIsolatedUidsToHostUid()
113 const std::vector<FieldValue>& rhsValues = rhs->getValues(); in mapAndMergeIsolatedUidsToHostUid()
/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/libs/net/common/devicetests/com/android/testutils/
DNetworkStatsUtils.kt45 leftTrimmedEmpty.getValues(i, left) in <lambda>()
49 rightTrimmedEmpty.getValues(j, right) in <lambda>()
/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/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/cmds/statsd/src/subscriber/
DSubscriberReporter.cpp164 if (dim.getValues().size() == 0) { in getStatsDimensionsValue()
170 getStatsDimensionsValueHelper(dim.getValues(), &index, 0, 0, &fields); in getStatsDimensionsValue()
171 return StatsDimensionsValue(dim.getValues()[0].mField.getTag(), fields); in getStatsDimensionsValue()
DIncidentdReporter.cpp100 for (const auto& dim : dimensionKey.getDimensionKeyInWhat().getValues()) { in getProtoData()
108 for (const auto& dim : dimensionKey.getDimensionKeyInCondition().getValues()) { in getProtoData()
/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/metrics/
DDurationMetricProducer.cpp216 getDimensionForCondition(whatIt.first.getValues(), in onSlicedConditionMayChangeLocked_opt1()
232 getDimensionForCondition(whatIt.first.getValues(), in onSlicedConditionMayChangeLocked_opt1()
309 getDimensionForCondition(whatIt.first.getValues(), in onSlicedConditionMayChangeLocked_opt2()
398 getDimensionForCondition(whatIt.first.getValues(), link, in onSlicedConditionMayChangeInternalLocked()
722 filterValues(mInternalDimensions, event.getValues(), &dimensionKey); in handleStartEvent()
759 filterValues(mDimensionsInWhat, event.getValues(), &dimensionInWhat); in onMatchedLogEventLocked()
778 filterValues(mInternalDimensions, event.getValues(), &internalDimensionKey); in onMatchedLogEventLocked()
796 getDimensionForCondition(event.getValues(), link, &conditionKey[link.conditionId]); in onMatchedLogEventLocked()
/frameworks/base/cmds/statsd/src/condition/
DSimpleConditionTracker.cpp322 filterValues(mOutputDimensions, event.getValues(), &outputValue); in evaluateCondition()
391 filterValues(dimensionFields, slice.first.getValues(), &dimensionKey); in isConditionMet()
409 filterValues(dimensionFields, startedCountIt->first.getValues(), &dimensionKey); in isConditionMet()
447 filterValues(dimensionFields, slice.first.getValues(), &dimensionKey); in getMetConditionDimension()
/frameworks/base/core/java/android/view/animation/
DTranslateXAnimation.java51 m.getValues(mTmpValues); in applyTransformation()
DTranslateYAnimation.java53 m.getValues(mTmpValues); in applyTransformation()

12345