Home
last modified time | relevance | path

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

/packages/apps/Camera2/src/com/android/camera/async/
DFutures2.java37 ListenableFuture<TResult> apply(T1 value1, T2 value2) throws Exception; in apply() argument
44 ListenableFuture<TResult> apply(T1 value1, T2 value2, T3 value3) throws Exception; in apply() argument
51 TResult apply(T1 value1, T2 value2); in apply() argument
58 TResult apply(T1 value1, T2 value2, T3 value3); in apply() argument
102 T1 value1 = (T1) list.get(0);
105 return fn.apply(value1, value2);
147 T1 value1 = (T1) list.get(0);
151 return fn.apply(value1, value2, value3);
183 public ListenableFuture<TResult> apply(T1 value1, T2 value2) throws Exception {
184 return Futures.immediateFuture(mFn.apply(value1, value2));
[all …]
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/
DTestUtils.java98 Object value1 = bundle1.get(key); in bundleEquals() local
100 if (value1 != null && value1.getClass().isArray() in bundleEquals()
102 return arrayEquals(value1, value2); in bundleEquals()
103 } else if (value1 instanceof BaseBundle && value2 instanceof BaseBundle) { in bundleEquals()
104 return bundleEquals((BaseBundle) value1, (BaseBundle) value2); in bundleEquals()
105 } else if (!Objects.equals(value1, value2)) { in bundleEquals()
112 private static boolean arrayEquals(Object value1, Object value2) { in arrayEquals() argument
113 final int length = Array.getLength(value1); in arrayEquals()
118 if (!Objects.equals(Array.get(value1, i), Array.get(value2, i))) { in arrayEquals()
/packages/services/Car/tests/vehiclehal_test/src/com/android/car/vehiclehal/test/
DUtils.java122 static boolean areCarPropertyValuesEqual(final CarPropertyValue value1, in areCarPropertyValuesEqual() argument
124 return value1 == value2 in areCarPropertyValuesEqual()
125 || value1 != null in areCarPropertyValuesEqual()
127 && value1.getPropertyId() == value2.getPropertyId() in areCarPropertyValuesEqual()
128 && value1.getAreaId() == value2.getAreaId() in areCarPropertyValuesEqual()
129 && value1.getValue().equals(value2.getValue()); in areCarPropertyValuesEqual()
/packages/apps/UnifiedEmail/src/org/apache/commons/io/
DEndianUtils.java315 int value1 = read( input ); in readSwappedUnsignedShort() local
318 return ( ( ( value1 & 0xff ) << 0 ) + in readSwappedUnsignedShort()
348 int value1 = read( input ); in readSwappedInteger() local
353 return ( ( value1 & 0xff ) << 0 ) + in readSwappedInteger()
369 int value1 = read( input ); in readSwappedUnsignedInteger() local
374 long low = ( ( ( value1 & 0xff ) << 0 ) + in readSwappedUnsignedInteger()
/packages/services/Car/tests/carservice_test/src/com/android/car/
DCarDiagnosticConstantsTest.java64 int value1, int value2) { in fieldValueMismatch() argument
67 " field " + name + " had different values " + value1 + " vs. " + value2); in fieldValueMismatch()
121 final int value1 = fields.getOrDefault(name, value2+1); in validateMatch() local
122 if (value2 != value1) { in validateMatch()
124 field2.getName(), value1, value2); in validateMatch()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/applications/specialaccess/
DAppStatePremiumSmsBridgeTest.java58 int value1 = SmsUsageMonitor.PREMIUM_SMS_PERMISSION_ALWAYS_ALLOW; in loadExtraInfo() local
59 when(mSmsManager.getPremiumSmsPermission(package1)).thenReturn(value1); in loadExtraInfo()
68 assertThat(appEntry1.extraInfo).isEqualTo(value1); in loadExtraInfo()
/packages/apps/Car/Settings/src/com/android/car/settings/datetime/
DTimeZonePickerScreenPreferenceController.java127 Object value1 = map1.get(comparisonKey); in compareWithKey() local
129 if (!isComparable(value1) || !isComparable(value2)) { in compareWithKey()
133 return ((Comparable) value1).compareTo(value2); in compareWithKey()
/packages/services/Car/tests/DefaultStorageMonitoringCompanionApp/src/com/google/android/car/defaultstoragemonitoringcompanionapp/
DMainActivity.java48 private String durationPairToString(long value1, String name1,
50 if (value1 > 0) {
51 String s = value1 + " " + name1;
/packages/apps/Launcher3/src/com/android/launcher3/qsb/
DQsbContainerView.java307 Object value1 = updates.get(key); in containsAll() local
309 if (value1 == null) { in containsAll()
313 } else if (!value1.equals(value2)) { in containsAll()
/packages/apps/Contacts/src/com/android/contacts/model/
DRawContactModifier.java503 final String value1 = values1.getAsString(field.column); in areEqual() local
505 if (!TextUtils.equals(value1, value2)) { in areEqual()