/aosp12/packages/modules/Connectivity/tests/unit/java/com/android/server/net/ |
H A D | NetworkStatsCollectionTest.java | 327 assertEntry(3821, 23, 4525, 26, history.getValues(i++, null)); in testAugmentPlan() 376 assertEntry(7507, 0, 11763, 0, history.getValues(i++, null)); in testAugmentPlan() 377 assertEntry(7507, 0, 11762, 0, history.getValues(i++, null)); in testAugmentPlan() 380 assertEntry(2669, 0, 3161, 0, history.getValues(i++, null)); in testAugmentPlan() 381 assertEntry(2668, 0, 3160, 0, history.getValues(i++, null)); in testAugmentPlan() 401 assertEntry(2669, 0, 3161, 0, history.getValues(i++, null)); in testAugmentPlan() 402 assertEntry(2668, 0, 3160, 0, history.getValues(i++, null)); in testAugmentPlan() 435 assertEntry(5338, 0, 6322, 0, history.getValues(i++, null)); in testAugmentPlan() 436 assertEntry(5337, 0, 6320, 0, history.getValues(i++, null)); in testAugmentPlan() 455 assertEntry(5338, 0, 6322, 0, history.getValues(i++, null)); in testAugmentPlan() [all …]
|
/aosp12/packages/modules/StatsD/statsd/tests/metrics/ |
H A D | ValueMetricProducer_test.cpp | 4032 ASSERT_EQ(1, itBase->second.currentState.getValues().size()); in TEST() 4054 ASSERT_EQ(1, itBase->second.currentState.getValues().size()); in TEST() 4127 ASSERT_EQ(1, itBase->second.currentState.getValues().size()); in TEST() 4282 ASSERT_EQ(1, itBase->second.currentState.getValues().size()); in TEST() 4304 ASSERT_EQ(1, itBase->second.currentState.getValues().size()); in TEST() 4336 ASSERT_EQ(1, itBase->second.currentState.getValues().size()); in TEST() 4368 ASSERT_EQ(1, itBase->second.currentState.getValues().size()); in TEST() 4399 ASSERT_EQ(1, itBase->second.currentState.getValues().size()); in TEST() 4609 ASSERT_EQ(1, itBase->second.currentState.getValues().size()); in TEST() 4626 ASSERT_EQ(1, itBase->second.currentState.getValues().size()); in TEST() [all …]
|
/aosp12/packages/apps/Contacts/src/com/android/contacts/model/ |
H A D | RawContact.java | 192 public ContentValues getValues() { in getValues() method in RawContact 200 return getValues().getAsLong(RawContacts._ID); in getId() 221 return getValues().getAsString(RawContacts.DATA_SET); in getDataSet() 225 return getValues().getAsBoolean(RawContacts.DIRTY); in isDirty() 233 return getValues().getAsString(RawContacts.SYNC1); in getSync1() 237 return getValues().getAsString(RawContacts.SYNC2); in getSync2() 241 return getValues().getAsString(RawContacts.SYNC3); in getSync3() 245 return getValues().getAsString(RawContacts.SYNC4); in getSync4() 249 return getValues().getAsBoolean(RawContacts.DELETED); in isDeleted() 257 return getValues().getAsBoolean(Contacts.STARRED); in isStarred() [all …]
|
H A D | RawContactDelta.java | 91 rawContactDelta.mValues = ValuesDelta.fromBefore(before.getValues()); in fromBefore() 143 public ValuesDelta getValues() { in getValues() method in RawContactDelta 211 ContentValues entityValues = getValues().getCompleteValues(); in getRawContactAccountType() 218 return getValues().getAsLong(RawContacts._ID); in getRawContactId() 222 return getValues().getAsString(RawContacts.ACCOUNT_NAME); in getAccountName() 226 return getValues().getAsString(RawContacts.ACCOUNT_TYPE); in getAccountType() 230 return getValues().getAsString(RawContacts.DATA_SET); in getDataSet() 242 return getValues().isVisible(); in isVisible()
|
/aosp12/packages/apps/Dialer/java/com/android/contacts/common/model/ |
H A D | RawContact.java | 115 public ContentValues getValues() { in getValues() method in RawContact 121 return getValues().getAsLong(RawContacts._ID); in getId() 136 return getValues().getAsString(RawContacts.DATA_SET); in getDataSet() 140 return getValues().getAsBoolean(RawContacts.DIRTY); in isDirty() 148 return getValues().getAsString(RawContacts.SYNC1); in getSync1() 152 return getValues().getAsString(RawContacts.SYNC2); in getSync2() 156 return getValues().getAsString(RawContacts.SYNC3); in getSync3() 160 return getValues().getAsString(RawContacts.SYNC4); in getSync4() 164 return getValues().getAsBoolean(RawContacts.DELETED); in isDeleted() 172 return getValues().getAsBoolean(Contacts.STARRED); in isStarred() [all …]
|
/aosp12/packages/modules/StatsD/statsd/tests/external/ |
H A D | puller_util_test.cpp | 76 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() 226 actualFieldValues = &data[1]->getValues(); in TEST() 287 actualFieldValues = &data[1]->getValues(); in TEST() 323 actualFieldValues = &data[1]->getValues(); in TEST() [all …]
|
H A D | StatsPuller_test.cpp | 100 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()
|
H A D | StatsPullerManager_test.cpp | 114 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()
|
/aosp12/packages/modules/StatsD/statsd/src/ |
H A D | HashableDimensionKey.cpp | 116 for (const auto& fieldValue : value.getValues()) { in hashDimension() 208 size_t count = conditionDimension->getValues().size(); in getDimensionForCondition() 228 size_t count = statePrimaryKey->getValues().size(); in getDimensionForState() 244 if (whatKey.getValues().size() < primaryKey.getValues().size()) { in containsLinkedStateValues() 251 for (const auto& whatValue : whatKey.getValues()) { in containsLinkedStateValues() 301 if (mValues.size() != that.getValues().size()) { in operator ==() 306 if (mValues[i] != (that.getValues())[i]) { in operator ==() 314 return LessThan(getValues(), that.getValues()); in operator <() 318 if (mValues.size() < that.getValues().size()) { in contains() 322 if (mValues.size() == that.getValues().size()) { in contains() [all …]
|
H A D | HashableDimensionKey.h | 61 HashableDimensionKey(const HashableDimensionKey& that) : mValues(that.getValues()){}; in HashableDimensionKey() 67 inline const std::vector<FieldValue>& getValues() const { in getValues() function 131 return mStateValuesKey.getValues().size() > 0; in hasStateValuesKey()
|
/aosp12/packages/modules/StatsD/statsd/tests/ |
H A D | FieldValue_test.cpp | 129 filterValues(matchers, event.getValues(), &output); in TEST() 131 ASSERT_EQ((size_t)7, output.getValues().size()); in TEST() 132 EXPECT_EQ((int32_t)0x02010101, output.getValues()[0].mField.getField()); in TEST() 133 EXPECT_EQ((int32_t)1111, output.getValues()[0].mValue.int_value); in TEST() 134 EXPECT_EQ((int32_t)0x02010102, output.getValues()[1].mField.getField()); in TEST() 135 EXPECT_EQ("location1", output.getValues()[1].mValue.str_value); in TEST() 138 EXPECT_EQ((int32_t)2222, output.getValues()[2].mValue.int_value); in TEST() 140 EXPECT_EQ("location2", output.getValues()[3].mValue.str_value); in TEST() 143 EXPECT_EQ((int32_t)3333, output.getValues()[4].mValue.int_value); in TEST() 145 EXPECT_EQ("location3", output.getValues()[5].mValue.str_value); in TEST() [all …]
|
H A D | LogEvent_test.cpp | 100 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 …]
|
/aosp12/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/ |
H A D | UserIdentificationAssociationResponseTest.java | 38 assertThat(response.getValues()).isNull(); in testFailure_noMessage() 48 assertThat(response.getValues()).isNull(); in testFailure_withMessage() 78 assertThat(response.getValues()).asList().containsAtLeast(1, 2, 3).inOrder(); in testSuccess_noMessage() 88 assertThat(response.getValues()).asList().containsAtLeast(1, 2, 3).inOrder(); in testSuccess_withMessage()
|
/aosp12/frameworks/layoutlib/bridge/tests/src/android/graphics/ |
H A D | Matrix_DelegateTest.java | 43 m1.getValues(v1); in testCopyConstructor() 44 m2.getValues(v2); in testCopyConstructor() 60 inverse.getValues(values); in testInvert()
|
/aosp12/packages/apps/Contacts/src/com/android/contacts/editor/ |
H A D | RawContactDeltaComparator.java | 48 String accountType1 = one.getValues().getAsString(RawContacts.ACCOUNT_TYPE); in compare() 49 String dataSet1 = one.getValues().getAsString(RawContacts.DATA_SET); in compare() 51 String accountType2 = two.getValues().getAsString(RawContacts.ACCOUNT_TYPE); in compare() 52 String dataSet2 = two.getValues().getAsString(RawContacts.DATA_SET); in compare()
|
/aosp12/packages/modules/StatsD/statsd/tests/state/ |
H A D | StateTracker_test.cpp | 260 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()
|
/aosp12/system/core/libcutils/ |
H A D | properties_test.cpp | 308 int64_t getValues[] = { in TEST_F() local 322 ASSERT_EQ(arraysize(setValues), arraysize(getValues)); in TEST_F() 328 …EXPECT_PRED_FORMAT2(AssertEqualHex, getValues[i], val) << "Property was set to '" << setValues[i] … in TEST_F() 355 int32_t getValues[] = { in TEST_F() local 369 ASSERT_EQ(arraysize(setValues), arraysize(getValues)); in TEST_F() 375 …EXPECT_PRED_FORMAT2(AssertEqualHex, getValues[i], val) << "Property was set to '" << setValues[i] … in TEST_F()
|
/aosp12/packages/modules/Connectivity/tests/unit/java/android/net/ |
H A D | NetworkStatsTest.java | 808 assertEquals(entry1, stats.getValues(0, null)); in testFilter_NoFilter() 809 assertEquals(entry2, stats.getValues(1, null)); in testFilter_NoFilter() 810 assertEquals(entry3, stats.getValues(2, null)); in testFilter_NoFilter() 835 assertEquals(entry2, stats.getValues(0, null)); in testFilter_UidFilter() 836 assertEquals(entry3, stats.getValues(1, null)); in testFilter_UidFilter() 867 assertEquals(entry1, stats.getValues(0, null)); in testFilter_InterfaceFilter() 868 assertEquals(entry3, stats.getValues(1, null)); in testFilter_InterfaceFilter() 869 assertEquals(entry4, stats.getValues(2, null)); in testFilter_InterfaceFilter() 913 assertEquals(entry1, stats.getValues(0, null)); in testFilter_TagFilter() 914 assertEquals(entry2, stats.getValues(1, null)); in testFilter_TagFilter() [all …]
|
H A D | NetworkStatsHistoryTest.java | 89 entry = history.getValues(0, entry); in testReadOriginalVersion() 93 entry = history.getValues(history.size() - 1, entry); in testReadOriginalVersion() 97 entry = history.getValues(Long.MIN_VALUE, Long.MAX_VALUE, entry); in testReadOriginalVersion() 527 final NetworkStatsHistory.Entry entry = stats.getValues(0, null); in testSetValues() 554 entry = stats.getValues(i, entry); in assertConsistent() 562 final NetworkStatsHistory.Entry entry = stats.getValues(index, null); 569 final NetworkStatsHistory.Entry entry = stats.getValues(start, end, null); 576 final NetworkStatsHistory.Entry entry = stats.getValues(index, null); 594 final NetworkStatsHistory.Entry entry = stats.getValues(start, end, null);
|
/aosp12/packages/modules/Connectivity/core/tests/coretests/src/android/net/ |
H A D | NetworkStatsHistoryTest.java | 74 entry = history.getValues(0, entry); in testReadOriginalVersion() 78 entry = history.getValues(history.size() - 1, entry); in testReadOriginalVersion() 82 entry = history.getValues(Long.MIN_VALUE, Long.MAX_VALUE, entry); in testReadOriginalVersion() 473 entry = stats.getValues(i, entry); in assertConsistent() 481 final NetworkStatsHistory.Entry entry = stats.getValues(index, null); 488 final NetworkStatsHistory.Entry entry = stats.getValues(start, end, null); 495 final NetworkStatsHistory.Entry entry = stats.getValues(index, null); 513 final NetworkStatsHistory.Entry entry = stats.getValues(start, end, null);
|
/aosp12/system/tools/hidl/ |
H A D | Annotation.h | 35 virtual std::vector<std::string> getValues() const = 0; 53 std::vector<std::string> getValues() const override;
|
/aosp12/packages/modules/StatsD/tests/src/android/cts/statsd/metric/ |
H A D | ValueMetricsTests.java | 107 assertThat(bucketInfo.getValues(0).getIndex()).isEqualTo(0); in testValueMetric() 108 totalValue += (int) bucketInfo.getValues(0).getValueLong(); in testValueMetric() 183 assertThat(bucketInfo.getValues(0).getIndex()).isEqualTo(0); in testPullerAcrossBuckets() 184 totalValue += (int) bucketInfo.getValues(0).getValueLong(); in testPullerAcrossBuckets() 264 assertThat(bucketInfo.getValues(0).getIndex()).isEqualTo(0); in testMultipleEventsPerBucket() 265 totalValue += (int) bucketInfo.getValues(0).getValueLong(); in testMultipleEventsPerBucket() 458 .map(bucketInfo -> bucketInfo.getValues(0)) in testValueMetricWithConditionAndActivation()
|
/aosp12/frameworks/libs/net/common/testutils/devicetests/com/android/testutils/ |
H A D | NetworkStatsUtils.kt | 45 leftTrimmedEmpty.getValues(i, left) 49 rightTrimmedEmpty.getValues(j, right)
|
/aosp12/frameworks/layoutlib/bridge/src/android/graphics/drawable/ |
H A D | AnimatedVectorDrawable_Delegate.java | 69 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
|
/aosp12/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
H A D | IccServiceTable.java | 40 protected abstract Object[] getValues(); in getValues() method in IccServiceTable 61 Object[] values = getValues(); in toString()
|