Home
last modified time | relevance | path

Searched refs:testString (Results 1 – 14 of 14) sorted by relevance

/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/btservice/storage/
DDatabaseManagerTest.java823 String testString = "TEST STRING"; in testDatabaseMigration_101_102() local
847 device.put("manufacturer_name", testString); in testDatabaseMigration_101_102()
848 device.put("model_name", testString); in testDatabaseMigration_101_102()
849 device.put("software_version", testString); in testDatabaseMigration_101_102()
850 device.put("hardware_version", testString); in testDatabaseMigration_101_102()
851 device.put("companion_app", testString); in testDatabaseMigration_101_102()
852 device.put("main_icon", testString); in testDatabaseMigration_101_102()
853 device.put("is_unthethered_headset", testString); in testDatabaseMigration_101_102()
854 device.put("unthethered_left_icon", testString); in testDatabaseMigration_101_102()
855 device.put("unthethered_right_icon", testString); in testDatabaseMigration_101_102()
[all …]
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/util/
DGsmAlphabetTest.java45 StringBuilder testString = new StringBuilder(300); in gsm7BitPackedToString() local
49 testString.toString()); in gsm7BitPackedToString()
51 .isEqualTo(testString.toString()); in gsm7BitPackedToString()
54 for (int i = 0; i < 9; i++, testString.append('@')) { in gsm7BitPackedToString()
57 testString.toString()); in gsm7BitPackedToString()
59 .isEqualTo(testString.toString()); in gsm7BitPackedToString()
63 testString.append(GSM_EXTENDED_CHARS); in gsm7BitPackedToString()
66 testString.toString()); in gsm7BitPackedToString()
68 .isEqualTo(testString.toString()); in gsm7BitPackedToString()
71 testString.setLength(0); in gsm7BitPackedToString()
[all …]
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/data/
DUwbRangingDataTest.java118 final String testString = "UwbRangingData { " in testInitializeUwbRangingData_withUwbTwoWayMeasurement() local
130 assertThat(mUwbRangingData.toString()).isEqualTo(testString); in testInitializeUwbRangingData_withUwbTwoWayMeasurement()
155 final String testString = "UwbRangingData { " in testInitializeUwbRangingData_withUwbOwrAoaMeasurement() local
167 assertThat(mUwbRangingData.toString()).isEqualTo(testString); in testInitializeUwbRangingData_withUwbOwrAoaMeasurement()
201 final String testString = "UwbRangingData { " in testInitializeUwbRangingData_withUwbDlTDoAMeasurement() local
213 assertThat(mUwbRangingData.toString()).isEqualTo(testString); in testInitializeUwbRangingData_withUwbDlTDoAMeasurement()
DUwbRadarSweepDataTest.java56 final String testString = in testInitializeUwbRadarSweepData() local
68 assertEquals(uwbRadarSweepData.toString(), testString); in testInitializeUwbRadarSweepData() local
DUwbRadarDataTest.java89 final String testString = in testInitializeUwbRadarData_withUwbRadarSweepData() local
107 assertEquals(uwbRadarData.toString(), testString); in testInitializeUwbRadarData_withUwbRadarSweepData() local
DUwbOwrAoaMeasurementTest.java77 final String testString = "UwbOwrAoaMeasurement { " in testInitializeUwbOwrAoaMeasurement() local
89 assertThat(mUwbOwrAoaMeasurement.toString()).isEqualTo(testString); in testInitializeUwbOwrAoaMeasurement()
DUwbMulticastListUpdateStatusTest.java75 final String testString = "UwbMulticastListUpdateEvent { " in testInitializeUwbMulticastListUpdateStatus() local
84 assertThat(mUwbMulticastListUpdateStatus.toString()).isEqualTo(testString); in testInitializeUwbMulticastListUpdateStatus()
/packages/modules/ImsMedia/tests/native/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/text/nodes/
DTextRendererNodeTest.cpp141 String8 testString = String8("hello"); in TEST_F() local
149 std::unique_ptr<char> tempBuffer2(new char[testString.length()]); in TEST_F()
150 memcpy(tempBuffer2.get(), testString.c_str(), testString.length()); in TEST_F()
153 reinterpret_cast<uint8_t*>(tempBuffer2.get()), testString.length(), 1, false, 1); in TEST_F()
156 EXPECT_EQ(mFakeCallback->getReceivedText(), testString); in TEST_F()
/packages/apps/Settings/tests/robotests/src/com/android/settings/widget/
DEntityHeaderControllerTest.java117 final String testString = "test"; in bindViews_shouldBindAllData() local
126 mController.setLabel(testString); in bindViews_shouldBindAllData()
127 mController.setSummary(testString); in bindViews_shouldBindAllData()
128 mController.setSecondSummary(testString); in bindViews_shouldBindAllData()
133 assertThat(label.getText()).isEqualTo(testString); in bindViews_shouldBindAllData()
135 assertThat(summary.getText()).isEqualTo(testString); in bindViews_shouldBindAllData()
137 assertThat(secondSummary.getText()).isEqualTo(testString); in bindViews_shouldBindAllData()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/signature/
DBinarySerializerSignedContextualAdsTest.java61 String testString = "Hello"; in testWriteString() local
62 mSerializer.writeString(testString); in testWriteString()
63 assertThat(bytesToString(mSerializer.getBytes())).isEqualTo(testString); in testWriteString()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DCarTestServiceUnitTest.java63 String testString = "abcdefgh"; in testDumpVhal() local
65 resultBuilder.append(testString); in testDumpVhal()
/packages/modules/StatsD/lib/libstatssocket/tests/
Dstats_event_test.cpp540 const std::string testString(4039, 'A'); in TEST() local
546 AStatsEvent_writeString(event, testString.c_str()); in TEST()
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DDscpPolicyTest.kt303 val testString = "test string" in <lambda>() constant
304 val testPacket = ByteBuffer.wrap(testString.toByteArray(Charsets.UTF_8)) in <lambda>()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/util/
DFileUtilsTest.java153 public void testString() throws Exception { in testString() method in FileUtilsTest