/packages/modules/ExtServices/java/src/android/ext/services/autofill/ |
D | ExactMatch.java | 39 static float calculateScore(@Nullable AutofillValue actualValue, in calculateScore() argument 41 if (actualValue == null || !actualValue.isText() || userDataValue == null) return 0; in calculateScore() 43 final String actualValueText = actualValue.getTextValue().toString(); in calculateScore()
|
D | CreditCardMatcher.java | 70 static float calculateScore(@Nullable AutofillValue actualValue, in calculateScore() argument 72 if (actualValue == null || !actualValue.isText() || userDataValue == null || args == null) { in calculateScore() 75 final String actualValueText = actualValue.getTextValue().toString(); in calculateScore()
|
D | EditDistanceScorer.java | 37 static float calculateScore(@Nullable AutofillValue actualValue, in calculateScore() argument 39 if (actualValue == null || !actualValue.isText() || userDataValue == null) return 0; in calculateScore() 41 final String actualValueText = actualValue.getTextValue().toString(); in calculateScore()
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/enterprise/ |
D | BasePreferenceControllerTestCase.java | 59 protected static final void assertAvailability(int actualValue, int expectedValue) { in assertAvailability() argument 61 actualValue, availabilityToString(actualValue), in assertAvailability() 63 .that(actualValue).isEqualTo(expectedValue); in assertAvailability()
|
/packages/services/Car/tests/carservice_test/src/com/android/car/ |
D | CarVendorExtensionManagerTest.java | 143 int actualValue = mManager.getGlobalProperty(Integer.class, CUSTOM_GLOBAL_INT_PROP_ID); in testIntGlobalProperty() local 144 assertEquals(value, actualValue); in testIntGlobalProperty() 156 float actualValue = mManager.getProperty( in testFloatZonedProperty() local 158 assertEquals(value, actualValue, EPS); in testFloatZonedProperty() 241 Long actualValue = mManager.getGlobalProperty( in testLongProperty() local 245 assertEquals(expectedValue, actualValue); in testLongProperty()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | ByteBufferReaderTest.java | 147 String actualValue = ByteBufferReader.readString( in readString() local 149 assertEquals(expectedValue, actualValue); in readString() 166 String actualValue = in readStringWithByteLength() local 168 assertEquals(expectedValue, actualValue); in readStringWithByteLength()
|
/packages/services/Car/tests/vehiclehal_test/src/com/android/car/vehiclehal/test/ |
D | E2ePerformanceTest.java | 162 boolean actualValue = mgr.getBooleanProperty(PROP, 1); in benchmarkSetGetFromSingleClient() 163 assertEquals(value, actualValue); in benchmarkSetGetFromSingleClient() 235 float actualValue; in invokeSetAndGetForHvacFloat() local 237 actualValue = mgr.getFloatProperty(cfg.getPropertyId(), areaId); in invokeSetAndGetForHvacFloat() 238 assertEquals(curValue, actualValue, 0.001); in invokeSetAndGetForHvacFloat()
|
/packages/modules/NetworkStack/tests/unit/src/android/net/netlink/ |
D | StructNlMsgHdrTest.java | 60 private static void assertContains(String actualValue, String expectedSubstring) { in assertContains() argument 61 if (actualValue.contains(expectedSubstring)) return; in assertContains() 62 fail("\"" + actualValue + "\" does not contain \"" + expectedSubstring + "\""); in assertContains()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/internal/ |
D | MoreKeySpecTests.java | 306 final boolean actualValue = MoreKeySpec.getBooleanValue(actual, key); in assertGetBooleanValue() 307 assertEquals(message + " [value]", expectedValue, actualValue); in assertGetBooleanValue() 346 final int actualValue = MoreKeySpec.getIntValue(actual, key, defaultValue); in assertGetIntValue() local 347 assertEquals(message + " [value]", expectedValue, actualValue); in assertGetIntValue()
|
/packages/modules/ExtServices/java/tests/src/android/ext/services/autofill/ |
D | EditDistanceScorerTest.java | 82 public static void assertFloat(float actualValue, float expectedValue) { in assertFloat() argument 83 assertThat(actualValue).isWithin(0.01F).of(expectedValue); in assertFloat()
|
D | ExactMatchTest.java | 96 public static void assertFloat(float actualValue, float expectedValue) { in assertFloat() argument 97 assertThat(actualValue).isWithin(0.01F).of(expectedValue); in assertFloat()
|
D | CreditCardMatcherTest.java | 94 public static void assertFloat(float actualValue, float expectedValue) { in assertFloat() argument 95 assertThat(actualValue).isWithin(0.01F).of(expectedValue); in assertFloat()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/ |
D | FloatingMenuFadePreferenceControllerTest.java | 100 final int actualValue = Settings.Secure.getInt(mContentResolver, in onPreferenceChange_floatingMenuFadeEnabled_keyFloatingMenuFadeIsOn() local 102 assertThat(actualValue).isEqualTo(ON); in onPreferenceChange_floatingMenuFadeEnabled_keyFloatingMenuFadeIsOn()
|
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
D | ConnectivityManagerTest.java | 1159 final int actualValue = mCm.getMultipathPreference(network); in assertMultipathPreferenceIsEventually() local 1160 if (actualValue == expectedValue) { in assertMultipathPreferenceIsEventually() 1163 if (actualValue != oldValue) { in assertMultipathPreferenceIsEventually()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | BaseContactsProvider2Test.java | 1115 String actualValue = cursor.getString(cursor.getColumnIndex(column)); in assertCursorValue() local 1117 String.valueOf(actualValue)); in assertCursorValue()
|