Home
last modified time | relevance | path

Searched refs:dirPath (Results 1 – 7 of 7) sorted by relevance

/frameworks/av/services/mediadrm/
DFactoryLoader.h91 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()
/frameworks/av/drm/libmediadrm/
DCrypto.cpp106 String8 dirPath(getDrmPluginPath()); in findFactoryForScheme() local
109 DIR* pDir = opendir(dirPath.string()); in findFactoryForScheme()
114 pluginPath = dirPath + "/" + pEntry->d_name; in findFactoryForScheme()
DDrm.cpp224 String8 dirPath(getDrmPluginPath()); in findFactoryForScheme() local
225 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()
/frameworks/base/core/java/android/os/
DFileUtils.java438 public static boolean contains(String dirPath, String filePath) { in contains() argument
439 if (dirPath.equals(filePath)) { in contains()
442 if (!dirPath.endsWith("/")) { in contains()
443 dirPath += "/"; in contains()
445 return filePath.startsWith(dirPath); in contains()
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/
DFileRotatorTest.java374 String dirPath = getContext().getFilesDir() + File.separator + "inaccessible"; in testFileSystemInaccessible() local
375 inaccessibleDir = new File(dirPath); in testFileSystemInaccessible()
/frameworks/base/services/core/java/com/android/server/
DDropBoxManagerService.java777 String dirPath = mDropBoxDir.getPath(); in trimToFit() local
779 mStatFs.restat(dirPath); in trimToFit()
/frameworks/base/core/java/android/app/
DContextImpl.java754 String dirPath = name.substring(0, name.lastIndexOf(File.separatorChar)); in getDatabasePath() local
755 dir = new File(dirPath); in getDatabasePath()