Home
last modified time | relevance | path

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

/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/
DFieldValue_test.cpp148 Value value1((int32_t)10025); in TEST() local
154 dim.addValue(FieldValue(field1, value1)); in TEST()
158 subDim1.addValue(FieldValue(field1, value1)); in TEST()
306 Value value1((int32_t)10025); in TEST() local
311 dim.addValue(FieldValue(field1, value1)); in TEST()
332 Value value1((int32_t)10025); in TEST() local
337 dim.addValue(FieldValue(field1, value1)); in TEST()
394 Value value1((int32_t)10025); in TEST() local
399 dim.addValue(FieldValue(field1, value1)); in TEST()
/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.java551 void calculateScore(@Nullable String algorithmName, @NonNull String value1, in calculateScore() argument
558 strategy.calculateScores(callback, Arrays.asList(AutofillValue.forText(value1)), 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/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/base/services/core/java/com/android/server/content/
DSyncStorageEngine.java1934 String value1 = parser.getAttributeValue(null, "value1"); in parseExtra() local
1939 extras.putLong(name, Long.parseLong(value1)); in parseExtra()
1941 extras.putInt(name, Integer.parseInt(value1)); in parseExtra()
1943 extras.putDouble(name, Double.parseDouble(value1)); in parseExtra()
1945 extras.putFloat(name, Float.parseFloat(value1)); in parseExtra()
1947 extras.putBoolean(name, Boolean.parseBoolean(value1)); in parseExtra()
1949 extras.putString(name, value1); in parseExtra()
1951 extras.putParcelable(name, new Account(value1, value2)); in parseExtra()
/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.java465 float value1 = (Float) a1.getAnimatedValue();
467 assertEquals(A1_END_VALUE, value1);
/frameworks/base/tools/aapt2/
DResources.proto320 // tag_name;attr1=value1;attr2=value2;[...]