/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/ |
D | I18NameTest.java | 40 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()
|
D | VenueNameElementTest.java | 44 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()
|
D | HSFriendlyNameElementTest.java | 44 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()
|
D | IconInfoTestUtil.java | 30 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()
|
D | IconInfoTest.java | 38 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/ |
D | DevInfoMoTest.java | 41 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/ |
D | ANQPDataTest.java | 60 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()
|
D | AnqpCacheTest.java | 56 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()
|
D | ServiceProviderVerifierTest.java | 64 private static final String TEST_LANGUAGE = "eng"; field in ServiceProviderVerifierTest 66 TEST_LANGUAGE).build(); 170 new DERUTF8String(TEST_LANGUAGE + TEST_FRIENDLY_NAME))); in testValidEntryFromGetSubjectAlternativeNamesShouldReturnList()
|
D | PasspointProvisionerTest.java | 122 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/ |
D | PostDevDataMessageTest.java | 57 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/ |
D | LeAudioBroadcastServiceTest.java | 110 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/ |
D | BassClientServiceTest.java | 137 private static final String TEST_LANGUAGE = "deu"; field in BassClientServiceTest 177 .setLanguage(TEST_LANGUAGE) in createBroadcastSubgroup()
|