Searched refs:paths (Results 1 - 22 of 22) sorted by relevance

/frameworks/base/core/java/android/provider/
H A DDocumentsContract.java844 final List<String> paths = uri.getPathSegments();
845 if (paths.size() == 2) {
846 return PATH_DOCUMENT.equals(paths.get(0));
847 } else if (paths.size() == 4) {
848 return PATH_TREE.equals(paths.get(0)) && PATH_DOCUMENT.equals(paths.get(2));
857 final List<String> paths = uri.getPathSegments();
858 return (paths.size() == 2 && PATH_ROOT.equals(paths.get(0)));
875 final List<String> paths
[all...]
/frameworks/base/media/java/android/media/
H A DMediaScannerConnection.java192 ClientProxy(String[] paths, String[] mimeTypes, OnScanCompletedListener client) { argument
193 mPaths = paths;
230 * @param paths Array of paths to be scanned.
238 public static void scanFile(Context context, String[] paths, String[] mimeTypes, argument
240 ClientProxy client = new ClientProxy(paths, mimeTypes, callback);
/frameworks/base/media/mca/filterfw/native/
H A Dlibfilterfw.mk16 # Add include paths for native code.
/frameworks/base/services/core/java/com/android/server/pm/
H A DPackageDexOptimizer.java86 * Performs dexopt on all code paths and libraries of the specified package for specified
134 final List<String> paths = pkg.getAllCodePathsExcludingResourceOnly();
139 for (String path : paths) {
163 final List<String> paths = pkg.getAllCodePathsExcludingResourceOnly();
198 for (String path : paths) {
279 // dex-opted one or more paths or instruction sets or we've skipped
H A DOtaDexoptService.java334 final List<String> paths = pkg.getAllCodePathsExcludingResourceOnly();
337 for (String path : paths) {
H A DPackageManagerService.java587 // Tracks available target package names -> overlay package paths.
2194 // Set flag to monitor and not change apk file paths when
2521 // the correct library paths.
7931 // DELETE_DATA_ON_FAILURES is only used by frozen paths
7993 // Bail out. The resource and code paths haven't been set.
7995 "Code and resource paths haven't been set correctly");
8116 + " and requiring known paths " + known.codePathString
8280 // library paths after the scan is done.
8395 // Get all of our default paths setup
8423 // Set native library paths agai
12664 calculateDirectorySize(IMediaContainerService mcs, File[] paths) argument
12673 clearDirectory(IMediaContainerService mcs, File[] paths) argument
[all...]
/frameworks/base/core/java/android/content/res/
H A DAssetManager.java698 * the input array of paths is null.
701 public final int[] addAssetPaths(String[] paths) { argument
702 if (paths == null) {
706 int[] cookies = new int[paths.length];
707 for (int i = 0; i < paths.length; i++) {
708 cookies[i] = addAssetPath(paths[i]);
/frameworks/base/core/java/android/os/
H A DFileUtils.java584 public static String[] rewriteAfterRename(File beforeDir, File afterDir, String[] paths) { argument
585 if (paths == null) return null;
586 final String[] result = new String[paths.length];
587 for (int i = 0; i < paths.length; i++) {
588 result[i] = rewriteAfterRename(beforeDir, afterDir, paths[i]);
/frameworks/base/core/java/android/accessibilityservice/
H A DGestureDescription.java123 * least the number of paths in the gesture to prevent going out of bounds
145 private static long getTotalDuration(List<StrokeDescription> paths) { argument
147 for (int i = 0; i < paths.size(); i++) {
148 StrokeDescription path = paths.get(i);
163 * {@link GestureDescription#getMaxStrokeCount()} paths may be
204 // The tap location is only set for zero-length paths
237 // Treat zero-length paths as taps
/frameworks/base/packages/DefaultContainerService/src/com/android/defcontainer/
H A DDefaultContainerService.java290 void eraseFiles(File[] paths) { argument
291 for (File path : paths) {
/frameworks/native/vulkan/libvulkan/
H A Dlayers_extensions.cpp395 std::vector<std::string> paths = android::base::Split(pathstr, ":"); local
396 for (const auto& path : paths) {
/frameworks/support/
H A DAndroid.mk29 # Returns: a list of paths relative to the base dir.
/frameworks/native/opengl/include/GLES2/
H A Dgl2ext.h2526 typedef void (GL_APIENTRYP PFNGLWEIGHTPATHSNVPROC) (GLuint resultPath, GLsizei numPaths, const GLuint *paths, const GLfloat *weights);
2539 typedef void (GL_APIENTRYP PFNGLSTENCILFILLPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum transformType, const GLfloat *transformValues);
2540 typedef void (GL_APIENTRYP PFNGLSTENCILSTROKEPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLint reference, GLuint mask, GLenum transformType, const GLfloat *transformValues);
2544 typedef void (GL_APIENTRYP PFNGLCOVERFILLPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
2545 typedef void (GL_APIENTRYP PFNGLCOVERSTROKEPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
2551 typedef void (GL_APIENTRYP PFNGLGETPATHMETRICSNVPROC) (GLbitfield metricQueryMask, GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLsizei stride, GLfloat *metrics);
2553 typedef void (GL_APIENTRYP PFNGLGETPATHSPACINGNVPROC) (GLenum pathListMode, GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLfloat advanceScale, GLfloat kerningScale, GLenum transformType, GLfloat *returnedSpacing);
2566 typedef void (GL_APIENTRYP PFNGLSTENCILTHENCOVERFILLPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
2567 typedef void (GL_APIENTRYP PFNGLSTENCILTHENCOVERSTROKEPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLint reference, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
2584 GL_APICALL void GL_APIENTRY glWeightPathsNV (GLuint resultPath, GLsizei numPaths, const GLuint *paths, cons
[all...]
/frameworks/base/core/java/android/os/storage/
H A DStorageManager.java988 * Returns list of paths for all mountable volumes.
995 String[] paths = new String[count];
997 paths[i] = volumes[i].getPath();
999 return paths;
/frameworks/base/libs/hwui/tests/unit/
H A DClipAreaTests.cpp93 TEST(ClipArea, paths) {
/frameworks/base/core/java/android/content/pm/
H A DPackageParser.java368 ArrayList<String> paths = new ArrayList<>();
369 paths.add(baseCodePath);
371 Collections.addAll(paths, splitCodePaths);
373 return paths;
900 // The AssetManager guarantees uniqueness for asset paths, so if this asset path
4735 // TODO: work towards making these paths invariant
5026 ArrayList<String> paths = new ArrayList<>();
5027 paths.add(baseCodePath);
5029 Collections.addAll(paths, splitCodePaths);
5031 return paths;
[all...]
/frameworks/base/core/jni/
H A Dcom_android_internal_os_Zygote.cpp31 #include <paths.h>
/frameworks/base/core/java/android/content/
H A DIntentFilter.java130 * has matched against the Intent, <em>or</em> no paths were supplied in the
1127 * path to be considered. If any paths are
1129 * them. If no paths are included, then only the scheme/authority must
1160 * Return the number of data paths in the filter.
1175 * filter does not include any paths, false will <em>always</em> be
1214 * Return an iterator over the filter's data paths.
1248 * schemes/paths, the match will only succeed if the intent does not
1312 final ArrayList<PatternMatcher> paths = mDataPaths;
1313 if (paths == null) {
/frameworks/base/libs/androidfw/
H A DAssetManager.cpp211 // new paths are always added at the end
301 const String8 paths[2] = { String8(targetApkPath), String8(overlayApkPath) }; local
307 ap.path = paths[i];
478 * To find a particular file, we have to try up to eight paths with
482 * with illegal characters or "../" backward relative paths.
H A DResourceTypes.cpp6694 const char* paths[] = { targetPath, overlayPath }; local
6697 const char* path = paths[j];
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
H A DBaseShortcutManagerTest.java1673 protected File makeFile(File baseDirectory, String... paths) { argument
1676 for (String path : paths) {
/frameworks/opt/setupwizard/tools/docs/
H A Djsilver.jar ... static transient void setLibrarySearchPaths (java.lang.String[]) String[] paths static synthetic java.lang.String access$000 ...

Completed in 736 milliseconds