Lines Matching refs:getDrm
224 if (NULL == aMediaObjects.getDrm()) { in testGetPropertyStringNative()
231 media_status_t status = AMediaDrm_getPropertyString(aMediaObjects.getDrm(), in testGetPropertyStringNative()
344 if (aMediaObjects.getDrm()) { in testPsshNative()
646 media_status_t status = AMediaDrm_getKeyRequest(aMediaObjects.getDrm(), in acquireLicense()
672 status = AMediaDrm_provideKeyResponse(aMediaObjects.getDrm(), &sessionId, in acquireLicense()
682 AMediaDrm_closeSession(aMediaObjects.getDrm(), &sessionId); in acquireLicense()
707 if (NULL == aMediaObjects.getDrm()) { in testClearKeyPlaybackNative()
712 status = AMediaDrm_setOnEventListener(aMediaObjects.getDrm(), listener); in testClearKeyPlaybackNative()
719 status = AMediaDrm_setOnExpirationUpdateListener(aMediaObjects.getDrm(), in testClearKeyPlaybackNative()
727 status = AMediaDrm_setOnKeysChangeListener(aMediaObjects.getDrm(), in testClearKeyPlaybackNative()
764 status = AMediaDrm_openSession(aMediaObjects.getDrm(), &sessionId); in testClearKeyPlaybackNative()
776 status = AMediaDrm_getPropertyString(aMediaObjects.getDrm(), in testClearKeyPlaybackNative()
793 AMediaDrm_closeSession(aMediaObjects.getDrm(), &sessionId); in testClearKeyPlaybackNative()
801 AMediaDrm_closeSession(aMediaObjects.getDrm(), &sessionId); in testClearKeyPlaybackNative()
809 AMediaDrm_closeSession(aMediaObjects.getDrm(), &sessionId); in testClearKeyPlaybackNative()
817 status = AMediaDrm_closeSession(aMediaObjects.getDrm(), &sessionId); in testClearKeyPlaybackNative()
844 if (NULL == aMediaObjects.getDrm()) { in testQueryKeyStatusNative()
850 status = AMediaDrm_openSession(aMediaObjects.getDrm(), &sessionId); in testQueryKeyStatusNative()
861 status = AMediaDrm_queryKeyStatus(aMediaObjects.getDrm(), &sessionId, keyStatus, &numPairs); in testQueryKeyStatusNative()
865 AMediaDrm_closeSession(aMediaObjects.getDrm(), &sessionId); in testQueryKeyStatusNative()
872 AMediaDrm_closeSession(aMediaObjects.getDrm(), &sessionId); in testQueryKeyStatusNative()
880 status = AMediaDrm_queryKeyStatus(aMediaObjects.getDrm(), &sessionId, keyStatus, &numPairs); in testQueryKeyStatusNative()
885 AMediaDrm_closeSession(aMediaObjects.getDrm(), &sessionId); in testQueryKeyStatusNative()
891 status = AMediaDrm_queryKeyStatus(aMediaObjects.getDrm(), &sessionId, keyStatus, &numPairs); in testQueryKeyStatusNative()
895 AMediaDrm_closeSession(aMediaObjects.getDrm(), &sessionId); in testQueryKeyStatusNative()
906 AMediaDrm_closeSession(aMediaObjects.getDrm(), &sessionId); in testQueryKeyStatusNative()
910 status = AMediaDrm_closeSession(aMediaObjects.getDrm(), &sessionId); in testQueryKeyStatusNative()
937 if (NULL == aMediaObjects.getDrm()) { in testFindSessionIdNative()
948 status = AMediaDrm_openSession(aMediaObjects.getDrm(), &sessionId); in testFindSessionIdNative()
965 status = AMediaDrm_closeSession(aMediaObjects.getDrm(), &sessionId); in testFindSessionIdNative()
997 if (NULL == aMediaObjects.getDrm()) { in testGetKeyRequestNative()
1003 status = AMediaDrm_openSession(aMediaObjects.getDrm(), &sessionId); in testGetKeyRequestNative()
1020 status = AMediaDrm_getKeyRequestWithDefaultUrlAndType(aMediaObjects.getDrm(), in testGetKeyRequestNative()
1036 AMediaDrm_closeSession(aMediaObjects.getDrm(), &sessionId); in testGetKeyRequestNative()
1043 status = AMediaDrm_getPropertyString(aMediaObjects.getDrm(), in testGetKeyRequestNative()