Home
last modified time | relevance | path

Searched refs:TEST_LANGUAGE (Results 1 – 13 of 13) sorted by relevance

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/
DI18NameTest.java40 private static final String TEST_LANGUAGE = "en"; field in I18NameTest
41 private static final Locale TEST_LOCALE = Locale.forLanguageTag(TEST_LANGUAGE);
68 return getTestData(TEST_LANGUAGE, TEST_TEXT); in getDefaultTestData()
134 I18Name expectedName = new I18Name(TEST_LANGUAGE, TEST_LOCALE, TEST_TEXT); in parseBufferWithDefaultTestData()
163 byte[] data = getTestData(TEST_LANGUAGE, ""); in parseBufferWithEmptyText()
165 I18Name expectedName = new I18Name(TEST_LANGUAGE, TEST_LOCALE, ""); in parseBufferWithEmptyText()
DVenueNameElementTest.java44 private static final String TEST_LANGUAGE = "en"; field in VenueNameElementTest
45 private static final Locale TEST_LOCALE = Locale.forLanguageTag(TEST_LANGUAGE);
60 stream.write(TEST_LANGUAGE.getBytes(StandardCharsets.US_ASCII)); in appendVenue()
126 nameList.add(new I18Name(TEST_LANGUAGE, TEST_LOCALE, TEST_VENUE_NAME1)); in parseBufferWithValidVenueNames()
127 nameList.add(new I18Name(TEST_LANGUAGE, TEST_LOCALE, TEST_VENUE_NAME2)); in parseBufferWithValidVenueNames()
151 nameList.add(new I18Name(TEST_LANGUAGE, TEST_LOCALE, text)); in parseBufferWithMaxLengthVenueName()
DHSFriendlyNameElementTest.java44 private static final String TEST_LANGUAGE = "en"; field in HSFriendlyNameElementTest
45 private static final Locale TEST_LOCALE = Locale.forLanguageTag(TEST_LANGUAGE);
61 stream.write(TEST_LANGUAGE.getBytes(StandardCharsets.US_ASCII)); in appendOperatorName()
122 nameList.add(new I18Name(TEST_LANGUAGE, TEST_LOCALE, TEST_OPERATOR_NAME1)); in parseBufferWithDefaultTestData()
123 nameList.add(new I18Name(TEST_LANGUAGE, TEST_LOCALE, TEST_OPERATOR_NAME2)); in parseBufferWithDefaultTestData()
148 nameList.add(new I18Name(TEST_LANGUAGE, TEST_LOCALE, text)); in parseBufferWithMaxLengthOperatoreName()
DIconInfoTestUtil.java30 private static final String TEST_LANGUAGE = "en"; field in IconInfoTestUtil
38 new IconInfo(TEST_WIDTH, TEST_HEIGHT, TEST_LANGUAGE, TEST_TYPE, TEST_FILENAME);
55 out.write(TEST_LANGUAGE.getBytes(StandardCharsets.US_ASCII)); in getTestData()
DIconInfoTest.java38 private static final String TEST_LANGUAGE = "language"; field in IconInfoTest
43 new IconInfo(TEST_WIDTH, TEST_HEIGHT, TEST_LANGUAGE, TEST_ICON_TYPE, TEST_FILE_NAME);
57 assertEquals(TEST_LANGUAGE, TEST_ICON_INFO.getLanguage()); in testGetLanguage()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/omadm/
DDevInfoMoTest.java41 private static final String TEST_LANGUAGE = "en"; field in DevInfoMoTest
49 when(systemInfo.getLanguage()).thenReturn(TEST_LANGUAGE); in serializeDevInfo()
62 TEST_MODEL, MoSerializer.DM_VERSION, TEST_LANGUAGE); in serializeDevInfo()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/
DANQPDataTest.java60 private static final String TEST_LANGUAGE = "en"; field in ANQPDataTest
61 private static final Locale TEST_LOCALE = Locale.forLanguageTag(TEST_LANGUAGE);
120 nameList.add(new I18Name(TEST_LANGUAGE, TEST_LOCALE, TEST_VENUE_NAME1)); in createWithElementsAndUpdate()
140 nameList.add(new I18Name(TEST_LANGUAGE, TEST_LOCALE, TEST_VENUE_NAME2)); in createWithElementsAndUpdate()
160 nameList.add(new I18Name(TEST_LANGUAGE, TEST_LOCALE, TEST_VENUE_NAME1)); in testDataLifetime()
DAnqpCacheTest.java56 private static final String TEST_LANGUAGE = "en"; field in AnqpCacheTest
57 private static final Locale TEST_LOCALE = Locale.forLanguageTag(TEST_LANGUAGE);
153 nameList.add(new I18Name(TEST_LANGUAGE, TEST_LOCALE, TEST_VENUE_NAME1)); in addThenUpdateAndGetEntry()
154 nameList.add(new I18Name(TEST_LANGUAGE, TEST_LOCALE, TEST_VENUE_NAME2)); in addThenUpdateAndGetEntry()
DServiceProviderVerifierTest.java64 private static final String TEST_LANGUAGE = "eng"; field in ServiceProviderVerifierTest
66 TEST_LANGUAGE).build();
170 new DERUTF8String(TEST_LANGUAGE + TEST_FRIENDLY_NAME))); in testValidEntryFromGetSubjectAlternativeNamesShouldReturnList()
DPasspointProvisionerTest.java122 private static final String TEST_LANGUAGE = "en"; field in PasspointProvisionerTest
235 when(mSystemInfo.getLanguage()).thenReturn(TEST_LANGUAGE); in setUp()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/soap/
DPostDevDataMessageTest.java57 private static final String TEST_LANGUAGE = "en"; field in PostDevDataMessageTest
83 when(mSystemInfo.getLanguage()).thenReturn(TEST_LANGUAGE); in setUp()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/le_audio/
DLeAudioBroadcastServiceTest.java110 private static final String TEST_LANGUAGE = "deu"; field in LeAudioBroadcastServiceTest
574 .setLanguage(TEST_LANGUAGE) in createBroadcastSubgroup()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/bass_client/
DBassClientServiceTest.java137 private static final String TEST_LANGUAGE = "deu"; field in BassClientServiceTest
177 .setLanguage(TEST_LANGUAGE) in createBroadcastSubgroup()