Home
last modified time | relevance | path

Searched refs:value1 (Results 1 – 22 of 22) 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/cmds/statsd/tests/
Dmetadata_util_test.cpp39 Value value1((int32_t)10025); in TEST() local
44 dim.addValue(FieldValue(field1, value1)); in TEST()
49 dim2.addValue(FieldValue(field1, value1)); in TEST()
DFieldValue_test.cpp170 Value value1((int32_t)10025); in TEST() local
176 dim.addValue(FieldValue(field1, value1)); in TEST()
180 subDim1.addValue(FieldValue(field1, value1)); in TEST()
334 Value value1((int32_t)1); in TEST() local
341 dimensionKey.addValue(FieldValue(field1, value1)); in TEST()
359 value1.int_value, value2.str_value); in TEST()
382 Value value1((int32_t)10025); in TEST() local
387 dim.addValue(FieldValue(field1, value1)); in TEST()
444 Value value1((int32_t)10025); in TEST() local
449 dim.addValue(FieldValue(field1, value1)); in TEST()
Dstatsd_test_util.cpp450 Value value1((int32_t)uid); in getUidProcessKey() local
452 key->addValue(FieldValue(field1, value1)); in getUidProcessKey()
462 Value value1((int32_t)uid); in getOverlayKey() local
465 key->addValue(FieldValue(field1, value1)); in getOverlayKey()
479 Value value1((int32_t)uid); in getPartialWakelockKey() local
483 key->addValue(FieldValue(field1, value1)); in getPartialWakelockKey()
495 Value value1((int32_t)uid); in getPartialWakelockKey() local
498 key->addValue(FieldValue(field1, value1)); in getPartialWakelockKey()
525 void CreateTwoValueLogEvent(LogEvent* logEvent, int atomId, int64_t eventTimeNs, int32_t value1, in CreateTwoValueLogEvent() argument
531 AStatsEvent_writeInt32(statsEvent, value1); in CreateTwoValueLogEvent()
[all …]
Dstatsd_test_util.h212 shared_ptr<LogEvent> CreateTwoValueLogEvent(int atomId, int64_t eventTimeNs, int32_t value1,
215 void CreateTwoValueLogEvent(LogEvent* logEvent, int atomId, int64_t eventTimeNs, int32_t value1,
218 shared_ptr<LogEvent> CreateThreeValueLogEvent(int atomId, int64_t eventTimeNs, int32_t value1,
221 void CreateThreeValueLogEvent(LogEvent* logEvent, int atomId, int64_t eventTimeNs, int32_t value1,
/frameworks/native/libs/gui/include/gui/
DITransactionCompletedListener.h170 std::size_t HashCombine(size_t value1, size_t value2) const { in HashCombine()
171 return value1 ^ (value2 + 0x9e3779b9 + (value1 << 6) + (value1 >> 2)); in HashCombine()
/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/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/base/services/autofill/java/com/android/server/autofill/
DAutofillManagerServiceShellCommand.java236 final String algorithm, value1; in getFieldClassificationScore() local
239 value1 = getNextArgRequired(); in getFieldClassificationScore()
242 value1 = nextArg; in getFieldClassificationScore()
247 mService.calculateScore(algorithm, value1, value2, new RemoteCallback((result) -> { in getFieldClassificationScore()
DAutofillManagerService.java589 void calculateScore(@Nullable String algorithmName, @NonNull String value1, in calculateScore() argument
596 strategy.calculateScores(callback, Arrays.asList(AutofillValue.forText(value1)), in calculateScore()
741 private void send(@NonNull IResultReceiver receiver, int value1, int value2) { in send() argument
743 receiver.send(value1, SyncResultReceiver.bundleFor(value2)); in send()
/frameworks/base/wifi/tests/src/android/net/wifi/rtt/
DCivicLocationTest.java188 String value1 = civicLocation.getCivicElementValue(4); in testCivicLocationgetElementValue() local
194 assertEquals("defg", value1); in testCivicLocationgetElementValue()
/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/core/java/android/net/
DScoredNetwork.java210 Object value1 = bundle1.get(key); in bundleEquals() local
212 if (!Objects.equals(value1, value2)) { in bundleEquals()
/frameworks/av/services/mediametrics/tests/
Dmediametrics_tests.cpp933 std::atomic_int value1 = 0; in TEST() local
935 timedAction.postIn(std::chrono::seconds(0), [&value1] { ++value1; }); in TEST()
936 timedAction.postIn(std::chrono::seconds(1000), [&value1] { ++value1; }); in TEST()
938 ASSERT_EQ(1, value1); in TEST()
/frameworks/base/tools/protologtool/
DREADME.md21 ProtoLog.x(ProtoLogGroup.GROUP_NAME, "Format string %d %s", value1, value2);
26 int protoLogParam0 = value1;
/frameworks/av/services/audiopolicy/engineconfigurable/tools/
DdomainGeneratorPolicy.py65 values=<value1,value2,...>/> \
DbuildPolicyCriterionTypes.py67 values=<value1,value2,...>/>' \
/frameworks/base/services/core/java/com/android/server/content/
DSyncStorageEngine.java1954 String value1 = parser.getAttributeValue(null, "value1"); in parseExtra() local
1959 extras.putLong(name, Long.parseLong(value1)); in parseExtra()
1961 extras.putInt(name, Integer.parseInt(value1)); in parseExtra()
1963 extras.putDouble(name, Double.parseDouble(value1)); in parseExtra()
1965 extras.putFloat(name, Float.parseFloat(value1)); in parseExtra()
1967 extras.putBoolean(name, Boolean.parseBoolean(value1)); in parseExtra()
1969 extras.putString(name, value1); in parseExtra()
1971 extras.putParcelable(name, new Account(value1, value2)); in parseExtra()
/frameworks/base/core/tests/coretests/src/android/animation/
DValueAnimatorTests.java465 float value1 = (Float) a1.getAnimatedValue();
467 assertEquals(A1_END_VALUE, value1);
/frameworks/base/cmds/statsd/tests/metrics/
DGaugeMetricProducer_test.cpp59 shared_ptr<LogEvent> makeLogEvent(int32_t atomId, int64_t timestampNs, int32_t value1, string str1, in makeLogEvent() argument
65 AStatsEvent_writeInt32(statsEvent, value1); in makeLogEvent()
/frameworks/base/tools/aapt2/
DResources.proto328 // tag_name;attr1=value1;attr2=value2;[...]