/hardware/interfaces/drm/1.2/vts/functional/include/android/hardware/drm/1.2/vts/ |
D | drm_hal_common.h | 47 using ::android::hardware::drm::V1_0::SessionId; 93 SessionId openSession(SecurityLevel level, StatusV1_0* err); 94 SessionId openSession(); 95 void closeSession(const SessionId& sessionId); 96 hidl_vec<uint8_t> loadKeys(const SessionId& sessionId, 98 hidl_vec<uint8_t> loadKeys(const SessionId& sessionId, 101 hidl_vec<uint8_t> getKeyRequest(const SessionId& sessionId, 104 hidl_vec<uint8_t> provideKeyResponse(const SessionId& sessionId, 159 SessionId sessionId;
|
/hardware/interfaces/drm/1.4/vts/functional/include/android/hardware/drm/1.4/vts/ |
D | drm_hal_test.h | 54 using V1_0::SessionId; 70 sp<V1_0::ICryptoPlugin> CryptoPlugin(const SessionId& sid); 71 SessionId OpenSession(uint32_t level);
|
/hardware/interfaces/drm/1.1/vts/functional/ |
D | drm_hal_clearkey_test.cpp | 39 SessionId DrmHalClearkeyTest::openSession() { in openSession() 40 SessionId sessionId; in openSession() 43 [&sessionId](Status status, const SessionId& id) { in openSession() 55 SessionId DrmHalClearkeyTest::openSession(SecurityLevel level) { in openSession() 56 SessionId sessionId; in openSession() 59 [&sessionId](Status status, const SessionId& id) { in openSession() 72 void DrmHalClearkeyTest::closeSession(const SessionId& sessionId) { in closeSession() 82 const SessionId& sessionId, const KeyType& type = KeyType::STREAMING) { in loadKeys() 142 [&](Status status, const SessionId& /* id */) { in TEST_P() argument 161 SessionId invalidSessionId; in TEST_P() [all …]
|
/hardware/interfaces/drm/1.0/vts/functional/ |
D | drm_hal_clearkey_test.cpp | 205 SessionId DrmHalClearkeyPluginTest::openSession() { in openSession() 206 SessionId sessionId; in openSession() 209 [&sessionId](Status status, const SessionId& id) { in openSession() 221 void DrmHalClearkeyPluginTest::closeSession(const SessionId& sessionId) { in closeSession() 231 const SessionId& sessionId, const KeyType& type = KeyType::STREAMING) { in loadKeys() 299 SessionId invalidSessionId; in TEST_P() 309 SessionId sessionId = openSession(); in TEST_P() 319 SessionId invalidSessionId; in TEST_P() 377 SessionId session = openSession(); in TEST_P() 395 SessionId session; in TEST_P() [all …]
|
D | drm_hal_vendor_test.cpp | 262 SessionId DrmHalVendorPluginTest::openSession() { in openSession() 263 SessionId sessionId; in openSession() 265 auto res = drmPlugin->openSession([&](Status status, const SessionId& id) { in openSession() 277 void DrmHalVendorPluginTest::closeSession(const SessionId& sessionId) { in closeSession() 300 const SessionId& sessionId, const ContentConfiguration& configuration, in loadKeys() 355 SessionId invalidSessionId; in TEST_P() 377 SessionId invalidSessionId; in TEST_P() 394 SessionId session; in TEST_P() 412 SessionId session = openSession(); in TEST_P() 429 SessionId sessionId; in TEST_P() [all …]
|
/hardware/interfaces/drm/1.0/vts/functional/include/android/hardware/drm/1.0/vts/ |
D | drm_hal_vendor_test.h | 167 SessionId openSession(); 168 void closeSession(const SessionId& sessionId); 171 hidl_vec<uint8_t> loadKeys(const SessionId& sessionId, 191 hidl_vec<KeyValue> queryKeyStatus(SessionId sessionId); 192 void removeKeys(SessionId sessionId);
|
D | drm_hal_clearkey_test.h | 150 SessionId openSession(); 151 void closeSession(const SessionId& sessionId); 152 hidl_vec<uint8_t> loadKeys(const SessionId& sessionId, const KeyType& type);
|
/hardware/interfaces/drm/1.1/vts/functional/include/android/hardware/drm/1.1/vts/ |
D | drm_hal_clearkey_test.h | 69 using ::android::hardware::drm::V1_0::SessionId; 103 SessionId openSession(); 104 SessionId openSession(SecurityLevel level); 105 void closeSession(const SessionId& sessionId); 106 hidl_vec<uint8_t> loadKeys(const SessionId& sessionId, const KeyType& type);
|
/hardware/interfaces/drm/1.2/vts/functional/ |
D | drm_hal_common.cpp | 223 SessionId DrmHalTest::openSession(SecurityLevel level, StatusV1_0 *err) { in openSession() 224 SessionId sessionId; in openSession() 238 SessionId DrmHalTest::openSession() { in openSession() 239 SessionId sessionId; in openSession() 253 void DrmHalTest::closeSession(const SessionId& sessionId) { in closeSession() 259 const SessionId& sessionId, in getKeyRequest() 295 const SessionId& sessionId, in provideKeyResponse() 315 const SessionId& sessionId, in loadKeys() 332 const SessionId& sessionId, in loadKeys()
|
D | drm_hal_test.cpp | 120 SessionId invalidSessionId; in TEST_P()
|
/hardware/interfaces/drm/1.2/ |
D | IDrmPluginListener.hal | 20 import @1.0::SessionId; 38 oneway sendSessionLostState(SessionId sessionId); 54 oneway sendKeysChange_1_2(SessionId sessionId, vec<KeyStatus> keyStatusList,
|
D | IDrmPlugin.hal | 20 import @1.0::SessionId; 228 sendSessionLostState(SessionId sessionId); 244 sendKeysChange_1_2(SessionId sessionId, vec<KeyStatus> keyStatusList,
|
D | ICryptoPlugin.hal | 22 import @1.0::SessionId;
|
/hardware/interfaces/drm/1.0/ |
D | IDrmPluginListener.hal | 39 oneway sendEvent(EventType eventType, SessionId sessionId, 52 oneway sendExpirationUpdate(SessionId sessionId, int64_t expiryTimeInMS); 65 oneway sendKeysChange(SessionId sessionId, vec<KeyStatus> keyStatusList,
|
D | IDrmPlugin.hal | 42 openSession() generates (Status status, SessionId sessionId); 53 closeSession(SessionId sessionId) generates (Status status); 138 removeKeys(SessionId sessionId) generates (Status status); 151 restoreKeys(SessionId sessionId, 168 queryKeyStatus(SessionId sessionId) 380 setCipherAlgorithm(SessionId sessionId, string algorithm) 395 setMacAlgorithm(SessionId sessionId, string algorithm) 413 encrypt(SessionId sessionId, vec<uint8_t> keyId, vec<uint8_t> input, 432 decrypt(SessionId sessionId, vec<uint8_t> keyId, vec<uint8_t> input, 450 sign(SessionId sessionId, vec<uint8_t> keyId, vec<uint8_t> message) [all …]
|
D | types.hal | 224 typedef vec<uint8_t> SessionId;
|
/hardware/interfaces/drm/1.4/vts/functional/ |
D | drm_hal_test.cpp | 37 sp<V1_0::ICryptoPlugin> DrmHalTest::CryptoPlugin(const SessionId& sid) { in CryptoPlugin() 50 SessionId DrmHalTest::OpenSession(uint32_t level = kSecLevelDefault) { in OpenSession() 52 SessionId sessionId; in OpenSession()
|
/hardware/interfaces/drm/1.4/ |
D | IDrmPlugin.hal | 19 import @1.0::SessionId; 64 setPlaybackId(SessionId sessionId, string playbackId) generates (@1.0::Status status);
|
/hardware/interfaces/drm/1.1/ |
D | IDrmPlugin.hal | 29 import @1.0::SessionId; 63 SessionId sessionId);
|