Lines Matching refs:handle
52 uint32_t handle = mDevice->open(); in TEST_F() local
53 EXPECT_NE(0, handle); in TEST_F()
54 mDevice->close(handle); in TEST_F()
135 uint32_t handle = mDevice->open(); in TEST_F() local
138 EXPECT_NE(0, handle); in TEST_F()
144 int claimRes = mDevice->claimShared(handle, offset, 4096); in TEST_F()
149 int unclaimRes = mDevice->unclaimShared(handle, offset); in TEST_F()
157 mDevice->close(handle); in TEST_F()
166 uint32_t handle = mDevice->open(); in TEST_F() local
168 EXPECT_NE(0, handle); in TEST_F()
174 int claimRes = mDevice->claimShared(handle, offset - 1, 4096); in TEST_F()
176 claimRes = mDevice->claimShared(handle, offset, 4097); in TEST_F()
178 claimRes = mDevice->claimShared(handle, offset, 4096); in TEST_F()
180 claimRes = mDevice->claimShared(handle, offset, 4096); in TEST_F()
183 int unclaimRes = mDevice->unclaimShared(handle, offset + 1); in TEST_F()
185 unclaimRes = mDevice->unclaimShared(handle, offset - 1); in TEST_F()
187 unclaimRes = mDevice->unclaimShared(handle, offset); in TEST_F()
189 unclaimRes = mDevice->unclaimShared(handle, offset); in TEST_F()
195 mDevice->close(handle); in TEST_F()
202 uint32_t handle = mDevice->open(); in TEST_F() local
204 EXPECT_NE(0, handle); in TEST_F()
215 int claimRes = mDevice->claimShared(handle, offset, 4096); in TEST_F()
218 int unclaimRes = mDevice->unclaimShared(handle, offset); in TEST_F()
225 mDevice->close(handle); in TEST_F()