1/* 2 * Copyright (C) 2017 The Android Open Source Project 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 17#ifndef CLEARKEY_DRM_PROPERTIES_H_ 18#define CLEARKEY_DRM_PROPERTIES_H_ 19 20#include <string.h> 21 22namespace android { 23namespace hardware { 24namespace drm { 25namespace V1_1 { 26namespace clearkey { 27 28static const std::string kVendorKey("vendor"); 29static const std::string kVendorValue("Google"); 30static const std::string kVersionKey("version"); 31static const std::string kVersionValue("1.1"); 32static const std::string kPluginDescriptionKey("description"); 33static const std::string kPluginDescriptionValue("ClearKey CDM"); 34static const std::string kAlgorithmsKey("algorithms"); 35static const std::string kAlgorithmsValue(""); 36static const std::string kListenerTestSupportKey("listenerTestSupport"); 37static const std::string kListenerTestSupportValue("true"); 38 39static const std::string kDeviceIdKey("deviceId"); 40static const uint8_t kTestDeviceIdData[] = 41 {0x0, 0x1, 0x2, 0x3, 0x4, 0x5, 0x6, 0x7, 42 0x8, 0x9, 0xa, 0xb, 0xc, 0xd, 0xe, 0xf}; 43// TODO stub out metrics for nw 44static const std::string kMetricsKey("metrics"); 45static const uint8_t kMetricsData[] = { 0 }; 46 47} // namespace clearkey 48} // namespace V1_1 49} // namespace drm 50} // namespace hardware 51} // namespace android 52 53#endif // CLEARKEY_DRM_PROPERTIES_H_ 54 55