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

1234567891011

/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/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/compile/mclinker/unittests/
H A DTestLinkerTest.cpp47 mcld::sys::fs::Path path = TOPDIR; local
48 path.append("test/libs/ARM/Android/android-14");
49 m_pLinker->setSysRoot(path);
/frameworks/base/core/java/android/os/
H A DStatFs.java32 * {@code path}. Upon construction, the stat of the file system will be
36 * @param path path in the desired file system to stat.
38 public StatFs(String path) { argument
39 mStat = doStat(path);
42 private static StructStatFs doStat(String path) { argument
44 return Libcore.os.statfs(path);
46 throw new IllegalArgumentException("Invalid path: " + path, e);
52 * the same as re-constructing the object with the same file system path,
55 restat(String path) argument
[all...]
/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 DPathCache.h35 PathCacheEntry(SkPath* path, SkPaint* paint): argument
37 this->path = path;
41 path = NULL;
46 LTE_INT(path) {
52 SkPath* path; member in struct:android::uirenderer::PathCacheEntry
57 * A simple LRU path cache. The cache has a maximum size expressed in bytes.
66 * Returns the texture associated with the specified path. If the texture
69 PathTexture* get(SkPath* path, SkPaint* paint);
73 void remove(SkPath* path);
[all...]
/frameworks/base/libs/storage/
H A DIMountServiceListener.cpp40 String16 path = data.readString16(); local
43 onStorageStateChanged(path, oldState, newState);
/frameworks/base/services/java/com/android/server/
H A DDiskStatsService.java87 private void reportFreeSpace(File path, String name, PrintWriter pw) { argument
89 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
54 return native_open(path);
57 private native ParcelFileDescriptor native_open(String path); argument
/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/DumpRenderTree2/assets/
H A Drun_layout_tests.py9 run_layout_tests.py --show-results-in-browser test-relative-path
28 def main(path, options):
35 # Run the tests in path
41 cmd += "-e path \"" + path + "\" "
60 summary_txt_tmp_path = os.path.join(tmpdir, SUMMARY_TXT)
66 details_html_tmp_path = os.path.join(tmpdir, DETAILS_HTML)
82 option_parser = optparse.OptionParser(usage="Usage: %prog [options] test-relative-path")
93 logging.fatal("Usage: run_layout_tests.py [options] test-relative-path")
96 path variable
98 path = args[0] variable
[all...]
/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/base/tools/aapt/
H A DCacheUpdater.h30 // Make sure all the directories along this path exist
31 virtual void ensureDirectoriesExist(String8 path) = 0;
34 virtual void deleteFile(String8 path) = 0;
52 // Make sure all the directories along this path exist
53 virtual void ensureDirectoriesExist(String8 path) argument
55 // Check to see if we're dealing with a fully qualified path
62 // If something in the path doesn't exist, then walk the path backwards
64 if (stat(path.string(),&s) == -1) {
66 existsPath = path;
89 deleteFile(String8 path) argument
[all...]
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;
111 " -k junk path of file(s) added\n"
126 " -M specify full path to AndroidManifest.xml to include in zip\n"
/frameworks/ex/variablespeed/src/com/android/ex/variablespeed/
H A DMediaPlayerDataSource.java47 public MediaPlayerDataSource(String path) { argument
50 mPath = path;
/frameworks/base/media/java/android/media/
H A DMediaScannerClient.java24 public void scanFile(String path, long lastModified, long fileSize, argument
/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/av/media/libeffects/factory/
H A DEffectsFactory.h38 char *path; member in struct:lib_entry_s
/frameworks/base/core/java/android/content/
H A DUriMatcher.java148 * @param path the path to match. * may be used as a wild card for
153 public void addURI(String authority, String path, int code) argument
158 String[] tokens = path != null ? PATH_SPLIT_PATTERN.split(path) : null;
195 * Try to match against the path in a url.
197 * @param uri The url whose path we will match against.
/frameworks/base/core/java/android/database/sqlite/
H A DSQLiteDatabaseConfiguration.java44 * Special path used by in-memory databases.
49 * The database path.
51 public final String path; field in class:SQLiteDatabaseConfiguration
55 * This is derived from the path but is stripped to remove PII.
96 * @param path The database path.
99 public SQLiteDatabaseConfiguration(String path, int openFlags) { argument
100 if (path == null) {
101 throw new IllegalArgumentException("path must not be null.");
104 this.path
159 stripPathForLogs(String path) argument
[all...]

Completed in 292 milliseconds

1234567891011