/frameworks/av/apex/ |
D | ld.config.txt | 5 # There are no versioned APEX paths here - this APEX module does not support 22 namespace.default.search.paths = /apex/com.android.media.swcodec/${LIB} 23 namespace.default.asan.search.paths = /apex/com.android.media.swcodec/${LIB} 28 namespace.default.permitted.paths = /system/${LIB} 29 namespace.default.asan.permitted.paths = /system/${LIB} 46 namespace.platform.search.paths = /system/${LIB} 47 namespace.platform.search.paths += /apex/com.android.runtime/${LIB} 48 namespace.platform.asan.search.paths = /data/asan/system/${LIB} 49 namespace.platform.asan.search.paths += /system/${LIB} 50 namespace.platform.asan.search.paths += /apex/com.android.runtime/${LIB} [all …]
|
/frameworks/base/services/robotests/backup/src/android/app/backup/ |
D | BackupUtilsTest.java | 52 BackupUtils.isFileSpecifiedInPathList(file("a/b.txt"), paths(file("a/b.txt"))); in testIsFileSpecifiedInPathList_whenFileAndPathListHasIt() 61 BackupUtils.isFileSpecifiedInPathList(file("a/b.txt"), paths(directory("a"))); in testIsFileSpecifiedInPathList_whenFileAndPathListHasItsDirectory() 69 BackupUtils.isFileSpecifiedInPathList(file("a/b.txt"), paths(file("a/c.txt"))); in testIsFileSpecifiedInPathList_whenFileAndPathListHasOtherFile() 76 boolean isSpecified = BackupUtils.isFileSpecifiedInPathList(file("a/b.txt"), paths()); in testIsFileSpecifiedInPathList_whenFileAndPathListEmpty() 84 BackupUtils.isFileSpecifiedInPathList(directory("a"), paths(directory("a"))); in testIsFileSpecifiedInPathList_whenDirectoryAndPathListHasIt() 91 boolean isSpecified = BackupUtils.isFileSpecifiedInPathList(directory("a"), paths()); in testIsFileSpecifiedInPathList_whenDirectoryAndPathListEmpty() 99 BackupUtils.isFileSpecifiedInPathList(directory("a/b"), paths(directory("a"))); in testIsFileSpecifiedInPathList_whenDirectoryAndPathListHasParent() 108 BackupUtils.isFileSpecifiedInPathList(file("a/b.txt"), paths(directory("c"))); in testIsFileSpecifiedInPathList_whenFileAndPathListDoesntContainDirectory() 117 BackupUtils.isFileSpecifiedInPathList(file("a/b.txt"), paths(directory("a/b"))); in testIsFileSpecifiedInPathList_whenFileAndPathListHasDirectoryWhoseNameIsPrefix() 127 file("name/subname.txt"), paths(directory("nam"))); in testIsFileSpecifiedInPathList_whenFileAndPathListHasDirectoryWhoseNameIsPrefix2() [all …]
|
/frameworks/base/core/java/android/provider/ |
D | DocumentsContract.java | 1132 final List<String> paths = uri.getPathSegments(); in isDocumentUri() local 1133 if (paths.size() == 2) { in isDocumentUri() 1134 return PATH_DOCUMENT.equals(paths.get(0)); in isDocumentUri() 1135 } else if (paths.size() == 4) { in isDocumentUri() 1136 return PATH_TREE.equals(paths.get(0)) && PATH_DOCUMENT.equals(paths.get(2)); in isDocumentUri() 1175 final List<String> paths = uri.getPathSegments(); in isTreeUri() local 1176 return (paths.size() >= 2 && PATH_TREE.equals(paths.get(0))); in isTreeUri() 1181 final List<String> paths = uri.getPathSegments(); in isRootUri() local 1182 return (paths.size() == pathSize && PATH_ROOT.equals(paths.get(0))); in isRootUri() 1203 final List<String> paths = rootUri.getPathSegments(); in getRootId() local [all …]
|
/frameworks/base/core/java/android/content/pm/dex/ |
D | DexMetadataHelper.java | 202 public static void validateDexPaths(String[] paths) { in validateDexPaths() argument 204 for (int i = 0; i < paths.length; i++) { in validateDexPaths() 205 if (PackageParser.isApkPath(paths[i])) { in validateDexPaths() 206 apks.add(paths[i]); in validateDexPaths() 210 for (int i = 0; i < paths.length; i++) { in validateDexPaths() 211 String dmPath = paths[i]; in validateDexPaths()
|
/frameworks/base/libs/androidfw/tests/ |
D | BenchmarkHelpers.cpp | 25 void GetResourceBenchmarkOld(const std::vector<std::string>& paths, const ResTable_config* config, in GetResourceBenchmarkOld() argument 28 for (const std::string& path : paths) { in GetResourceBenchmarkOld() 54 void GetResourceBenchmark(const std::vector<std::string>& paths, const ResTable_config* config, in GetResourceBenchmark() argument 58 for (const std::string& path : paths) { in GetResourceBenchmark()
|
D | BenchmarkHelpers.h | 30 void GetResourceBenchmarkOld(const std::vector<std::string>& paths, const ResTable_config* config, 33 void GetResourceBenchmark(const std::vector<std::string>& paths, const ResTable_config* config,
|
/frameworks/base/core/java/android/os/ |
D | GraphicsEnvironment.java | 209 final String paths = sb.toString(); in getDebugLayerAppPaths() local 211 if (DEBUG) Log.v(TAG, "Debug layer app libs: " + paths); in getDebugLayerAppPaths() 213 return paths; in getDebugLayerAppPaths() 257 String paths = getDebugLayerAppPaths(pm, layerApps[i]); in setupGpuLayers() local 258 if (paths != null) { in setupGpuLayers() 261 layerPaths += paths + ":"; in setupGpuLayers() 437 String paths, in setupAngleWithTempRulesFile() argument 471 setAngleInfo(paths, packageName, devOptIn, rulesFd, rulesOffset, rulesLength); in setupAngleWithTempRulesFile() 499 String paths, in setupAngleRulesApk() argument 508 setAngleInfo(paths, packageName, devOptIn, assetsFd.getFileDescriptor(), in setupAngleRulesApk() [all …]
|
D | FileObserver.java | 119 final String[] paths = new String[count]; in startWatching() local 121 paths[i] = files.get(i).getAbsolutePath(); in startWatching() 126 startWatching(m_fd, paths, mask, wfds); in startWatching() 172 private native void startWatching(int fd, String[] paths, in startWatching() argument
|
D | FileUtils.java | 1052 public static String[] rewriteAfterRename(File beforeDir, File afterDir, String[] paths) { in rewriteAfterRename() argument 1053 if (paths == null) return null; in rewriteAfterRename() 1054 final String[] result = new String[paths.length]; in rewriteAfterRename() 1055 for (int i = 0; i < paths.length; i++) { in rewriteAfterRename() 1056 result[i] = rewriteAfterRename(beforeDir, afterDir, paths[i]); in rewriteAfterRename()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/leak/ |
D | DumpTruck.java | 79 final ArrayList<String> paths = new ArrayList<String>(); in captureHeaps() local 104 paths.add(path); in captureHeaps() 118 if (DumpTruck.zipUp(zipfile, paths)) { in captureHeaps() 171 private static boolean zipUp(String zipfilePath, ArrayList<String> paths) { in zipUp() argument 175 for (String filename : paths) { in zipUp()
|
/frameworks/base/media/java/android/media/ |
D | MediaScannerConnection.java | 192 ClientProxy(String[] paths, String[] mimeTypes, OnScanCompletedListener client) { in ClientProxy() argument 193 mPaths = paths; in ClientProxy() 238 public static void scanFile(Context context, String[] paths, String[] mimeTypes, in scanFile() argument 240 ClientProxy client = new ClientProxy(paths, mimeTypes, callback); in scanFile()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/dex/ |
D | DexManagerTests.java | 710 private void assertHasDclInfo(TestData owner, TestData loader, List<String> paths) { in assertHasDclInfo() argument 713 for (String path : paths) { in assertHasDclInfo() 764 List<String> paths = new ArrayList<>(); in getSecondaryDexPaths() local 765 paths.add(mPackageInfo.applicationInfo.dataDir + "/secondary1.dex"); in getSecondaryDexPaths() 766 paths.add(mPackageInfo.applicationInfo.dataDir + "/secondary2.dex"); in getSecondaryDexPaths() 767 paths.add(mPackageInfo.applicationInfo.dataDir + "/secondary3.dex"); in getSecondaryDexPaths() 768 return paths; in getSecondaryDexPaths() 772 List<String> paths = new ArrayList<>(); in getSecondaryDexPathsForOwnUse() local 773 paths.add(mPackageInfo.applicationInfo.dataDir + "/secondary4.dex"); in getSecondaryDexPathsForOwnUse() 774 paths.add(mPackageInfo.applicationInfo.dataDir + "/secondary5.dex"); in getSecondaryDexPathsForOwnUse() [all …]
|
/frameworks/native/opengl/libs/EGL/ |
D | egl_layers.cpp | 350 std::vector<std::string> paths = in LoadLayers() local 356 auto it = paths.begin(); in LoadLayers() 357 paths.insert(it, system_path); in LoadLayers() 361 for (uint32_t j = 0; j < paths.size() && !layer_found; j++) { in LoadLayers() 364 ALOGI("Searching %s for GLES layers", paths[j].c_str()); in LoadLayers() 367 android::base::Realpath(paths[j] + "/" + layers[i], &layer); in LoadLayers()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageDexOptimizer.java | 161 final List<String> paths = pkg.getAllCodePaths(); in performDexOptLI() local 173 boolean[] pathsWithCode = new boolean[paths.size()]; in performDexOptLI() 175 for (int i = 1; i < paths.size(); i++) { in performDexOptLI() 182 if (paths.size() != classLoaderContexts.length) { in performDexOptLI() 186 + "pkg.getAllCodePaths=" + paths in performDexOptLI() 193 for (int i = 0; i < paths.size(); i++) { in performDexOptLI() 201 + "but has no dependency listed. Index=" + i + " path=" + paths.get(i)); in performDexOptLI() 205 String path = paths.get(i); in performDexOptLI() 454 final List<String> paths = pkg.getAllCodePathsExcludingResourceOnly(); in dumpDexoptState() local 456 for (String path : paths) { in dumpDexoptState()
|
D | OtaDexoptService.java | 389 final List<String> paths = pkg.getAllCodePathsExcludingResourceOnly(); in moveAbArtifacts() local 392 for (String path : paths) { in moveAbArtifacts()
|
/frameworks/base/cmds/idmap2/idmap2/ |
D | Scan.cpp | 89 std::set<std::string> paths; in FindApkFiles() local 95 paths.insert(apk_paths->cbegin(), apk_paths->cend()); in FindApkFiles() 97 return std::make_unique<std::vector<std::string>>(paths.cbegin(), paths.cend()); in FindApkFiles()
|
/frameworks/base/services/core/java/com/android/server/pm/dex/ |
D | DexoptUtils.java | 235 List<String> paths = sharedLibrary.getAllCodePaths(); in encodeSharedLibrary() local 237 encodeClasspath(paths.toArray(new String[paths.size()])), in encodeSharedLibrary()
|
/frameworks/base/mime/ |
D | Android.bp | 46 // They need to be in different paths because one of them ends up in a 52 // - the "cp" command will flatten any directory paths that occur in $(in), 54 // to preserve sub paths then we might want to zip the files first and then
|
/frameworks/base/tools/bit/ |
D | make.h | 30 vector<string> paths; member
|
/frameworks/base/core/java/android/accessibilityservice/ |
D | GestureDescription.java | 148 private static long getTotalDuration(List<StrokeDescription> paths) { in getTotalDuration() argument 150 for (int i = 0; i < paths.size(); i++) { in getTotalDuration() 151 StrokeDescription path = paths.get(i); in getTotalDuration()
|
/frameworks/av/media/libmedia/ |
D | MediaProfiles.cpp | 42 static std::array<std::string const, 5> const paths = in getXmlPaths() 43 []() -> decltype(paths) { in getXmlPaths() 70 paths[0].data(), in getXmlPaths() 71 paths[1].data(), in getXmlPaths() 72 paths[2].data(), in getXmlPaths() 73 paths[3].data(), in getXmlPaths() 74 paths[4].data() in getXmlPaths()
|
/frameworks/native/opengl/libs/GLES2/ |
D | gl2ext_api.in | 1141 void API_ENTRY(glWeightPathsNV)(GLuint resultPath, GLsizei numPaths, const GLuint *paths, const GLf… 1142 CALL_GL_API(glWeightPathsNV, resultPath, numPaths, paths, weights); 1180 …ilFillPathInstancedNV)(GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, … 1181 …CALL_GL_API(glStencilFillPathInstancedNV, numPaths, pathNameType, paths, pathBase, fillMode, mask,… 1183 …StrokePathInstancedNV)(GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, … 1184 …CALL_GL_API(glStencilStrokePathInstancedNV, numPaths, pathNameType, paths, pathBase, reference, ma… 1195 void API_ENTRY(glCoverFillPathInstancedNV)(GLsizei numPaths, GLenum pathNameType, const void *paths… 1196 …CALL_GL_API(glCoverFillPathInstancedNV, numPaths, pathNameType, paths, pathBase, coverMode, transf… 1198 …StrokePathInstancedNV)(GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, … 1199 …CALL_GL_API(glCoverStrokePathInstancedNV, numPaths, pathNameType, paths, pathBase, coverMode, tran… [all …]
|
/frameworks/native/cmds/dumpstate/ |
D | dumpstate.cpp | 1876 std::vector<std::string> paths; in DumpstateBoard() local 1879 paths.emplace_back(StringPrintf("%s/%s", ds.bugreport_internal_dir_.c_str(), in DumpstateBoard() 1882 std::bind([](std::string path) { android::os::UnlinkAndLogOnError(path); }, paths[i]))); in DumpstateBoard() 1893 ScopedNativeHandle handle(native_handle_create(static_cast<int>(paths.size()), 0), in DumpstateBoard() 1904 for (size_t i = 0; i < paths.size(); i++) { in DumpstateBoard() 1905 MYLOGI("Calling IDumpstateDevice implementation using path %s\n", paths[i].c_str()); in DumpstateBoard() 1908 open(paths[i].c_str(), O_WRONLY | O_CREAT | O_TRUNC | O_CLOEXEC | O_NOFOLLOW, in DumpstateBoard() 1911 MYLOGE("Could not open file %s: %s\n", paths[i].c_str(), strerror(errno)); in DumpstateBoard() 1922 dumpstate_task([paths, dumpstate_device, &handle]() -> bool { in DumpstateBoard() 1950 auto file_sizes = std::make_unique<ssize_t[]>(paths.size()); in DumpstateBoard() [all …]
|
/frameworks/base/services/core/java/com/android/server/slice/ |
D | SliceClientPermissions.java | 352 private String pathToString(ArraySet<String[]> paths) { in pathToString() argument 353 return TextUtils.join(", ", paths.stream().map(s -> TextUtils.join("/", s)) in pathToString()
|
/frameworks/base/core/java/android/app/ |
D | LoadedApk.java | 411 List<String> paths = lib.getAllCodePaths(); in appendSharedLibrariesLibPathsIfNeeded() local 412 outSeenPaths.addAll(paths); in appendSharedLibrariesLibPathsIfNeeded() 413 for (String path : paths) { in appendSharedLibrariesLibPathsIfNeeded() 671 List<String> paths = sharedLibrary.getAllCodePaths(); in createSharedLibraryLoader() local 675 final String jars = (paths.size() == 1) ? paths.get(0) : in createSharedLibraryLoader() 676 TextUtils.join(File.pathSeparator, paths); in createSharedLibraryLoader()
|