Searched refs:localFileName (Results 1 – 1 of 1) sorted by relevance
/frameworks/base/core/jni/ |
D | com_android_internal_content_NativeLibraryHelper.cpp | 213 char localFileName[nativeLibPath.size() + fileNameLen + 2]; in copyFileIfChanged() local 215 …if (strlcpy(localFileName, nativeLibPath.c_str(), sizeof(localFileName)) != nativeLibPath.size()) { in copyFileIfChanged() 220 *(localFileName + nativeLibPath.size()) = '/'; in copyFileIfChanged() 222 if (strlcpy(localFileName + nativeLibPath.size() + 1, fileName, sizeof(localFileName) in copyFileIfChanged() 233 if (!isFileDifferent(localFileName, uncompLen, modTime, crc, &st)) { in copyFileIfChanged() 285 if (rename(localTmpFileName, localFileName) < 0) { in copyFileIfChanged() 286 ALOGE("Couldn't rename %s to %s: %s\n", localTmpFileName, localFileName, strerror(errno)); in copyFileIfChanged() 291 ALOGV("Successfully moved %s to %s\n", localTmpFileName, localFileName); in copyFileIfChanged()
|