Searched refs:path (Results 1 - 25 of 713) 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/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 DIMediaScannerService.aidl28 * @param path the path to the file to be scanned.
34 void requestScanFile(String path, String mimeType, in IMediaScannerListener listener);
39 * @param path the path to the file to be scanned.
43 void scanFile(String path, String mimeType);
H A DIMediaScannerListener.aidl28 * @param path the path to the file that has been scanned.
32 void scanCompleted(String path, in Uri uri);
/frameworks/compile/libbcc/tests/debuginfo/
H A Dllvm-lit7 # to determine correct path for the root of the source tree.
10 llvm_source_root = os.path.join(android_source_root, 'external', 'llvm')
11 libbcc_source_root = os.path.join(android_source_root, 'frameworks', 'compile',
15 sys.path.append(os.path.join(llvm_source_root, 'utils', 'lit'))
20 'llvm_site_config' : os.path.join(libbcc_source_root, 'test', 'debuginfo',
/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/tools/aapt2/
H A DSource.h33 std::string path; member in struct:aapt::Source
38 inline Source(const StringPiece& path) : path(path.toString()) { argument
41 inline Source(const StringPiece& path, size_t line) : path(path.toString()), line(line) { argument
45 return Source(path, line);
54 out << source.path;
62 return lhs.path
[all...]
/frameworks/support/compat/kitkat/android/support/v4/os/
H A DEnvironmentCompatKitKat.java24 public static String getStorageState(File path) { argument
25 return Environment.getStorageState(path);
/frameworks/base/graphics/tests/graphicstests/src/android/graphics/
H A DPathTest.java27 Path path = new Path();
29 final Path.FillType defaultFillType = path.getFillType();
33 path.setFillType(fillType);
34 path.reset();
35 assertEquals(path.getFillType(), fillType);
/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/native/libs/gui/
H A DGraphicsEnv.cpp33 void GraphicsEnv::setDriverPath(const std::string path) { argument
35 ALOGV("ignoring attempt to change driver path from '%s' to '%s'",
36 mDriverPath.c_str(), path.c_str());
39 ALOGV("setting driver path to '%s'", path.c_str());
40 mDriverPath = path;
60 std::string path;
61 path.reserve(mDriverPath.size() + 1 + defaultPathLen);
62 path.append(mDriverPath);
63 path
[all...]
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DPathDestructionActivity.java31 * scheme in particular, because we should be able to have the Java-level path finalized
32 * without destroying the underlying native path object until we are done referencing it
64 Path path = new Path();
65 path.moveTo(left, top);
66 path.lineTo(right, top);
67 path.lineTo(right, bottom);
68 path.lineTo(left, bottom);
69 path.close();
70 return path;
82 Path path;
[all...]
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/native/cmds/installd/
H A Dinstalld_deps.h39 // Compute the output path for dex2oat.
40 extern bool calculate_oat_file_path(char path[PKG_PATH_MAX],
44 // Compute the output path for patchoat.
49 // Returns false if it failed to determine the odex file path.
51 extern bool calculate_odex_file_path(char path[PKG_PATH_MAX],
55 // Compute the output path into the dalvik cache.
56 extern bool create_cache_path(char path[PKG_PATH_MAX],
/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
/frameworks/base/services/core/java/com/android/server/
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/tools/aapt/
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...]
/frameworks/support/compat/gingerbread/android/support/v4/view/animation/
H A DPathInterpolatorGingerbread.java24 * A path interpolator implementation compatible with API 9+.
36 public PathInterpolatorGingerbread(Path path) { argument
37 final PathMeasure pathMeasure = new PathMeasure(path, false /* forceClosed */);
99 final Path path = new Path();
100 path.moveTo(0.0f, 0.0f);
101 path.quadTo(controlX, controlY, 1.0f, 1.0f);
102 return path;
107 final Path path = new Path();
108 path.moveTo(0.0f, 0.0f);
109 path
[all...]
/frameworks/base/packages/Keyguard/scripts/
H A Dnew_merge.py14 def executable(path):
15 return os.path.isfile(path) and os.access(path, os.X_OK)
17 path, file = os.path.split(program)
18 if path and executable(program):
21 for path in os.environ["PATH"].split(os.pathsep):
22 exe = os.path.join(path, progra
[all...]
/frameworks/compile/mclinker/lib/MC/
H A DSearchDirs.cpp52 if (exists(dir->path()) && is_directory(dir->path())) {
98 if (file == entry.path()->filename().native())
99 return entry.path();
106 if (file == entry.path()->stem().native()) {
108 entry.path()->extension().native()) {
109 return entry.path();
120 if (file == entry.path()->stem().native() &&
122 entry.path()->extension().native()) {
123 return entry.path();
[all...]
/frameworks/compile/mclinker/lib/Script/
H A DGroupCmd.cpp95 sys::fs::Path path; local
101 path = script.sysroot();
102 path.append(token->name());
105 path.assign(token->name());
106 if (!sys::fs::exists(path)) {
107 // 3. Search through the library search path
111 path = *p;
115 if (!sys::fs::exists(path))
116 fatal(diag::err_cannot_open_input) << path.filename() << path;
123 const sys::fs::Path* path = NULL; local
[all...]
/frameworks/av/media/libmedia/
H A DMediaScanner.cpp69 char * path = strtok(skipList, ","); local
71 while (path) {
72 mSkipIndex[i++] = strlen(path);
73 path = strtok(NULL, ",");
82 const char *path, MediaScannerClient &client) {
83 int pathLength = strlen(path);
93 strcpy(pathBuffer, path);
109 bool MediaScanner::shouldSkipDirectory(char *path) { argument
110 if (path && mSkipList && mSkipIndex) {
111 int len = strlen(path);
81 processDirectory( const char *path, MediaScannerClient &client) argument
131 doProcessDirectory( char *path, int pathRemaining, MediaScannerClient &client, bool noMedia) argument
172 doProcessDirectoryEntry( char *path, int pathRemaining, MediaScannerClient &client, bool noMedia, struct dirent* entry, char* fileSpot) argument
[all...]
/frameworks/base/core/java/android/gesture/
H A DOrientedBoundingBox.java56 Path path = new Path();
64 path.moveTo(point[0], point[1]);
69 path.lineTo(point[0], point[1]);
74 path.lineTo(point[0], point[1]);
79 path.lineTo(point[0], point[1]);
81 path.close();
83 return path;
/frameworks/base/tools/aapt2/util/
H A DFiles.h53 FileType getFileType(const StringPiece& path);
62 * Appends a path to `base`, separated by the directory separator.
67 * Makes all the directories in `path`. The last element in the path
70 bool mkdirs(const StringPiece& path);
73 * Returns all but the last part of the path.
75 StringPiece getStem(const StringPiece& path);
78 * Returns the last part of the path with extension.
80 StringPiece getFilename(const StringPiece& path);
83 * Returns the extension of the path
[all...]

Completed in 718 milliseconds

1234567891011>>