Home
last modified time | relevance | path

Searched refs:expectedName (Results 1 – 6 of 6) sorted by relevance

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/
DI18NameTest.java132 I18Name expectedName = new I18Name(TEST_LANGUAGE, TEST_LOCALE, TEST_TEXT); in parseBufferWithDefaultTestData() local
133 assertEquals(expectedName, actualName); in parseBufferWithDefaultTestData()
149 I18Name expectedName = new I18Name(language, Locale.forLanguageTag(language), text); in parseBufferWithFrenchData() local
150 assertEquals(expectedName, actualName); in parseBufferWithFrenchData()
163 I18Name expectedName = new I18Name(TEST_LANGUAGE, TEST_LOCALE, ""); in parseBufferWithEmptyText() local
164 assertEquals(expectedName, actualName); in parseBufferWithEmptyText()
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/
DVCardBuilderTest.java49 final String expectedName = "N" + expectedCommon + ";;;;"; in testVCardNameFieldFromDisplayName() local
52 assertTrue("Actual value:\n" + actual + " expected to contain\n" + expectedName + in testVCardNameFieldFromDisplayName()
53 "\nbut does not.", actual.contains(expectedName)); in testVCardNameFieldFromDisplayName()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
DPreconditions.java65 String expectedName, T expectedValue) { in checkEquals() argument
70 argName, expectedName, arg, expectedValue)); in checkEquals()
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/utils/
DZoneGetterTest.java100 private void testTimeZoneOffsetAndNameInner(String timeZoneId, String expectedName) { in testTimeZoneOffsetAndNameInner() argument
107 assertTrue(timeZoneString.toString().endsWith(expectedName)); in testTimeZoneOffsetAndNameInner()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DXmlUtil.java147 XmlPullParser in, String expectedName, int outerDepth) in gotoNextSectionWithNameOrEnd() argument
151 if (headerName[0].equals(expectedName)) { in gotoNextSectionWithNameOrEnd()
155 "Next section name does not match expected name: " + expectedName); in gotoNextSectionWithNameOrEnd()
174 XmlPullParser in, String expectedName, int outerDepth) in gotoNextSectionWithName() argument
176 if (!gotoNextSectionWithNameOrEnd(in, expectedName, outerDepth)) { in gotoNextSectionWithName()
177 throw new XmlPullParserException("Section not found. Expected: " + expectedName); in gotoNextSectionWithName()
229 public static Object readNextValueWithName(XmlPullParser in, String expectedName) in readNextValueWithName() argument
234 if (valueName[0].equals(expectedName)) { in readNextValueWithName()
238 "Value not found. Expected: " + expectedName + ", but got: " + valueName[0]); in readNextValueWithName()
/frameworks/base/packages/Shell/tests/src/com/android/shell/
DBugreportReceiverTest.java871 String expectedName = "screenshot-" + prefix + "-" + i + ".png"; in assertActionSendMultiple() local
872 expectedNames.add(expectedName); in assertActionSendMultiple()