Home
last modified time | relevance | path

Searched refs:nativeLibPath (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/jni/
Dcom_android_internal_content_NativeLibraryHelper.cpp169 ScopedUtfChars nativeLibPath(env, *javaNativeLibPath); in copyFileIfChanged() local
187 char localFileName[nativeLibPath.size() + fileNameLen + 2]; in copyFileIfChanged()
189 …if (strlcpy(localFileName, nativeLibPath.c_str(), sizeof(localFileName)) != nativeLibPath.size()) { in copyFileIfChanged()
194 *(localFileName + nativeLibPath.size()) = '/'; in copyFileIfChanged()
196 if (strlcpy(localFileName + nativeLibPath.size() + 1, fileName, sizeof(localFileName) in copyFileIfChanged()
197 - nativeLibPath.size() - 1) != fileNameLen) { in copyFileIfChanged()
208 char localTmpFileName[nativeLibPath.size() + TMP_FILE_PATTERN_LEN + 2]; in copyFileIfChanged()
209 if (strlcpy(localTmpFileName, nativeLibPath.c_str(), sizeof(localTmpFileName)) in copyFileIfChanged()
210 != nativeLibPath.size()) { in copyFileIfChanged()
215 *(localFileName + nativeLibPath.size()) = '/'; in copyFileIfChanged()
[all …]
/frameworks/base/services/java/com/android/server/pm/
DInstaller.java342 public int linkNativeLibraryDirectory(String dataPath, String nativeLibPath) { in linkNativeLibraryDirectory() argument
346 } else if (nativeLibPath == null) { in linkNativeLibraryDirectory()
354 builder.append(nativeLibPath); in linkNativeLibraryDirectory()