Home
last modified time | relevance | path

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

/test/vts/drivers/resource/hidl_handle_driver/
DVtsHidlHandleDriverTest.cpp38 client1_id_ = handle_driver_.CreateFileHandle(string(kTestFilePath), in SetUp()
41 client2_id_ = handle_driver_.CreateFileHandle(string(kTestFilePath), in SetUp()
48 ASSERT_TRUE(handle_driver_.UnregisterHidlHandle(client1_id_)); in TearDown()
49 ASSERT_TRUE(handle_driver_.UnregisterHidlHandle(client2_id_)); in TearDown()
54 VtsHidlHandleDriver handle_driver_; member in android::vts::HidlHandleDriverUnitTest
62 ASSERT_EQ(handle_driver_.WriteFile(42, nullptr, 10), -1); in TEST_F()
68 ASSERT_EQ(handle_driver_.WriteFile(client2_id_, write_data, 10), -1); in TEST_F()
73 int new_id = handle_driver_.CreateFileHandle(string(kTestFilePath), O_RDONLY, in TEST_F()
76 ASSERT_EQ(handle_driver_.ReadFile(new_id, nullptr, 0), 0); in TEST_F()
79 ASSERT_TRUE(handle_driver_.UnregisterHidlHandle(new_id)); in TEST_F()
[all …]