Home
last modified time | relevance | path

Searched refs:value1 (Results 1 – 19 of 19) sorted by relevance

/frameworks/base/core/java/com/android/internal/widget/
DInlinePresentationStyleUtils.java53 Object value1 = bundle1.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.java120 TimestampedValue<Long> value1 = new TimestampedValue<>(1000, 123L); in testReferenceTimeDifference() local
121 assertEquals(0, TimestampedValue.referenceTimeDifference(value1, value1)); in testReferenceTimeDifference()
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.java249 value1TextView = itemView.findViewById(R.id.value1); in ViewHolder()
283 setPowerText(viewHolder.value1TextView, entry.value1); in onBindViewHolder()
290 setPowerText(viewHolder.value1TextView, entry.value1); in onBindViewHolder()
297 setPowerText(viewHolder.value1TextView, entry.value1); in onBindViewHolder()
304 setPowerText(viewHolder.value1TextView, entry.value1); in onBindViewHolder()
310 setDurationText(viewHolder.value1TextView, (long) entry.value1); in onBindViewHolder()
316 setPowerText(viewHolder.value1TextView, entry.value1); in onBindViewHolder()
323 setPowerText(viewHolder.value1TextView, entry.value1); in onBindViewHolder()
330 setPowerText(viewHolder.value1TextView, entry.value1); in onBindViewHolder()
337 setPowerText(viewHolder.value1TextView, entry.value1); in onBindViewHolder()
[all …]
DBatteryConsumerData.java55 public double value1; field in BatteryConsumerData.Entry
320 private void addEntry(String title, EntryType entryType, double value1, double value2) { in addEntry() argument
324 entry.value1 = value1; 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/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/core/java/android/app/admin/
DDevicePolicyEventLogger.java152 public DevicePolicyEventLogger setStrings(String value1, String value2, String[] values) { in setStrings() argument
155 mStringArrayValue[0] = value1; in setStrings()
/frameworks/native/libs/vr/libpdx/
Dthread_local_buffer_tests.cpp97 auto value1 = ThreadLocalBufferTest::GetSlotValue<SendSlotX>(); in TEST() local
101 EXPECT_EQ(0U, value1); in TEST()
/frameworks/base/services/autofill/java/com/android/server/autofill/
DAutofillManagerServiceShellCommand.java242 final String algorithm, value1; in getFieldClassificationScore() local
245 value1 = getNextArgRequired(); in getFieldClassificationScore()
248 value1 = nextArg; in getFieldClassificationScore()
253 mService.calculateScore(algorithm, value1, value2, new RemoteCallback((result) -> { in getFieldClassificationScore()
DAutofillManagerService.java591 void calculateScore(@Nullable String algorithmName, @NonNull String value1, in calculateScore() argument
598 strategy.calculateScores(callback, Arrays.asList(AutofillValue.forText(value1)), 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/base/core/java/android/net/
DScoredNetwork.java210 Object value1 = bundle1.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.java829 long value1 = 111L; in setCounterId_defaultValueAndTwoUpdates() local
833 mRecoverableKeyStoreDb.setCounterId(userId, uid, value1); in setCounterId_defaultValueAndTwoUpdates()
835 value1); in setCounterId_defaultValueAndTwoUpdates()
846 long value1 = 111L; in setSnapshotVersion_defaultValueAndTwoUpdates() local
849 mRecoverableKeyStoreDb.setSnapshotVersion(userId, uid, value1); in setSnapshotVersion_defaultValueAndTwoUpdates()
851 value1); in setSnapshotVersion_defaultValueAndTwoUpdates()
861 boolean value1 = true; in setShouldCreateSnapshot_defaultValueAndTwoUpdates()
864 mRecoverableKeyStoreDb.setShouldCreateSnapshot(userId, uid, value1); in setShouldCreateSnapshot_defaultValueAndTwoUpdates()
865 assertThat(mRecoverableKeyStoreDb.getShouldCreateSnapshot(userId, uid)).isEqualTo(value1); in setShouldCreateSnapshot_defaultValueAndTwoUpdates()
/frameworks/base/tools/protologtool/
DREADME.md21 ProtoLog.x(ProtoLogGroup.GROUP_NAME, "Format string %d %s", value1, value2);
26 int protoLogParam0 = value1;
/frameworks/av/services/mediametrics/tests/
Dmediametrics_tests.cpp939 std::atomic_int value1 = 0; in TEST() local
941 timedAction.postIn(std::chrono::seconds(0), [&value1] { ++value1; }); in TEST()
942 timedAction.postIn(std::chrono::seconds(1000), [&value1] { ++value1; }); in TEST()
944 ASSERT_EQ(1, value1); in TEST()
/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.java465 float value1 = (Float) a1.getAnimatedValue();
467 assertEquals(A1_END_VALUE, value1);
/frameworks/base/services/core/java/com/android/server/content/
DSyncStorageEngine.java1936 final String value1 = parser.getAttributeValue(null, "value1"); 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;[...]