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