Lines Matching refs:needle
57 bool check_file(const std::string& needle) { in check_file() argument
58 LOG(DEBUG) << "checkEncryption check_file: " << needle; in check_file()
59 auto haystack = android::vold::BlockDeviceForPath(needle); in check_file()
61 LOG(ERROR) << "Failed to find device for path: " << needle; in check_file()
76 if (access(needle.c_str(), F_OK) == 0) { in check_file()
77 if (unlink(needle.c_str()) != 0) { in check_file()
78 PLOG(ERROR) << "Failed to unlink " << needle; in check_file()
82 LOG(DEBUG) << "Writing to " << needle; in check_file()
83 if (!WriteStringToFile(towrite, needle)) { in check_file()
84 PLOG(ERROR) << "Failed to write " << needle; in check_file()
95 auto fiemap = PathFiemap(needle, max_extents); in check_file()
122 LOG(DEBUG) << "Searching " << area.size() << " bytes of " << needle; in check_file()