summaryrefslogtreecommitdiff
path: root/libs/vr/libperformance/performance_client.cpp
Commit message (Collapse)AuthorAgeFilesLines
* libdvr: Add performance API to platform library.Corey Tabaka2017-06-281-0/+29
| | | | | | | | | | | | | | | | | | | | | | - Add dvrPerformanceSetSchedulerPolicy API. Only this API is exposed through the DVR platform library, the older API will be deprecated. - Add permission checks to all performanced APIs. - Allow services with android.permission.RESTRICTED_VR_ACCESS to change scheduler policy for VR apps. - Minor updates to use the updated PDX service API. The older API will be deprecated soon. - Add tests for permission checks and policy API. Most of the tests are automatic however, there is one manual step for testing the android.permission.RESTRICTED_VR_ACCESS (e.g. trusted uid) check. Because there is no reliable way to determine the UID of VrCore from the gtest, instead the gtest looks for an env var named GTEST_TRUSTED_UID; if this is set the value is used as a uid and the trusted uid tests are enabled. Bug: 62468109 Test: 'GTEST_TRUSTED_UID=<VrCore UID> performance_service_tests' passes. Change-Id: I9047b298a015a69535b655a299ca26c179e2d57d
* Add DaydreamVR native libraries and servicesAlex Vakulenko2017-01-281-0/+119
Upstreaming the main VR system components from master-dreamos-dev into goog/master. Bug: None Test: `m -j32` succeeds. Sailfish boots and basic_vr sample app works Change-Id: I853015872afc443aecee10411ef2d6b79184d051