* The Usage APIs return usage reports from either L1 or L3 (if available). * Correction to when usage reports are saved. In addition to other events they are now saved when keys are loaded, usage reports are released and soon after first decryption and periodically (60 seconds) after that, if decryption takes place. * Usage reports now get deleted on an unprovision request. * Policy timer is now started when offline licenses are restored. * Usage session is now released, when a usage response is received. * Usage tests ahev been enabled. * Added CDM extended duration (integration) tests to test usage reporting and querying. These need to be run manually as they take a while (currently half an hour). b/15592374 [ Merge of https://widevine-internal-review.googlesource.com/#/c/10800 from the Widevine CDM repo ] Change-Id: Ia817e03ebbe880e08ba7b4a235ecb82b3ff35fbf
52 lines
1.2 KiB
Makefile
52 lines
1.2 KiB
Makefile
# ----------------------------------------------------------------
|
|
# Builds CDM Tests
|
|
#
|
|
LOCAL_PATH := $(call my-dir)
|
|
|
|
test_name := base64_test
|
|
test_src_dir := ../core/test
|
|
include $(LOCAL_PATH)/unit-test.mk
|
|
|
|
test_name := cdm_engine_test
|
|
test_src_dir := ../core/test
|
|
include $(LOCAL_PATH)/unit-test.mk
|
|
|
|
test_name := cdm_extended_duration_test
|
|
test_src_dir := .
|
|
include $(LOCAL_PATH)/unit-test.mk
|
|
|
|
test_name := cdm_session_unittest
|
|
test_src_dir := ../core/test
|
|
include $(LOCAL_PATH)/unit-test.mk
|
|
|
|
test_name := device_files_unittest
|
|
test_src_dir := ../core/test
|
|
include $(LOCAL_PATH)/unit-test.mk
|
|
|
|
test_name := file_store_unittest
|
|
test_src_dir := ../core/test
|
|
include $(LOCAL_PATH)/unit-test.mk
|
|
|
|
test_name := http_socket_test
|
|
test_src_dir := ../core/test
|
|
include $(LOCAL_PATH)/unit-test.mk
|
|
|
|
test_name := license_unittest
|
|
test_src_dir := ../core/test
|
|
include $(LOCAL_PATH)/unit-test.mk
|
|
|
|
test_name := policy_engine_unittest
|
|
test_src_dir := ../core/test
|
|
include $(LOCAL_PATH)/unit-test.mk
|
|
|
|
test_name := request_license_test
|
|
test_src_dir := .
|
|
include $(LOCAL_PATH)/unit-test.mk
|
|
|
|
test_name := timer_unittest
|
|
test_src_dir := ../core/test
|
|
include $(LOCAL_PATH)/unit-test.mk
|
|
|
|
test_name :=
|
|
test_src_dir :=
|