Searched refs:api_ (Results 1 – 5 of 5) sorted by relevance
/frameworks/native/libs/vr/libdvr/tests/ |
D | dvr_tracking-test.cpp | 13 ASSERT_TRUE(api_.TrackingCameraCreate != nullptr); in TEST_F() 14 ASSERT_TRUE(api_.TrackingCameraStart != nullptr); in TEST_F() 15 ASSERT_TRUE(api_.TrackingCameraStop != nullptr); in TEST_F() 17 ASSERT_TRUE(api_.TrackingFeatureExtractorCreate != nullptr); in TEST_F() 18 ASSERT_TRUE(api_.TrackingFeatureExtractorDestroy != nullptr); in TEST_F() 19 ASSERT_TRUE(api_.TrackingFeatureExtractorStart != nullptr); in TEST_F() 20 ASSERT_TRUE(api_.TrackingFeatureExtractorStop != nullptr); in TEST_F() 21 ASSERT_TRUE(api_.TrackingFeatureExtractorProcessBuffer != nullptr); in TEST_F() 26 ret = api_.TrackingCameraCreate(nullptr); in TEST_F() 30 ret = api_.TrackingCameraCreate(&camera); in TEST_F() [all …]
|
D | dvr_buffer_queue-test.cpp | 48 api_.WriteBufferQueueDestroy(write_queue_); in TearDown() 71 int ret = api_.WriteBufferQueueCreate( in TEST_F() 76 api_.WriteBufferQueueDestroy(write_queue_); in TEST_F() 81 int ret = api_.WriteBufferQueueCreate( in TEST_F() 86 size_t capacity = api_.WriteBufferQueueGetCapacity(write_queue_); in TEST_F() 93 int ret = api_.WriteBufferQueueCreate( in TEST_F() 99 ret = api_.WriteBufferQueueCreateReadQueue(write_queue_, &read_queue); in TEST_F() 104 api_.ReadBufferQueueDestroy(read_queue); in TEST_F() 108 int ret = api_.WriteBufferQueueCreate( in TEST_F() 115 ret = api_.WriteBufferQueueCreateReadQueue(write_queue_, &read_queue1); in TEST_F() [all …]
|
D | dvr_display-test.cpp | 21 int ret = api_.GetNativeDisplayMetrics(sizeof(display_metrics_), in SetUp() 34 api_.WriteBufferQueueDestroy(write_queue_); in TearDown() 38 api_.SurfaceDestroy(direct_surface_); in TearDown() 83 api_.SurfaceCreate(direct_surface_attributes.data(), in TEST_F() 91 ret = api_.SurfaceCreateWriteBufferQueue( in TEST_F() 101 ret = api_.WriteBufferQueueGainBuffer(write_queue_, kTimeoutMs, &write_buffer, in TEST_F() 113 ret = api_.WriteBufferQueuePostBuffer(write_queue_, write_buffer, &out_meta, in TEST_F() 135 api_.SurfaceCreate(direct_surface_attributes.data(), in TEST_F() 143 ret = api_.SurfaceCreateWriteBufferQueue( in TEST_F() 157 ret = api_.WriteBufferQueueGainBuffer( in TEST_F() [all …]
|
D | dvr_api_test.h | 24 ASSERT_EQ(dvr_get_api(&api_, sizeof(api_), /*version=*/1), 0) in SetUp() 35 DvrApi_v1 api_; variable
|
/frameworks/native/libs/vr/libbufferhubqueue/benchmarks/ |
D | buffer_transport_benchmark.cpp | 214 int ret = dvr_get_api(&api_, sizeof(api_), /*version=*/1); in DvrApi() 221 const DvrApi_v1& Api() { return api_; } in Api() 225 DvrApi_v1 api_; member in DvrApi
|