Searched refs:localTmpFileName (Results 1 – 1 of 1) sorted by relevance
/frameworks/base/core/jni/ |
D | com_android_internal_content_NativeLibraryHelper.cpp | 237 char localTmpFileName[nativeLibPath.size() + TMP_FILE_PATTERN_LEN + 1]; in copyFileIfChanged() local 238 if (strlcpy(localTmpFileName, nativeLibPath.c_str(), sizeof(localTmpFileName)) in copyFileIfChanged() 244 if (strlcpy(localTmpFileName + nativeLibPath.size(), TMP_FILE_PATTERN, in copyFileIfChanged() 250 int fd = mkstemp(localTmpFileName); in copyFileIfChanged() 252 ALOGE("Couldn't open temporary file name: %s: %s\n", localTmpFileName, strerror(errno)); in copyFileIfChanged() 257 ALOGE("Failed uncompressing %s to %s\n", fileName, localTmpFileName); in copyFileIfChanged() 259 unlink(localTmpFileName); in copyFileIfChanged() 270 if (utimes(localTmpFileName, times) < 0) { in copyFileIfChanged() 271 ALOGE("Couldn't change modification time on %s: %s\n", localTmpFileName, strerror(errno)); in copyFileIfChanged() 272 unlink(localTmpFileName); in copyFileIfChanged() [all …]
|