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

1234567891011>>

/frameworks/av/media/libeffects/factory/
H A DAndroid.mk17 $(call include-path-for, audio-effects)
/frameworks/av/media/libmediaplayerservice/
H A DSharedLibrary.cpp28 SharedLibrary::SharedLibrary(const String8 &path) { argument
29 mLibHandle = dlopen(path.string(), RTLD_NOW);
H A DSharedLibrary.h27 SharedLibrary(const String8 &path);
/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);
/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/lib/MC/
H A DSearchDirs.cpp55 if (exists(dir->path()) && is_directory(dir->path())) {
106 if (file == entry.path()->filename())
107 return entry.path();
114 if (file == entry.path()->stem().native() ) {
116 entry.path()->extension().native()) {
117 return entry.path();
128 if (file == entry.path()->stem().native() &&
130 entry.path()->extension().native()) {
131 return entry.path();
[all...]
/frameworks/compile/mclinker/lib/Script/
H A DGroupCmd.cpp94 sys::fs::Path path; local
100 path = script.sysroot();
101 path.append(token->name());
104 path.assign(token->name());
105 if (!sys::fs::exists(path)) {
106 // 3. Search through the library search path
110 path = *p;
114 if (!sys::fs::exists(path))
115 fatal(diag::err_cannot_open_input) << path.filename() << path;
122 const sys::fs::Path* path = NULL; local
[all...]
/frameworks/compile/mclinker/unittests/
H A DDirIteratorTest.cpp57 if (0 != entry.path())
58 size = entry.path()->native().size();
/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.java38 /* package */ static byte[] readBytes(String path) throws IOException { argument
39 File file = new File(path);
63 /* package */ static void writeToFile(final String path, byte[] data) throws IOException { argument
67 if (null != path && null != data) {
69 outputStream = new FileOutputStream(path);
77 /* package */ static void removeFile(String path) throws IOException { argument
78 File file = new File(path);
/frameworks/av/drm/libdrmframework/include/
H A DDrmManager.h73 DrmConstraints* getConstraints(int uniqueId, const String8* path, const int action);
75 DrmMetadata* getMetadata(int uniqueId, const String8* path);
77 bool canHandle(int uniqueId, const String8& path, const String8& mimeType);
86 String8 getOriginalMimeType(int uniqueId, const String8& path, int fd);
88 int getDrmObjectType(int uniqueId, const String8& path, const String8& mimeType);
90 int checkRightsStatus(int uniqueId, const String8& path, int action);
98 int uniqueId, const String8& path, int action, const ActionDescription& description);
100 status_t removeRights(int uniqueId, const String8& path);
136 String8 getSupportedPlugInId(int uniqueId, const String8& path, const String8& mimeType);
140 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/preprocessing/
H A DAndroid.mk17 $(call include-path-for, audio-effects)
19 LOCAL_C_INCLUDES += $(call include-path-for, speex)
/frameworks/base/services/core/jni/
H A Dcom_android_server_PersistentDataBlockService.cpp80 const char *path = env->GetStringUTFChars(jpath, 0); local
81 int fd = open(path, O_RDONLY);
90 const char *path = env->GetStringUTFChars(jpath, 0); local
91 int fd = open(path, O_WRONLY);
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/webview/chromium/tools/
H A Dgenerate_local_manifest.py10 certain path.
21 project_path = project.get('path')
29 print 'Excluding project name="%s" path="%s"' % (project_name,
35 local_manifest_dir = os.path.dirname(local_manifest_path)
36 if not os.path.exists(local_manifest_dir):
55 manifest_path = os.path.join(android_build_top, '.repo/manifests',
57 local_manifest_path = os.path.join(android_build_top,
/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/tools/layoutlib/bridge/src/libcore/io/
H A DMemoryMappedFile_Delegate.java54 static MemoryMappedFile mmapRO(String path) throws ErrnoException { argument
55 if (!path.startsWith(TARGET_PATH)) {
61 path = path.substring(TARGET_PATH.length());
63 File f = new File(sRootPath, path);
109 public static void setDataDir(File path) { argument
110 sRootPath = path;
/frameworks/av/media/libeffects/data/
H A Daudio_effects.conf1 # List of effect libraries to load. Each library element must contain a "path" element
2 # giving the full path of the library .so file.
5 # path <lib path>
13 #path /system/lib/soundfx/libeffectproxy.so
18 #path /system/lib/soundfx/libswwrapper.so
23 #path /system/lib/soundfx/libhwwrapper.so
27 path /system/lib/soundfx/libbundlewrapper.so
30 path /system/lib/soundfx/libreverbwrapper.so
33 path /syste
[all...]
/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
159 * @param path the path t
163 scanFile(String path, String mimeType) argument
198 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...]

Completed in 641 milliseconds

1234567891011>>