Searched refs:round_trip (Results 1 – 1 of 1) sorted by relevance
/system/keymaster/tests/ |
D | android_keymaster_messages_test.cpp | 34 Message* round_trip(int32_t ver, const Message& message, size_t expected_size) { in round_trip() function 71 UniquePtr<EmptyKeymasterResponse> deserialized(round_trip(ver, msg, 5)); in TEST() 80 UniquePtr<EmptyKeymasterResponse> deserialized(round_trip(ver, msg, 4)); in TEST() 89 UniquePtr<SupportedByAlgorithmRequest> deserialized(round_trip(ver, req, 4)); in TEST() 100 UniquePtr<SupportedByAlgorithmAndPurposeRequest> deserialized(round_trip(ver, req, 8)); in TEST() 113 UniquePtr<SupportedResponse<keymaster_digest_t>> deserialized(round_trip(ver, rsp, 20)); in TEST() 134 UniquePtr<GenerateKeyRequest> deserialized(round_trip(ver, req, 78)); in TEST() 147 UniquePtr<GenerateKeyResponse> deserialized(round_trip(ver, rsp, 109)); in TEST() 162 UniquePtr<GenerateKeyResponse> deserialized(round_trip(ver, rsp, 4)); in TEST() 176 UniquePtr<GetKeyCharacteristicsRequest> deserialized(round_trip(ver, req, 85)); in TEST() [all …]
|