Home
last modified time | relevance | path

Searched refs:expectedData (Results 1 – 9 of 9) sorted by relevance

/aosp12/build/soong/sh/
H A Dsh_binary_test.go82 expectedData := []string{":testdata/data1", ":testdata/sub/data2"}
84 android.AssertDeepEquals(t, "LOCAL_TEST_DATA", expectedData, actualData)
132 expectedData := []string{
137 …android.AssertStringPathsRelativeToTopEquals(t, "LOCAL_TEST_DATA", config, expectedData, actualDat…
197 expectedData := []string{
203 …android.AssertStringPathsRelativeToTopEquals(t, "LOCAL_TEST_DATA", config, expectedData, actualDat…
/aosp12/system/chre/apps/test/chqts/src/general_test/
H A Dsend_event_test.cc199 void *expectedData; in handleEvent() local
201 expectedData = &mData[mNextNum]; in handleEvent()
203 expectedData = nullptr; in handleEvent()
205 expectedData = kOddData; in handleEvent()
227 if (expectedData != eventData) { in handleEvent()
/aosp12/frameworks/base/core/tests/coretests/src/com/android/internal/os/
H A DKernelCpuUidBpfMapReaderTest.java197 private void testOpenAndReadData(SparseArray<long[]> expectedData) { in testOpenAndReadData() argument
200 if (expectedData.size() > 0) { in testOpenAndReadData()
201 actual = new long[expectedData.valueAt(0).length + 1]; in testOpenAndReadData()
205 for (int i = 0; i < expectedData.size(); i++) { in testOpenAndReadData()
207 assertEquals(expectedData.keyAt(i), actual[0]); in testOpenAndReadData()
208 … assertArrayEquals(expectedData.valueAt(i), Arrays.copyOfRange(actual, 1, actual.length)); in testOpenAndReadData()
/aosp12/packages/modules/StatsD/statsd/tests/shell/
H A DShellSubscriber_test.cpp43 const ShellData& expectedData) { in runShellTest() argument
97 EXPECT_EQ(expectedData.ByteSize(), int(dataSize)); in runShellTest()
109 vector<uint8_t> expectedAtomBuffer(expectedData.ByteSize()); in runShellTest()
110 expectedData.SerializeToArray(expectedAtomBuffer.data(), expectedData.ByteSize()); in runShellTest()
/aosp12/packages/services/Car/tests/carservice_test/src/com/android/car/
H A DCarVendorExtensionManagerTest.java163 final byte[] expectedData = new byte[] { 1, 2, 3, 4, -1, 127, -127, 0 }; in testByteArrayProperty()
169 expectedData); in testByteArrayProperty()
175 assertEquals(Arrays.toString(expectedData), Arrays.toString(actualData)); in testByteArrayProperty()
181 byte[] expectedData = new byte[2 * MILLION]; in testLargeByteArrayProperty()
184 .nextBytes(expectedData); in testLargeByteArrayProperty()
190 expectedData); in testLargeByteArrayProperty()
196 Assert.assertArrayEquals(expectedData, actualData); in testLargeByteArrayProperty()
/aosp12/frameworks/base/core/tests/coretests/src/android/app/backup/
H A DBackupDataTest.java262 private void readAndVerifyEntity(BackupDataInput bdi, String expectedKey, byte[] expectedData) in readAndVerifyEntity() argument
267 expectedData.length, bdi.getDataSize()); in readAndVerifyEntity()
271 expectedData.length, data.length); in readAndVerifyEntity()
274 expectedData[i], data[i]); in readAndVerifyEntity()
/aosp12/system/core/libutils/
H A DLooper_test.cpp357 void* expectedData = this; in TEST_F() local
362 mLooper->addFd(pipe.receiveFd, expectedIdent, Looper::EVENT_INPUT, nullptr, expectedData); in TEST_F()
381 EXPECT_EQ(expectedData, data) in TEST_F()
/aosp12/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
H A DNetworkListStoreDataTest.java545 byte[] expectedData = getTestNetworksXmlBytes(networkList.get(0), networkList.get(1), in serializeSharedConfigurations()
548 assertEquals(new String(expectedData, StandardCharsets.UTF_8), in serializeSharedConfigurations()
/aosp12/hardware/interfaces/graphics/mapper/4.0/vts/functional/
H A DVtsHalGraphicsMapperV4_0TargetTest.cpp340 [](auto address, auto expectedData) { EXPECT_EQ(*address, expectedData); }); in verifyYCbCr888Data() argument