/packages/apps/Camera2/src/com/android/camera/async/ |
D | Futures2.java | 37 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 103 T2 value2 = (T2) list.get(1); 105 return fn.apply(value1, value2); 148 T2 value2 = (T2) list.get(1); 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/ |
D | TestUtils.java | 99 Object value2 = bundle2.get(key); in bundleEquals() local 101 && value2 != null && value2.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 114 if (length != Array.getLength(value2)) { 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/ |
D | Utils.java | 123 final CarPropertyValue value2) { in areCarPropertyValuesEqual() argument 124 return value1 == value2 in areCarPropertyValuesEqual() 126 && value2 != 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/services/Car/tests/carservice_test/src/com/android/car/ |
D | CarDiagnosticConstantsTest.java | 64 int value1, int value2) { in fieldValueMismatch() argument 67 " field " + name + " had different values " + value1 + " vs. " + value2); in fieldValueMismatch() 120 final int value2 = field2.getInt(null); in validateMatch() local 121 final int value1 = fields.getOrDefault(name, value2+1); in validateMatch() 122 if (value2 != value1) { in validateMatch() 124 field2.getName(), value1, value2); in validateMatch()
|
/packages/apps/UnifiedEmail/src/org/apache/commons/io/ |
D | EndianUtils.java | 316 int value2 = read( input ); in readSwappedUnsignedShort() local 319 ( ( value2 & 0xff ) << 8 ) ); in readSwappedUnsignedShort() 349 int value2 = read( input ); in readSwappedInteger() local 354 ( ( value2 & 0xff ) << 8 ) + in readSwappedInteger() 370 int value2 = read( input ); in readSwappedUnsignedInteger() local 375 ( ( value2 & 0xff ) << 8 ) + in readSwappedUnsignedInteger()
|
/packages/services/Car/service/src/com/android/car/storagemonitoring/ |
D | HealthServiceWearInfoProvider.java | 69 StorageInfo value2 = value.get(i); in load() 70 if (value2.attr.isInternal) { in load() 71 lifetimeA.value = value2.lifetimeA; in load() 72 lifetimeB.value = value2.lifetimeB; in load() 73 preEol.value = value2.eol; in load()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/applications/specialaccess/ |
D | AppStatePremiumSmsBridgeTest.java | 63 int value2 = SmsUsageMonitor.PREMIUM_SMS_PERMISSION_NEVER_ALLOW; in loadExtraInfo() local 64 when(mSmsManager.getPremiumSmsPermission(package2)).thenReturn(value2); in loadExtraInfo() 69 assertThat(appEntry2.extraInfo).isEqualTo(value2); in loadExtraInfo()
|
/packages/apps/Car/Settings/src/com/android/car/settings/datetime/ |
D | TimeZonePickerScreenPreferenceController.java | 128 Object value2 = map2.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/ |
D | MainActivity.java | 49 long value2, String name2) { 52 if (value2 > 0) { 53 s += " and " + value2 + " " + name2;
|
/packages/apps/Launcher3/src/com/android/launcher3/qsb/ |
D | QsbContainerView.java | 308 Object value2 = original.get(key); in containsAll() local 310 if (value2 != null) { in containsAll() 313 } else if (!value1.equals(value2)) { in containsAll()
|
/packages/apps/Contacts/src/com/android/contacts/model/ |
D | RawContactModifier.java | 504 final String value2 = values2.getAsString(field.column); in areEqual() local 505 if (!TextUtils.equals(value1, value2)) { in areEqual()
|