Searched refs:path (Results 26 - 50 of 535) sorted by relevance

1234567891011>>

/frameworks/base/media/java/android/media/
H A DMediaScannerClient.java24 public void scanFile(String path, long lastModified, long fileSize, argument
/frameworks/native/cmds/dumpstate/
H A Ddumpstate.h32 int dump_file(const char *title, const char *path);
35 int dump_file_from_fd(const char *title, const char *path, int fd);
47 pid_t redirect_to_file(FILE *redirect, char *path, int gzip_level);
77 void play_sound(const char *path);
/frameworks/webview/chromium/tools/
H A Dmerge_from_chromium.py37 def _ReadGitFile(sha1, path, git_url=None, git_branch=None):
42 path: The relative path of the file to read.
50 return merge_common.GetCommandStdout(['git', 'show', '%s:%s' % (sha1, path)])
99 A dictionary from project to git URL and SHA1 - 'path: (url, sha1)'
109 for path in projects:
111 if path:
112 upstream_path = os.path.join('src', path)
122 'updated.' % path)
[all...]
/frameworks/av/include/media/stagefright/
H A DStagefrightMediaScanner.h30 const char *path, const char *mimeType,
40 const char *path, const char *mimeType,
/frameworks/base/graphics/java/android/graphics/
H A DPathMeasure.java24 * of a path, and/or to find the position and tangent along it, call
27 * Note that once a path is associated with the measure object, it is
28 * undefined if the path is subsequently modified and the the measure object
29 * is used. If the path is modified, you must call setPath with the path.
37 * Create a PathMeasure object associated with the specified path object
39 * path's length, and the position and tangent of any position along the
40 * path.
42 * Note that once a path is associated with the measure object, it is
43 * undefined if the path i
50 PathMeasure(Path path, boolean forceClosed) argument
60 setPath(Path path, boolean forceClosed) argument
[all...]
/frameworks/base/tools/aapt/tests/
H A DMockCacheUpdater.h18 // Make sure all the directories along this path exist
19 virtual void ensureDirectoriesExist(String8 path) argument
25 virtual void deleteFile(String8 path) { argument
H A DMockDirectoryWalker.h19 // entries. It takes a path and a map of filenames and their modification times.
24 StringDirectoryWalker(String8& path, Vector< pair<String8,time_t> >& data) argument
25 : mPos(0), mBasePath(path), mData(data) {
31 virtual bool openDir(String8 path) { argument
34 return path == mBasePath;
36 virtual bool openDir(const char* path) { argument
37 String8 p(path);
79 // Base path
/frameworks/base/tools/aapt/
H A DDirectoryWalker.h28 virtual bool openDir(String8 path) = 0;
29 virtual bool openDir(const char* path) = 0;
44 // Base path
57 virtual bool openDir(String8 path) { argument
58 mBasePath = path;
67 virtual bool openDir(const char* path) { argument
68 String8 p(path);
/frameworks/compile/mclinker/unittests/
H A DMCRegionFragmentTest.cpp46 Path path(TOPDIR);
47 path.append("unittests/test3.txt");
49 MemoryArea* area = areaFactory->produce(path, MemoryArea::ReadWrite);
61 Path path(TOPDIR);
62 path.append("unittests/test3.txt");
64 MemoryArea* area = areaFactory->produce(path, MemoryArea::ReadWrite);
/frameworks/base/include/androidfw/
H A DAssetManager.h95 * added asset path will be examined first when searching for assets,
102 bool addAssetPath(const String8& path, int32_t* cookie);
103 bool addOverlayPath(const String8& path, int32_t* cookie);
121 * Return an asset path in the manager. 'which' must be between 0 and
161 * path hierarchy, and will not be seen by "AssetDir" or included
185 * Open a directory within a particular path of the asset manager.
239 String8 path; member in struct:android::AssetManager::asset_path
245 const asset_path& path);
247 const asset_path& path);
249 const asset_path& path, cons
[all...]
/frameworks/base/core/java/android/os/
H A DFileObserver.java88 public int startWatching(String path, int mask, FileObserver observer) { argument
89 int wfd = startWatching(m_fd, path, mask);
105 public void onEvent(int wfd, int mask, String path) { argument
122 observer.onEvent(mask, path);
131 private native int startWatching(int fd, String path, int mask); argument
148 * Equivalent to FileObserver(path, FileObserver.ALL_EVENTS).
150 public FileObserver(String path) { argument
151 this(path, ALL_EVENTS);
159 * @param path The file or directory to monitor
162 public FileObserver(String path, in argument
209 onEvent(int event, String path) argument
[all...]
/frameworks/base/core/tests/coretests/src/android/os/storage/
H A DStorageManagerBaseTest.java81 * @param obbFilePath path to the OBB image file
82 * @param pathToContentsFile path to a file on the mounted OBB volume to open after the OBB
88 assertTrue("path to contents file cannot be null!", pathToContentsFile != null);
100 // the official OBB file path and the mount-request file path should be the same, but
140 * Returns the official path of the OBB file that was mounted
142 * This is not the mount path, but the normalized path to the actual OBB file
144 * @return a {@link String} representation of the path to the OBB file that was mounted
171 public void onObbStateChange(String path, in argument
465 doValidateIntContents(String path, String filename, int start, int end) argument
495 doValidateTextContents(String path, String filename, String contents) argument
530 doValidateZeroLongFile(String path, String filename, long size, boolean checkContents) argument
[all...]
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DTextOnPathActivity.java45 Path path = new Path();
46 buildPath(path);
47 return path;
50 private static void buildPath(Path path) { argument
51 path.moveTo(0.0f, 0.0f);
52 path.cubicTo(0.0f, 0.0f, 100.0f, 150.0f, 100.0f, 200.0f);
53 path.cubicTo(100.0f, 200.0f, 50.0f, 300.0f, -80.0f, 200.0f);
54 path.cubicTo(-80.0f, 200.0f, 100.0f, 200.0f, 200.0f, 0.0f);
58 Path path = new Path();
59 buildStraightPath(path);
63 buildStraightPath(Path path) argument
[all...]
/frameworks/base/libs/hwui/
H A DPathCache.cpp82 bool PathCache::canDrawAsConvexPath(SkPath* path, const SkPaint* paint) { argument
84 return paint->getPathEffect() == NULL && path->getConvexity() == SkPath::kConvex_Convexity;
87 void PathCache::computePathBounds(const SkPath* path, const SkPaint* paint, argument
89 const SkRect& bounds = path->getBounds();
124 static void drawPath(const SkPath *path, const SkPaint* paint, SkBitmap& bitmap, argument
133 canvas.drawPath(*path, pathPaint);
218 // If there is a pending task, the path was not added
221 ALOGE("Removing path texture of size %d will leave "
256 PathTexture* PathCache::addTexture(const PathDescription& entry, const SkPath *path, argument
262 computePathBounds(path, pain
379 removeDeferred(SkPath* path) argument
411 getSourcePath(const SkPath* path) argument
419 get(const SkPath* path, const SkPaint* paint) argument
457 precache(const SkPath* path, const SkPaint* paint) argument
515 SkPath path; local
537 SkPath path; local
558 SkPath path; local
581 SkPath path; local
608 SkPath path; local
[all...]
/frameworks/av/media/libstagefright/id3/
H A Dtestid3.cpp71 void scanFile(const char *path) { argument
72 sp<FileSource> file = new FileSource(path);
77 printf("FAIL %s\n", path);
79 printf("SUCCESS %s\n", path);
112 void scan(const char *path) { argument
114 if (stat(path, &st) == 0 && S_ISREG(st.st_mode)) {
115 scanFile(path);
119 DIR *dir = opendir(path);
134 strcpy(newPath, path);
/frameworks/base/packages/DefaultContainerService/jni/
H A Dcom_android_defcontainer_MeasurementUtils.cpp35 const char* path = env->GetStringUTFChars(directory, NULL); local
36 if (path == NULL) {
40 int dirfd = open(path, O_DIRECTORY, O_RDONLY);
42 ALOGI("error opening: %s: %s", path, strerror(errno));
48 env->ReleaseStringUTFChars(directory, path);
/frameworks/native/cmds/installd/
H A Dutils.c21 int create_pkg_path_in_dir(char path[PKG_PATH_MAX], argument
41 char *dst = path;
44 if (append_and_increment(&dst, dir->path, &dst_size) < 0
47 ALOGE("Error building APK path");
55 * Create the package path name for a given package name with a postfix for
58 int create_pkg_path(char path[PKG_PATH_MAX], argument
80 if (append_and_increment(&dst, android_data_dir.path, &dst_size) < 0
82 ALOGE("Error building prefix for APK path");
89 ALOGW("Error appending UID to APK path");
95 dir.path
105 create_user_path(char path[PKG_PATH_MAX], userid_t userid) argument
145 create_user_media_path(char path[PATH_MAX], userid_t userid) argument
156 create_user_config_path(char path[PATH_MAX], userid_t userid) argument
163 create_move_path(char path[PKG_PATH_MAX], const char* pkgname, const char* leaf, userid_t userid) argument
784 create_dir_path(char path[PATH_MAX], cache_dir_t* dir) argument
801 delete_cache_dir(char path[PATH_MAX], cache_dir_t* dir) argument
843 char path[PATH_MAX]; local
913 validate_path(const dir_rec_t* dir, const char* path) argument
939 validate_system_app_path(const char* path) argument
958 const char* path = getenv(var); local
973 get_path_from_string(dir_rec_t* rec, const char* path) argument
1042 validate_apk_path(const char *path) argument
1104 char path[PATH_MAX]; local
1117 char path[PATH_MAX]; local
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
H A DCsimFileHandler.java50 String path = getCommonIccEFPath(efid);
51 if (path == null) {
54 // the global 3g phone book path.
57 return path;
/frameworks/support/v4/java/android/support/v4/os/
H A DEnvironmentCompat.java34 * Unknown storage state, such as when a path isn't backed by known storage
43 * path.
55 public static String getStorageState(File path) { argument
58 return EnvironmentCompatKitKat.getStorageState(path);
62 final String canonicalPath = path.getCanonicalPath();
70 Log.w(TAG, "Failed to resolve canonical path: " + e);
/frameworks/base/libs/androidfw/
H A DAssetManager.cpp97 String8 path(root);
98 path.appendPath(kResourceCache);
114 path.appendPath(filename);
115 path.append("@idmap");
117 return path;
173 bool AssetManager::addAssetPath(const String8& path, int32_t* cookie) argument
179 String8 realPath(path);
185 ap.path = realPath;
187 ap.path = path;
1016 String8 path; local
1311 String8 path; local
1437 scanDirLocked(const String8& path) argument
1863 SharedZip(const String8& path, time_t modWhen) argument
1875 get(const String8& path, bool createIfNotPresent) argument
2009 getZip(const String8& path) argument
2020 getZipResourceTableAsset(const String8& path) argument
2031 setZipResourceTableAsset(const String8& path, Asset* asset) argument
2040 getZipResourceTable(const String8& path) argument
2051 setZipResourceTable(const String8& path, ResTable* res) argument
2082 addOverlay(const String8& path, const asset_path& overlay) argument
2089 getOverlay(const String8& path, size_t idx, asset_path* out) const argument
[all...]
/frameworks/av/include/media/
H A Dmediascanner.h76 const char *path, const char *mimeType, MediaScannerClient &client) = 0;
79 const char *path, MediaScannerClient &client);
95 char *path, int pathRemaining, MediaScannerClient &client, bool noMedia);
97 char *path, int pathRemaining, MediaScannerClient &client, bool noMedia,
100 bool shouldSkipDirectory(char *path);
117 virtual status_t scanFile(const char* path, long long lastModified,
/frameworks/av/drm/libdrmframework/include/
H A DDrmManagerService.h60 DrmConstraints* getConstraints(int uniqueId, const String8* path, const int action);
62 DrmMetadata* getMetadata(int uniqueId, const String8* path);
64 bool canHandle(int uniqueId, const String8& path, const String8& mimeType);
73 String8 getOriginalMimeType(int uniqueId, const String8& path, int fd);
75 int getDrmObjectType(int uniqueId, const String8& path, const String8& mimeType);
77 int checkRightsStatus(int uniqueId, const String8& path,int action);
84 bool validateAction(int uniqueId, const String8& path,
87 status_t removeRights(int uniqueId, const String8& path);
H A DNoOpDrmManagerClientImpl.h33 DrmConstraints* getConstraints(int uniqueId, const String8* path, const int action);
35 DrmMetadata* getMetadata(int uniqueId, const String8* path);
36 bool canHandle(int uniqueId, const String8& path, const String8& mimeType);
41 String8 getOriginalMimeType(int uniqueId, const String8& path, int fd);
42 int getDrmObjectType(int uniqueId, const String8& path, const String8& mimeType);
43 int checkRightsStatus(int uniqueId, const String8& path, int action);
48 int uniqueId, const String8& path, int action, const ActionDescription& description);
49 status_t removeRights(int uniqueId, const String8& path);
/frameworks/av/drm/libdrmframework/plugins/passthru/include/
H A DDrmPassthruPlugIn.h31 DrmConstraints* onGetConstraints(int uniqueId, const String8* path, int action);
33 DrmMetadata* onGetMetadata(int uniqueId, const String8* path);
41 bool onCanHandle(int uniqueId, const String8& path);
50 String8 onGetOriginalMimeType(int uniqueId, const String8& path, int fd);
52 int onGetDrmObjectType(int uniqueId, const String8& path, const String8& mimeType);
54 int onCheckRightsStatus(int uniqueId, const String8& path, int action);
62 int uniqueId, const String8& path, int action, const ActionDescription& description);
64 status_t onRemoveRights(int uniqueId, const String8& path);
/frameworks/av/include/drm/
H A DDrmManagerClient.h190 * @param[in] path Path of the protected content
195 bool validateAction(const String8& path, int action, const ActionDescription& description);
215 * @param[in] path Path of the protected content
223 DrmConstraints* getConstraints(const String8* path, const int action);
228 * @param[in] path Path of the protected content
234 DrmMetadata* getMetadata(const String8* path);
237 * Check whether the given mimetype or path can be handled
239 * @param[in] path Path of the content needs to be handled
242 * True if DrmManager can handle given path or mime type.
244 bool canHandle(const String8& path, cons
[all...]

Completed in 1380 milliseconds

1234567891011>>