Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/
DI18NameTest.java134 I18Name expectedName = new I18Name(TEST_LANGUAGE, TEST_LOCALE, TEST_TEXT); in parseBufferWithDefaultTestData() local
135 assertEquals(expectedName, actualName); in parseBufferWithDefaultTestData()
151 I18Name expectedName = new I18Name(language, Locale.forLanguageTag(language), text); in parseBufferWithFrenchData() local
152 assertEquals(expectedName, actualName); in parseBufferWithFrenchData()
165 I18Name expectedName = new I18Name(TEST_LANGUAGE, TEST_LOCALE, ""); in parseBufferWithEmptyText() local
166 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.java102 private void testTimeZoneOffsetAndNameInner(String timeZoneId, String expectedName) { in testTimeZoneOffsetAndNameInner() argument
109 assertTrue(timeZoneString.toString().endsWith(expectedName)); in testTimeZoneOffsetAndNameInner()
/frameworks/base/services/tests/servicestests/src/com/android/server/audio/
DAudioDeviceBrokerTest.java223 final String expectedName = btDevice.getName() == null ? "" : btDevice.getName(); in checkSingleSystemConnection() local
228 ArgumentMatchers.eq(expectedName), in checkSingleSystemConnection()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DXmlUtil.java153 XmlPullParser in, String expectedName, int outerDepth) in gotoNextSectionWithNameOrEnd() argument
157 if (headerName[0].equals(expectedName)) { in gotoNextSectionWithNameOrEnd()
161 "Next section name does not match expected name: " + expectedName); in gotoNextSectionWithNameOrEnd()
180 XmlPullParser in, String expectedName, int outerDepth) in gotoNextSectionWithName() argument
182 if (!gotoNextSectionWithNameOrEnd(in, expectedName, outerDepth)) { in gotoNextSectionWithName()
183 throw new XmlPullParserException("Section not found. Expected: " + expectedName); in gotoNextSectionWithName()
235 public static Object readNextValueWithName(XmlPullParser in, String expectedName) in readNextValueWithName() argument
240 if (valueName[0].equals(expectedName)) { in readNextValueWithName()
244 "Value not found. Expected: " + expectedName + ", but got: " + valueName[0]); in readNextValueWithName()
/frameworks/base/packages/Shell/tests/src/com/android/shell/
DBugreportReceiverTest.java873 String expectedName = "screenshot-" + prefix + "-" + i + ".png"; in assertActionSendMultiple() local
874 expectedNames.add(expectedName); in assertActionSendMultiple()