Searched refs:dirPath (Results 1 – 7 of 7) sorted by relevance
91 String8 dirPath("/system/lib/mediacas"); in findFactoryForScheme()92 DIR* pDir = opendir(dirPath.string()); in findFactoryForScheme()95 ALOGE("Failed to open plugin directory %s", dirPath.string()); in findFactoryForScheme()101 String8 pluginPath = dirPath + "/" + pEntry->d_name; in findFactoryForScheme()126 String8 dirPath("/system/lib/mediacas"); in enumeratePlugins()127 DIR* pDir = opendir(dirPath.string()); in enumeratePlugins()130 ALOGE("Failed to open plugin directory %s", dirPath.string()); in enumeratePlugins()138 String8 pluginPath = dirPath + "/" + pEntry->d_name; in enumeratePlugins()
106 String8 dirPath(getDrmPluginPath()); in findFactoryForScheme() local109 DIR* pDir = opendir(dirPath.string()); in findFactoryForScheme()114 pluginPath = dirPath + "/" + pEntry->d_name; in findFactoryForScheme()
224 String8 dirPath(getDrmPluginPath()); in findFactoryForScheme() local225 DIR* pDir = opendir(dirPath.string()); in findFactoryForScheme()229 ALOGE("Failed to open plugin directory %s", dirPath.string()); in findFactoryForScheme()237 String8 pluginPath = dirPath + "/" + pEntry->d_name; in findFactoryForScheme()
438 public static boolean contains(String dirPath, String filePath) { in contains() argument439 if (dirPath.equals(filePath)) { in contains()442 if (!dirPath.endsWith("/")) { in contains()443 dirPath += "/"; in contains()445 return filePath.startsWith(dirPath); in contains()
374 String dirPath = getContext().getFilesDir() + File.separator + "inaccessible"; in testFileSystemInaccessible() local375 inaccessibleDir = new File(dirPath); in testFileSystemInaccessible()
777 String dirPath = mDropBoxDir.getPath(); in trimToFit() local779 mStatFs.restat(dirPath); in trimToFit()
754 String dirPath = name.substring(0, name.lastIndexOf(File.separatorChar)); in getDatabasePath() local755 dir = new File(dirPath); in getDatabasePath()