Home
last modified time | relevance | path

Searched refs:value2 (Results 1 – 21 of 21) 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/java/com/android/internal/widget/
DInlinePresentationStyleUtils.java54 Object value2 = bundle2.get(key); in bundleEquals() local
55 final boolean equal = value1 instanceof Bundle && value2 instanceof Bundle in bundleEquals()
56 ? bundleEquals((Bundle) value1, (Bundle) value2) in bundleEquals()
57 : Objects.equals(value1, value2); in bundleEquals()
/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/core/tests/batterystatstests/BatteryStatsViewer/src/com/android/frameworks/core/batterystatsviewer/
DBatteryStatsViewerActivity.java250 value2TextView = itemView.findViewById(R.id.value2); in ViewHolder()
317 setPowerText(viewHolder.value2TextView, entry.value2); in onBindViewHolder()
324 setPowerText(viewHolder.value2TextView, entry.value2); in onBindViewHolder()
331 setPowerText(viewHolder.value2TextView, entry.value2); in onBindViewHolder()
338 setPowerText(viewHolder.value2TextView, entry.value2); in onBindViewHolder()
357 final double proportion = entry.value2 != 0 ? entry.value1 * 100 / entry.value2 : 0; in setProportionText()
DBatteryConsumerData.java56 public double value2; field in BatteryConsumerData.Entry
320 private void addEntry(String title, EntryType entryType, double value1, double value2) { in addEntry() argument
325 entry.value2 = value2; in addEntry()
/frameworks/base/graphics/java/android/graphics/
DRuntimeShader.java79 public void setUniform(@NonNull String uniformName, float value1, float value2) { in setUniform() argument
80 setUniform(uniformName, new float[] {value1, value2}); in setUniform()
/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/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/net/
DScoredNetwork.java211 Object value2 = bundle2.get(key); in bundleEquals() local
212 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/native/libs/gui/include/gui/
DITransactionCompletedListener.h254 std::size_t HashCombine(size_t value1, size_t value2) const { in HashCombine()
255 return value1 ^ (value2 + 0x9e3779b9 + (value1 << 6) + (value1 >> 2)); in HashCombine()
/frameworks/base/tools/protologtool/
DREADME.md21 ProtoLog.x(ProtoLogGroup.GROUP_NAME, "Format string %d %s", value1, value2);
27 String protoLogParam1 = String.valueOf(value2);
/frameworks/base/services/autofill/java/com/android/server/autofill/
DAutofillManagerServiceShellCommand.java250 final String value2 = getNextArgRequired(); in getFieldClassificationScore() local
253 mService.calculateScore(algorithm, value1, value2, new RemoteCallback((result) -> { in getFieldClassificationScore()
DAutofillManagerService.java592 @NonNull String value2, @NonNull RemoteCallback callback) { in calculateScore() argument
599 new String[] { value2 }, new String[] { null }, algorithmName, null, null, null); in calculateScore()
763 private void send(@NonNull IResultReceiver receiver, int value1, int value2) { in send() argument
765 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.py72 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.cpp2139 String8 value2; in insertCommand_l() local
2140 param2.getAt(k, key2, value2); in insertCommand_l()
/frameworks/base/services/core/java/com/android/server/content/
DSyncStorageEngine.java1937 final String value2 = parser.getAttributeValue(null, "value2"); in parseExtra() local
1938 extras.putParcelable(name, new Account(value1, value2)); in parseExtra()
/frameworks/base/tools/aapt2/
DResources.proto351 // tag_name;attr1=value1;attr2=value2;[...]