Searched refs:expectedByteArray (Results 1 – 2 of 2) sorted by relevance
/packages/modules/AdServices/adservices/tests/unittest/framework/src/android/adservices/adselection/ |
D | AdSelectionManagerTest.java | 191 byte[] expectedByteArray = getRandomByteArray(TYPICAL_PAYLOAD_SIZE_BYTES); in testAdSelectionManagerGetAdSelectionDataWhenResultIsByteArray() 194 getAdSelectionDataResponseWithByteArray(expectedAdSelectionId, expectedByteArray)); in testAdSelectionManagerGetAdSelectionDataWhenResultIsByteArray() 215 assertArrayEquals(expectedByteArray, outcomeReceiver.getResult().getAdSelectionData()); in testAdSelectionManagerGetAdSelectionDataWhenResultIsByteArray() 225 byte[] expectedByteArray = getRandomByteArray(TYPICAL_PAYLOAD_SIZE_BYTES); in testAdSelectionManagerGetAdSelectionDataCoordinatorWasPassed() 228 getAdSelectionDataResponseWithByteArray(expectedAdSelectionId, expectedByteArray)); in testAdSelectionManagerGetAdSelectionDataCoordinatorWasPassed() 259 byte[] expectedByteArray = getRandomByteArray(TYPICAL_PAYLOAD_SIZE_BYTES); in testAdSelectionManagerGetAdSelectionDataWhenResultIsAssetFileDescriptor() 263 expectedAdSelectionId, expectedByteArray, BLOCKING_EXECUTOR)); in testAdSelectionManagerGetAdSelectionDataWhenResultIsAssetFileDescriptor() 283 assertArrayEquals(expectedByteArray, outcomeReceiver.getResult().getAdSelectionData()); in testAdSelectionManagerGetAdSelectionDataWhenResultIsAssetFileDescriptor() 295 byte[] expectedByteArray = getRandomByteArray(EXCESSIVE_PAYLOAD_SIZE_BYTES); in testAdSelectionManagerGetAdSelectionDataWhenResultIsAssetFileDescriptorWithExcessiveSize() 299 expectedAdSelectionId, expectedByteArray, BLOCKING_EXECUTOR)); in testAdSelectionManagerGetAdSelectionDataWhenResultIsAssetFileDescriptorWithExcessiveSize() [all …]
|
/packages/modules/StatsD/lib/libstatssocket/tests/ |
D | stats_event_test.cpp | 84 void checkByteArray(uint8_t** buffer, const vector<uint8_t>& expectedByteArray) { in checkByteArray() argument 87 EXPECT_EQ(parsedByteArray, expectedByteArray); in checkByteArray()
|