Home
last modified time | relevance | path

Searched refs:expectedByteArray (Results 1 – 2 of 2) sorted by relevance

/packages/modules/AdServices/adservices/tests/unittest/framework/src/android/adservices/adselection/
DAdSelectionManagerTest.java186 byte[] expectedByteArray = getRandomByteArray(TYPICAL_PAYLOAD_SIZE_BYTES); in testAdSelectionManagerGetAdSelectionDataWhenResultIsByteArray()
189 getAdSelectionDataResponseWithByteArray(expectedAdSelectionId, expectedByteArray)); in testAdSelectionManagerGetAdSelectionDataWhenResultIsByteArray()
202 assertArrayEquals(expectedByteArray, outcomeReceiver.getResult().getAdSelectionData()); in testAdSelectionManagerGetAdSelectionDataWhenResultIsByteArray()
207 byte[] expectedByteArray = getRandomByteArray(TYPICAL_PAYLOAD_SIZE_BYTES); in testAdSelectionManagerGetAdSelectionDataCoordinatorWasPassed()
212 expectedAdSelectionId, expectedByteArray)); in testAdSelectionManagerGetAdSelectionDataCoordinatorWasPassed()
235 byte[] expectedByteArray = getRandomByteArray(TYPICAL_PAYLOAD_SIZE_BYTES); in testAdSelectionManagerGetAdSelectionSellerConfigurationWasPassed()
240 expectedAdSelectionId, expectedByteArray)); in testAdSelectionManagerGetAdSelectionSellerConfigurationWasPassed()
264 byte[] expectedByteArray = getRandomByteArray(TYPICAL_PAYLOAD_SIZE_BYTES); in testAdSelectionManagerGetAdSelectionDataWhenResultIsAssetFileDescriptor()
268 expectedAdSelectionId, expectedByteArray, BLOCKING_EXECUTOR)); in testAdSelectionManagerGetAdSelectionDataWhenResultIsAssetFileDescriptor()
283 assertArrayEquals(expectedByteArray, outcomeReceiver.getResult().getAdSelectionData()); in testAdSelectionManagerGetAdSelectionDataWhenResultIsAssetFileDescriptor()
[all …]
/packages/modules/StatsD/lib/libstatssocket/tests/
Dstats_event_test.cpp87 void checkByteArray(uint8_t** buffer, const vector<uint8_t>& expectedByteArray) { in checkByteArray() argument
90 EXPECT_EQ(parsedByteArray, expectedByteArray); in checkByteArray()