Searched defs:path (Results 26 - 50 of 317) sorted by relevance

1234567891011>>

/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...]
/frameworks/base/core/java/android/gesture/
H A DGestureLibraries.java35 public static GestureLibrary fromFile(String path) { argument
36 return fromFile(new File(path));
39 public static GestureLibrary fromFile(File path) { argument
40 return new FileGestureLibrary(path);
54 public FileGestureLibrary(File path) { argument
55 mPath = 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 StructStatVfs doStat(String path) { argument
44 return Os.statvfs(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/java/android/webkit/
H A DWebIconDatabase.java53 * Open a the icon database and store the icons in the given path.
54 * @param path The directory path where the icon database will be stored.
56 public abstract void open(String path); argument
/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/graphics/java/android/graphics/drawable/shapes/
H A DPathShape.java25 * The path can be drawn to a Canvas with its own draw() method,
40 * @param path a Path that defines the geometric paths for this shape
48 public PathShape(Path path, float stdWidth, float stdHeight) { argument
49 mPath = path;
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/
H A DScreenshotTest.java86 NewScreenshotObserver(String path) { argument
87 super(path, FileObserver.CREATE);
95 public void onEvent(int event, String path) { argument
96 Log.d(LOG_TAG, String.format("Detected new file added %s", path));
98 mAddedPath = path;
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DPathsCacheActivity.java50 Path path = new Path();
51 buildPath(path);
52 return path;
55 private static void buildPath(Path path) { argument
56 path.moveTo(0.0f, 0.0f);
57 path.cubicTo(0.0f, 0.0f, 100.0f, 150.0f, 100.0f, 200.0f);
58 path.cubicTo(100.0f, 200.0f, 50.0f, 300.0f, -80.0f, 200.0f);
59 path.cubicTo(-80.0f, 200.0f, 100.0f, 200.0f, 200.0f, 0.0f);
63 Path path = new Path();
64 buildLargePath(path);
68 buildLargePath(Path path) argument
[all...]
H A DTextPathActivity.java61 Path path = new Path();
64 drawTextAsPath(canvas, "Hello", path);
67 drawTextAsPath(canvas, "OpenGL", path);
70 private void drawTextAsPath(Canvas canvas, String text, Path path) { argument
72 mHugePaint.getTextPath(text, 0, count, 0, 0, path);
73 path.close();
74 canvas.drawPath(path, mHugePaint);
/frameworks/base/tools/aapt/
H A DApkBuilder.cpp59 status_t ApkBuilder::addEntry(const String8& path, const sp<AaptFile>& file) { argument
63 return mSplits.editItemAt(i)->addEntry(path, file);
109 status_t ApkSplit::addEntry(const String8& path, const sp<AaptFile>& file) { argument
110 if (!mFiles.insert(OutputEntry(path, file)).second) {
H A DCacheUpdater.h35 // Make sure all the directories along this path exist
36 virtual void ensureDirectoriesExist(String8 path) = 0;
39 virtual void deleteFile(String8 path) = 0;
57 // Make sure all the directories along this path exist
58 virtual void ensureDirectoriesExist(String8 path) argument
60 // Check to see if we're dealing with a fully qualified path
67 // If something in the path doesn't exist, then walk the path backwards
69 if (stat(path.string(),&s) == -1) {
71 existsPath = path;
94 deleteFile(String8 path) argument
[all...]
H A DDirectoryWalker.h28 virtual bool openDir(String8 path) = 0;
29 virtual bool openDir(const char* path) = 0;
44 // Base path
57 virtual bool openDir(String8 path) { argument
58 mBasePath = path;
67 virtual bool openDir(const char* path) { argument
68 String8 p(path);
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/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/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/opt/telephony/src/java/com/google/android/mms/util/
H A DDownloadDrmHelper.java90 * @param path Path to the file
96 public static String getOriginalMimeType(Context context, String path, String containingMime) { argument
100 if (drmClient.canHandle(path, null)) {
101 result = drmClient.getOriginalMimeType(path);
105 "Can't get original mime type since path is null or empty string.");
/frameworks/rs/java/tests/HelloComputeNDK/libhellocomputendk/
H A DhelloComputeNDK.cpp36 const char * path = env->GetStringUTFChars(pathObj, NULL); local
38 rs->init(path);
39 env->ReleaseStringUTFChars(pathObj, path);
/frameworks/webview/chromium/java/com/android/webview/chromium/
H A DWebIconDatabaseAdapter.java30 public void open(String path) { argument
/frameworks/av/media/libeffects/factory/
H A DEffectsFactory.h47 char *path; member in struct:lib_entry_s
/frameworks/av/media/libstagefright/
H A DMediaMuxer.cpp41 MediaMuxer::MediaMuxer(const char *path, OutputFormat format) argument
45 mWriter = new MPEG4Writer(path);
47 mWriter = new WebmWriter(path);
/frameworks/av/media/libstagefright/id3/
H A Dtestid3.cpp71 void scanFile(const char *path) { argument
72 sp<FileSource> file = new FileSource(path);
77 printf("FAIL %s\n", path);
79 printf("SUCCESS %s\n", path);
112 void scan(const char *path) { argument
114 if (stat(path, &st) == 0 && S_ISREG(st.st_mode)) {
115 scanFile(path);
119 DIR *dir = opendir(path);
134 strcpy(newPath, path);
/frameworks/base/cmds/idmap/
H A Didmap.cpp15 idmap --path target overlay idmap \n\
40 --fd: create idmap for target package 'target' (path to apk) and overlay package 'overlay' \n\
41 (path to apk); write results to file descriptor 'fd' (integer). This invocation \n\
48 --path: create idmap for target package 'target' (path to apk) and overlay package \n\
49 'overlay' (path to apk); write results to 'idmap' (path). \n\
51 --scan: non-recursively search directory 'dir-to-scan' (path) for overlay packages with \n\
52 target package 'target-to-look-for' (package name) present at 'target' (path to \n\
54 (path)
99 verify_directory_readable(const char *path) argument
104 verify_directory_writable(const char *path) argument
109 verify_file_readable(const char *path) argument
[all...]
/frameworks/base/core/java/android/animation/
H A DKeyframeSet.java155 public static PathKeyframes ofPath(Path path) { argument
156 return new PathKeyframes(path);
159 public static PathKeyframes ofPath(Path path, float error) { argument
160 return new PathKeyframes(path, error);
/frameworks/base/core/java/android/app/
H A DNotificationManager.java270 public boolean isSystemConditionProviderEnabled(String path) { argument
273 return service.isSystemConditionProviderEnabled(path);
/frameworks/base/core/java/android/os/storage/
H A DIMountServiceListener.java78 String path;
79 path = data.readString();
84 this.onStorageStateChanged(path, oldState, newState);
130 * @param path The volume mount path.
136 public void onStorageStateChanged(String path, String oldState, String newState) argument
142 _data.writeString(path);
169 * @param path The volume mount path.
174 public void onStorageStateChanged(String path, Strin argument
[all...]

Completed in 385 milliseconds

1234567891011>>