Home
last modified time | relevance | path

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

12

/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/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/io/
Dprinter.cc188 const char* variable2, const string& value2) { in Print() argument
191 vars[variable2] = value2; in Print()
197 const char* variable2, const string& value2, in Print() argument
201 vars[variable2] = value2; in Print()
208 const char* variable2, const string& value2, in Print() argument
213 vars[variable2] = value2; in Print()
221 const char* variable2, const string& value2, in Print() argument
227 vars[variable2] = value2; in Print()
236 const char* variable2, const string& value2, in Print() argument
243 vars[variable2] = value2; in Print()
[all …]
Dprinter.h236 const char* variable2, const string& value2);
239 const char* variable2, const string& value2,
243 const char* variable2, const string& value2,
248 const char* variable2, const string& value2,
254 const char* variable2, const string& value2,
261 const char* variable2, const string& value2,
269 const char* variable2, const string& value2,
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/main/java/com/google/protobuf/
DLazyFieldLite.java155 MessageLite value2 = other.value; in equals() local
156 if (value1 == null && value2 == null) { in equals()
158 } else if (value1 != null && value2 != null) { in equals()
159 return value1.equals(value2); in equals()
163 return getValue(value2.getDefaultInstanceForType()).equals(value2); in equals()
DAbstractMessage.java247 Object value2 = b.get(descriptor); in compareFields() local
251 List list2 = (List) value2; in compareFields()
262 if (!compareBytes(value1, value2)) { in compareFields()
267 if (!compareMapField(value1, value2)) { in compareFields()
272 if (!value1.equals(value2)) { in compareFields()
/frameworks/base/core/tests/coretests/src/android/util/
DTimestampedValueTest.java126 TimestampedValue<Long> value2 = new TimestampedValue<>(1, 321L); in testReferenceTimeDifference() local
127 assertEquals(999, TimestampedValue.referenceTimeDifference(value1, value2)); in testReferenceTimeDifference()
128 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/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/util/
Dtime_util.cc488 uint128 value1, value2; in operator %=() local
490 ToUint128(d2, &value2, &negative2); in operator %=()
491 uint128 result = value1 % value2; in operator %=()
504 uint128 value1, value2; in operator /() local
506 ToUint128(d2, &value2, &negative2); in operator /()
507 int64 result = Uint128Low64(value1 / value2); in operator /()
/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/core/java/android/net/
DScoredNetwork.java210 Object value2 = bundle2.get(key); in bundleEquals() local
211 if (!Objects.equals(value1, value2)) { in bundleEquals()
/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/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf.Test/
DGeneratedMessageTest.cs380 var value2 = "b"; in MapNonContiguousEntries()
386 output.WriteString(value2); in MapNonContiguousEntries()
403 MapStringString = { { key2, value2 } } in MapNonContiguousEntries()
416 var value2 = 30; in DuplicateKeys_LastEntryWins()
432 output.WriteInt32(value2); in DuplicateKeys_LastEntryWins()
436 Assert.AreEqual(value2, parsed.MapInt32Int32[key]); in DuplicateKeys_LastEntryWins()
/frameworks/base/cmds/bootanimation/iot/
DBootParameters_test.cpp153 "param_values":["value1", "value2"] in TEST()
188 "param_values":[1, "value2"] in TEST()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/
DGeneratedMessageTest.java125 TestAllTypes value2 = builder.build(); in testUsingBuilderMultipleTimes() local
138 assertEquals(200, value2.getOptionalSfixed64()); in testUsingBuilderMultipleTimes()
139 assertEquals(200, value2.getRepeatedInt32(0)); in testUsingBuilderMultipleTimes()
141 value2.getOptionalImportEnum()); in testUsingBuilderMultipleTimes()
143 value2.getRepeatedImportEnum(0)); in testUsingBuilderMultipleTimes()
144 assertEquals(2, value2.getOptionalForeignMessage().getC()); in testUsingBuilderMultipleTimes()
145 assertEquals(2, value2.getRepeatedForeignMessage(0).getC()); in testUsingBuilderMultipleTimes()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/
Dmap_test.cc180 int32 value2 = 101; in TEST_P() local
187 map_[key] = value2; in TEST_P()
188 ExpectSingleElement(key, value2); in TEST_P()
202 int32 value2 = 101; in TEST_P() local
207 map_.at(key) = value2; in TEST_P()
208 ExpectSingleElement(key, value2); in TEST_P()
617 int32 value2 = 101; in TEST_P() local
631 map_.insert(Map<int32, int32>::value_type(key, value2)); in TEST_P()
746 int32 value2 = 101; in TEST_P() local
750 map[key2] = value2; in TEST_P()
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/test/java/com/google/protobuf/
DGeneratedMessageTest.java135 TestAllTypes value2 = builder.build(); in testUsingBuilderMultipleTimes() local
148 assertEquals(200, value2.getOptionalSfixed64()); in testUsingBuilderMultipleTimes()
149 assertEquals(200, value2.getRepeatedInt32(0)); in testUsingBuilderMultipleTimes()
151 value2.getOptionalImportEnum()); in testUsingBuilderMultipleTimes()
153 value2.getRepeatedImportEnum(0)); in testUsingBuilderMultipleTimes()
154 assertEquals(2, value2.getOptionalForeignMessage().getC()); in testUsingBuilderMultipleTimes()
155 assertEquals(2, value2.getRepeatedForeignMessage(0).getC()); in testUsingBuilderMultipleTimes()
164 TestAllTypes value2 = value1.toBuilder().build(); in testProtosShareRepeatedArraysIfDidntChange() local
166 assertSame(value1.getRepeatedInt32List(), value2.getRepeatedInt32List()); in testProtosShareRepeatedArraysIfDidntChange()
168 value2.getRepeatedForeignMessageList()); in testProtosShareRepeatedArraysIfDidntChange()
/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()
/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/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/pyext/
Ddescriptor_containers.cc354 PyObject* value2 = PyList_GetItem(other, index); in DescriptorSequence_Equal() local
355 if (value2 == NULL) { in DescriptorSequence_Equal()
358 int cmp = PyObject_RichCompareBool(value1.get(), value2, Py_EQ); in DescriptorSequence_Equal()
402 PyObject* value2 = PyDict_GetItem(other, key.get()); in DescriptorMapping_Equal() local
403 if (value2 == NULL) { in DescriptorMapping_Equal()
407 int cmp = PyObject_RichCompareBool(value1.get(), value2, Py_EQ); in DescriptorMapping_Equal()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/internal/
Djson_format_test.py452 value2 = json_format_proto3_pb2.MessageType()
454 value2.value = 5678
457 message.repeated_value.add().Pack(value2)
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/javanano/src/test/java/com/google/protobuf/nano/
Dmap_test.proto41 int32 value2 = 2; field
/frameworks/av/services/audiopolicy/engineconfigurable/tools/
DdomainGeneratorPolicy.py60 <criterion_type name="" type=<inclusive|exclusive> values=<value1,value2,...>/> \
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/objectivec/
DGPBRootObject.m87 const void *value2) {
89 const char *key2 = (const char *)value2;

12