Searched refs:path (Results 51 - 75 of 464) sorted by relevance

1234567891011>>

/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...]
/frameworks/base/core/jni/
H A Dandroid_util_FileObserver.cpp79 jstring path = NULL; local
83 path = env->NewStringUTF(event->name);
86 env->CallVoidMethod(object, method_onEvent, event->wd, event->mask, path);
91 if (path != NULL)
93 env->DeleteLocalRef(path);
113 const char* path = env->GetStringUTFChars(pathString, NULL); local
115 res = inotify_add_watch(fd, path, mask);
117 env->ReleaseStringUTFChars(pathString, path);
H A Dandroid_os_FileUtils.cpp58 jint android_os_FileUtils_getFatVolumeId(JNIEnv* env, jobject clazz, jstring path) argument
60 if (path == NULL) {
64 const char *pathStr = env->GetStringUTFChars(path, NULL);
75 env->ReleaseStringUTFChars(path, pathStr);
H A Dandroid_app_backup_FullBackup.cpp69 * rootpath: prefix to be snipped from full path when encoding in tar
70 * path: absolute path to the file to be saved
86 String8 path(pathchars ? pathchars : "");
100 ALOGE("No output stream provided [%s]", path.string());
104 if (path.length() < rootpath.length()) {
105 ALOGE("file path [%s] shorter than root path [%s]",
106 path.string(), rootpath.string());
110 return write_tarfile(packageName, domain, rootpath, path, write
[all...]
/frameworks/base/graphics/java/android/graphics/
H A DTypeface.java145 * @param path The file name of the font data in the assets directory
148 public static Typeface createFromAsset(AssetManager mgr, String path) { argument
149 return new Typeface(nativeCreateFromAsset(mgr, path));
155 * @param path The path to the font data.
158 public static Typeface createFromFile(File path) { argument
159 return new Typeface(nativeCreateFromFile(path.getAbsolutePath()));
165 * @param path The full path to the font data.
168 public static Typeface createFromFile(String path) { argument
226 nativeCreateFromAsset(AssetManager mgr, String path) argument
227 nativeCreateFromFile(String path) argument
[all...]
/frameworks/base/include/androidfw/
H A DAssetDir.h80 FileInfo(const String8& path) // useful for e.g. svect.indexOf argument
81 : mFileName(path), mFileType(kFileTypeUnknown)
109 void set(const String8& path, FileType type) { argument
110 mFileName = path;
115 void setFileName(const String8& path) { mFileName = path; } argument
121 void setSourceName(const String8& path) { mSourceName = path; } argument
/frameworks/compile/mclinker/unittests/
H A DDirIteratorTest.cpp57 if (0 != entry.path())
58 size = entry.path()->native().size();
H A DMemoryAreaTest.cpp50 Path path(TOPDIR);
51 path.append("unittests/test3.txt");
54 MemoryArea* area = AreaFactory->produce(path, FileHandle::ReadOnly);
65 Path path(TOPDIR);
66 path.append("unittests/test2.txt");
68 MemoryArea* area = AreaFactory->produce(path, FileHandle::ReadOnly);
80 area->handler()->open(path, FileHandle::ReadOnly);
93 Path path(TOPDIR) ;
94 path.append("unittests/test3.txt") ;
96 MemoryArea* area = AreaFactory->produce(path, FileHandl
[all...]
/frameworks/base/drm/java/android/drm/
H A DDrmManagerClient.java361 * @param path Path to the content from which you are retrieving DRM constraints.
368 public ContentValues getConstraints(String path, int action) { argument
369 if (null == path || path.equals("") || !DrmStore.Action.isValid(action)) {
370 throw new IllegalArgumentException("Given usage or path is invalid/null");
372 return _getConstraints(mUniqueId, path, action);
378 * @param path Path to the content from which you are retrieving metadata information.
383 public ContentValues getMetadata(String path) { argument
384 if (null == path || path
470 canHandle(String path, String mimeType) argument
557 getDrmObjectType(String path, String mimeType) argument
595 getOriginalMimeType(String path) argument
644 checkRightsStatus(String path) argument
671 checkRightsStatus(String path, int action) argument
701 removeRights(String path) argument
871 _getConstraints(int uniqueId, String path, int usage) argument
873 _getMetadata(int uniqueId, String path) argument
875 _canHandle(int uniqueId, String path, String mimeType) argument
884 _getDrmObjectType(int uniqueId, String path, String mimeType) argument
886 _getOriginalMimeType(int uniqueId, String path, FileDescriptor fd) argument
888 _checkRightsStatus(int uniqueId, String path, int action) argument
890 _removeRights(int uniqueId, String path) argument
[all...]
H A DDrmUtils.java39 /* package */ static byte[] readBytes(String path) throws IOException { argument
40 File file = new File(path);
64 /* package */ static void writeToFile(final String path, byte[] data) throws IOException { argument
68 if (null != path && null != data) {
70 outputStream = new FileOutputStream(path);
78 /* package */ static void removeFile(String path) throws IOException { argument
79 File file = new File(path);
/frameworks/av/drm/libdrmframework/include/
H A DDrmManager.h75 DrmConstraints* getConstraints(int uniqueId, const String8* path, const int action);
77 DrmMetadata* getMetadata(int uniqueId, const String8* path);
79 bool canHandle(int uniqueId, const String8& path, const String8& mimeType);
88 String8 getOriginalMimeType(int uniqueId, const String8& path, int fd);
90 int getDrmObjectType(int uniqueId, const String8& path, const String8& mimeType);
92 int checkRightsStatus(int uniqueId, const String8& path, int action);
100 int uniqueId, const String8& path, int action, const ActionDescription& description);
102 status_t removeRights(int uniqueId, const String8& path);
138 String8 getSupportedPlugInId(int uniqueId, const String8& path, const String8& mimeType);
142 String8 getSupportedPlugInIdFromPath(int uniqueId, const String8& path);
[all...]
/frameworks/base/test-runner/src/junit/runner/
H A DTestCaseClassLoader.java25 /** scanned class path */
39 * Constructs a TestCaseLoader. It scans the class path
43 this(System.getProperty("java.class.path"));
47 * Constructs a TestCaseLoader. It scans the class path
56 String separator= System.getProperty("path.separator");
113 String path= (String) fPathItems.elementAt(i);
115 if (isJar(path)) {
116 data= loadJarData(path, fileName);
118 data= loadFileData(path, fileName);
132 private byte[] loadFileData(String path, Strin argument
157 loadJarData(String path, String fileName) argument
[all...]
/frameworks/av/drm/common/
H A DDrmEngineBase.cpp30 int uniqueId, const String8* path, int action) {
31 return onGetConstraints(uniqueId, path, action);
34 DrmMetadata* DrmEngineBase::getMetadata(int uniqueId, const String8* path) { argument
35 return onGetMetadata(uniqueId, path);
51 bool DrmEngineBase::canHandle(int uniqueId, const String8& path) { argument
52 return onCanHandle(uniqueId, path);
69 String8 DrmEngineBase::getOriginalMimeType(int uniqueId, const String8& path, int fd) { argument
70 return onGetOriginalMimeType(uniqueId, path, fd);
73 int DrmEngineBase::getDrmObjectType(int uniqueId, const String8& path, const String8& mimeType) { argument
74 return onGetDrmObjectType(uniqueId, path, mimeTyp
29 getConstraints( int uniqueId, const String8* path, int action) argument
77 checkRightsStatus(int uniqueId, const String8& path, int action) argument
91 validateAction( int uniqueId, const String8& path, int action, const ActionDescription& description) argument
97 removeRights(int uniqueId, const String8& path) argument
[all...]
/frameworks/av/drm/libdrmframework/
H A DDrmManagerClient.cpp42 DrmConstraints* DrmManagerClient::getConstraints(const String8* path, const int action) { argument
43 return mDrmManagerClientImpl->getConstraints(mUniqueId, path, action);
46 DrmMetadata* DrmManagerClient::getMetadata(const String8* path) { argument
47 return mDrmManagerClientImpl->getMetadata(mUniqueId, path);
50 bool DrmManagerClient::canHandle(const String8& path, const String8& mimeType) { argument
51 return mDrmManagerClientImpl->canHandle(mUniqueId, path, mimeType);
67 String8 DrmManagerClient::getOriginalMimeType(const String8& path, int fd) { argument
68 return mDrmManagerClientImpl->getOriginalMimeType(mUniqueId, path, fd);
71 int DrmManagerClient::getDrmObjectType(const String8& path, const String8& mimeType) { argument
72 return mDrmManagerClientImpl->getDrmObjectType( mUniqueId, path, mimeTyp
75 checkRightsStatus(const String8& path, int action) argument
90 validateAction( const String8& path, int action, const ActionDescription& description) argument
95 removeRights(const String8& path) argument
[all...]
/frameworks/av/drm/libdrmframework/plugins/common/include/
H A DDrmEngineBase.h37 DrmConstraints* getConstraints(int uniqueId, const String8* path, int action);
39 DrmMetadata* getMetadata(int uniqueId, const String8* path);
47 bool canHandle(int uniqueId, const String8& path);
56 String8 getOriginalMimeType(int uniqueId, const String8& path, int fd);
58 int getDrmObjectType(int uniqueId, const String8& path, const String8& mimeType);
60 int checkRightsStatus(int uniqueId, const String8& path, int action);
68 int uniqueId, const String8& path, int action, const ActionDescription& description);
70 status_t removeRights(int uniqueId, const String8& path);
115 * @param[in] path Path of the protected content
124 int uniqueId, const String8* path, in
[all...]
/frameworks/av/media/libeffects/downmix/
H A DAndroid.mk23 $(call include-path-for, audio-effects) \
24 $(call include-path-for, audio-utils)
/frameworks/av/media/libmediaplayerservice/
H A DSharedLibrary.h27 SharedLibrary(const String8 &path);
/frameworks/base/services/jni/
H A Dcom_android_server_SerialService.cpp37 static jobject android_server_SerialService_open(JNIEnv *env, jobject thiz, jstring path) argument
39 const char *pathStr = env->GetStringUTFChars(path, NULL);
44 env->ReleaseStringUTFChars(path, pathStr);
47 env->ReleaseStringUTFChars(path, pathStr);
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/
H A DFsUtils.java132 public static String getTestUrl(String path) { argument
134 if (!path.startsWith(HTTP_TESTS_PREFIX)) {
135 url = "file://" + path;
138 if (path.startsWith(HTTPS_TESTS_PREFIX)) {
140 url = "https://127.0.0.1:8443/" + path.substring(HTTP_TESTS_PREFIX.length());
141 } else if (!path.startsWith(HTTP_LOCAL_TESTS_PREFIX)
142 && !path.startsWith(HTTP_MEDIA_TESTS_PREFIX)
143 && !path.startsWith(HTTP_WML_TESTS_PREFIX)) {
144 url = "http://127.0.0.1:8000/" + path.substring(HTTP_TESTS_PREFIX.length());
146 url = "file://" + path;
198 getLastSegmentInPath(String path) argument
[all...]
/frameworks/wilhelm/tests/listening/
H A DAndroid.mk10 $(call include-path-for, wilhelm)
34 $(call include-path-for, wilhelm)
/frameworks/wilhelm/tests/mimeUri/
H A DAndroid.mk10 $(call include-path-for, wilhelm)
36 $(call include-path-for, wilhelm)
62 $(call include-path-for, wilhelm)
88 $(call include-path-for, wilhelm)
114 $(call include-path-for, wilhelm)
140 $(call include-path-for, wilhelm)
166 $(call include-path-for, wilhelm)
192 $(call include-path-for, wilhelm)
/frameworks/base/media/java/android/media/
H A DMediaScannerConnection.java50 public void scanCompleted(String path, Uri uri) {
53 client.onScanCompleted(path, uri);
66 * @param path the path to the file that has been scanned.
70 public void onScanCompleted(String path, Uri uri); argument
88 * @param path the path to the file that has been scanned.
92 public void onScanCompleted(String path, Uri uri); argument
156 * @param path the path t
160 scanFile(String path, String mimeType) argument
195 onScanCompleted(String path, Uri uri) argument
[all...]
/frameworks/native/cmds/rawbu/
H A Dbackup.cpp51 const char* path; member in struct:android::special_dir
65 static int wipe (const char *path) argument
72 dir = opendir(path);
76 path, strerror(errno));
82 strcpy(nameBuffer, path);
104 /* See if this is a path we should skip. */
105 for (i = 0; SKIP_PATHS[i].path; i++) {
106 if (strcmp(SKIP_PATHS[i].path, nameBuffer) == 0) {
118 if (!noBackup && SKIP_PATHS[i].path != NULL) {
152 strcpy(nameBuffer, path);
236 write_header(FILE* fh, int type, const char* path, const struct stat* st) argument
438 read_header(FILE* fh, int* type, char** path, struct stat* st) argument
538 char* path = NULL; local
[all...]
/frameworks/wilhelm/tests/sandbox/
H A DAndroid.mk10 $(call include-path-for, wilhelm)
39 $(call include-path-for, wilhelm)
66 $(call include-path-for, wilhelm) \
67 $(call include-path-for, wilhelm-ut)
97 $(call include-path-for, wilhelm) \
98 $(call include-path-for, wilhelm-ut)
128 $(call include-path-for, wilhelm)
155 $(call include-path-for, wilhelm)
185 $(call include-path-for, wilhelm)
215 $(call include-path
[all...]

Completed in 2125 milliseconds

1234567891011>>