Home
last modified time | relevance | path

Searched refs:SessionId (Results 1 – 16 of 16) sorted by relevance

/hardware/interfaces/drm/1.2/vts/functional/include/android/hardware/drm/1.2/vts/
Ddrm_hal_common.h47 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.1/vts/functional/
Ddrm_hal_clearkey_test.cpp39 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/
Ddrm_hal_clearkey_test.cpp205 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 …]
Ddrm_hal_vendor_test.cpp262 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/
Ddrm_hal_vendor_test.h167 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);
Ddrm_hal_clearkey_test.h150 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/
Ddrm_hal_clearkey_test.h69 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/
Ddrm_hal_common.cpp223 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()
Ddrm_hal_test.cpp120 SessionId invalidSessionId; in TEST_P()
/hardware/interfaces/drm/1.2/
DIDrmPluginListener.hal20 import @1.0::SessionId;
38 oneway sendSessionLostState(SessionId sessionId);
54 oneway sendKeysChange_1_2(SessionId sessionId, vec<KeyStatus> keyStatusList,
DIDrmPlugin.hal20 import @1.0::SessionId;
228 sendSessionLostState(SessionId sessionId);
244 sendKeysChange_1_2(SessionId sessionId, vec<KeyStatus> keyStatusList,
DICryptoPlugin.hal22 import @1.0::SessionId;
/hardware/interfaces/drm/1.0/
DIDrmPluginListener.hal39 oneway sendEvent(EventType eventType, SessionId sessionId,
52 oneway sendExpirationUpdate(SessionId sessionId, int64_t expiryTimeInMS);
65 oneway sendKeysChange(SessionId sessionId, vec<KeyStatus> keyStatusList,
DIDrmPlugin.hal42 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 …]
Dtypes.hal224 typedef vec<uint8_t> SessionId;
/hardware/interfaces/drm/1.1/
DIDrmPlugin.hal29 import @1.0::SessionId;
63 SessionId sessionId);