Home
last modified time | relevance | path

Searched refs:read_lock (Results 1 – 2 of 2) 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()
292 int write_lock, read_lock; in TEST() local
294 device.IsSpaceLocked(kTestIndex1, &write_lock, &read_lock)); in TEST()
295 EXPECT_FALSE(read_lock); in TEST()
299 device.IsSpaceLocked(kTestIndex1, &write_lock, &read_lock)); in TEST()
300 EXPECT_TRUE(read_lock); in TEST()
304 device.IsSpaceLocked(kTestIndexNeverExists, &write_lock, &read_lock)); in TEST()
378 int write_lock, read_lock; in TEST() local
380 device.IsSpaceLocked(index, &write_lock, &read_lock)); in TEST()
[all …]
/system/nfc/src/nfc/tags/
Drw_t2t_ndef.cc1731 uint8_t read_lock = 0; in rw_t2t_handle_config_tag_readonly() local
1793 read_lock = num_locks; in rw_t2t_handle_config_tag_readonly()