Searched refs:badDescriptor (Results 1 – 1 of 1) sorted by relevance
661 uint8_t badDescriptor[sizeof(kEcmBinaryBuffer)]; in TEST_F() local662 memcpy(badDescriptor, kEcmBinaryBuffer, sizeof(kEcmBinaryBuffer)); in TEST_F()663 badDescriptor[17] = 0x03; // change the descriptor count field to 3 (invalid) in TEST_F()664 hidlEcm.setToExternal(static_cast<uint8_t*>(badDescriptor), sizeof(badDescriptor)); in TEST_F()