Home
last modified time | relevance | path

Searched refs:actualValue (Results 1 – 15 of 15) sorted by relevance

/packages/modules/ExtServices/java/src/android/ext/services/autofill/
DExactMatch.java39 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()
DCreditCardMatcher.java70 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()
DEditDistanceScorer.java37 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/
DBasePreferenceControllerTestCase.java59 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/
DCarVendorExtensionManagerTest.java143 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/
DByteBufferReaderTest.java147 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/
DE2ePerformanceTest.java162 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/
DStructNlMsgHdrTest.java60 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/
DMoreKeySpecTests.java306 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/
DEditDistanceScorerTest.java82 public static void assertFloat(float actualValue, float expectedValue) { in assertFloat() argument
83 assertThat(actualValue).isWithin(0.01F).of(expectedValue); in assertFloat()
DExactMatchTest.java96 public static void assertFloat(float actualValue, float expectedValue) { in assertFloat() argument
97 assertThat(actualValue).isWithin(0.01F).of(expectedValue); in assertFloat()
DCreditCardMatcherTest.java94 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/
DFloatingMenuFadePreferenceControllerTest.java100 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/
DConnectivityManagerTest.java1159 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/
DBaseContactsProvider2Test.java1115 String actualValue = cursor.getString(cursor.getColumnIndex(column)); in assertCursorValue() local
1117 String.valueOf(actualValue)); in assertCursorValue()