Home
last modified time | relevance | path

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

/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/
DRenderTestBase.java164 File currentDir = workingDir; in getPlatformDir() local
165 if (currentDir.getName().equalsIgnoreCase("bridge")) { in getPlatformDir()
166 currentDir = currentDir.getParentFile(); in getPlatformDir()
170 while (currentDir != null && !"layoutlib".equals(currentDir.getName())) { in getPlatformDir()
171 currentDir = currentDir.getParentFile(); in getPlatformDir()
174 if (currentDir == null || in getPlatformDir()
175 currentDir.getParentFile() == null || in getPlatformDir()
176 !"frameworks".equals(currentDir.getParentFile().getName())) { in getPlatformDir()
183 if (currentDir != null) { in getPlatformDir()
184 currentDir = currentDir.getParentFile(); in getPlatformDir()
[all …]
/frameworks/rs/
DrsScriptC.cpp62 std::string currentDir; in createCacheDir() local
75 currentDir.reserve(cacheDirString.length()); in createCacheDir()
86 currentDir += cacheDirString.substr(currPos, nextPos - currPos); in createCacheDir()
89 currentDir += cacheDirString.substr(currPos); in createCacheDir()
94 statReturn = stat(currentDir.c_str(), &statBuf); in createCacheDir()
98 if (mkdir(currentDir.c_str(), S_IRUSR | S_IWUSR | S_IXUSR)) { in createCacheDir()
100 currentDir.c_str()); in createCacheDir()