Home
last modified time | relevance | path

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

/system/nvram/hal/tests/
Dnvram_hal_test.cc152 int write_lock, read_lock; in CleanBurnSpaces() local
153 if (device->IsSpaceLocked(index, &write_lock, &read_lock) != in CleanBurnSpaces()
158 if (!write_lock) { in CleanBurnSpaces()
292 int write_lock, read_lock; in TEST() local
294 device.IsSpaceLocked(kTestIndex1, &write_lock, &read_lock)); in TEST()
296 EXPECT_FALSE(write_lock); in TEST()
299 device.IsSpaceLocked(kTestIndex1, &write_lock, &read_lock)); in TEST()
301 EXPECT_FALSE(write_lock); in TEST()
304 device.IsSpaceLocked(kTestIndexNeverExists, &write_lock, &read_lock)); in TEST()
378 int write_lock, read_lock; in TEST() local
[all …]