Searched refs:path (Results 151 - 175 of 464) sorted by relevance

1234567891011>>

/frameworks/base/core/java/android/os/
H A DEnvironment.java303 * <p>Writing to this path requires the
305 * a future platform release, access to this path will require the
309 * <p>This path may change between platform versions, so applications
464 * @return Returns the File path for the directory. Note that this
474 * Returns the path for android-specific data on the SD card.
483 * Generates the raw path to an application's data
492 * Generates the raw path to an application's media
501 * Generates the raw path to an application's OBB files
510 * Generates the path to an application's files.
519 * Generates the path t
690 maybeTranslateEmulatedPathToInternal(File path) argument
[all...]
H A DSELinux.java62 * @param path representing the path of file object to relabel.
66 public static final native boolean setFileContext(String path, String context); argument
70 * @param path the pathname of the file object.
73 public static final native String getFileContext(String path); argument
163 * @param file The File object representing the path to be relabeled.
171 Slog.e(TAG, "Error getting canonical path. Restorecon failed for " +
/frameworks/base/core/jni/
H A Dandroid_server_Watchdog.cpp61 jniThrowException(env, "java/lang/IllegalArgumentException", "Null path");
65 const char *path = env->GetStringUTFChars(pathStr, NULL); local
67 int outFd = open(path, O_WRONLY | O_APPEND | O_CREAT,
97 env->ReleaseStringUTFChars(pathStr, path);
/frameworks/base/media/jni/
H A Dandroid_media_MediaScanner.cpp146 virtual status_t scanFile(const char* path, long long lastModified, argument
149 ALOGV("scanFile: path(%s), time(%lld), size(%lld) and isDir(%d)",
150 path, lastModified, fileSize, isDirectory);
153 if ((pathStr = mEnv->NewStringUTF(path)) == NULL) {
238 JNIEnv *env, jobject thiz, jstring path, jobject client)
247 if (path == NULL) {
252 const char *pathStr = env->GetStringUTFChars(path, NULL);
262 env->ReleaseStringUTFChars(path, pathStr);
267 JNIEnv *env, jobject thiz, jstring path,
279 if (path
237 android_media_MediaScanner_processDirectory( JNIEnv *env, jobject thiz, jstring path, jobject client) argument
266 android_media_MediaScanner_processFile( JNIEnv *env, jobject thiz, jstring path, jstring mimeType, jobject client) argument
[all...]
/frameworks/base/tools/aapt/
H A DFileFinder.cpp80 void SystemFileFinder::checkAndAddFile(String8 path, const struct stat* stats, argument
86 String8 ext(path.getPathExtension());
94 fileStore.add(path,stats->st_mtime);
/frameworks/base/tools/aapt/tests/
H A DFileFinder_test.cpp27 String8 path("ApiDemos");
41 DirectoryWalker* sdw = new StringDirectoryWalker(path,data);
57 bool findStatus = FileFinder::findFiles(path,exts, testStorage, sdw);
/frameworks/av/media/libeffects/lvm/wrapper/
H A DAndroid.mk28 $(call include-path-for, audio-effects)
57 $(call include-path-for, audio-effects)
/frameworks/base/core/java/android/webkit/
H A DWebIconDatabase.java52 * Open a the icon database and store the icons in the given path.
53 * @param path The directory path where the icon database will be stored.
55 public void open(String path) { argument
/frameworks/base/core/tests/coretests/src/android/os/
H A DFileObserverTest.java40 public Observer(String path) { argument
41 super(path);
44 public void onEvent(int event, String path) { argument
50 map.put("path", path);
114 Log.i("FileObserverTest", "event: " + getEventString((Integer)map.get("event")) + " path: " + map.get("path"));
/frameworks/base/include/storage/
H A DIMountServiceListener.h30 virtual void onStorageStateChanged(const String16& path,
/frameworks/base/services/jni/
H A DAndroid.mk28 $(call include-path-for, libhardware)/hardware \
29 $(call include-path-for, libhardware_legacy)/hardware_legacy \
/frameworks/ex/variablespeed/src/com/android/ex/variablespeed/
H A DMediaPlayerProxy.java39 void setDataSource(String path) throws IllegalStateException, IOException; argument
H A DSingleThreadedMediaPlayerProxy.java57 public synchronized void setDataSource(String path) throws IllegalStateException, IOException { argument
58 mDelegate.setDataSource(path);
/frameworks/native/include/utils/
H A DZipFileCRO.h44 extern ZipFileCRO ZipFileXRO_open(const char* path);
/frameworks/av/drm/drmserver/
H A DDrmManager.cpp158 DrmConstraints* DrmManager::getConstraints(int uniqueId, const String8* path, const int action) { argument
160 const String8 plugInId = getSupportedPlugInIdFromPath(uniqueId, *path);
163 return rDrmEngine.getConstraints(uniqueId, path, action);
168 DrmMetadata* DrmManager::getMetadata(int uniqueId, const String8* path) { argument
170 const String8 plugInId = getSupportedPlugInIdFromPath(uniqueId, *path);
173 return rDrmEngine.getMetadata(uniqueId, path);
193 bool DrmManager::canHandle(int uniqueId, const String8& path, const String8& mimeType) { argument
198 if (0 < path.length()) {
201 result = rDrmEngine.canHandle(uniqueId, path);
203 String8 extension = path
222 canHandle(int uniqueId, const String8& path) argument
259 getOriginalMimeType(int uniqueId, const String8& path, int fd) argument
269 getDrmObjectType(int uniqueId, const String8& path, const String8& mimeType) argument
279 checkRightsStatus(int uniqueId, const String8& path, int action) argument
311 validateAction( int uniqueId, const String8& path, int action, const ActionDescription& description) argument
322 removeRights(int uniqueId, const String8& path) argument
567 getSupportedPlugInId( int uniqueId, const String8& path, const String8& mimeType) argument
595 getSupportedPlugInIdFromPath(int uniqueId, const String8& path) argument
[all...]
/frameworks/av/media/mtp/
H A DMtpServer.cpp274 void MtpServer::addEditObject(MtpObjectHandle handle, MtpString& path, argument
276 ObjectEdit* edit = new ObjectEdit(handle, path, size, format, fd);
818 MtpString path; local
827 path = storage->getPath();
832 int result = mDatabase->getObjectFilePath(parent, path, length, format);
866 if (path[path.size() - 1] != '/')
867 path += "/";
868 path += (const char *)name;
882 ALOGD("path
984 deleteRecursive(const char* path) argument
1030 deletePath(const char* path) argument
1181 MtpString path; local
[all...]
/frameworks/base/core/java/android/app/
H A DIBackupAgent.aidl110 * @param domain Name of the file's semantic domain to which the 'path' argument is a
111 * relative path. e.g. FullBackup.DATABASE_TREE_TOKEN.
112 * @param path Relative path of the file within its semantic domain.
117 int type, String domain, String path, long mode, long mtime,
/frameworks/base/core/java/com/android/internal/backup/
H A DIObbBackupService.aidl43 long fileSize, int type, in String path, long mode, long mtime,
/frameworks/base/drm/java/android/drm/
H A DDrmInfo.java38 // DRM scheme such as account id, path or multiple path's
65 * @param path The trigger data.
68 public DrmInfo(int infoType, String path, String mimeType) { argument
72 mData = DrmUtils.readBytes(path);
74 // As the given path is invalid,
/frameworks/base/graphics/jni/
H A DAndroid.mk27 $(call include-path-for, corecg graphics)
/frameworks/base/libs/androidfw/
H A DKeyboard.cpp109 String8 path(getPath(deviceIdentifier, name,
111 if (path.isEmpty()) {
115 status_t status = KeyLayoutMap::load(path, &keyLayoutMap);
120 keyLayoutFile.setTo(path);
126 String8 path(getPath(deviceIdentifier, name,
128 if (path.isEmpty()) {
132 status_t status = KeyCharacterMap::load(path,
138 keyCharacterMapFile.setTo(path);
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/
H A DTestsListPreloaderThread.java39 * A relative path to the directory with the tests we want to run or particular test.
47 * The given path must be relative to the root dir.
49 * @param path
52 public TestsListPreloaderThread(String path, Message doneMsg) { argument
53 mRelativePath = path;
/frameworks/native/libs/utils/
H A DZipFileCRO.cpp22 ZipFileCRO ZipFileXRO_open(const char* path) { argument
24 if (zip->open(path) == NO_ERROR) {
/frameworks/base/core/java/com/android/internal/os/
H A DSamplingProfilerIntegration.java175 String path = SNAPSHOT_DIR + "/" + name + "-" + startMillis + ".snapshot";
179 outputStream = new BufferedOutputStream(new FileOutputStream(path));
187 Log.e(TAG, "Error writing snapshot to " + path, e);
194 new File(path).setReadable(true, false);
197 Log.i(TAG, "Wrote snapshot " + path + " in " + elapsed + "ms.");
/frameworks/base/media/java/android/media/
H A DMediaExtractor.java119 * Sets the data source (file-path or http URL) to use.
121 * @param path the path of the file, or the http URL
124 public final void setDataSource(String path, Map<String, String> headers) argument
140 setDataSource(path, keys, values);
144 String path, String[] keys, String[] values) throws IOException;
147 * Sets the data source (file-path or http URL) to use.
149 * @param path the path of the file, or the http URL of the stream
151 * <p>When <code>path</cod
143 setDataSource( String path, String[] keys, String[] values) argument
158 setDataSource(String path) argument
[all...]

Completed in 1334 milliseconds

1234567891011>>