Home
last modified time | relevance | path

Searched refs:value2 (Results 1 – 17 of 17) sorted by relevance

/frameworks/base/libs/androidfw/tests/
DDynamicRefTable_test.cpp36 Res_value value2; in TEST() local
37 value2.dataType = Res_value::TYPE_REFERENCE; in TEST()
38 value2.data = 0x7f010000; in TEST()
39 ASSERT_EQ(shared_app_table.lookupResourceValue(&value2), NO_ERROR); in TEST()
40 EXPECT_EQ(value2.data, 0x02010000); in TEST()
56 Res_value value2; in TEST() local
57 value2.dataType = Res_value::TYPE_ATTRIBUTE; in TEST()
58 value2.data = 0x7f010000; in TEST()
59 ASSERT_EQ(shared_app_table.lookupResourceValue(&value2), NO_ERROR); in TEST()
60 EXPECT_EQ(value2.data, 0x04010000); in TEST()
[all …]
/frameworks/base/core/tests/coretests/src/android/os/
DTimestampedValueTest.java123 TimestampedValue<Long> value2 = new TimestampedValue<>(1, 321L); in testReferenceTimeDifference() local
124 assertEquals(999, TimestampedValue.referenceTimeDifference(value1, value2)); in testReferenceTimeDifference()
125 assertEquals(-999, TimestampedValue.referenceTimeDifference(value2, value1)); in testReferenceTimeDifference()
/frameworks/base/cmds/statsd/tests/
DFieldValue_test.cpp149 Value value2("tag"); in TEST() local
155 dim.addValue(FieldValue(field2, value2)); in TEST()
161 subDim1.addValue(FieldValue(field2, value2)); in TEST()
307 Value value2("tag"); in TEST() local
312 dim.addValue(FieldValue(field2, value2)); in TEST()
333 Value value2("tag"); in TEST() local
338 dim.addValue(FieldValue(field2, value2)); in TEST()
395 Value value2("tag"); in TEST() local
400 dim.addValue(FieldValue(field2, value2)); in TEST()
/frameworks/native/libs/vr/libpdx/
Dthread_local_buffer_tests.cpp99 auto value2 = ThreadLocalBufferTest::GetSlotValue<SendSlotX>(); in TEST() local
102 EXPECT_NE(0U, value2); in TEST()
/frameworks/base/core/java/android/app/admin/
DDevicePolicyEventLogger.java152 public DevicePolicyEventLogger setStrings(String value1, String value2, String[] values) { in setStrings() argument
156 mStringArrayValue[1] = value2; in setStrings()
/frameworks/base/wifi/tests/src/android/net/wifi/rtt/
DCivicLocationTest.java189 String value2 = civicLocation.getCivicElementValue(17); in testCivicLocationgetElementValue() local
195 assertEquals("abc", value2); in testCivicLocationgetElementValue()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/storage/
DRecoverableKeyStoreDbTest.java830 long value2 = 222L; in setCounterId_defaultValueAndTwoUpdates() local
837 mRecoverableKeyStoreDb.setCounterId(userId, uid, value2); in setCounterId_defaultValueAndTwoUpdates()
839 value2); in setCounterId_defaultValueAndTwoUpdates()
847 long value2 = 222L; in setSnapshotVersion_defaultValueAndTwoUpdates() local
852 mRecoverableKeyStoreDb.setSnapshotVersion(userId, uid, value2); in setSnapshotVersion_defaultValueAndTwoUpdates()
854 value2); in setSnapshotVersion_defaultValueAndTwoUpdates()
862 boolean value2 = false; in setShouldCreateSnapshot_defaultValueAndTwoUpdates()
866 mRecoverableKeyStoreDb.setShouldCreateSnapshot(userId, uid, value2); in setShouldCreateSnapshot_defaultValueAndTwoUpdates()
868 value2); in setShouldCreateSnapshot_defaultValueAndTwoUpdates()
/frameworks/base/core/java/android/net/
DScoredNetwork.java211 Object value2 = bundle2.get(key); in bundleEquals() local
212 if (!Objects.equals(value1, value2)) { in bundleEquals()
/frameworks/base/services/autofill/java/com/android/server/autofill/
DAutofillManagerServiceShellCommand.java244 final String value2 = getNextArgRequired(); in getFieldClassificationScore() local
247 mService.calculateScore(algorithm, value1, value2, new RemoteCallback((result) -> { in getFieldClassificationScore()
DAutofillManagerService.java552 @NonNull String value2, @NonNull RemoteCallback callback) { in calculateScore() argument
559 new String[] { value2 }, new String[] { null }, algorithmName, null, null, null); in calculateScore()
703 private void send(@NonNull IResultReceiver receiver, int value1, int value2) { in send() argument
705 receiver.send(value1, SyncResultReceiver.bundleFor(value2)); in send()
/frameworks/compile/mclinker/unittests/
DLEB128Test.cpp458 uint64_t value2 = value * value; in TEST_F() local
472 encode_size = leb128::encode<uint64_t>(result, value2); in TEST_F()
474 ASSERT_EQ(leb128::decode<uint64_t>(buffer, decode_size), value2); in TEST_F()
/frameworks/av/services/audiopolicy/engineconfigurable/tools/
DdomainGeneratorPolicy.py65 values=<value1,value2,...>/> \
DbuildPolicyCriterionTypes.py67 values=<value1,value2,...>/>' \
/frameworks/base/core/tests/coretests/src/android/animation/
DValueAnimatorTests.java466 int value2 = (Integer) a2.getAnimatedValue();
468 assertEquals(A2_END_VALUE, value2);
/frameworks/av/services/audiopolicy/service/
DAudioPolicyService.cpp1648 String8 value2; in insertCommand_l() local
1649 param2.getAt(k, key2, value2); in insertCommand_l()
/frameworks/base/services/core/java/com/android/server/content/
DSyncStorageEngine.java1935 String value2 = parser.getAttributeValue(null, "value2"); in parseExtra() local
1951 extras.putParcelable(name, new Account(value1, value2)); in parseExtra()
/frameworks/base/tools/aapt2/
DResources.proto320 // tag_name;attr1=value1;attr2=value2;[...]