Searched defs:path (Results 1 - 25 of 317) sorted by relevance

1234567891011>>

/frameworks/base/media/java/android/media/
H A DMediaHTTPService.java35 String path) {
36 if (path.startsWith("http://")
37 || path.startsWith("https://")
38 || path.startsWith("widevine://")) {
34 createHttpServiceBinderIfNecessary( String path) argument
H A DMediaScannerClient.java24 public void scanFile(String path, long lastModified, long fileSize, argument
/frameworks/base/packages/DefaultContainerService/src/com/android/defcontainer/
H A DMeasurementUtils.java24 public static long measureDirectory(String path) { argument
25 return native_measureDirectory(path);
28 private native static long native_measureDirectory(String path); argument
/frameworks/support/v4/kitkat/android/support/v4/os/
H A DEnvironmentCompatKitKat.java24 public static String getStorageState(File path) { argument
25 return Environment.getStorageState(path);
/frameworks/base/core/java/android/os/storage/
H A DMountServiceListener.java36 * @param path The volume mount path.
42 void onStorageStateChange(String path, String oldState, String newState) { argument
H A DStorageEventListener.java34 * @param path the filesystem path for the storage
38 public void onStorageStateChanged(String path, String oldState, String newState) { argument
H A DOnObbStateChangeListener.java80 * @param path path to the OBB file the state change has happened on
83 public void onObbStateChange(String path, int state) { argument
/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/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/av/media/img_utils/src/
H A DFileInput.cpp24 FileInput::FileInput(String8 path) : mFp(NULL), mPath(path), mOpen(false) {} argument
H A DFileOutput.cpp24 FileOutput::FileOutput(String8 path) : mFp(NULL), mPath(path), mOpen(false) {} argument
/frameworks/av/media/libmediaplayerservice/
H A DSharedLibrary.cpp28 SharedLibrary::SharedLibrary(const String8 &path) { argument
29 mLibHandle = dlopen(path.string(), RTLD_NOW);
/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/core/tests/coretests/src/android/os/storage/
H A DStorageListener.java34 public void onStorageStateChanged(String path, String oldState, String newState) { argument
/frameworks/base/libs/storage/
H A DIMountServiceListener.cpp40 String16 path = data.readString16(); local
43 onStorageStateChanged(path, oldState, newState);
/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/base/services/core/java/com/android/server/
H A DDiskStatsService.java86 private void reportFreeSpace(File path, String name, PrintWriter pw) { argument
88 StatFs statfs = new StatFs(path.getPath());
H A DSerialService.java42 String path = mSerialPorts[i];
43 if (new File(path).exists()) {
44 ports.add(path);
52 public ParcelFileDescriptor openSerialPort(String path) { argument
55 if (mSerialPorts[i].equals(path)) {
56 return native_open(path);
59 throw new IllegalArgumentException("Invalid serial port " + path);
62 private native ParcelFileDescriptor native_open(String path); argument
/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/base/tools/aapt/
H A DMain.cpp27 * This operates in-place on the path string.
29 void convertPath(char *path) { argument
30 if (path != NULL && OS_PATH_SEPARATOR != '/') {
31 for (; *path; path++) {
32 if (*path == '/') {
33 *path = OS_PATH_SEPARATOR;
113 " -k junk path of file(s) added\n"
125 " -M specify full path to AndroidManifest.xml to include in zip\n"
H A DOutputSet.h30 OutputEntry(const android::String8& path, const android::sp<const AaptFile>& file) argument
31 : mPath(path), mFile(file) {}
/frameworks/ex/variablespeed/src/com/android/ex/variablespeed/
H A DMediaPlayerDataSource.java47 public MediaPlayerDataSource(String path) { argument
50 mPath = path;
/frameworks/base/core/java/android/content/
H A DUriMatcher.java153 * this method will accept a leading slash in the path.
156 * @param path the path to match. * may be used as a wild card for
161 public void addURI(String authority, String path, int code) argument
168 if (path != null) {
169 String newPath = path;
171 if (path.length() > 0 && path.charAt(0) == '/') {
172 newPath = path.substring(1);
213 * Try to match against the path i
[all...]

Completed in 426 milliseconds

1234567891011>>