Searched refs:expectedData (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | KernelCpuUidBpfMapReaderTest.java | 182 private void testOpenAndReadData(SparseArray<long[]> expectedData) { in testOpenAndReadData() argument 185 if (expectedData.size() > 0) { in testOpenAndReadData() 186 actual = new long[expectedData.valueAt(0).length + 1]; in testOpenAndReadData() 190 for (int i = 0; i < expectedData.size(); i++) { in testOpenAndReadData() 192 assertEquals(expectedData.keyAt(i), actual[0]); in testOpenAndReadData() 193 … assertArrayEquals(expectedData.valueAt(i), Arrays.copyOfRange(actual, 1, actual.length)); in testOpenAndReadData()
|
/frameworks/base/cmds/statsd/tests/shell/ |
D | ShellSubscriber_test.cpp | 43 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()
|
/frameworks/base/core/tests/coretests/src/android/app/backup/ |
D | BackupDataTest.java | 262 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()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | NetworkListStoreDataTest.java | 475 byte[] expectedData = getTestNetworksXmlBytes(networkList.get(0), networkList.get(1), in serializeSharedConfigurations() 478 assertArrayEquals(expectedData, serializeData()); in serializeSharedConfigurations()
|