This CL is a merge from the widevine repo of: http://go/wvgerrit/16491 Circular Buffer http://go/wvgerrit/16512 Circular Buffer Tests http://go/wvgerrit/16493 Entry Writer http://go/wvgerrit/16495 Profiled Scope http://go/wvgerrit/16500 Stats Collection http://go/wvgerrit/16543 Disallow Stats Copy or Assign http://go/wvgerrit/16514 Moving OEM Function Enum http://go/wvgerrit/16501 Defining Session Interface http://go/wvgerrit/16502 Session Definitions http://go/wvgerrit/16573 Remove code to num bytes table http://go/wvgerrit/16556 Connecting Profiler to Profiled Scope http://go/wvgerrit/16557 Android Reading Profiler History http://go/wvgerrit/16574 Adding Get Stats Method http://go/wvgerrit/16606 Seperating Session Parsing http://go/wvgerrit/16607 Adding get stats method to DRMPlugin http://go/wvgerrit/16608 Fixing Linux Build Failure http://go/wvgerrit/16612 Stop Clearing History http://go/wvgerrit/16613 Accessing profiler information using session id http://go/wvgerrit/16614 Making All Session Subsets of Global Session BUG: 25123303 BUG: 26027857 Change-Id: Ie2422e644aa631871852ea0e461695aeb7060f88
60 lines
1.7 KiB
C++
60 lines
1.7 KiB
C++
// Copyright 2016 Google Inc. All Rights Reserved.
|
|
|
|
#ifndef WVCDM_PROFILER_OEM_FUNCTIONS_H_
|
|
#define WVCDM_PROFILER_OEM_FUNCTIONS_H_
|
|
|
|
namespace wvcdm {
|
|
namespace oemprofiler {
|
|
|
|
enum OEM_FUNCTION {
|
|
OEM_FUNCTION_OPEN_SESSION = 0,
|
|
OEM_FUNCTION_COPY_BUFFER,
|
|
OEM_FUNCTION_INSTALL_KEYBOX,
|
|
OEM_FUNCTION_IS_KEYBOX_VALID,
|
|
OEM_FUNCTION_GET_DEVICE_ID,
|
|
OEM_FUNCTION_GET_KEY_DATA,
|
|
OEM_FUNCTION_API_VERSION,
|
|
OEM_FUNCTION_SECURITY_PATCH_LEVEL,
|
|
OEM_FUNCTION_SECURITY_LEVEL,
|
|
OEM_FUNCTION_GET_HDCP_CAPABILITIY,
|
|
OEM_FUNCTION_SUPPORTS_USAGE_TABLE,
|
|
OEM_FUNCTION_IS_ANTI_ROLLBACK_HW_PRESENT,
|
|
OEM_FUNCTION_GET_NUMBER_OF_OPEN_SESSIONS,
|
|
OEM_FUNCTION_GET_MAX_NUMBER_OF_SESSIONS,
|
|
OEM_FUNCTION_CLOSE_SESSION,
|
|
OEM_FUNCTION_GENERATE_DERIVED_KEYS,
|
|
OEM_FUNCTION_GENERATE_NONCE,
|
|
OEM_FUNCTION_GENERATE_SIGNATURE,
|
|
OEM_FUNCTION_LOAD_KEYS,
|
|
OEM_FUNCTION_REFRESH_KEYS,
|
|
OEM_FUNCTION_QUERY_KEY_CONTROL,
|
|
OEM_FUNCTION_SELECT_KEY,
|
|
OEM_FUNCTION_DECRYPT_CENC,
|
|
OEM_FUNCTION_WRAP_KEYBOX,
|
|
OEM_FUNCTION_LOAD_TEST_KEYBOX,
|
|
OEM_FUNCTION_GET_RANDOM,
|
|
OEM_FUNCTION_REWRAP_DEVICE_RSA_KEY,
|
|
OEM_FUNCTION_LOAD_DEVICE_RSA_KEY,
|
|
OEM_FUNCTION_LOAD_TEST_RSA_KEY,
|
|
OEM_FUNCTION_GENERATE_RSA_SIGNATURE,
|
|
OEM_FUNCTION_DERIVE_KEYS_FROM_SESSION_KEY,
|
|
OEM_FUNCTION_GENERIC_ENCRYPT,
|
|
OEM_FUNCTION_GENERIC_DECRYPT,
|
|
OEM_FUNCTION_GENERIC_SIGN,
|
|
OEM_FUNCTION_GENERIC_VERIFY,
|
|
OEM_FUNCTION_UPDATE_USAGE_TABLE,
|
|
OEM_FUNCTION_DEACTIVATE_USAGE_ENTRY,
|
|
OEM_FUNCTION_REPORT_USAGE,
|
|
OEM_FUNCTION_DELETE_USAGE_ENTRY,
|
|
OEM_FUNCTION_FORCE_DELETE_USAGE_ENTRY,
|
|
OEM_FUNCTION_DELETE_USAGE_TABLE,
|
|
|
|
OEM_FUNCTION_TESTING, // dummy value for testing purposes
|
|
OEM_FUNCTION_COUNT
|
|
};
|
|
|
|
} // namespace oemprofiler
|
|
} // namespace wvcdm
|
|
|
|
#endif
|