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 <utils/String8.h> 21 22 namespace clearkeydrm { 23 24 static const android::String8 kVendorKey("vendor"); 25 static const android::String8 kVendorValue("Google"); 26 static const android::String8 kVersionKey("version"); 27 static const android::String8 kVersionValue("1.0"); 28 static const android::String8 kPluginDescriptionKey("description"); 29 static const android::String8 kPluginDescriptionValue("ClearKey CDM"); 30 static const android::String8 kAlgorithmsKey("algorithms"); 31 static const android::String8 kAlgorithmsValue(""); 32 static const android::String8 kListenerTestSupportKey("listenerTestSupport"); 33 static const android::String8 kListenerTestSupportValue("true"); 34 35 static const android::String8 kDeviceIdKey("deviceId"); 36 static const uint8_t kTestDeviceIdData[] = 37 {0x0, 0x1, 0x2, 0x3, 0x4, 0x5, 0x6, 0x7, 38 0x8, 0x9, 0xa, 0xb, 0xc, 0xd, 0xe, 0xf}; 39 } // namespace clearkeydrm 40 41 #endif // CLEARKEY_DRM_PROPERTIES_H_ 42