20 #ifndef AAMP_MOCK_SEC_CLIENT_H
21 #define AAMP_MOCK_SEC_CLIENT_H
23 #include <sys/types.h>
25 #include "sec_security_datatype.h"
26 #include "sec_client.h"
27 #include <gmock/gmock.h>
32 MOCK_METHOD(int32_t, SecClient_AcquireLicense, (
const char *serviceHostUrl,
33 uint8_t numberOfRequestMetadataKeys,
34 const char *requestMetadata[][2],
35 uint8_t numberOfAccessAttributes,
36 const char *accessAttributes[][2],
37 const char *contentMetadata,
38 size_t contentMetadataLength,
39 const char *licenseRequest,
40 size_t licenseRequestLength,
41 const char *keySystemId,
42 const char *mediaUsage,
43 const char *accessToken,
44 char **licenseResponse,
45 size_t *licenseResponseLength,
46 uint32_t *refreshDurationSeconds));
47 MOCK_METHOD(int32_t, SecClient_FreeResource, (
const char *resource));