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

1234567891011>>

/frameworks/base/media/java/android/media/
H A DMediaHTTPService.java33 String path) {
34 if (path.startsWith("http://")
35 || path.startsWith("https://")
36 || path.startsWith("widevine://")) {
32 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 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
/frameworks/base/tools/aapt2/flatten/
H A DArchive.h39 std::string path; member in namespace:aapt
47 virtual bool startEntry(const StringPiece& path, uint32_t flags) = 0;
59 const StringPiece& path);
62 const StringPiece& path);
/frameworks/native/cmds/installd/
H A Dglobals.h29 char* path; member in struct:android::installd::dir_rec_t
/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/drm/libmediadrm/
H A DSharedLibrary.cpp27 SharedLibrary::SharedLibrary(const String8 &path) { argument
28 mLibHandle = dlopen(path.string(), RTLD_NOW);
/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/libmedia/
H A DMidiIoWrapper.cpp36 MidiIoWrapper::MidiIoWrapper(const char *path) { argument
37 ALOGV("MidiIoWrapper(%s)", path);
38 mFd = open(path, O_RDONLY | O_LARGEFILE);
/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/hwui/
H A DDisplayList.cpp69 const SkPath* path = pathResources[i]; local
70 if (path->unique() && Caches::hasInstance()) {
71 Caches::getInstance().pathCache.removeDeferred(path);
73 delete path;
/frameworks/base/libs/hwui/tests/unit/
H A DCanvasStateTests.cpp107 // complex path causes complex clip
108 SkPath path; local
109 path.addOval(SkRect::MakeWH(200, 200));
111 state.clipPath(&path, SkRegion::kDifference_Op);
/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.java91 private void reportFreeSpace(File path, String name, PrintWriter pw) { argument
93 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/java/com/android/server/wm/animation/
H A DCurvedTranslateAnimation.java27 * Translate animation which follows a curved path.
33 public CurvedTranslateAnimation(Path path) { argument
34 mKeyframes = KeyframeSet.ofPath(path);
/frameworks/base/services/core/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/tools/aapt/
H A DMain.cpp28 * This operates in-place on the path string.
30 void convertPath(char *path) { argument
31 if (path != NULL && OS_PATH_SEPARATOR != '/') {
32 for (; *path; path++) {
33 if (*path == '/') {
34 *path = OS_PATH_SEPARATOR;
115 " -k junk path of file(s) added\n"
128 " -M specify full path to AndroidManifest.xml to include in zip\n"

Completed in 522 milliseconds

1234567891011>>