Searched refs:needs_cp (Results 1 – 3 of 3) sorted by relevance
140 bool needs_cp = cp_needsCheckpoint(); in read_key() local141 if (!android::vold::retrieveKey(create_if_absent, dir, temp, key, needs_cp)) return false; in read_key()142 if (needs_cp && pathExists(newKeyPath)) std::thread(commit_key, dir).detach(); in read_key()
188 bool needs_cp = cp_needsCheckpoint(); in kmDeleteKey() local190 if (needs_cp) { in kmDeleteKey()
1646 bool needs_cp = android::vold::cp_needsCheckpoint(); in cryptfs_restart_internal() local1648 needs_cp)) != 0) { in cryptfs_restart_internal()