/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/entitlement/http/ |
D | StreamUtilsTest.java | 45 String expectedString = "expected"; in inputStreamToString() local 46 try (InputStream in = new ByteArrayInputStream(expectedString.getBytes(UTF_8))) { in inputStreamToString() 48 assertThat(resultString).isEqualTo(expectedString); in inputStreamToString() 67 String expectedString = "expected"; in inputStreamToStringSafe() local 68 try (InputStream in = new ByteArrayInputStream(expectedString.getBytes(UTF_8))) { in inputStreamToStringSafe() 70 assertThat(resultString).isEqualTo(expectedString); in inputStreamToStringSafe() 93 String expectedString = "expected"; in inputStreamToGunzipString() local 94 try (InputStream in = new ByteArrayInputStream(HttpClient.toGzipBytes(expectedString))) { in inputStreamToGunzipString() 96 assertThat(resultString).isEqualTo(expectedString); in inputStreamToGunzipString()
|
/packages/modules/AppSearch/testing/coretests/src/android/app/appsearch/external/util/ |
D | IndentingStringBuilderTest.java | 36 String expectedString = "\n IndentLevel1\n IndentLevel1\nIndentLevel0,\n"; in testAppendIndentedStrings() local 38 assertThat(str).isEqualTo(expectedString); in testAppendIndentedStrings() 68 String expectedString = "String\n 1\ntrue"; in testAppendIndentedObjects() local 70 assertThat(str).isEqualTo(expectedString); in testAppendIndentedObjects() 85 String expectedString = "\n\n\n\n"; in testAppendIndentedStrings_doesNotIndentLineBreak() local 87 assertThat(str).isEqualTo(expectedString); in testAppendIndentedStrings_doesNotIndentLineBreak()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hfp/ |
D | HeadsetClccResponseTest.java | 74 String expectedString = in buildString() local 91 assertThat(response.toString()).isEqualTo(expectedString); in buildString() 109 String expectedString = in buildString_withNoNumber() local 126 assertThat(response.toString()).isEqualTo(expectedString); in buildString_withNoNumber()
|
D | HeadsetVendorSpecificResultCodeTest.java | 64 String expectedString = in buildString() local 73 assertThat(builder.toString()).isEqualTo(expectedString); in buildString()
|
/packages/services/Car/tests/carservice_test/src/com/android/car/ |
D | CarVendorExtensionManagerTest.java | 215 String expectedString = generateRandomString(2 * MILLION, in testLargeStringProperty() local 221 expectedString); in testLargeStringProperty() 227 assertEquals(expectedString, actualString); in testLargeStringProperty() 232 final String expectedString = "εὕρηκα!"; // Test some utf as well. in testStringProperty() local 237 expectedString); in testStringProperty() 243 assertEquals(expectedString, actualString); in testStringProperty()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hfpclient/ |
D | StackEventTest.java | 38 String expectedString = in toString_returnsInfo() local 56 assertThat(event.toString()).isEqualTo(expectedString); in toString_returnsInfo()
|
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
D | InetAddressesTest.java | 84 public void parseNumericAddress(String address, String expectedString) { in parseNumericAddress() argument 86 assertEquals(expectedString, inetAddress.getHostAddress()); in parseNumericAddress()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/ |
D | MagnificationCapabilitiesTest.java | 61 final String expectedString = mContext.getString( in getSummary_fullScreenMode_expectedSummary() local 63 assertThat(actualString).isEqualTo(expectedString); in getSummary_fullScreenMode_expectedSummary()
|
/packages/modules/AdServices/adservices/tests/cts/src/android/adservices/cts/ |
D | AppInstallFiltersTest.java | 117 final String expectedString = in testToString() local 119 assertThat(originalFilters.toString()).isEqualTo(expectedString); in testToString()
|
D | FrequencyCapFiltersTest.java | 160 final String expectedString = in testToString() local 170 assertThat(originalFilters.toString()).isEqualTo(expectedString); in testToString()
|
D | KeyedFrequencyCapTest.java | 156 final String expectedString = in testToString() local 162 assertThat(originalCap.toString()).isEqualTo(expectedString); in testToString()
|
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/discovery/ble/ |
D | DiscoveryAdvertisementTest.java | 199 final String expectedString = in fromBytes_succeed() local 209 assertThat(ADVERTISEMENT.toString()).isEqualTo(expectedString); in fromBytes_succeed()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/avrcpcontroller/ |
D | AvrcpCoverArtStorageTest.java | 332 String expectedString = in toString_returnsDeviceInfo() local 345 Assert.assertEquals(expectedString, mAvrcpCoverArtStorage.toString()); in toString_returnsDeviceInfo()
|
/packages/modules/StatsD/lib/libstatssocket/tests/ |
D | stats_event_test.cpp | 77 void checkString(uint8_t** buffer, const string& expectedString) { in checkString() argument 80 EXPECT_EQ(parsedString, expectedString); in checkString()
|
/packages/apps/DeskClock/tests/src/com/android/deskclock/timer/ |
D | TimerFragmentTest.java | 669 final String expectedString = Arrays.toString(expected); in assertIndicatorsEquals() local 671 fail(String.format("Expected %s, found %s", expectedString, actualString)); in assertIndicatorsEquals()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | WifiHealthMonitorTest.java | 601 String expectedString = "authentication failure: 11 "; in testFailureStats() local 605 assertEquals(true, failureStats.toString().contains(expectedString)); in testFailureStats()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/kanon/ |
D | KAnonCallerImplTest.java | 677 String expectedString = in getPathToJoinInBinaryHttp_shouldReturnCorrectString() local 690 assertThat(actualString).isEqualTo(expectedString); in getPathToJoinInBinaryHttp_shouldReturnCorrectString()
|
/packages/apps/TV/libs/ |
D | truth-0.45.jar | META-INF/
META-INF/MANIFEST.MF
com/
com/google/
com/ ... |