Lines Matching refs:filename

66     char filename[256];  in nfc_hal_nv_co_read()  local
74 snprintf (filename, sizeof(filename), "%s%u", fn.c_str(), block); in nfc_hal_nv_co_read()
76 ALOGD ("%s: buffer len=%u; file=%s", __FUNCTION__, nbytes, filename); in nfc_hal_nv_co_read()
77 int fileStream = open (filename, O_RDONLY); in nfc_hal_nv_co_read()
124 char filename[256]; in nfc_hal_nv_co_write() local
133 snprintf (filename, sizeof(filename), "%s%u", fn.c_str(), block); in nfc_hal_nv_co_write()
134 ALOGD ("%s: bytes=%u; file=%s", __FUNCTION__, nbytes, filename); in nfc_hal_nv_co_write()
136 fileStream = open (filename, O_WRONLY | O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR); in nfc_hal_nv_co_write()
199 char filename[256]; in delete_hal_non_volatile_store() local
215 snprintf (filename, sizeof(filename), "%s%u", fn.c_str(), DH_NV_BLOCK); in delete_hal_non_volatile_store()
216 remove (filename); in delete_hal_non_volatile_store()
217 snprintf (filename, sizeof(filename), "%s%u", fn.c_str(), HC_F3_NV_BLOCK); in delete_hal_non_volatile_store()
218 remove (filename); in delete_hal_non_volatile_store()
219 snprintf (filename, sizeof(filename), "%s%u", fn.c_str(), HC_F4_NV_BLOCK); in delete_hal_non_volatile_store()
220 remove (filename); in delete_hal_non_volatile_store()
221 snprintf (filename, sizeof(filename), "%s%u", fn.c_str(), HC_F2_NV_BLOCK); in delete_hal_non_volatile_store()
222 remove (filename); in delete_hal_non_volatile_store()
223 snprintf (filename, sizeof(filename), "%s%u", fn.c_str(), HC_F5_NV_BLOCK); in delete_hal_non_volatile_store()
224 remove (filename); in delete_hal_non_volatile_store()
243 char filename[256]; in verify_hal_non_volatile_store() local
253 snprintf (filename, sizeof(filename), "%s%u", fn.c_str(), DH_NV_BLOCK); in verify_hal_non_volatile_store()
254 if (crcChecksumVerifyIntegrity (filename)) in verify_hal_non_volatile_store()
256 snprintf (filename, sizeof(filename), "%s%u", fn.c_str(), HC_F3_NV_BLOCK); in verify_hal_non_volatile_store()
257 if (crcChecksumVerifyIntegrity (filename)) in verify_hal_non_volatile_store()
259 snprintf (filename, sizeof(filename), "%s%u", fn.c_str(), HC_F4_NV_BLOCK); in verify_hal_non_volatile_store()
260 if (crcChecksumVerifyIntegrity (filename)) in verify_hal_non_volatile_store()
262 snprintf (filename, sizeof(filename), "%s%u", fn.c_str(), HC_F2_NV_BLOCK); in verify_hal_non_volatile_store()
263 if (crcChecksumVerifyIntegrity (filename)) in verify_hal_non_volatile_store()
265 snprintf (filename, sizeof(filename), "%s%u", fn.c_str(), HC_F5_NV_BLOCK); in verify_hal_non_volatile_store()
266 if (crcChecksumVerifyIntegrity (filename)) in verify_hal_non_volatile_store()